@dynamic-labs/multi-wallet 0.16.22 → 0.16.23

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
 
2
+ ### [0.16.23](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.22...v0.16.23) (2023-06-09)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * don't remove network config from ls if there's a connected wallet ([#2283](https://github.com/dynamic-labs/DynamicAuth/issues/2283)) ([cb955c2](https://github.com/dynamic-labs/DynamicAuth/commit/cb955c2b0f48ac582cc763fe81b888219cf94c82))
8
+
2
9
  ### [0.16.22](https://github.com/dynamic-labs/DynamicAuth/compare/v0.16.21...v0.16.22) (2023-06-06)
3
10
 
4
11
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/multi-wallet",
3
- "version": "0.16.22",
3
+ "version": "0.16.23",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -28,8 +28,8 @@
28
28
  "magic-sdk": "^16.0.1",
29
29
  "@keplr-wallet/provider": "0.11.56",
30
30
  "@keplr-wallet/types": "^0.11.51",
31
- "@dynamic-labs/logger": "0.16.22",
32
- "@dynamic-labs/wallet-connector-core": "0.16.22"
31
+ "@dynamic-labs/logger": "0.16.23",
32
+ "@dynamic-labs/wallet-connector-core": "0.16.23"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@walletconnect/types": "^2.2.1"
@@ -82,7 +82,7 @@ class EthProvider {
82
82
  networks: this.evmNetworks,
83
83
  });
84
84
  if (!network) {
85
- throw new errors.DynamicError('Could not find network');
85
+ throw new errors.DynamicError(`Could not find network mapping for chain ${networkName ? networkName : networkChainId}`);
86
86
  }
87
87
  if (!this.supportsNetworkSwitching()) {
88
88
  throw new errors.DynamicError('Network switching is not supported');
@@ -78,7 +78,7 @@ class EthProvider {
78
78
  networks: this.evmNetworks,
79
79
  });
80
80
  if (!network) {
81
- throw new DynamicError('Could not find network');
81
+ throw new DynamicError(`Could not find network mapping for chain ${networkName ? networkName : networkChainId}`);
82
82
  }
83
83
  if (!this.supportsNetworkSwitching()) {
84
84
  throw new DynamicError('Network switching is not supported');