@interchain-kit/react 0.3.37 → 0.3.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interchain-kit/react",
3
- "version": "0.3.37",
3
+ "version": "0.3.38",
4
4
  "author": "Hyperweb <developers@hyperweb.io>",
5
5
  "description": "interchain-kit wallet connector react package",
6
6
  "main": "index.js",
@@ -34,7 +34,7 @@
34
34
  "keywords": [],
35
35
  "dependencies": {
36
36
  "@chain-registry/types": "^2.0.1",
37
- "@interchain-kit/core": "0.3.37",
37
+ "@interchain-kit/core": "0.3.38",
38
38
  "@interchain-ui/react": "1.26.1",
39
39
  "@interchainjs/cosmos": "1.11.11",
40
40
  "@interchainjs/cosmos-types": "1.11.11",
@@ -64,5 +64,5 @@
64
64
  "react": "^19.0.0",
65
65
  "react-dom": "^19.0.0"
66
66
  },
67
- "gitHead": "6b9949a46be6193d15b5662e205aa651cc83c020"
67
+ "gitHead": "b0747958888e7871fe2f9792e62a1f1afda876a7"
68
68
  }
package/provider.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { ReactElement } from "react";
2
2
  import { BaseWallet, SignerOptions, EndpointOptions } from "@interchain-kit/core";
3
- import { AssetList, Chain } from "@chain-registry/v2-types";
3
+ import { AssetList, Chain } from "@chain-registry/types";
4
4
  import { WalletModalProps } from "./modal";
5
5
  import { InterchainStore } from "./store";
6
6
  import { StoreApi } from "zustand";
@@ -1,4 +1,4 @@
1
- import { Chain } from "@chain-registry/v2-types";
1
+ import { Chain } from "@chain-registry/types";
2
2
  import { BaseWallet, WalletAccount } from "@interchain-kit/core";
3
3
  import { IGenericOfflineSigner } from "@interchainjs/types";
4
4
  export declare class ChainWallet<TWallet extends BaseWallet> extends BaseWallet {
@@ -1,6 +1,6 @@
1
1
  import { BaseWallet, WalletAccount, WalletState } from "@interchain-kit/core";
2
2
  import { InterchainStore } from "./store";
3
- import { Chain } from "@chain-registry/v2-types";
3
+ import { Chain } from "@chain-registry/types";
4
4
  export declare class StatefulWallet extends BaseWallet {
5
5
  originalWallet: BaseWallet;
6
6
  walletName: string;
package/store/store.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AssetList, Chain } from "@chain-registry/v2-types";
1
+ import { AssetList, Chain } from "@chain-registry/types";
2
2
  import { EndpointOptions, SignerOptions, WalletAccount, WalletManager, WalletState } from "@interchain-kit/core";
3
3
  import { HttpEndpoint } from '@interchainjs/types';
4
4
  import { StatefulWallet } from './stateful-wallet';
package/types/chain.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { HttpEndpoint } from '@interchainjs/types';
2
- import { Chain, AssetList } from '@chain-registry/v2-types';
2
+ import { Chain, AssetList } from '@chain-registry/types';
3
3
  import { WalletState } from '@interchain-kit/core';
4
4
  import { SigningClient } from './sign-client';
5
5
  import { StatefulWallet } from '../store/stateful-wallet';
package/utils/wallet.d.ts CHANGED
@@ -15,8 +15,8 @@ export declare const transferToWalletUISchema: (w: BaseWallet) => {
15
15
  session: import("@walletconnect/types").SessionTypes.Struct;
16
16
  info: import("@interchain-kit/core").Wallet;
17
17
  events: import("events")<import("@interchain-kit/core").WalletEvents>;
18
- chainMap: Map<Chain, Chain>;
19
- assetLists: AssetList[];
18
+ chainMap: Map<import("@chain-registry/types").Chain["chainId"], import("@chain-registry/types").Chain>;
19
+ assetLists: import("@chain-registry/types").AssetList[];
20
20
  client: any;
21
21
  };
22
22
  subLogo: string;