@0xsequence/provider 0.0.0-20230804131546 → 0.0.0-20230804151646

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -835,15 +835,15 @@ class BaseWalletTransport {
835
835
  if (connectOptions.app) {
836
836
  connectOptions.app = utils.sanitizeAlphanumeric(connectOptions.app);
837
837
  }
838
-
839
- // Set connect options on the walletRequestHandler as our primary
840
- // wallet controller, and fall back to networkId if necessary
841
- _this.walletRequestHandler.setConnectOptions(connectOptions);
842
838
  if (connectOptions.networkId) {
843
839
  networkId = connectOptions.networkId;
844
840
  } else if (networkId) {
845
841
  connectOptions.networkId = networkId;
846
842
  }
843
+
844
+ // Set connect options on the walletRequestHandler as our primary
845
+ // wallet controller, and fall back to networkId if necessary
846
+ _this.walletRequestHandler.setConnectOptions(connectOptions);
847
847
  } else {
848
848
  _this.walletRequestHandler.setConnectOptions(undefined);
849
849
  }
@@ -835,15 +835,15 @@ class BaseWalletTransport {
835
835
  if (connectOptions.app) {
836
836
  connectOptions.app = utils.sanitizeAlphanumeric(connectOptions.app);
837
837
  }
838
-
839
- // Set connect options on the walletRequestHandler as our primary
840
- // wallet controller, and fall back to networkId if necessary
841
- _this.walletRequestHandler.setConnectOptions(connectOptions);
842
838
  if (connectOptions.networkId) {
843
839
  networkId = connectOptions.networkId;
844
840
  } else if (networkId) {
845
841
  connectOptions.networkId = networkId;
846
842
  }
843
+
844
+ // Set connect options on the walletRequestHandler as our primary
845
+ // wallet controller, and fall back to networkId if necessary
846
+ _this.walletRequestHandler.setConnectOptions(connectOptions);
847
847
  } else {
848
848
  _this.walletRequestHandler.setConnectOptions(undefined);
849
849
  }
@@ -831,15 +831,15 @@ class BaseWalletTransport {
831
831
  if (connectOptions.app) {
832
832
  connectOptions.app = sanitizeAlphanumeric(connectOptions.app);
833
833
  }
834
-
835
- // Set connect options on the walletRequestHandler as our primary
836
- // wallet controller, and fall back to networkId if necessary
837
- _this.walletRequestHandler.setConnectOptions(connectOptions);
838
834
  if (connectOptions.networkId) {
839
835
  networkId = connectOptions.networkId;
840
836
  } else if (networkId) {
841
837
  connectOptions.networkId = networkId;
842
838
  }
839
+
840
+ // Set connect options on the walletRequestHandler as our primary
841
+ // wallet controller, and fall back to networkId if necessary
842
+ _this.walletRequestHandler.setConnectOptions(connectOptions);
843
843
  } else {
844
844
  _this.walletRequestHandler.setConnectOptions(undefined);
845
845
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/provider",
3
- "version": "0.0.0-20230804131546",
3
+ "version": "0.0.0-20230804151646",
4
4
  "description": "provider sub-package for Sequence",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/provider",
6
6
  "source": "src/index.ts",
@@ -11,15 +11,15 @@
11
11
  "dependencies": {
12
12
  "eventemitter2": "^6.4.5",
13
13
  "webextension-polyfill": "^0.10.0",
14
- "@0xsequence/abi": "0.0.0-20230804131546",
15
- "@0xsequence/account": "0.0.0-20230804131546",
16
- "@0xsequence/auth": "0.0.0-20230804131546",
17
- "@0xsequence/core": "0.0.0-20230804131546",
18
- "@0xsequence/migration": "0.0.0-20230804131546",
19
- "@0xsequence/network": "0.0.0-20230804131546",
20
- "@0xsequence/relayer": "0.0.0-20230804131546",
21
- "@0xsequence/utils": "0.0.0-20230804131546",
22
- "@0xsequence/wallet": "0.0.0-20230804131546"
14
+ "@0xsequence/abi": "0.0.0-20230804151646",
15
+ "@0xsequence/account": "0.0.0-20230804151646",
16
+ "@0xsequence/auth": "0.0.0-20230804151646",
17
+ "@0xsequence/core": "0.0.0-20230804151646",
18
+ "@0xsequence/migration": "0.0.0-20230804151646",
19
+ "@0xsequence/network": "0.0.0-20230804151646",
20
+ "@0xsequence/relayer": "0.0.0-20230804151646",
21
+ "@0xsequence/utils": "0.0.0-20230804151646",
22
+ "@0xsequence/wallet": "0.0.0-20230804151646"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "ethers": ">=5.5 < 6"
@@ -372,14 +372,15 @@ export abstract class BaseWalletTransport implements WalletTransport {
372
372
  connectOptions.app = sanitizeAlphanumeric(connectOptions.app)
373
373
  }
374
374
 
375
- // Set connect options on the walletRequestHandler as our primary
376
- // wallet controller, and fall back to networkId if necessary
377
- this.walletRequestHandler.setConnectOptions(connectOptions)
378
375
  if (connectOptions.networkId) {
379
376
  networkId = connectOptions.networkId
380
377
  } else if (networkId) {
381
378
  connectOptions.networkId = networkId
382
379
  }
380
+
381
+ // Set connect options on the walletRequestHandler as our primary
382
+ // wallet controller, and fall back to networkId if necessary
383
+ this.walletRequestHandler.setConnectOptions(connectOptions)
383
384
  } else {
384
385
  this.walletRequestHandler.setConnectOptions(undefined)
385
386
  }