@dynamic-labs/cosmos 4.0.0-alpha.46 → 4.0.0-alpha.47
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 +15 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +6 -6
- package/src/wallet/CosmosWallet.cjs +5 -0
- package/src/wallet/CosmosWallet.d.ts +4 -0
- package/src/wallet/CosmosWallet.js +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.0.0-alpha.47](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.46...v4.0.0-alpha.47) (2024-12-17)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* stop exposing authToken and minAuthToken from dynamic context (#7629)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* allow re-linking unknown wallet when there's another account of the same wallet provider already linked ([#7628](https://github.com/dynamic-labs/dynamic-auth/issues/7628)) ([20c6dc3](https://github.com/dynamic-labs/dynamic-auth/commit/20c6dc3b1847d82bd46f0df5abaef4efe1e24e38))
|
|
12
|
+
* ensure wallet connector will not get removed ([#7625](https://github.com/dynamic-labs/dynamic-auth/issues/7625)) ([b764846](https://github.com/dynamic-labs/dynamic-auth/commit/b764846b56428e2997d33858e29a87f44359eb6c))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* stop exposing authToken and minAuthToken from dynamic context ([#7629](https://github.com/dynamic-labs/dynamic-auth/issues/7629)) ([9648870](https://github.com/dynamic-labs/dynamic-auth/commit/9648870478cdcecde279117ada2a1095dab54e2c))
|
|
16
|
+
|
|
2
17
|
## [4.0.0-alpha.46](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.45...v4.0.0-alpha.46) (2024-12-17)
|
|
3
18
|
|
|
4
19
|
|
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.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.47",
|
|
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.0.0-alpha.
|
|
23
|
-
"@dynamic-labs/types": "4.0.0-alpha.
|
|
24
|
-
"@dynamic-labs/utils": "4.0.0-alpha.
|
|
25
|
-
"@dynamic-labs/wallet-book": "4.0.0-alpha.
|
|
26
|
-
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.0.0-alpha.47",
|
|
23
|
+
"@dynamic-labs/types": "4.0.0-alpha.47",
|
|
24
|
+
"@dynamic-labs/utils": "4.0.0-alpha.47",
|
|
25
|
+
"@dynamic-labs/wallet-book": "4.0.0-alpha.47",
|
|
26
|
+
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.47"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {}
|
|
29
29
|
}
|
|
@@ -8,6 +8,11 @@ var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
|
|
|
8
8
|
var utils = require('@dynamic-labs/utils');
|
|
9
9
|
|
|
10
10
|
class CosmosWallet extends walletConnectorCore.Wallet {
|
|
11
|
+
sendBalance(_a) {
|
|
12
|
+
return _tslib.__awaiter(this, arguments, void 0, function* ({ amount, toAddress, }) {
|
|
13
|
+
throw new Error('Not implemented');
|
|
14
|
+
});
|
|
15
|
+
}
|
|
11
16
|
getProvider() {
|
|
12
17
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
13
18
|
const provider = yield this._connector.getProvider();
|
|
@@ -2,6 +2,10 @@ import { Wallet } from '@dynamic-labs/wallet-connector-core';
|
|
|
2
2
|
import { CosmosWalletConnector } from '../connectors';
|
|
3
3
|
import { ICosmosOfflineSigner, ICosmosProvider } from '../types';
|
|
4
4
|
export declare class CosmosWallet extends Wallet<CosmosWalletConnector> {
|
|
5
|
+
sendBalance({ amount, toAddress, }: {
|
|
6
|
+
amount: string;
|
|
7
|
+
toAddress: string;
|
|
8
|
+
}): Promise<string | undefined>;
|
|
5
9
|
getProvider(): Promise<ICosmosProvider>;
|
|
6
10
|
getOfflineSigner(): Promise<ICosmosOfflineSigner>;
|
|
7
11
|
}
|
|
@@ -4,6 +4,11 @@ import { Wallet, logger } from '@dynamic-labs/wallet-connector-core';
|
|
|
4
4
|
import { cloneObjectWithOverrides } from '@dynamic-labs/utils';
|
|
5
5
|
|
|
6
6
|
class CosmosWallet extends Wallet {
|
|
7
|
+
sendBalance(_a) {
|
|
8
|
+
return __awaiter(this, arguments, void 0, function* ({ amount, toAddress, }) {
|
|
9
|
+
throw new Error('Not implemented');
|
|
10
|
+
});
|
|
11
|
+
}
|
|
7
12
|
getProvider() {
|
|
8
13
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9
14
|
const provider = yield this._connector.getProvider();
|