@matchain/matchid-sdk-react 0.1.48-alpha.1 → 0.1.48-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.
- package/dist/{chunk-AFZSANRV.mjs → chunk-6HRRPZPM.mjs} +2 -2
- package/dist/{chunk-A477SJHT.mjs → chunk-D6IUBR7S.mjs} +300 -152
- package/dist/chunk-D6IUBR7S.mjs.map +1 -0
- package/dist/components/index.js +137 -130
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.js +27 -20
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.d.mts +2 -1
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/index.js +163 -15
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +3 -1
- package/dist/{index-DO5x10pN.d.mts → index-BHVMQGZj.d.mts} +9 -2
- package/dist/{index-Pssz41An.d.ts → index-DgAnNnit.d.ts} +9 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +243 -96
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-A477SJHT.mjs.map +0 -1
- /package/dist/{chunk-AFZSANRV.mjs.map → chunk-6HRRPZPM.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -4,10 +4,11 @@ import {
|
|
|
4
4
|
useMatchEvents,
|
|
5
5
|
useMatchWallet,
|
|
6
6
|
useModal,
|
|
7
|
+
useReceipt,
|
|
7
8
|
useToast,
|
|
8
9
|
useUserInfo,
|
|
9
10
|
useWallet
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-D6IUBR7S.mjs";
|
|
11
12
|
import "../chunk-UA6XHZHX.mjs";
|
|
12
13
|
import {
|
|
13
14
|
useLayout_exports
|
|
@@ -21,6 +22,7 @@ export {
|
|
|
21
22
|
useMatchEvents,
|
|
22
23
|
useMatchWallet,
|
|
23
24
|
useModal,
|
|
25
|
+
useReceipt,
|
|
24
26
|
useToast,
|
|
25
27
|
useUserInfo,
|
|
26
28
|
useWallet
|
|
@@ -5,6 +5,7 @@ import { C as ChainType } from './mpc-CTbBWHld.mjs';
|
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
6
6
|
import { Abi } from 'abitype';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
9
|
|
|
9
10
|
declare const LOGIN_METHOD_MAP: {
|
|
10
11
|
email: string;
|
|
@@ -143,6 +144,11 @@ declare function useMatchWallet(): {
|
|
|
143
144
|
showReceiveModal: () => void;
|
|
144
145
|
};
|
|
145
146
|
|
|
147
|
+
declare function useReceipt({ chainId, hash }: {
|
|
148
|
+
chainId: number;
|
|
149
|
+
hash: string;
|
|
150
|
+
}): _tanstack_react_query.UseQueryResult<any, Error>;
|
|
151
|
+
|
|
146
152
|
declare function useDownMd(): boolean;
|
|
147
153
|
|
|
148
154
|
declare const useLayout_useDownMd: typeof useDownMd;
|
|
@@ -156,11 +162,12 @@ declare const index_useMatchChain: typeof useMatchChain;
|
|
|
156
162
|
declare const index_useMatchEvents: typeof useMatchEvents;
|
|
157
163
|
declare const index_useMatchWallet: typeof useMatchWallet;
|
|
158
164
|
declare const index_useModal: typeof useModal;
|
|
165
|
+
declare const index_useReceipt: typeof useReceipt;
|
|
159
166
|
declare const index_useToast: typeof useToast;
|
|
160
167
|
declare const index_useUserInfo: typeof useUserInfo;
|
|
161
168
|
declare const index_useWallet: typeof useWallet;
|
|
162
169
|
declare namespace index {
|
|
163
|
-
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useModal as useModal, index_useToast as useToast, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
|
|
170
|
+
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useModal as useModal, index_useReceipt as useReceipt, index_useToast as useToast, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
|
|
164
171
|
}
|
|
165
172
|
|
|
166
|
-
export { useMatchEvents as a, useWallet as b, useCopyClipboard as c, useModal as d, useToast as e, useMatchChain as f, useMatchWallet as g,
|
|
173
|
+
export { useMatchEvents as a, useWallet as b, useCopyClipboard as c, useModal as d, useToast as e, useMatchChain as f, useMatchWallet as g, useReceipt as h, index as i, useLayout as j, useUserInfo as u };
|
|
@@ -5,6 +5,7 @@ import { C as ChainType } from './mpc-CTbBWHld.js';
|
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
6
6
|
import { Abi } from 'abitype';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
|
+
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
9
|
|
|
9
10
|
declare const LOGIN_METHOD_MAP: {
|
|
10
11
|
email: string;
|
|
@@ -143,6 +144,11 @@ declare function useMatchWallet(): {
|
|
|
143
144
|
showReceiveModal: () => void;
|
|
144
145
|
};
|
|
145
146
|
|
|
147
|
+
declare function useReceipt({ chainId, hash }: {
|
|
148
|
+
chainId: number;
|
|
149
|
+
hash: string;
|
|
150
|
+
}): _tanstack_react_query.UseQueryResult<any, Error>;
|
|
151
|
+
|
|
146
152
|
declare function useDownMd(): boolean;
|
|
147
153
|
|
|
148
154
|
declare const useLayout_useDownMd: typeof useDownMd;
|
|
@@ -156,11 +162,12 @@ declare const index_useMatchChain: typeof useMatchChain;
|
|
|
156
162
|
declare const index_useMatchEvents: typeof useMatchEvents;
|
|
157
163
|
declare const index_useMatchWallet: typeof useMatchWallet;
|
|
158
164
|
declare const index_useModal: typeof useModal;
|
|
165
|
+
declare const index_useReceipt: typeof useReceipt;
|
|
159
166
|
declare const index_useToast: typeof useToast;
|
|
160
167
|
declare const index_useUserInfo: typeof useUserInfo;
|
|
161
168
|
declare const index_useWallet: typeof useWallet;
|
|
162
169
|
declare namespace index {
|
|
163
|
-
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useModal as useModal, index_useToast as useToast, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
|
|
170
|
+
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useModal as useModal, index_useReceipt as useReceipt, index_useToast as useToast, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
|
|
164
171
|
}
|
|
165
172
|
|
|
166
|
-
export { useMatchEvents as a, useWallet as b, useCopyClipboard as c, useModal as d, useToast as e, useMatchChain as f, useMatchWallet as g,
|
|
173
|
+
export { useMatchEvents as a, useWallet as b, useCopyClipboard as c, useModal as d, useToast as e, useMatchChain as f, useMatchWallet as g, useReceipt as h, index as i, useLayout as j, useUserInfo as u };
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DQq17lf4.mjs';
|
|
3
3
|
export { i as Components } from './index-M7ZB3yR5.mjs';
|
|
4
4
|
export { i as UI } from './index-DamklTOJ.mjs';
|
|
5
|
-
export { i as Hooks } from './index-
|
|
5
|
+
export { i as Hooks } from './index-BHVMQGZj.mjs';
|
|
6
6
|
export { i as Api } from './index-BIgM4fy0.mjs';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
8
8
|
export { i as Types } from './index-BVatQlwF.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { ReactNode } from 'react';
|
|
|
2
2
|
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-DQq17lf4.js';
|
|
3
3
|
export { i as Components } from './index-CGs_yTFg.js';
|
|
4
4
|
export { i as UI } from './index-C2-M-aBb.js';
|
|
5
|
-
export { i as Hooks } from './index-
|
|
5
|
+
export { i as Hooks } from './index-DgAnNnit.js';
|
|
6
6
|
export { i as Api } from './index-BwD1ij0H.js';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
8
8
|
export { i as Types } from './index-RfA22r-Z.js';
|