@dynamic-labs-sdk/react-hooks 1.9.0 → 1.11.0
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/exports/index.d.ts +13 -6
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/hooks/wrappers/functions/useAttachFlowSource/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts +29 -0
- package/dist/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useBroadcastFlow/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useBroadcastFlow/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts +29 -0
- package/dist/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCancelFlow/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useCancelFlow/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts +28 -0
- package/dist/hooks/wrappers/functions/useCancelFlow/useCancelFlow.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlow/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useGetFlow/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts +27 -0
- package/dist/hooks/wrappers/functions/useGetFlow/useGetFlow.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts +28 -0
- package/dist/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts +28 -0
- package/dist/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/index.d.ts +3 -0
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/index.d.ts.map +1 -0
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts +29 -0
- package/dist/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.d.ts.map +1 -0
- package/dist/index.cjs +223 -68
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +218 -70
- package/dist/index.esm.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@ let _dynamic_labs_sdk_client_core = require("@dynamic-labs-sdk/client/core");
|
|
|
7
7
|
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "@dynamic-labs-sdk/react-hooks";
|
|
10
|
-
var version = "1.
|
|
10
|
+
var version = "1.11.0";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/modules/DynamicContext/DynamicContext.ts
|
|
@@ -174,6 +174,28 @@ const useAddNetwork = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
174
174
|
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.addNetwork)(variables, client)
|
|
175
175
|
});
|
|
176
176
|
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/hooks/wrappers/functions/useAttachFlowSource/useAttachFlowSource.ts
|
|
179
|
+
/**
|
|
180
|
+
* Attaches a payment source to a flow.
|
|
181
|
+
*
|
|
182
|
+
* Wraps `attachFlowSource` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId, sourceType, fromAddress, fromChainId, fromChainName })`
|
|
183
|
+
* to attach a payment source to a flow; the resolved `data` is an object containing
|
|
184
|
+
* the flow and the session token.
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```tsx
|
|
188
|
+
* const { mutate: attachFlowSource, isPending } = useAttachFlowSource();
|
|
189
|
+
* <button onClick={() => attachFlowSource({ flowId, sourceType, fromAddress, fromChainId, fromChainName })} disabled={isPending}>
|
|
190
|
+
* Attach flow source
|
|
191
|
+
* </button>
|
|
192
|
+
* ```
|
|
193
|
+
*/
|
|
194
|
+
const useAttachFlowSource = ({ mutateParams } = {}) => useBaseMutation({
|
|
195
|
+
mutateParams,
|
|
196
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.attachFlowSource)(variables, client)
|
|
197
|
+
});
|
|
198
|
+
|
|
177
199
|
//#endregion
|
|
178
200
|
//#region src/hooks/wrappers/functions/useAuthenticateMfaRecoveryCode/useAuthenticateMfaRecoveryCode.ts
|
|
179
201
|
/**
|
|
@@ -385,6 +407,49 @@ const useBalanceForAddress = ({ queryParams, ...args }) => useBaseQuery({
|
|
|
385
407
|
queryParams
|
|
386
408
|
});
|
|
387
409
|
|
|
410
|
+
//#endregion
|
|
411
|
+
//#region src/hooks/wrappers/functions/useBroadcastFlow/useBroadcastFlow.ts
|
|
412
|
+
/**
|
|
413
|
+
* Records that a flow transaction has been broadcasted.
|
|
414
|
+
*
|
|
415
|
+
* Wraps `broadcastFlow` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId, txHash })`
|
|
416
|
+
* to record the broadcast. For wallet sources pass the on-chain `txHash`; for exchange
|
|
417
|
+
* sources `txHash` can be omitted.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* ```tsx
|
|
421
|
+
* const { mutate: broadcastFlow, isPending } = useBroadcastFlow();
|
|
422
|
+
* <button onClick={() => broadcastFlow({ flowId, txHash })} disabled={isPending}>
|
|
423
|
+
* Broadcast flow
|
|
424
|
+
* </button>
|
|
425
|
+
* ```
|
|
426
|
+
*/
|
|
427
|
+
const useBroadcastFlow = ({ mutateParams } = {}) => useBaseMutation({
|
|
428
|
+
mutateParams,
|
|
429
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.broadcastFlow)(variables, client)
|
|
430
|
+
});
|
|
431
|
+
|
|
432
|
+
//#endregion
|
|
433
|
+
//#region src/hooks/wrappers/functions/useCancelFlow/useCancelFlow.ts
|
|
434
|
+
/**
|
|
435
|
+
* Cancels a flow before it has been broadcasted.
|
|
436
|
+
*
|
|
437
|
+
* Wraps `cancelFlow` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId })`
|
|
438
|
+
* to cancel a flow.
|
|
439
|
+
*
|
|
440
|
+
* @example
|
|
441
|
+
* ```tsx
|
|
442
|
+
* const { mutate: cancelFlow, isPending } = useCancelFlow();
|
|
443
|
+
* <button onClick={() => cancelFlow({ flowId })} disabled={isPending}>
|
|
444
|
+
* Cancel flow
|
|
445
|
+
* </button>
|
|
446
|
+
* ```
|
|
447
|
+
*/
|
|
448
|
+
const useCancelFlow = ({ mutateParams } = {}) => useBaseMutation({
|
|
449
|
+
mutateParams,
|
|
450
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.cancelFlow)(variables, client)
|
|
451
|
+
});
|
|
452
|
+
|
|
388
453
|
//#endregion
|
|
389
454
|
//#region src/hooks/wrappers/functions/useCheckStepUpAuth/useCheckStepUpAuth.ts
|
|
390
455
|
/**
|
|
@@ -737,63 +802,81 @@ const useExecuteSwapTransaction = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
737
802
|
});
|
|
738
803
|
|
|
739
804
|
//#endregion
|
|
740
|
-
//#region src/hooks/wrappers/functions/
|
|
805
|
+
//#region src/hooks/wrappers/functions/useGetFlow/useGetFlow.ts
|
|
741
806
|
/**
|
|
742
|
-
*
|
|
807
|
+
* Returns the flow with the given ID.
|
|
808
|
+
*
|
|
809
|
+
* Wraps `getFlow` from `@dynamic-labs-sdk/client`.
|
|
743
810
|
*
|
|
744
811
|
* @example
|
|
745
812
|
* ```tsx
|
|
746
|
-
* const { data:
|
|
813
|
+
* const { data: flow, isLoading, refetch } = useGetFlow({ flowId });
|
|
747
814
|
* ```
|
|
748
815
|
*/
|
|
749
|
-
const
|
|
750
|
-
|
|
751
|
-
|
|
816
|
+
const useGetFlow = ({ flowId, queryParams }) => useBaseQuery({
|
|
817
|
+
enabled: flowId !== void 0,
|
|
818
|
+
queryFn: (client) => (0, _dynamic_labs_sdk_client.getFlow)({ flowId }, client),
|
|
819
|
+
queryKey: ["useGetFlow", flowId],
|
|
752
820
|
queryParams
|
|
753
821
|
});
|
|
754
822
|
|
|
755
823
|
//#endregion
|
|
756
|
-
//#region src/hooks/wrappers/
|
|
824
|
+
//#region src/hooks/wrappers/functions/useGetFlowQuote/useGetFlowQuote.ts
|
|
757
825
|
/**
|
|
758
|
-
*
|
|
759
|
-
* error that caused initialization to fail (when it did).
|
|
826
|
+
* Fetches a quote for a flow.
|
|
760
827
|
*
|
|
761
|
-
*
|
|
762
|
-
*
|
|
763
|
-
* `'in-progress'`, `'finished'`, `'failed'`. When `data === 'failed'`, `error`
|
|
764
|
-
* carries the failure reason.
|
|
828
|
+
* Wraps `getFlowQuote` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId, fromTokenAddress, slippage })`
|
|
829
|
+
* to fetch a quote for a flow.
|
|
765
830
|
*
|
|
766
831
|
* @example
|
|
767
832
|
* ```tsx
|
|
768
|
-
* const {
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
833
|
+
* const { mutate: getFlowQuote, isPending } = useGetFlowQuote();
|
|
834
|
+
* <button onClick={() => getFlowQuote({ flowId, fromTokenAddress, slippage })} disabled={isPending}>
|
|
835
|
+
* Get flow quote
|
|
836
|
+
* </button>
|
|
772
837
|
* ```
|
|
838
|
+
*/
|
|
839
|
+
const useGetFlowQuote = ({ mutateParams } = {}) => useBaseMutation({
|
|
840
|
+
mutateParams,
|
|
841
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.getFlowQuote)(variables, client)
|
|
842
|
+
});
|
|
843
|
+
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region src/hooks/wrappers/functions/usePrepareFlowSigning/usePrepareFlowSigning.ts
|
|
846
|
+
/**
|
|
847
|
+
* Prepares a flow transaction for signing.
|
|
773
848
|
*
|
|
774
|
-
*
|
|
849
|
+
* Wraps `prepareFlowSigning` from `@dynamic-labs-sdk/client`. Call `mutate({ flowId })`
|
|
850
|
+
* to prepare a flow for signing.
|
|
851
|
+
*
|
|
852
|
+
* @example
|
|
853
|
+
* ```tsx
|
|
854
|
+
* const { mutate: prepareFlowSigning, isPending } = usePrepareFlowSigning();
|
|
855
|
+
* <button onClick={() => prepareFlowSigning({ flowId })} disabled={isPending}>
|
|
856
|
+
* Prepare flow signing
|
|
857
|
+
* </button>
|
|
858
|
+
* ```
|
|
775
859
|
*/
|
|
776
|
-
const
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
};
|
|
860
|
+
const usePrepareFlowSigning = ({ mutateParams } = {}) => useBaseMutation({
|
|
861
|
+
mutateParams,
|
|
862
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.prepareFlowSigning)(variables, client)
|
|
863
|
+
});
|
|
864
|
+
|
|
865
|
+
//#endregion
|
|
866
|
+
//#region src/hooks/wrappers/functions/useGoogleDriveBackupReadiness/useGoogleDriveBackupReadiness.ts
|
|
867
|
+
/**
|
|
868
|
+
* Wraps `getGoogleDriveBackupReadiness` from `@dynamic-labs-sdk/client`. Reports whether the user's Google Drive backup is set up and available.
|
|
869
|
+
*
|
|
870
|
+
* @example
|
|
871
|
+
* ```tsx
|
|
872
|
+
* const { data: readiness, isLoading } = useGoogleDriveBackupReadiness();
|
|
873
|
+
* ```
|
|
874
|
+
*/
|
|
875
|
+
const useGoogleDriveBackupReadiness = ({ queryParams } = {}) => useBaseQuery({
|
|
876
|
+
queryFn: (client) => (0, _dynamic_labs_sdk_client.getGoogleDriveBackupReadiness)(client),
|
|
877
|
+
queryKey: ["useGoogleDriveBackupReadiness"],
|
|
878
|
+
queryParams
|
|
879
|
+
});
|
|
797
880
|
|
|
798
881
|
//#endregion
|
|
799
882
|
//#region src/hooks/wrappers/functions/useIsCaptchaRequired/useIsCaptchaRequired.ts
|
|
@@ -1362,20 +1445,6 @@ const useSendSmsOtp = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1362
1445
|
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.sendSmsOTP)(variables, client)
|
|
1363
1446
|
});
|
|
1364
1447
|
|
|
1365
|
-
//#endregion
|
|
1366
|
-
//#region src/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.ts
|
|
1367
|
-
/**
|
|
1368
|
-
* Returns the session expiration date, or null if no active session.
|
|
1369
|
-
*
|
|
1370
|
-
* Re-renders when the user changes (which includes session updates).
|
|
1371
|
-
*/
|
|
1372
|
-
const useSessionExpiresAt = () => useBaseState({
|
|
1373
|
-
defaultValue: null,
|
|
1374
|
-
event: "userChanged",
|
|
1375
|
-
queryKey: ["useSessionExpiresAt"],
|
|
1376
|
-
selector: (client) => client.sessionExpiresAt
|
|
1377
|
-
});
|
|
1378
|
-
|
|
1379
1448
|
//#endregion
|
|
1380
1449
|
//#region src/hooks/wrappers/functions/useSetDefaultMfaDevice/useSetDefaultMfaDevice.ts
|
|
1381
1450
|
/**
|
|
@@ -1493,6 +1562,28 @@ const useSignMessage = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1493
1562
|
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.signMessage)(variables, client)
|
|
1494
1563
|
});
|
|
1495
1564
|
|
|
1565
|
+
//#endregion
|
|
1566
|
+
//#region src/hooks/wrappers/functions/useSubmitFlowTransaction/useSubmitFlowTransaction.ts
|
|
1567
|
+
/**
|
|
1568
|
+
* Prepares, signs, and broadcasts a flow transaction in one call.
|
|
1569
|
+
*
|
|
1570
|
+
* Wraps `submitFlowTransaction` from `@dynamic-labs-sdk/client`. Call
|
|
1571
|
+
* `mutate({ flowId, walletAccount })` to run the full submission flow:
|
|
1572
|
+
* prepare signing, sign on-chain, and broadcast.
|
|
1573
|
+
*
|
|
1574
|
+
* @example
|
|
1575
|
+
* ```tsx
|
|
1576
|
+
* const { mutate: submitFlowTransaction, isPending } = useSubmitFlowTransaction();
|
|
1577
|
+
* <button onClick={() => submitFlowTransaction({ flowId, walletAccount })} disabled={isPending}>
|
|
1578
|
+
* Submit flow transaction
|
|
1579
|
+
* </button>
|
|
1580
|
+
* ```
|
|
1581
|
+
*/
|
|
1582
|
+
const useSubmitFlowTransaction = ({ mutateParams } = {}) => useBaseMutation({
|
|
1583
|
+
mutateParams,
|
|
1584
|
+
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.submitFlowTransaction)(variables, client)
|
|
1585
|
+
});
|
|
1586
|
+
|
|
1496
1587
|
//#endregion
|
|
1497
1588
|
//#region src/hooks/wrappers/functions/useSwapQuote/useSwapQuote.ts
|
|
1498
1589
|
/**
|
|
@@ -1707,20 +1798,6 @@ const useUpdateUser = ({ mutateParams } = {}) => useBaseMutation({
|
|
|
1707
1798
|
mutationFn: ({ client, variables }) => (0, _dynamic_labs_sdk_client.updateUser)(variables, client)
|
|
1708
1799
|
});
|
|
1709
1800
|
|
|
1710
|
-
//#endregion
|
|
1711
|
-
//#region src/hooks/wrappers/state/useUser/useUser.ts
|
|
1712
|
-
/**
|
|
1713
|
-
* Returns the current authenticated user, or null if not authenticated.
|
|
1714
|
-
*
|
|
1715
|
-
* Re-renders when the user changes (login, logout, profile update).
|
|
1716
|
-
*/
|
|
1717
|
-
const useUser = () => useBaseState({
|
|
1718
|
-
defaultValue: null,
|
|
1719
|
-
event: "userChanged",
|
|
1720
|
-
queryKey: ["useUser"],
|
|
1721
|
-
selector: (client) => client.user
|
|
1722
|
-
});
|
|
1723
|
-
|
|
1724
1801
|
//#endregion
|
|
1725
1802
|
//#region src/hooks/wrappers/functions/useUserSocialAccounts/useUserSocialAccounts.ts
|
|
1726
1803
|
/**
|
|
@@ -1881,6 +1958,77 @@ const useWalletProviderEvent = ({ callback, event, walletProviderKey }) => {
|
|
|
1881
1958
|
]);
|
|
1882
1959
|
};
|
|
1883
1960
|
|
|
1961
|
+
//#endregion
|
|
1962
|
+
//#region src/hooks/wrappers/state/useInitStatus/useInitStatus.ts
|
|
1963
|
+
/**
|
|
1964
|
+
* Returns the current initialization status of the Dynamic client, plus the
|
|
1965
|
+
* error that caused initialization to fail (when it did).
|
|
1966
|
+
*
|
|
1967
|
+
* Exposes only `data` (the reactive init status), `error` and `isError` —
|
|
1968
|
+
* see {@link UseInitStatusResult}. Possible `data` values: `'uninitialized'`,
|
|
1969
|
+
* `'in-progress'`, `'finished'`, `'failed'`. When `data === 'failed'`, `error`
|
|
1970
|
+
* carries the failure reason.
|
|
1971
|
+
*
|
|
1972
|
+
* @example
|
|
1973
|
+
* ```tsx
|
|
1974
|
+
* const { data: status, error } = useInitStatus();
|
|
1975
|
+
* if (status === 'failed') return <InitErrorScreen message={error?.message} />;
|
|
1976
|
+
* if (status !== 'finished') return <LoadingScreen />;
|
|
1977
|
+
* return <App />;
|
|
1978
|
+
* ```
|
|
1979
|
+
*
|
|
1980
|
+
* @not-instrumented
|
|
1981
|
+
*/
|
|
1982
|
+
const useInitStatus = () => {
|
|
1983
|
+
const { data } = useBaseState({
|
|
1984
|
+
defaultValue: {
|
|
1985
|
+
error: null,
|
|
1986
|
+
status: "uninitialized"
|
|
1987
|
+
},
|
|
1988
|
+
event: "initStatusChanged",
|
|
1989
|
+
queryKey: ["useInitStatus"],
|
|
1990
|
+
selector: (client) => ({
|
|
1991
|
+
error: client.initError,
|
|
1992
|
+
status: client.initStatus
|
|
1993
|
+
}),
|
|
1994
|
+
skipWaitForInit: true
|
|
1995
|
+
});
|
|
1996
|
+
const error = data?.error ?? null;
|
|
1997
|
+
return {
|
|
1998
|
+
data: data?.status,
|
|
1999
|
+
error,
|
|
2000
|
+
isError: error !== null
|
|
2001
|
+
};
|
|
2002
|
+
};
|
|
2003
|
+
|
|
2004
|
+
//#endregion
|
|
2005
|
+
//#region src/hooks/wrappers/state/useSessionExpiresAt/useSessionExpiresAt.ts
|
|
2006
|
+
/**
|
|
2007
|
+
* Returns the session expiration date, or null if no active session.
|
|
2008
|
+
*
|
|
2009
|
+
* Re-renders when the user changes (which includes session updates).
|
|
2010
|
+
*/
|
|
2011
|
+
const useSessionExpiresAt = () => useBaseState({
|
|
2012
|
+
defaultValue: null,
|
|
2013
|
+
event: "userChanged",
|
|
2014
|
+
queryKey: ["useSessionExpiresAt"],
|
|
2015
|
+
selector: (client) => client.sessionExpiresAt
|
|
2016
|
+
});
|
|
2017
|
+
|
|
2018
|
+
//#endregion
|
|
2019
|
+
//#region src/hooks/wrappers/state/useUser/useUser.ts
|
|
2020
|
+
/**
|
|
2021
|
+
* Returns the current authenticated user, or null if not authenticated.
|
|
2022
|
+
*
|
|
2023
|
+
* Re-renders when the user changes (login, logout, profile update).
|
|
2024
|
+
*/
|
|
2025
|
+
const useUser = () => useBaseState({
|
|
2026
|
+
defaultValue: null,
|
|
2027
|
+
event: "userChanged",
|
|
2028
|
+
queryKey: ["useUser"],
|
|
2029
|
+
selector: (client) => client.user
|
|
2030
|
+
});
|
|
2031
|
+
|
|
1884
2032
|
//#endregion
|
|
1885
2033
|
//#region src/exports/index.ts
|
|
1886
2034
|
(0, _dynamic_labs_sdk_assert_package_version.assertPackageVersion)(name, version);
|
|
@@ -1890,11 +2038,14 @@ exports.DynamicProvider = DynamicProvider;
|
|
|
1890
2038
|
exports.useAcknowledgeRecoveryCodes = useAcknowledgeRecoveryCodes;
|
|
1891
2039
|
exports.useActiveNetworkData = useActiveNetworkData;
|
|
1892
2040
|
exports.useAddNetwork = useAddNetwork;
|
|
2041
|
+
exports.useAttachFlowSource = useAttachFlowSource;
|
|
1893
2042
|
exports.useAuthenticateMfaRecoveryCode = useAuthenticateMfaRecoveryCode;
|
|
1894
2043
|
exports.useAuthenticatePasskeyMfa = useAuthenticatePasskeyMfa;
|
|
1895
2044
|
exports.useAuthenticateTotpMfaDevice = useAuthenticateTotpMfaDevice;
|
|
1896
2045
|
exports.useAvailableWalletProvidersData = useAvailableWalletProvidersData;
|
|
1897
2046
|
exports.useBalanceForAddress = useBalanceForAddress;
|
|
2047
|
+
exports.useBroadcastFlow = useBroadcastFlow;
|
|
2048
|
+
exports.useCancelFlow = useCancelFlow;
|
|
1898
2049
|
exports.useCheckStepUpAuth = useCheckStepUpAuth;
|
|
1899
2050
|
exports.useCoinbaseBuyUrl = useCoinbaseBuyUrl;
|
|
1900
2051
|
exports.useCoinbaseOnrampOrderEventListener = useCoinbaseOnrampOrderEventListener;
|
|
@@ -1913,6 +2064,8 @@ exports.useDeleteUser = useDeleteUser;
|
|
|
1913
2064
|
exports.useDynamicClient = useDynamicClient;
|
|
1914
2065
|
exports.useEvent = useEvent;
|
|
1915
2066
|
exports.useExecuteSwapTransaction = useExecuteSwapTransaction;
|
|
2067
|
+
exports.useGetFlow = useGetFlow;
|
|
2068
|
+
exports.useGetFlowQuote = useGetFlowQuote;
|
|
1916
2069
|
exports.useGoogleDriveBackupReadiness = useGoogleDriveBackupReadiness;
|
|
1917
2070
|
exports.useInitStatus = useInitStatus;
|
|
1918
2071
|
exports.useIsCaptchaRequired = useIsCaptchaRequired;
|
|
@@ -1932,6 +2085,7 @@ exports.useNativeBalance = useNativeBalance;
|
|
|
1932
2085
|
exports.useNetworksData = useNetworksData;
|
|
1933
2086
|
exports.useOnceEvent = useOnceEvent;
|
|
1934
2087
|
exports.usePasskeys = usePasskeys;
|
|
2088
|
+
exports.usePrepareFlowSigning = usePrepareFlowSigning;
|
|
1935
2089
|
exports.useProveWalletAccountOwnership = useProveWalletAccountOwnership;
|
|
1936
2090
|
exports.useRefreshAuth = useRefreshAuth;
|
|
1937
2091
|
exports.useRegisterPasskey = useRegisterPasskey;
|
|
@@ -1950,6 +2104,7 @@ exports.useSignInWithPasskey = useSignInWithPasskey;
|
|
|
1950
2104
|
exports.useSignInWithSocialPopUp = useSignInWithSocialPopUp;
|
|
1951
2105
|
exports.useSignInWithSocialRedirect = useSignInWithSocialRedirect;
|
|
1952
2106
|
exports.useSignMessage = useSignMessage;
|
|
2107
|
+
exports.useSubmitFlowTransaction = useSubmitFlowTransaction;
|
|
1953
2108
|
exports.useSwapQuote = useSwapQuote;
|
|
1954
2109
|
exports.useSwapStatus = useSwapStatus;
|
|
1955
2110
|
exports.useSwitchActiveNetwork = useSwitchActiveNetwork;
|