@matchain/matchid-sdk-react 0.1.56-alpha.0 → 0.1.56-alpha.2

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.
Files changed (37) hide show
  1. package/dist/api.js.map +1 -1
  2. package/dist/api.mjs +3 -3
  3. package/dist/assets/lottie.d.mts +1 -1
  4. package/dist/assets/lottie.d.ts +1 -1
  5. package/dist/assets/lottie.js +5 -0
  6. package/dist/assets/lottie.js.map +1 -1
  7. package/dist/assets/lottie.mjs +3 -1
  8. package/dist/chunk-NIGHV7RT.mjs +7621 -0
  9. package/dist/chunk-NIGHV7RT.mjs.map +1 -0
  10. package/dist/{chunk-SG45XKMV.mjs → chunk-SPVA3A6Z.mjs} +2 -2
  11. package/dist/{chunk-XR24AYII.mjs → chunk-XM6CYEXN.mjs} +6 -1
  12. package/dist/chunk-XM6CYEXN.mjs.map +1 -0
  13. package/dist/components.js +6 -6
  14. package/dist/components.js.map +1 -1
  15. package/dist/components.mjs +2 -2
  16. package/dist/hooks.d.mts +1 -1
  17. package/dist/hooks.d.ts +1 -1
  18. package/dist/hooks.js +8 -6
  19. package/dist/hooks.js.map +1 -1
  20. package/dist/hooks.mjs +4 -2
  21. package/dist/{index-D1Ep9UMx.d.ts → index-B7ZEyP1j.d.ts} +10 -2
  22. package/dist/{index-CDTTHSh0.d.mts → index-CHgaOUiW.d.mts} +6586 -138
  23. package/dist/{index-CDTTHSh0.d.ts → index-CHgaOUiW.d.ts} +6586 -138
  24. package/dist/{index-CHG4-0Z1.d.mts → index-CPTgrfjn.d.mts} +10 -2
  25. package/dist/index.d.mts +2 -2
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +8 -6
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +3 -3
  30. package/dist/ui.js +55 -57
  31. package/dist/ui.js.map +1 -1
  32. package/dist/ui.mjs +2 -2
  33. package/package.json +1 -1
  34. package/dist/chunk-FGJ25ONR.mjs +0 -7621
  35. package/dist/chunk-FGJ25ONR.mjs.map +0 -1
  36. package/dist/chunk-XR24AYII.mjs.map +0 -1
  37. /package/dist/{chunk-SG45XKMV.mjs.map → chunk-SPVA3A6Z.mjs.map} +0 -0
@@ -3305,6 +3305,13 @@ declare function useTransaction({ chainId, hash }: {
3305
3305
  hash: string;
3306
3306
  }): _tanstack_react_query.UseQueryResult<any, Error>;
3307
3307
 
3308
+ declare function useHash({ hash, chain, refetchInterval, enabled }: {
3309
+ hash?: `0x${string}` | null;
3310
+ chain?: Chain | null;
3311
+ refetchInterval?: false | number;
3312
+ enabled?: boolean;
3313
+ }): _tanstack_react_query.UseQueryResult<false | 0 | 1 | -1 | -99, Error>;
3314
+
3308
3315
  declare function useDownMd(): boolean;
3309
3316
 
3310
3317
  declare const useLayout_useDownMd: typeof useDownMd;
@@ -3313,6 +3320,7 @@ declare namespace useLayout {
3313
3320
  }
3314
3321
 
3315
3322
  declare const index_useCopyClipboard: typeof useCopyClipboard;
3323
+ declare const index_useHash: typeof useHash;
3316
3324
  declare const index_useLayout: typeof useLayout;
3317
3325
  declare const index_useMatchChain: typeof useMatchChain;
3318
3326
  declare const index_useMatchEvents: typeof useMatchEvents;
@@ -3327,7 +3335,7 @@ declare const index_useTransaction: typeof useTransaction;
3327
3335
  declare const index_useUserInfo: typeof useUserInfo;
3328
3336
  declare const index_useWallet: typeof useWallet;
3329
3337
  declare namespace index {
3330
- export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useMatchWalletAssetList as useMatchWalletAssetList, index_useMatchWalletAssets as useMatchWalletAssets, index_useMatchWalletRecords as useMatchWalletRecords, index_useModal as useModal, index_useReceipt as useReceipt, index_useToast as useToast, index_useTransaction as useTransaction, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
3338
+ export { index_useCopyClipboard as useCopyClipboard, index_useHash as useHash, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useMatchWalletAssetList as useMatchWalletAssetList, index_useMatchWalletAssets as useMatchWalletAssets, index_useMatchWalletRecords as useMatchWalletRecords, index_useModal as useModal, index_useReceipt as useReceipt, index_useToast as useToast, index_useTransaction as useTransaction, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
3331
3339
  }
3332
3340
 
3333
- export { ModalProvider as M, ToastProvider as T, useMatchEvents as a, useWallet as b, useCopyClipboard as c, useModal as d, useToast as e, useMatchChain as f, useMatchWallet as g, useMatchWalletRecords as h, index as i, useMatchWalletAssets as j, useMatchWalletAssetList as k, useReceipt as l, useTransaction as m, useLayout as n, useUserInfo as u };
3341
+ export { ModalProvider as M, ToastProvider as T, useMatchEvents as a, useWallet as b, useCopyClipboard as c, useModal as d, useToast as e, useMatchChain as f, useMatchWallet as g, useMatchWalletRecords as h, index as i, useMatchWalletAssets as j, useMatchWalletAssetList as k, useReceipt as l, useTransaction as m, useHash as n, useLayout as o, useUserInfo as u };
package/dist/index.d.mts CHANGED
@@ -5,14 +5,14 @@ import * as wagmi_chains from 'wagmi/chains';
5
5
  import * as viem from 'viem';
6
6
  import React__default, { ReactNode } from 'react';
7
7
  import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-DEsY_CPH.mjs';
8
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-CHG4-0Z1.mjs';
8
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-CPTgrfjn.mjs';
9
9
  export { i as Components } from './index-BXbfmVoU.mjs';
10
10
  export { i as UI } from './index-YPRyEYt6.mjs';
11
11
  export { i as Api } from './index-TjbO7d74.mjs';
12
12
  export { i as Chains } from './index-B50DU_xT.mjs';
13
13
  export { i as Types } from './index-FKxw4Vaa.mjs';
14
14
  export { i as Icon } from './index-D7E317WV.mjs';
15
- export { i as Lottie } from './index-CDTTHSh0.mjs';
15
+ export { i as Lottie } from './index-CHgaOUiW.mjs';
16
16
  import '@tanstack/react-query/src/types';
17
17
  import './request-B0CyrGFT.mjs';
18
18
  import 'viem/types/misc';
package/dist/index.d.ts CHANGED
@@ -5,14 +5,14 @@ import * as wagmi_chains from 'wagmi/chains';
5
5
  import * as viem from 'viem';
6
6
  import React__default, { ReactNode } from 'react';
7
7
  import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-DEsY_CPH.js';
8
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-D1Ep9UMx.js';
8
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-B7ZEyP1j.js';
9
9
  export { i as Components } from './index-CsUEaGtM.js';
10
10
  export { i as UI } from './index-DK7l3lsH.js';
11
11
  export { i as Api } from './index-CwHXzvvB.js';
12
12
  export { i as Chains } from './index-B50DU_xT.js';
13
13
  export { i as Types } from './index-4dZbgWG2.js';
14
14
  export { i as Icon } from './index-C82WIWvx.js';
15
- export { i as Lottie } from './index-CDTTHSh0.js';
15
+ export { i as Lottie } from './index-CHgaOUiW.js';
16
16
  import '@tanstack/react-query/src/types';
17
17
  import './request-B0CyrGFT.js';
18
18
  import 'viem/types/misc';