@injectivelabs/wallet-cosmos-strategy 1.16.38-alpha.2 → 1.16.38-alpha.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/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.d.cts +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +6 -6
package/dist/cjs/index.cjs
CHANGED
|
@@ -63,7 +63,7 @@ var BaseCosmosWalletStrategy = class extends __injectivelabs_wallet_core.BaseWal
|
|
|
63
63
|
strategies
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
setWallet(wallet) {
|
|
66
|
+
async setWallet(wallet) {
|
|
67
67
|
this.wallet = (0, __injectivelabs_wallet_base.isCosmosWallet)(wallet) ? wallet : __injectivelabs_wallet_base.Wallet.Keplr;
|
|
68
68
|
}
|
|
69
69
|
};
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ interface CosmosWalletStrategyArguments {
|
|
|
11
11
|
//#region src/strategy/WalletStrategy.d.ts
|
|
12
12
|
declare class BaseCosmosWalletStrategy extends BaseWalletStrategy {
|
|
13
13
|
constructor(args: CosmosWalletStrategyArguments);
|
|
14
|
-
setWallet(wallet: Wallet): void
|
|
14
|
+
setWallet(wallet: Wallet): Promise<void>;
|
|
15
15
|
}
|
|
16
16
|
declare const createCosmosStrategyFactory: (args: CosmosWalletStrategyArguments) => BaseCosmosWalletStrategy;
|
|
17
17
|
//#endregion
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface CosmosWalletStrategyArguments {
|
|
|
11
11
|
//#region src/strategy/WalletStrategy.d.ts
|
|
12
12
|
declare class BaseCosmosWalletStrategy extends BaseWalletStrategy {
|
|
13
13
|
constructor(args: CosmosWalletStrategyArguments);
|
|
14
|
-
setWallet(wallet: Wallet): void
|
|
14
|
+
setWallet(wallet: Wallet): Promise<void>;
|
|
15
15
|
}
|
|
16
16
|
declare const createCosmosStrategyFactory: (args: CosmosWalletStrategyArguments) => BaseCosmosWalletStrategy;
|
|
17
17
|
//#endregion
|
package/dist/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@injectivelabs/wallet-cosmos-strategy",
|
|
3
|
-
"version": "1.16.38-alpha.
|
|
3
|
+
"version": "1.16.38-alpha.4",
|
|
4
4
|
"description": "Wallet Cosmos Strategy with instantiated wallets",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@injectivelabs/ts-types": "1.16.38-alpha.
|
|
42
|
-
"@injectivelabs/wallet-
|
|
43
|
-
"@injectivelabs/wallet-
|
|
44
|
-
"@injectivelabs/wallet-cosmos": "1.16.38-alpha.
|
|
45
|
-
"@injectivelabs/wallet-
|
|
41
|
+
"@injectivelabs/ts-types": "1.16.38-alpha.2",
|
|
42
|
+
"@injectivelabs/wallet-base": "1.16.38-alpha.4",
|
|
43
|
+
"@injectivelabs/wallet-core": "1.16.38-alpha.4",
|
|
44
|
+
"@injectivelabs/wallet-cosmos": "1.16.38-alpha.4",
|
|
45
|
+
"@injectivelabs/wallet-cosmostation": "1.16.38-alpha.4"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|