@dynamic-labs/cosmos 4.91.3 → 4.91.4
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,12 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.3...v4.91.4) (2026-07-01)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* 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))
|
|
8
|
+
* 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))
|
|
9
|
+
|
|
2
10
|
### [4.91.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.2...v4.91.3) (2026-06-30)
|
|
3
11
|
|
|
4
12
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/cosmos",
|
|
3
|
-
"version": "4.91.
|
|
3
|
+
"version": "4.91.4",
|
|
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.
|
|
23
|
-
"@dynamic-labs/types": "4.91.
|
|
24
|
-
"@dynamic-labs/utils": "4.91.
|
|
25
|
-
"@dynamic-labs/wallet-book": "4.91.
|
|
26
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.91.4",
|
|
23
|
+
"@dynamic-labs/types": "4.91.4",
|
|
24
|
+
"@dynamic-labs/utils": "4.91.4",
|
|
25
|
+
"@dynamic-labs/wallet-book": "4.91.4",
|
|
26
|
+
"@dynamic-labs/wallet-connector-core": "4.91.4"
|
|
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));
|