@dynamic-labs/ethereum 0.17.0-RC.30 → 0.17.0-RC.32

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,25 @@
1
1
 
2
+ ## [0.17.0-RC.32](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.31...v0.17.0-RC.32) (2023-06-09)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * missing walletlist when filter finds no wallets ([#2289](https://github.com/dynamic-labs/DynamicAuth/issues/2289)) ([a7708d3](https://github.com/dynamic-labs/DynamicAuth/commit/a7708d3eab9609daa4c860555f5804f280958da5))
8
+
9
+ ## [0.17.0-RC.31](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.30...v0.17.0-RC.31) (2023-06-09)
10
+
11
+
12
+ ### Features
13
+
14
+ * add fake dapper mobile metadata so that it appears on mobile ([#2288](https://github.com/dynamic-labs/DynamicAuth/issues/2288)) ([ea98462](https://github.com/dynamic-labs/DynamicAuth/commit/ea98462e762d3fa032e2e40f17d2e3679146b3ae))
15
+ * pass variant to social icon getter ([#2277](https://github.com/dynamic-labs/DynamicAuth/issues/2277)) ([b1492ed](https://github.com/dynamic-labs/DynamicAuth/commit/b1492eda50eb80fbfee1aa968771f338694ef7e6))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * don't remove network config from ls if there's a connected wallet ([#2280](https://github.com/dynamic-labs/DynamicAuth/issues/2280)) ([0703dfc](https://github.com/dynamic-labs/DynamicAuth/commit/0703dfc099f86a0802e83a27849b6953e1ddca31))
21
+ * **use-wallets-connection-state:** load connected state when wallets are present ([#2285](https://github.com/dynamic-labs/DynamicAuth/issues/2285)) ([7fb72dc](https://github.com/dynamic-labs/DynamicAuth/commit/7fb72dc8fe1404cd76e68bb3f0de9efa78634525))
22
+
2
23
  ## [0.17.0-RC.30](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.0-RC.29...v0.17.0-RC.30) (2023-06-08)
3
24
 
4
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum",
3
- "version": "0.17.0-RC.30",
3
+ "version": "0.17.0-RC.32",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -31,11 +31,11 @@
31
31
  "@walletconnect/universal-provider": "2.7.8",
32
32
  "ethers": "5.7.2",
33
33
  "buffer": "6.0.3",
34
- "@dynamic-labs/rpc-providers": "0.17.0-RC.30",
35
- "@dynamic-labs/types": "0.17.0-RC.30",
36
- "@dynamic-labs/utils": "0.17.0-RC.30",
37
- "@dynamic-labs/wallet-book": "0.17.0-RC.30",
38
- "@dynamic-labs/wallet-connector-core": "0.17.0-RC.30"
34
+ "@dynamic-labs/rpc-providers": "0.17.0-RC.32",
35
+ "@dynamic-labs/types": "0.17.0-RC.32",
36
+ "@dynamic-labs/utils": "0.17.0-RC.32",
37
+ "@dynamic-labs/wallet-book": "0.17.0-RC.32",
38
+ "@dynamic-labs/wallet-connector-core": "0.17.0-RC.32"
39
39
  },
40
40
  "peerDependencies": {}
41
41
  }
@@ -118,7 +118,7 @@ class EthWalletConnector extends walletConnectorCore.WalletConnectorBase {
118
118
  networks: this.evmNetworks,
119
119
  });
120
120
  if (!network) {
121
- throw new utils.DynamicError('Could not find network');
121
+ throw new utils.DynamicError(`Could not find network mapping for chain ${networkName ? networkName : networkChainId}`);
122
122
  }
123
123
  if (!this.supportsNetworkSwitching()) {
124
124
  throw new utils.DynamicError('Network switching is not supported');
@@ -114,7 +114,7 @@ class EthWalletConnector extends WalletConnectorBase {
114
114
  networks: this.evmNetworks,
115
115
  });
116
116
  if (!network) {
117
- throw new DynamicError('Could not find network');
117
+ throw new DynamicError(`Could not find network mapping for chain ${networkName ? networkName : networkChainId}`);
118
118
  }
119
119
  if (!this.supportsNetworkSwitching()) {
120
120
  throw new DynamicError('Network switching is not supported');