@dynamic-labs/cosmos 4.91.3 → 4.91.5

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,21 @@
1
1
 
2
+ ### [4.91.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.4...v4.91.5) (2026-07-02)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * revoke WaaS signed-session callback on client rebuild to stop iOS nonce race ([#11766](https://github.com/dynamic-labs/dynamic-auth/issues/11766)) ([c895b5d](https://github.com/dynamic-labs/dynamic-auth/commit/c895b5d0987d62a9f5597741dbeae0ec7fedfe5b))
8
+ * **sdk-react-core:** allow sendOneTimeCode to target non-primary chain wallets ([#11777](https://github.com/dynamic-labs/dynamic-auth/issues/11777)) ([63f82af](https://github.com/dynamic-labs/dynamic-auth/commit/63f82af7c52be595bc2948ec88ee9c919ac9275a))
9
+ * **webview-controller:** resolve post-login wallet race in Viem and ZeroDev controllers ([#11774](https://github.com/dynamic-labs/dynamic-auth/issues/11774)) ([95ed26e](https://github.com/dynamic-labs/dynamic-auth/commit/95ed26eee09d9aff5a5af6517ab7e1360ef5f337))
10
+
11
+ ### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * conditionally use /op/ route for AA transactions based on block explorer support ([#11628](https://github.com/dynamic-labs/dynamic-auth/issues/11628)) ([95822dc](https://github.com/dynamic-labs/dynamic-auth/commit/95822dc0edbcd739afe870f0b3881555fdb17eb6))
17
+ * require error codes in all SDK error classes ([#11761](https://github.com/dynamic-labs/dynamic-auth/issues/11761)) ([5744811](https://github.com/dynamic-labs/dynamic-auth/commit/5744811efdd1e415aaf51eec5b3300b323ec1347))
18
+
2
19
  ### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
3
20
 
4
21
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.3";
6
+ var version = "4.91.5";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.3";
2
+ var version = "4.91.5";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/cosmos",
3
- "version": "4.91.3",
3
+ "version": "4.91.5",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -19,11 +19,11 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@keplr-wallet/types": "0.12.121",
22
- "@dynamic-labs/assert-package-version": "4.91.3",
23
- "@dynamic-labs/types": "4.91.3",
24
- "@dynamic-labs/utils": "4.91.3",
25
- "@dynamic-labs/wallet-book": "4.91.3",
26
- "@dynamic-labs/wallet-connector-core": "4.91.3"
22
+ "@dynamic-labs/assert-package-version": "4.91.5",
23
+ "@dynamic-labs/types": "4.91.5",
24
+ "@dynamic-labs/utils": "4.91.5",
25
+ "@dynamic-labs/wallet-book": "4.91.5",
26
+ "@dynamic-labs/wallet-connector-core": "4.91.5"
27
27
  },
28
28
  "peerDependencies": {}
29
29
  }
@@ -35,7 +35,7 @@ class KeplrWalletConnector extends CosmosWalletConnector.CosmosWalletConnector {
35
35
  // filters out chains that are not enabled in Keplr wallet
36
36
  .filter((chainId) => chainsEnabledInWallet === null || chainsEnabledInWallet === void 0 ? void 0 : chainsEnabledInWallet.some((chain) => chain.chainId === chainId));
37
37
  if (chainsToEnable.length < 1) {
38
- throw new utils.DynamicError('No supported cosmos chains to connect with.');
38
+ throw new utils.DynamicError('No supported cosmos chains to connect with.', 'no_supported_cosmos_chains_to_connect');
39
39
  }
40
40
  walletConnectorCore.logger.logVerboseTroubleshootingMessage(`[KeplrWalletConnector] Chains to enable: ${chainsToEnable.join(', ')}`);
41
41
  yield ((_b = this.getWallet()) === null || _b === void 0 ? void 0 : _b.enable(chainsToEnable));
@@ -31,7 +31,7 @@ class KeplrWalletConnector extends CosmosWalletConnector {
31
31
  // filters out chains that are not enabled in Keplr wallet
32
32
  .filter((chainId) => chainsEnabledInWallet === null || chainsEnabledInWallet === void 0 ? void 0 : chainsEnabledInWallet.some((chain) => chain.chainId === chainId));
33
33
  if (chainsToEnable.length < 1) {
34
- throw new DynamicError('No supported cosmos chains to connect with.');
34
+ throw new DynamicError('No supported cosmos chains to connect with.', 'no_supported_cosmos_chains_to_connect');
35
35
  }
36
36
  logger.logVerboseTroubleshootingMessage(`[KeplrWalletConnector] Chains to enable: ${chainsToEnable.join(', ')}`);
37
37
  yield ((_b = this.getWallet()) === null || _b === void 0 ? void 0 : _b.enable(chainsToEnable));