@dynamic-labs/wagmi-connector 4.9.4 → 4.9.6

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,32 @@
1
1
 
2
+ ### [4.9.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.5...v4.9.6) (2025-03-21)
3
+
4
+
5
+ ### Features
6
+
7
+ * add initial sui support ([#8317](https://github.com/dynamic-labs/dynamic-auth/issues/8317)) ([88c0234](https://github.com/dynamic-labs/dynamic-auth/commit/88c023483bad5736f38cb313b035279460f6e256))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * allow metmask sdk to retry connection ([#8322](https://github.com/dynamic-labs/dynamic-auth/issues/8322)) ([603ed99](https://github.com/dynamic-labs/dynamic-auth/commit/603ed99de3b5d90ac4f5eabcdcd3b2e90863298f))
13
+ * css for profile page without embedded wallets ([#8339](https://github.com/dynamic-labs/dynamic-auth/issues/8339)) ([7f696e9](https://github.com/dynamic-labs/dynamic-auth/commit/7f696e9986ddd899d140640f9af7cfd2dcd7c37a))
14
+ * ensure metamask connector can get display uri for multiple connections ([#8324](https://github.com/dynamic-labs/dynamic-auth/issues/8324)) ([1d95f08](https://github.com/dynamic-labs/dynamic-auth/commit/1d95f089589779e8ef078b80bd84fa0754179696))
15
+ * pass HttpTransportConfig to WalletClient, not just PublicClient ([#8333](https://github.com/dynamic-labs/dynamic-auth/issues/8333)) ([a0ddd10](https://github.com/dynamic-labs/dynamic-auth/commit/a0ddd10f1df57555cf0a3ed777f5d354eb140582))
16
+
17
+ ### [4.9.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.4...v4.9.5) (2025-03-19)
18
+
19
+
20
+ ### Features
21
+
22
+ * add support for AA to Global Wallet ([#8294](https://github.com/dynamic-labs/dynamic-auth/issues/8294)) ([173dfb9](https://github.com/dynamic-labs/dynamic-auth/commit/173dfb9c00e4307feec6ab11913f1a80310885eb))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * Remove the usage of random uuid in Global Wallet ([#8314](https://github.com/dynamic-labs/dynamic-auth/issues/8314)) ([79a7a64](https://github.com/dynamic-labs/dynamic-auth/commit/79a7a640b9ce470051a3c877ea46e8d4c94ea542))
28
+ * Fix UI when token balance is 0 ([#8299](https://github.com/dynamic-labs/dynamic-auth/issues/8299)) ([e8a2eca](https://github.com/dynamic-labs/dynamic-auth/commit/e8a2eca9876d914db738557a74751537eee2e129))
29
+
2
30
  ### [4.9.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.9.3...v4.9.4) (2025-03-17)
3
31
 
4
32
 
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.9.4";
2
+ var version = "4.9.6";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wagmi-connector",
3
- "version": "4.9.4",
3
+ "version": "4.9.6",
4
4
  "peerDependencies": {
5
5
  "@wagmi/core": "^2.6.4",
6
6
  "react": "^18.0.0",
7
7
  "viem": "^2.21.55",
8
8
  "wagmi": "^2.14.11",
9
- "@dynamic-labs/assert-package-version": "4.9.4",
10
- "@dynamic-labs/ethereum-core": "4.9.4",
11
- "@dynamic-labs/logger": "4.9.4",
12
- "@dynamic-labs/rpc-providers": "4.9.4",
13
- "@dynamic-labs/sdk-react-core": "4.9.4",
14
- "@dynamic-labs/types": "4.9.4",
15
- "@dynamic-labs/wallet-connector-core": "4.9.4",
9
+ "@dynamic-labs/assert-package-version": "4.9.6",
10
+ "@dynamic-labs/ethereum-core": "4.9.6",
11
+ "@dynamic-labs/logger": "4.9.6",
12
+ "@dynamic-labs/rpc-providers": "4.9.6",
13
+ "@dynamic-labs/sdk-react-core": "4.9.6",
14
+ "@dynamic-labs/types": "4.9.6",
15
+ "@dynamic-labs/wallet-connector-core": "4.9.6",
16
16
  "eventemitter3": "5.0.1"
17
17
  },
18
18
  "license": "MIT",
@@ -45,14 +45,12 @@ const getCreateConnectorFn = ({ connectorId, wallet, }) => createConnector((conf
45
45
  return __awaiter(this, void 0, void 0, function* () {
46
46
  var _a, _b;
47
47
  const walletClient = yield wallet.getWalletClient();
48
- if (walletClient.account && walletClient.chain) {
49
- return walletClient;
50
- }
48
+ const transportConfig = wallet.getTransportConfig();
51
49
  const client = createWalletClient({
52
50
  account: walletClient.account || ((_a = (yield this.getAccounts())) === null || _a === void 0 ? void 0 : _a[0]),
53
51
  chain: (_b = (walletClient.chain ||
54
52
  config.chains.find((chain) => chain.id === (args === null || args === void 0 ? void 0 : args.chainId)))) !== null && _b !== void 0 ? _b : config.chains[0],
55
- transport: custom(walletClient),
53
+ transport: custom(walletClient, transportConfig),
56
54
  });
57
55
  return client;
58
56
  });