Skip to content

Commit

Permalink
revert(transport): remove explicit semver labels handling
Browse files Browse the repository at this point in the history
  • Loading branch information
marekrjpolak committed Sep 11, 2024
1 parent 2a47fbd commit 898ac65
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/transport/src/transports/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 898ac65

Please sign in to comment.