From 898ac653e68c3295189dbb8b113340384517dca5 Mon Sep 17 00:00:00 2001 From: Marek Polak Date: Wed, 11 Sep 2024 13:40:53 +0200 Subject: [PATCH] revert(transport): remove explicit semver labels handling --- packages/transport/src/transports/bridge.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/transport/src/transports/bridge.ts b/packages/transport/src/transports/bridge.ts index 636722ca58e6..5b8f5710281e 100644 --- a/packages/transport/src/transports/bridge.ts +++ b/packages/transport/src/transports/bridge.ts @@ -105,11 +105,7 @@ export class BridgeTransport extends AbstractTransport { this.version = response.payload.version; if (this.latestVersion) { - this.isOutdated = versionUtils.isNewer( - this.latestVersion, - // node bridge version is in format "3.0.0-bundled.24.10.0" - this.version.split('-')[0], - ); + this.isOutdated = versionUtils.isNewer(this.latestVersion, this.version); } this.useProtocolMessages = !!response.payload.protocolMessages;