@injectivelabs/wallet-cosmos-strategy 1.16.38-alpha.2 → 1.16.38-alpha.3

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.
@@ -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
  };
@@ -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
@@ -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
@@ -63,7 +63,7 @@ var BaseCosmosWalletStrategy = class extends BaseWalletStrategy {
63
63
  strategies
64
64
  });
65
65
  }
66
- setWallet(wallet) {
66
+ async setWallet(wallet) {
67
67
  this.wallet = isCosmosWallet(wallet) ? wallet : Wallet.Keplr;
68
68
  }
69
69
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@injectivelabs/wallet-cosmos-strategy",
3
- "version": "1.16.38-alpha.2",
3
+ "version": "1.16.38-alpha.3",
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/wallet-base": "1.16.38-alpha.3",
41
42
  "@injectivelabs/ts-types": "1.16.38-alpha.1",
42
- "@injectivelabs/wallet-core": "1.16.38-alpha.2",
43
- "@injectivelabs/wallet-cosmostation": "1.16.38-alpha.2",
44
- "@injectivelabs/wallet-cosmos": "1.16.38-alpha.2",
45
- "@injectivelabs/wallet-base": "1.16.38-alpha.2"
43
+ "@injectivelabs/wallet-cosmostation": "1.16.38-alpha.3",
44
+ "@injectivelabs/wallet-core": "1.16.38-alpha.3",
45
+ "@injectivelabs/wallet-cosmos": "1.16.38-alpha.3"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"