@interchain-kit/react 0.3.45 → 0.3.46

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.
@@ -1,4 +1,4 @@
1
- import { BaseWallet } from "@interchain-kit/core";
1
+ import { BaseWallet } from '@interchain-kit/core';
2
2
  export class ChainWallet extends BaseWallet {
3
3
  getProvider(chainId) {
4
4
  return this.originalWallet.getProvider(chainId);
@@ -1,5 +1,5 @@
1
1
  export declare const useSigningClient: (chainName: string, walletName: string) => {
2
- signingClient: import("@interchainjs/cosmos/signing-client").SigningClient;
2
+ signingClient: import("@interchainjs/cosmos").ISigningClient;
3
3
  error: Error;
4
4
  isLoading: boolean;
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interchain-kit/react",
3
- "version": "0.3.45",
3
+ "version": "0.3.46",
4
4
  "author": "Hyperweb <developers@hyperweb.io>",
5
5
  "description": "interchain-kit wallet connector react package",
6
6
  "main": "index.js",
@@ -35,14 +35,14 @@
35
35
  "keywords": [],
36
36
  "dependencies": {
37
37
  "@chain-registry/types": "^2.0.1",
38
- "@interchain-kit/core": "0.3.45",
38
+ "@interchain-kit/core": "0.3.46",
39
39
  "@interchain-ui/react": "^1.26.3",
40
- "@interchainjs/cosmos": "1.13.0",
41
- "@interchainjs/cosmos-types": "1.13.0",
42
- "@interchainjs/types": "1.13.0",
40
+ "@interchainjs/cosmos": "1.17.1",
41
+ "@interchainjs/cosmos-types": "1.17.1",
42
+ "@interchainjs/types": "1.17.1",
43
43
  "@react-icons/all-files": "^4.1.0",
44
44
  "@walletconnect/types": "^2.17.3",
45
- "interchainjs": "1.13.0",
45
+ "interchainjs": "1.17.1",
46
46
  "jest-transform-stub": "^2.0.0",
47
47
  "postcss": "^8.5.6",
48
48
  "postcss-cli": "^11.0.1",
@@ -69,5 +69,5 @@
69
69
  "react": "^19.0.0",
70
70
  "react-dom": "^19.0.0"
71
71
  },
72
- "gitHead": "00f3b85927a9e19f4d5b20e775f9c15412e22f38"
72
+ "gitHead": "15b40f1b694af468aa8a92fedd347a127fefd3ab"
73
73
  }
@@ -1,6 +1,5 @@
1
- import { Chain } from "@chain-registry/types";
2
- import { BaseWallet, WalletAccount } from "@interchain-kit/core";
3
- import { IGenericOfflineSigner } from "@interchainjs/types";
1
+ import { Chain } from '@chain-registry/types';
2
+ import { BaseWallet, WalletAccount, OfflineAminoSigner, OfflineDirectSigner } from '@interchain-kit/core';
4
3
  export declare class ChainWallet<TWallet extends BaseWallet> extends BaseWallet {
5
4
  getProvider(chainId: Chain["chainId"]): Promise<unknown>;
6
5
  originalWallet: TWallet;
@@ -12,6 +11,6 @@ export declare class ChainWallet<TWallet extends BaseWallet> extends BaseWallet
12
11
  connect(chainId: string): Promise<void>;
13
12
  disconnect(chainId: string): Promise<void>;
14
13
  getAccount(chainId: string): Promise<WalletAccount>;
15
- getOfflineSigner(chainId: string): Promise<IGenericOfflineSigner>;
14
+ getOfflineSigner(chainId: string): Promise<OfflineAminoSigner | OfflineDirectSigner>;
16
15
  addSuggestChain(chainId: Chain['chainId']): Promise<void>;
17
16
  }
@@ -1,4 +1,4 @@
1
- import { BaseWallet, WalletAccount, WalletState } from "@interchain-kit/core";
1
+ import { BaseWallet, OfflineAminoSigner, OfflineDirectSigner, WalletAccount, WalletState } from "@interchain-kit/core";
2
2
  import { InterchainStore } from "./store";
3
3
  import { Chain } from "@chain-registry/types";
4
4
  export declare class StatefulWallet extends BaseWallet {
@@ -13,7 +13,7 @@ export declare class StatefulWallet extends BaseWallet {
13
13
  connect(chainId: Chain["chainId"]): Promise<void>;
14
14
  disconnect(chainId: Chain["chainId"]): Promise<void>;
15
15
  getAccount(chainId: Chain["chainId"]): Promise<WalletAccount>;
16
- getOfflineSigner(chainId: Chain['chainId']): Promise<import("@interchainjs/types").IGenericOfflineSigner<unknown, unknown, unknown, import("@interchainjs/types").IGenericOfflineSignArgs<unknown, unknown>, import("@interchainjs/types").AccountData>>;
16
+ getOfflineSigner(chainId: Chain['chainId']): Promise<OfflineAminoSigner | OfflineDirectSigner>;
17
17
  addSuggestChain(chainId: Chain["chainId"]): Promise<void>;
18
18
  getProvider(chainId?: Chain["chainId"]): Promise<any>;
19
19
  getChainById(chainId: Chain["chainId"]): Chain;