@frak-labs/react-sdk 0.1.0-beta.8d103039 → 0.1.0-beta.dd44738a

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 (39) hide show
  1. package/dist/hook/helper/useReferralInteraction.d.cts +24 -0
  2. package/dist/hook/helper/useReferralInteraction.d.ts +24 -0
  3. package/dist/hook/index.d.cts +11 -0
  4. package/dist/hook/index.d.ts +11 -0
  5. package/dist/hook/useDisplayModal.d.cts +38 -0
  6. package/dist/hook/useDisplayModal.d.ts +38 -0
  7. package/dist/hook/useFrakClient.d.cts +6 -0
  8. package/dist/hook/useFrakClient.d.ts +6 -0
  9. package/dist/hook/useFrakConfig.d.cts +9 -0
  10. package/dist/hook/useFrakConfig.d.ts +9 -0
  11. package/dist/hook/useGetProductInformation.d.cts +30 -0
  12. package/dist/hook/useGetProductInformation.d.ts +30 -0
  13. package/dist/hook/useOpenSso.d.cts +33 -0
  14. package/dist/hook/useOpenSso.d.ts +33 -0
  15. package/dist/hook/usePrepareSso.d.cts +40 -0
  16. package/dist/hook/usePrepareSso.d.ts +40 -0
  17. package/dist/hook/useSendInteraction.d.cts +33 -0
  18. package/dist/hook/useSendInteraction.d.ts +33 -0
  19. package/dist/hook/useSendTransaction.d.cts +34 -0
  20. package/dist/hook/useSendTransaction.d.ts +34 -0
  21. package/dist/hook/useSiweAuthenticate.d.cts +35 -0
  22. package/dist/hook/useSiweAuthenticate.d.ts +35 -0
  23. package/dist/hook/useWalletStatus.d.cts +16 -0
  24. package/dist/hook/useWalletStatus.d.ts +16 -0
  25. package/dist/hook/utils/useFrakContext.d.cts +9 -0
  26. package/dist/hook/utils/useFrakContext.d.ts +9 -0
  27. package/dist/hook/utils/useMounted.d.cts +2 -0
  28. package/dist/hook/utils/useMounted.d.ts +2 -0
  29. package/dist/hook/utils/useWindowLocation.d.cts +8 -0
  30. package/dist/hook/utils/useWindowLocation.d.ts +8 -0
  31. package/dist/index.d.cts +3 -386
  32. package/dist/index.d.ts +3 -386
  33. package/dist/provider/FrakConfigProvider.d.cts +29 -0
  34. package/dist/provider/FrakConfigProvider.d.ts +29 -0
  35. package/dist/provider/FrakIFrameClientProvider.d.cts +32 -0
  36. package/dist/provider/FrakIFrameClientProvider.d.ts +32 -0
  37. package/dist/provider/index.d.cts +4 -0
  38. package/dist/provider/index.d.ts +4 -0
  39. package/package.json +4 -1
@@ -0,0 +1,16 @@
1
+ import type { WalletStatusReturnType } from "@frak-labs/core-sdk";
2
+ /**
3
+ * Hook that return a query helping to get the current wallet status.
4
+ *
5
+ * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.watchWalletStatus | `watchWalletStatus()`} action
6
+ *
7
+ * @group hooks
8
+ *
9
+ * @returns
10
+ * The query hook wrapping the `watchWalletStatus()` action
11
+ * The `data` result is a {@link @frak-labs/core-sdk!index.WalletStatusReturnType | `WalletStatusReturnType`}
12
+ *
13
+ * @see {@link @frak-labs/core-sdk!actions.watchWalletStatus | `watchWalletStatus()`} for more info about the underlying action
14
+ * @see {@link @tanstack/react-query!useQuery | `useQuery()`} for more info about the useQuery response
15
+ */
16
+ export declare function useWalletStatus(): import("@tanstack/react-query").UseQueryResult<WalletStatusReturnType, Error>;
@@ -0,0 +1,9 @@
1
+ import { type FrakContext } from "@frak-labs/core-sdk";
2
+ /**
3
+ * Extract the current frak context from the url
4
+ * @ignore
5
+ */
6
+ export declare function useFrakContext(): {
7
+ frakContext: FrakContext | null | undefined;
8
+ updateContext: (newContext: Partial<FrakContext>) => void;
9
+ };
@@ -0,0 +1,9 @@
1
+ import { type FrakContext } from "@frak-labs/core-sdk";
2
+ /**
3
+ * Extract the current frak context from the url
4
+ * @ignore
5
+ */
6
+ export declare function useFrakContext(): {
7
+ frakContext: FrakContext | null | undefined;
8
+ updateContext: (newContext: Partial<FrakContext>) => void;
9
+ };
@@ -0,0 +1,2 @@
1
+ /** @ignore */
2
+ export declare function useMounted(): boolean;
@@ -0,0 +1,2 @@
1
+ /** @ignore */
2
+ export declare function useMounted(): boolean;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Returns the current window location and href
3
+ * @ignore
4
+ */
5
+ export declare function useWindowLocation(): {
6
+ location: Location | undefined;
7
+ href: string | undefined;
8
+ };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Returns the current window location and href
3
+ * @ignore
4
+ */
5
+ export declare function useWindowLocation(): {
6
+ location: Location | undefined;
7
+ href: string | undefined;
8
+ };
package/dist/index.d.cts CHANGED
@@ -1,386 +1,3 @@
1
- import { Context } from 'react';
2
- import { CSSProperties } from 'react';
3
- import type { DisplayEmbeddedWalletParamsType } from '@frak-labs/core-sdk';
4
- import type { DisplayModalParamsType } from '@frak-labs/core-sdk';
5
- import { FragmentProps } from 'react';
6
- import { FrakClient } from '@frak-labs/core-sdk';
7
- import { FrakRpcError } from '@frak-labs/frame-connector';
8
- import { FrakWalletSdkConfig } from '@frak-labs/core-sdk';
9
- import { FunctionComponentElement } from 'react';
10
- import type { GetProductInformationReturnType } from '@frak-labs/core-sdk';
11
- import { Hex } from 'viem';
12
- import type { ModalRpcStepsResultType } from '@frak-labs/core-sdk';
13
- import type { ModalStepTypes } from '@frak-labs/core-sdk';
14
- import type { OpenSsoParamsType } from '@frak-labs/core-sdk';
15
- import type { OpenSsoReturnType } from '@frak-labs/core-sdk';
16
- import type { PrepareSsoParamsType } from '@frak-labs/core-sdk';
17
- import { ProcessReferralOptions } from '@frak-labs/core-sdk/actions';
18
- import { PropsWithChildren } from 'react';
19
- import { ProviderProps } from 'react';
20
- import { ReactNode } from 'react';
21
- import type { SendInteractionParamsType } from '@frak-labs/core-sdk';
22
- import type { SendInteractionReturnType } from '@frak-labs/core-sdk';
23
- import { SendTransactionParams } from '@frak-labs/core-sdk/actions';
24
- import type { SendTransactionReturnType } from '@frak-labs/core-sdk';
25
- import { SiweAuthenticateModalParams } from '@frak-labs/core-sdk/actions';
26
- import type { SiweAuthenticateReturnType } from '@frak-labs/core-sdk';
27
- import { UseMutationOptions } from '@tanstack/react-query';
28
- import { UseMutationResult } from '@tanstack/react-query';
29
- import { UseQueryOptions } from '@tanstack/react-query';
30
- import { UseQueryResult } from '@tanstack/react-query';
31
- import type { WalletStatusReturnType } from '@frak-labs/core-sdk';
32
-
33
- /**
34
- * The context that will keep the Frak Wallet SDK configuration
35
- * @ignore
36
- */
37
- export declare const FrakConfigContext: Context<FrakWalletSdkConfig | undefined>;
38
-
39
- /**
40
- * Simple config provider for the Frak Wallet SDK
41
- *
42
- * Should be wrapped within a {@link @tanstack/react-query!QueryClientProvider | `QueryClientProvider`}
43
- *
44
- * @group provider
45
- *
46
- * @param parameters
47
- */
48
- export declare function FrakConfigProvider(parameters: PropsWithChildren<FrakConfigProviderProps>): FunctionComponentElement<ProviderProps<FrakWalletSdkConfig | undefined>>;
49
-
50
- /**
51
- * Props to instantiate the Frak Wallet SDK configuration provider
52
- *
53
- * @group provider
54
- */
55
- export declare type FrakConfigProviderProps = {
56
- /**
57
- * The wanted Frak configuration
58
- * @see {@link @frak-labs/core-sdk!index.FrakWalletSdkConfig | FrakWalletSdkConfig}
59
- */
60
- config: FrakWalletSdkConfig;
61
- };
62
-
63
- /**
64
- * The context that will keep the Frak Wallet SDK client
65
- * @ignore
66
- */
67
- export declare const FrakIFrameClientContext: Context<FrakClient | undefined>;
68
-
69
- /**
70
- * Props to instantiate the Frak Wallet SDK configuration provider
71
- *
72
- * @group provider
73
- */
74
- export declare type FrakIFrameClientProps = {
75
- config: FrakWalletSdkConfig;
76
- };
77
-
78
- /**
79
- * IFrame client provider for the Frak Wallet SDK
80
- * It will automatically create the frak wallet iFrame (required for the wallet to communicate with the SDK securely), and provide it in the context
81
- *
82
- * @group provider
83
- *
84
- * @remarks
85
- * This provider must be wrapped within a {@link FrakConfigProvider} to work properly
86
- *
87
- * @param args
88
- * @param args.style - Some custom styles to apply to the iFrame
89
- * @param args.children - Descedant components that will have access to the Frak Client
90
- */
91
- export declare function FrakIFrameClientProvider({ style, children, }: {
92
- style?: CSSProperties;
93
- children?: ReactNode;
94
- }): FunctionComponentElement<FragmentProps>;
95
-
96
- /** @ignore */
97
- declare type MutationOptions = Omit<UseMutationOptions<SendTransactionReturnType, FrakRpcError, SendTransactionParams>, "mutationFn" | "mutationKey">;
98
-
99
- /** @ignore */
100
- declare type MutationOptions_2 = Omit<UseMutationOptions<SendInteractionReturnType, FrakRpcError, SendInteractionParamsType>, "mutationFn" | "mutationKey">;
101
-
102
- /** @inline */
103
- declare type MutationOptions_3 = Omit<UseMutationOptions<SiweAuthenticateReturnType, FrakRpcError, SiweAuthenticateModalParams>, "mutationFn" | "mutationKey">;
104
-
105
- /** @ignore */
106
- declare type MutationOptions_4<T extends ModalStepTypes[]> = Omit<UseMutationOptions<ModalRpcStepsResultType<T>, FrakRpcError, DisplayModalParamsType<T>>, "mutationFn" | "mutationKey">;
107
-
108
- /** @ignore */
109
- declare type MutationOptions_5 = Omit<UseMutationOptions<OpenSsoReturnType, FrakRpcError, OpenSsoParamsType>, "mutationFn" | "mutationKey">;
110
-
111
- /** @ignore */
112
- declare type QueryOptions = Omit<UseQueryOptions<GetProductInformationReturnType, FrakRpcError, undefined>, "queryKey" | "queryFn">;
113
-
114
- /**
115
- * Hook that return a mutation helping to display a modal to the user
116
- *
117
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.displayModal | `displayModal()`} action
118
- *
119
- * @param args
120
- *
121
- * @typeParam T
122
- * The modal steps types to display (the result will correspond to the steps types asked in params)
123
- * An array of {@link @frak-labs/core-sdk!index.ModalStepTypes | `ModalStepTypes`}
124
- * If not provided, it will default to a generic array of `ModalStepTypes`
125
- *
126
- * @group hooks
127
- *
128
- * @returns
129
- * The mutation hook wrapping the `displayModal()` action
130
- * The `mutate` and `mutateAsync` argument is of type {@link @frak-labs/core-sdk!index.DisplayModalParamsType | `DisplayModalParamsType<T>`}, with type params `T` being the modal steps types to display
131
- * The `data` result is a {@link @frak-labs/core-sdk!index.ModalRpcStepsResultType | `ModalRpcStepsResultType`}
132
- *
133
- * @see {@link @frak-labs/core-sdk!actions.displayModal | `displayModal()`} for more info about the underlying action
134
- * @see {@link @tanstack/react-query!useMutation | `useMutation()`} for more info about the mutation options and response
135
- */
136
- export declare function useDisplayModal<T extends ModalStepTypes[] = ModalStepTypes[]>({ mutations, }?: UseDisplayModalParams<T>): UseMutationResult< { [K in T[number]["key"]]: Extract<T[number], {
137
- key: K;
138
- }>["returns"]; }, FrakRpcError<undefined>, DisplayModalParamsType<T>, unknown>;
139
-
140
- /** @inline */
141
- declare interface UseDisplayModalParams<T extends ModalStepTypes[] = ModalStepTypes[]> {
142
- /**
143
- * Optional mutation options, see {@link @tanstack/react-query!useMutation | `useMutation()`} for more infos
144
- */
145
- mutations?: MutationOptions_4<T>;
146
- }
147
-
148
- /**
149
- * Get the current Frak client
150
- *
151
- * @group hooks
152
- */
153
- export declare function useFrakClient(): FrakClient | undefined;
154
-
155
- /**
156
- * Get the current Frak config
157
- * @throws {FrakRpcError} if the config is not found (only if this hooks is used outside a FrakConfigProvider)
158
- * @group hooks
159
- *
160
- * @see {@link @frak-labs/react-sdk!FrakConfigProvider | FrakConfigProvider} for the config provider
161
- * @see {@link @frak-labs/core-sdk!index.FrakWalletSdkConfig | FrakWalletSdkConfig} for the config type
162
- */
163
- export declare function useFrakConfig(): FrakWalletSdkConfig;
164
-
165
- /**
166
- * Hook that return a query helping to get the current product information
167
- *
168
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.getProductInformation | `getProductInformation()`} action
169
- *
170
- * @param args
171
- *
172
- * @group hooks
173
- *
174
- * @returns
175
- * The query hook wrapping the `getProductInformation()` action
176
- * The `data` result is a {@link @frak-labs/core-sdk!index.GetProductInformationReturnType | `GetProductInformationReturnType`}
177
- *
178
- * @see {@link @frak-labs/core-sdk!actions.getProductInformation | `getProductInformation()`} for more info about the underlying action
179
- * @see {@link @tanstack/react-query!useQuery | `useQuery()`} for more info about the useQuery options and response
180
- */
181
- export declare function useGetProductInformation({ query, }?: UseGetProductInformationParams): UseQueryResult<undefined, FrakRpcError<undefined>>;
182
-
183
- /** @inline */
184
- declare interface UseGetProductInformationParams {
185
- /**
186
- * Optional query options, see {@link @tanstack/react-query!useQuery | `useQuery()`} for more infos
187
- */
188
- query?: QueryOptions;
189
- }
190
-
191
- /**
192
- * Hook that return a mutation helping to open the SSO page
193
- *
194
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.openSso | `openSso()`} action
195
- *
196
- * @param args
197
- *
198
- * @group hooks
199
- *
200
- * @returns
201
- * The mutation hook wrapping the `openSso()` action
202
- * The `mutate` and `mutateAsync` argument is of type {@link @frak-labs/core-sdk!index.OpenSsoParamsType | `OpenSsoParamsType`}
203
- * The mutation doesn't output any value
204
- *
205
- * @see {@link @frak-labs/core-sdk!actions.openSso | `openSso()`} for more info about the underlying action
206
- * @see {@link @tanstack/react-query!useMutation | `useMutation()`} for more info about the mutation options and response
207
- */
208
- export declare function useOpenSso({ mutations }?: UseOpenSsoParams): UseMutationResult< {
209
- wallet?: Hex;
210
- }, FrakRpcError<undefined>, OpenSsoParamsType, unknown>;
211
-
212
- /** @inline */
213
- declare interface UseOpenSsoParams {
214
- /**
215
- * Optional mutation options, see {@link @tanstack/react-query!useMutation | `useMutation()`} for more infos
216
- */
217
- mutations?: MutationOptions_5;
218
- }
219
-
220
- /**
221
- * Hook that generates SSO URL for popup flow
222
- *
223
- * This is a **synchronous** hook (no async calls) that generates the SSO URL
224
- * client-side without communicating with the wallet iframe.
225
- *
226
- * @param params - SSO parameters for URL generation
227
- *
228
- * @group hooks
229
- *
230
- * @returns
231
- * Object containing:
232
- * - `ssoUrl`: Generated SSO URL (or undefined if client not ready)
233
- * - `isReady`: Boolean indicating if URL is available
234
- *
235
- * @example
236
- * ```tsx
237
- * function MyComponent() {
238
- * const { data } = usePrepareSso({
239
- * metadata: { logoUrl: "..." },
240
- * directExit: true
241
- * });
242
- *
243
- * const handleClick = () => {
244
- * if (ssoUrl) {
245
- * window.open(data?.ssoUrl, "_blank");
246
- * }
247
- * };
248
- *
249
- * return <button onClick={handleClick} disabled={!isReady}>Login</button>;
250
- * }
251
- * ```
252
- *
253
- * @see {@link @frak-labs/core-sdk!actions.prepareSso | `prepareSso()`} for the underlying action
254
- * @see {@link @frak-labs/core-sdk!actions.openSso | `openSso()`} for the recommended high-level API
255
- */
256
- export declare function usePrepareSso(params: PrepareSsoParamsType): UseQueryResult< {
257
- ssoUrl: string;
258
- }, Error>;
259
-
260
- /**
261
- * Helper hook to automatically submit a referral interaction when detected
262
- *
263
- * @group hooks
264
- *
265
- * @param args
266
- * @param args.productId - The product id to interact with (if not specified will be recomputed from the current domain)
267
- * @param args.modalConfig - The modal configuration to display if the user is not logged in
268
- * @param args.options - Some options for the referral interaction
269
- *
270
- * @returns The resulting referral state, or a potential error
271
- *
272
- * @description This function will automatically handle the referral interaction process
273
- *
274
- * @see {@link @frak-labs/core-sdk!actions.processReferral | `processReferral()`} for more details on the automatic referral handling process
275
- */
276
- export declare function useReferralInteraction({ productId, modalConfig, options, }?: {
277
- productId?: Hex;
278
- modalConfig?: DisplayEmbeddedWalletParamsType;
279
- options?: ProcessReferralOptions;
280
- }): Error | ("error" | "no-referrer" | "idle" | "processing" | "success" | "no-wallet" | "no-session" | "self-referral");
281
-
282
- /**
283
- * Hook that return a mutation helping to send a user interaction
284
- *
285
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.sendInteraction | `sendInteraction()`} action
286
- *
287
- * @param args
288
- *
289
- * @group hooks
290
- *
291
- * @returns
292
- * The mutation hook wrapping the `sendInteraction()` action
293
- * The `mutate` and `mutateAsync` argument is of type {@link @frak-labs/core-sdk!index.SendInteractionParamsType | `SendInteractionParamsType`}
294
- * The `data` result is a {@link @frak-labs/core-sdk!index.SendInteractionReturnType | `SendInteractionReturnType`}
295
- *
296
- * @see {@link @frak-labs/core-sdk!actions.sendInteraction | `sendInteraction()`} for more info about the underlying action
297
- * @see {@link @tanstack/react-query!useMutation | `useMutation()`} for more info about the mutation options and response
298
- */
299
- export declare function useSendInteraction({ mutations, }?: UseSendInteractionParams): UseMutationResult< {
300
- delegationId: string;
301
- }, FrakRpcError<undefined>, SendInteractionParamsType, unknown>;
302
-
303
- /** @inline */
304
- declare interface UseSendInteractionParams {
305
- /**
306
- * Optional mutation options, see {@link @tanstack/react-query!useMutation | `useMutation()`} for more infos
307
- */
308
- mutations?: MutationOptions_2;
309
- }
310
-
311
- /**
312
- * Hook that return a mutation helping to send a transaction
313
- *
314
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.sendTransaction | `sendTransaction()`} action
315
- *
316
- * @param args
317
- *
318
- * @group hooks
319
- *
320
- * @returns
321
- * The mutation hook wrapping the `sendTransaction()` action
322
- * The `mutate` and `mutateAsync` argument is of type {@link @frak-labs/core-sdk!actions.SendTransactionParams | `SendTransactionParams`}
323
- * The `data` result is a {@link @frak-labs/core-sdk!index.SendTransactionReturnType | `SendTransactionReturnType`}
324
- *
325
- * @see {@link @frak-labs/core-sdk!actions.sendTransaction | `sendTransaction()`} for more info about the underlying action
326
- * @see {@link @tanstack/react-query!useMutation | `useMutation()`} for more info about the mutation options and response
327
- */
328
- export declare function useSendTransactionAction({ mutations, }?: UseSendTransactionParams): UseMutationResult< {
329
- hash: Hex;
330
- }, FrakRpcError<undefined>, SendTransactionParams, unknown>;
331
-
332
- /** @inline */
333
- declare interface UseSendTransactionParams {
334
- /**
335
- * Optional mutation options, see {@link @tanstack/react-query!useMutation | `useMutation()`} for more infos
336
- */
337
- mutations?: MutationOptions;
338
- }
339
-
340
- /**
341
- * Hook that return a mutation helping to send perform a SIWE authentication
342
- *
343
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.sendTransaction | `sendTransaction()`} action
344
- *
345
- * @param args
346
- *
347
- * @group hooks
348
- *
349
- * @returns
350
- * The mutation hook wrapping the `siweAuthenticate()` action
351
- * The `mutate` and `mutateAsync` argument is of type {@link @frak-labs/core-sdk!actions.SiweAuthenticateModalParams | `SiweAuthenticateModalParams`}
352
- * The `data` result is a {@link @frak-labs/core-sdk!index.SiweAuthenticateReturnType | `SiweAuthenticateReturnType`}
353
- *
354
- * @see {@link @frak-labs/core-sdk!actions.siweAuthenticate | `siweAuthenticate()`} for more info about the underlying action
355
- * @see {@link @tanstack/react-query!useMutation | `useMutation()`} for more info about the mutation options and response
356
- */
357
- export declare function useSiweAuthenticate({ mutations, }?: UseSiweAuthenticateParams): UseMutationResult< {
358
- signature: Hex;
359
- message: string;
360
- }, FrakRpcError<undefined>, SiweAuthenticateModalParams, unknown>;
361
-
362
- /** @ignore */
363
- declare interface UseSiweAuthenticateParams {
364
- /**
365
- * Optional mutation options, see {@link @tanstack/react-query!useMutation | `useMutation()`} for more infos
366
- */
367
- mutations?: MutationOptions_3;
368
- }
369
-
370
- /**
371
- * Hook that return a query helping to get the current wallet status.
372
- *
373
- * It's a {@link @tanstack/react-query!home | `tanstack`} wrapper around the {@link @frak-labs/core-sdk!actions.watchWalletStatus | `watchWalletStatus()`} action
374
- *
375
- * @group hooks
376
- *
377
- * @returns
378
- * The query hook wrapping the `watchWalletStatus()` action
379
- * The `data` result is a {@link @frak-labs/core-sdk!index.WalletStatusReturnType | `WalletStatusReturnType`}
380
- *
381
- * @see {@link @frak-labs/core-sdk!actions.watchWalletStatus | `watchWalletStatus()`} for more info about the underlying action
382
- * @see {@link @tanstack/react-query!useQuery | `useQuery()`} for more info about the useQuery response
383
- */
384
- export declare function useWalletStatus(): UseQueryResult<WalletStatusReturnType, Error>;
385
-
386
- export { }
1
+ export { FrakConfigContext, FrakConfigProvider, FrakIFrameClientContext, FrakIFrameClientProvider, } from "./provider";
2
+ export type { FrakConfigProviderProps, FrakIFrameClientProps, } from "./provider";
3
+ export { useFrakConfig, useFrakClient, useWalletStatus, useSendTransactionAction, useSendInteraction, useSiweAuthenticate, useReferralInteraction, useDisplayModal, useOpenSso, usePrepareSso, useGetProductInformation, } from "./hook";