@dynamic-labs/cosmos 4.5.0 → 4.5.1
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
|
+
### [4.5.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.5.0...v4.5.1) (2025-02-05)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* improve sdk performance ([#7992](https://github.com/dynamic-labs/dynamic-auth/issues/7992)) ([7c541d4](https://github.com/dynamic-labs/dynamic-auth/commit/7c541d498b3afe708e468327e53c839826029490))
|
|
8
|
+
|
|
2
9
|
## [4.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.4.4...v4.5.0) (2025-02-04)
|
|
3
10
|
|
|
4
11
|
|
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.5.
|
|
3
|
+
"version": "4.5.1",
|
|
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.5.
|
|
23
|
-
"@dynamic-labs/types": "4.5.
|
|
24
|
-
"@dynamic-labs/utils": "4.5.
|
|
25
|
-
"@dynamic-labs/wallet-book": "4.5.
|
|
26
|
-
"@dynamic-labs/wallet-connector-core": "4.5.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.5.1",
|
|
23
|
+
"@dynamic-labs/types": "4.5.1",
|
|
24
|
+
"@dynamic-labs/utils": "4.5.1",
|
|
25
|
+
"@dynamic-labs/wallet-book": "4.5.1",
|
|
26
|
+
"@dynamic-labs/wallet-connector-core": "4.5.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {}
|
|
29
29
|
}
|
|
@@ -166,6 +166,11 @@ class CosmosWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
166
166
|
return JSON.stringify(signatureWithPrefix);
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
170
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
return ['https://www.mintscan.io/cosmos/'];
|
|
172
|
+
});
|
|
173
|
+
}
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
exports.CosmosWalletConnector = CosmosWalletConnector;
|
|
@@ -53,5 +53,6 @@ export declare abstract class CosmosWalletConnector extends WalletConnectorBase
|
|
|
53
53
|
isInstalledOnBrowser(): boolean;
|
|
54
54
|
_handleAccountChange(): Promise<void>;
|
|
55
55
|
signMessage(messageToSign: string): Promise<string | undefined>;
|
|
56
|
+
getBlockExplorerUrlsForCurrentNetwork(): Promise<string[]>;
|
|
56
57
|
}
|
|
57
58
|
export {};
|
|
@@ -162,6 +162,11 @@ class CosmosWalletConnector extends WalletConnectorBase {
|
|
|
162
162
|
return JSON.stringify(signatureWithPrefix);
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
return ['https://www.mintscan.io/cosmos/'];
|
|
168
|
+
});
|
|
169
|
+
}
|
|
165
170
|
}
|
|
166
171
|
|
|
167
172
|
export { CosmosWalletConnector, DYNAMIC_COSMOS_NETWORK_ID };
|