@interchain-kit/station-extension 0.9.0 → 0.10.0

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/esm/index.js CHANGED
@@ -1,11 +1,10 @@
1
1
  import { CosmosWallet, ExtensionWallet } from '@interchain-kit/core';
2
- import { AminoGenericOfflineSigner } from '@interchainjs/cosmos/types/wallet';
3
2
  import { stationExtensionInfo } from './registry';
4
3
  export * from './registry';
5
4
  const stationWallet = new ExtensionWallet(stationExtensionInfo);
6
5
  class StationCosmosWallet extends CosmosWallet {
7
6
  async getOfflineSigner(chainId) {
8
- return new AminoGenericOfflineSigner(this.client.getOfflineSigner(chainId));
7
+ return this.client.getOfflineSigner(chainId);
9
8
  }
10
9
  }
11
10
  stationWallet.setNetworkWallet('cosmos', new StationCosmosWallet(stationExtensionInfo));
package/index.js CHANGED
@@ -16,14 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.stationWallet = void 0;
18
18
  const core_1 = require("@interchain-kit/core");
19
- const wallet_1 = require("@interchainjs/cosmos/types/wallet");
20
19
  const registry_1 = require("./registry");
21
20
  __exportStar(require("./registry"), exports);
22
21
  const stationWallet = new core_1.ExtensionWallet(registry_1.stationExtensionInfo);
23
22
  exports.stationWallet = stationWallet;
24
23
  class StationCosmosWallet extends core_1.CosmosWallet {
25
24
  async getOfflineSigner(chainId) {
26
- return new wallet_1.AminoGenericOfflineSigner(this.client.getOfflineSigner(chainId));
25
+ return this.client.getOfflineSigner(chainId);
27
26
  }
28
27
  }
29
28
  stationWallet.setNetworkWallet('cosmos', new StationCosmosWallet(registry_1.stationExtensionInfo));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interchain-kit/station-extension",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "interchain-kit wallet connector",
6
6
  "main": "index.js",
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "keywords": [],
33
33
  "dependencies": {
34
- "@interchain-kit/core": "0.9.0",
35
- "@interchainjs/cosmos": "1.20.0",
36
- "@interchainjs/types": "1.20.0"
34
+ "@interchain-kit/core": "0.10.0",
35
+ "@interchainjs/cosmos": "1.21.0",
36
+ "@interchainjs/types": "1.21.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "makage": "^0.1.12"
40
40
  },
41
- "gitHead": "980945a1ae65907c7fda4430647f0cd1fb1b7f61"
41
+ "gitHead": "dcdabc86f80ea1be9a25919b755fd8b2b9b931b2"
42
42
  }