@matchain/matchid-sdk-react 0.1.48-alpha.6 → 0.1.48-alpha.7
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/assets/icon/index.d.mts +4 -2
- package/dist/assets/icon/index.d.ts +4 -2
- package/dist/assets/icon/index.js +18 -2
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +3 -1
- package/dist/{chunk-BPAPYY5P.mjs → chunk-2CK7JQWH.mjs} +243 -93
- package/dist/chunk-2CK7JQWH.mjs.map +1 -0
- package/dist/{chunk-YFJI4I5M.mjs → chunk-7UTR37EJ.mjs} +18 -3
- package/dist/chunk-7UTR37EJ.mjs.map +1 -0
- package/dist/{chunk-UHBVYFSP.mjs → chunk-USKUYOYJ.mjs} +2 -2
- package/dist/{chunk-55KYW35I.mjs → chunk-YXPWZXPT.mjs} +2 -2
- package/dist/components/index.js +312 -303
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +3 -3
- package/dist/hooks/api/index.js +62 -53
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +4 -4
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +210 -57
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +5 -3
- package/dist/{index-TkB89QxX.d.ts → index-DaEFoDv_.d.ts} +8 -2
- package/dist/{index-DKyt0for.d.mts → index-DktvxNJc.d.mts} +8 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +475 -323
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/ui/index.js +62 -59
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-BPAPYY5P.mjs.map +0 -1
- package/dist/chunk-YFJI4I5M.mjs.map +0 -1
- /package/dist/{chunk-UHBVYFSP.mjs.map → chunk-USKUYOYJ.mjs.map} +0 -0
- /package/dist/{chunk-55KYW35I.mjs.map → chunk-YXPWZXPT.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -7,14 +7,15 @@ import {
|
|
|
7
7
|
useModal,
|
|
8
8
|
useReceipt,
|
|
9
9
|
useToast,
|
|
10
|
+
useTransaction,
|
|
10
11
|
useUserInfo,
|
|
11
12
|
useWallet
|
|
12
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-2CK7JQWH.mjs";
|
|
13
14
|
import "../chunk-UA6XHZHX.mjs";
|
|
14
15
|
import {
|
|
15
16
|
useLayout_exports
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-USKUYOYJ.mjs";
|
|
18
|
+
import "../chunk-7UTR37EJ.mjs";
|
|
18
19
|
import "../chunk-J5LGTIGS.mjs";
|
|
19
20
|
export {
|
|
20
21
|
useCopyClipboard,
|
|
@@ -26,6 +27,7 @@ export {
|
|
|
26
27
|
useModal,
|
|
27
28
|
useReceipt,
|
|
28
29
|
useToast,
|
|
30
|
+
useTransaction,
|
|
29
31
|
useUserInfo,
|
|
30
32
|
useWallet
|
|
31
33
|
};
|
|
@@ -156,6 +156,11 @@ declare function useReceipt({ chainId, hash }: {
|
|
|
156
156
|
hash: string;
|
|
157
157
|
}): _tanstack_react_query.UseQueryResult<any, Error>;
|
|
158
158
|
|
|
159
|
+
declare function useTransaction({ chainId, hash }: {
|
|
160
|
+
chainId: number;
|
|
161
|
+
hash: string;
|
|
162
|
+
}): _tanstack_react_query.UseQueryResult<any, Error>;
|
|
163
|
+
|
|
159
164
|
declare function useDownMd(): boolean;
|
|
160
165
|
|
|
161
166
|
declare const useLayout_useDownMd: typeof useDownMd;
|
|
@@ -172,10 +177,11 @@ declare const index_useMatchWalletRecords: typeof useMatchWalletRecords;
|
|
|
172
177
|
declare const index_useModal: typeof useModal;
|
|
173
178
|
declare const index_useReceipt: typeof useReceipt;
|
|
174
179
|
declare const index_useToast: typeof useToast;
|
|
180
|
+
declare const index_useTransaction: typeof useTransaction;
|
|
175
181
|
declare const index_useUserInfo: typeof useUserInfo;
|
|
176
182
|
declare const index_useWallet: typeof useWallet;
|
|
177
183
|
declare namespace index {
|
|
178
|
-
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useMatchWalletRecords as useMatchWalletRecords, index_useModal as useModal, index_useReceipt as useReceipt, index_useToast as useToast, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
|
|
184
|
+
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, 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 };
|
|
179
185
|
}
|
|
180
186
|
|
|
181
|
-
export { 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, useReceipt as j,
|
|
187
|
+
export { 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, useReceipt as j, useTransaction as k, useLayout as l, useUserInfo as u };
|
|
@@ -156,6 +156,11 @@ declare function useReceipt({ chainId, hash }: {
|
|
|
156
156
|
hash: string;
|
|
157
157
|
}): _tanstack_react_query.UseQueryResult<any, Error>;
|
|
158
158
|
|
|
159
|
+
declare function useTransaction({ chainId, hash }: {
|
|
160
|
+
chainId: number;
|
|
161
|
+
hash: string;
|
|
162
|
+
}): _tanstack_react_query.UseQueryResult<any, Error>;
|
|
163
|
+
|
|
159
164
|
declare function useDownMd(): boolean;
|
|
160
165
|
|
|
161
166
|
declare const useLayout_useDownMd: typeof useDownMd;
|
|
@@ -172,10 +177,11 @@ declare const index_useMatchWalletRecords: typeof useMatchWalletRecords;
|
|
|
172
177
|
declare const index_useModal: typeof useModal;
|
|
173
178
|
declare const index_useReceipt: typeof useReceipt;
|
|
174
179
|
declare const index_useToast: typeof useToast;
|
|
180
|
+
declare const index_useTransaction: typeof useTransaction;
|
|
175
181
|
declare const index_useUserInfo: typeof useUserInfo;
|
|
176
182
|
declare const index_useWallet: typeof useWallet;
|
|
177
183
|
declare namespace index {
|
|
178
|
-
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, index_useMatchWalletRecords as useMatchWalletRecords, index_useModal as useModal, index_useReceipt as useReceipt, index_useToast as useToast, index_useUserInfo as useUserInfo, index_useWallet as useWallet };
|
|
184
|
+
export { index_useCopyClipboard as useCopyClipboard, index_useLayout as useLayout, index_useMatchChain as useMatchChain, index_useMatchEvents as useMatchEvents, index_useMatchWallet as useMatchWallet, 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 };
|
|
179
185
|
}
|
|
180
186
|
|
|
181
|
-
export { 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, useReceipt as j,
|
|
187
|
+
export { 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, useReceipt as j, useTransaction as k, useLayout as l, 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-CHkU0WHZ.mjs';
|
|
3
3
|
export { i as Components } from './index-BZrddrq-.mjs';
|
|
4
4
|
export { i as UI } from './index-BvLpvebq.mjs';
|
|
5
|
-
export { i as Hooks } from './index-
|
|
5
|
+
export { i as Hooks } from './index-DktvxNJc.mjs';
|
|
6
6
|
export { i as Api } from './index-B8DYrhSW.mjs';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
8
8
|
export { i as Types } from './index-B-s1k4Da.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-CHkU0WHZ.js';
|
|
3
3
|
export { i as Components } from './index-BHvCA7F9.js';
|
|
4
4
|
export { i as UI } from './index-DCeOyAw8.js';
|
|
5
|
-
export { i as Hooks } from './index-
|
|
5
|
+
export { i as Hooks } from './index-DaEFoDv_.js';
|
|
6
6
|
export { i as Api } from './index-Cwx2p8th.js';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
8
8
|
export { i as Types } from './index-DG_gyw1q.js';
|