@openocean.finance/wallet 0.4.52 → 0.4.53

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.
@@ -99,8 +99,8 @@ var chainObj = {
99
99
  ],
100
100
  blockExplorerUrl: '',
101
101
  apiUrl: '',
102
- protoRegistry: new proto_signing_1.Registry(__spreadArray([], protoRegistryBase, true)),
103
- aminoConverters: new stargate_1.AminoTypes(__assign({}, aminoConvertersBase))
102
+ protoRegistry: __spreadArray([], protoRegistryBase, true),
103
+ aminoConverters: __assign({}, aminoConvertersBase)
104
104
  },
105
105
  'osmosis-1': {
106
106
  chainId: 'osmosis-1',
@@ -146,15 +146,15 @@ var KeplrWallet = /** @class */ (function (_super) {
146
146
  return [4 /*yield*/, wallet.enable(chainId)];
147
147
  case 1:
148
148
  _c.sent();
149
- offlineSigner = wallet.getOfflineSigner(chainId);
149
+ offlineSigner = wallet.getOfflineSignerOnlyAmino(chainId);
150
150
  return [4 /*yield*/, offlineSigner.getAccounts()];
151
151
  case 2:
152
152
  accounts = _c.sent();
153
153
  address = accounts[0].address;
154
154
  _b = this;
155
155
  return [4 /*yield*/, stargate_1.SigningStargateClient.connectWithSigner(rpcUrls[0], offlineSigner, {
156
- registry: protoRegistry,
157
- aminoTypes: aminoConverters,
156
+ registry: new proto_signing_1.Registry(protoRegistry),
157
+ aminoTypes: new stargate_1.AminoTypes(aminoConverters),
158
158
  })];
159
159
  case 3:
160
160
  _b.sdk = _c.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/wallet",
3
- "version": "0.4.52",
3
+ "version": "0.4.53",
4
4
  "description": "A multi-chain wallets manager",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {