@frak-labs/react-sdk 1.1.1-beta.dc7ed9db → 1.1.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/index.d.cts CHANGED
@@ -1,7 +1,10 @@
1
1
  import { ProcessReferralOptions, SendTransactionParams, SiweAuthenticateModalParams } from "@frak-labs/core-sdk/actions";
2
+ import * as _$_tanstack_react_query0 from "@tanstack/react-query";
3
+ import { UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
4
+ import * as _$_frak_labs_core_sdk0 from "@frak-labs/core-sdk";
2
5
  import { DisplayModalParamsType, DisplaySharingPageParamsType, DisplaySharingPageResultType, FrakClient, FrakWalletSdkConfig, GetMerchantInformationReturnType, ModalRpcStepsResultType, ModalStepTypes, OpenSsoParamsType, OpenSsoReturnType, PrepareSsoParamsType, SendTransactionReturnType, SiweAuthenticateReturnType, UserReferralStatusType, WalletStatusReturnType } from "@frak-labs/core-sdk";
3
6
  import { FrakRpcError } from "@frak-labs/frame-connector";
4
- import { UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
7
+ import * as _$react from "react";
5
8
  import { CSSProperties, PropsWithChildren, ReactNode } from "react";
6
9
 
7
10
  //#region src/hook/helper/useReferralInteraction.d.ts
@@ -25,7 +28,7 @@ declare function useReferralInteraction({
25
28
  options
26
29
  }?: {
27
30
  options?: ProcessReferralOptions;
28
- }): "processing" | Error | "idle" | "success" | "no-referrer" | "self-referral";
31
+ }): Error | "processing" | "idle" | "success" | "no-referrer" | "self-referral";
29
32
  //#endregion
30
33
  //#region src/hook/useDisplayModal.d.ts
31
34
  /** @ignore */
@@ -63,7 +66,7 @@ interface UseDisplayModalParams<T extends ModalStepTypes[] = ModalStepTypes[]> {
63
66
  */
64
67
  declare function useDisplayModal<T extends ModalStepTypes[] = ModalStepTypes[]>({
65
68
  mutations
66
- }?: UseDisplayModalParams<T>): import("@tanstack/react-query").UseMutationResult<ModalRpcStepsResultType<T>, FrakRpcError<undefined>, DisplayModalParamsType<T> & {
69
+ }?: UseDisplayModalParams<T>): _$_tanstack_react_query0.UseMutationResult<ModalRpcStepsResultType<T>, FrakRpcError<undefined>, DisplayModalParamsType<T> & {
67
70
  placement?: string;
68
71
  }, unknown>;
69
72
  //#endregion
@@ -98,7 +101,7 @@ interface UseDisplaySharingPageParams {
98
101
  */
99
102
  declare function useDisplaySharingPage({
100
103
  mutations
101
- }?: UseDisplaySharingPageParams): import("@tanstack/react-query").UseMutationResult<DisplaySharingPageResultType, FrakRpcError<undefined>, DisplaySharingPageParamsType & {
104
+ }?: UseDisplaySharingPageParams): _$_tanstack_react_query0.UseMutationResult<DisplaySharingPageResultType, FrakRpcError<undefined>, DisplaySharingPageParamsType & {
102
105
  placement?: string;
103
106
  }, unknown>;
104
107
  //#endregion
@@ -108,7 +111,7 @@ declare function useDisplaySharingPage({
108
111
  *
109
112
  * @group hooks
110
113
  */
111
- declare function useFrakClient(): import("@frak-labs/core-sdk").FrakClient | undefined;
114
+ declare function useFrakClient(): _$_frak_labs_core_sdk0.FrakClient | undefined;
112
115
  //#endregion
113
116
  //#region src/hook/useFrakConfig.d.ts
114
117
  /**
@@ -119,7 +122,7 @@ declare function useFrakClient(): import("@frak-labs/core-sdk").FrakClient | und
119
122
  * @see {@link @frak-labs/react-sdk!FrakConfigProvider | FrakConfigProvider} for the config provider
120
123
  * @see {@link @frak-labs/core-sdk!index.FrakWalletSdkConfig | FrakWalletSdkConfig} for the config type
121
124
  */
122
- declare function useFrakConfig(): import("@frak-labs/core-sdk").FrakWalletSdkConfig;
125
+ declare function useFrakConfig(): _$_frak_labs_core_sdk0.FrakWalletSdkConfig;
123
126
  //#endregion
124
127
  //#region src/hook/useGetMerchantInformation.d.ts
125
128
  /** @ignore */
@@ -154,7 +157,7 @@ interface UseGetMerchantInformationParams {
154
157
  declare function useGetMerchantInformation({
155
158
  query,
156
159
  cacheTime
157
- }?: UseGetMerchantInformationParams): import("@tanstack/react-query").UseQueryResult<GetMerchantInformationReturnType, FrakRpcError<undefined>>;
160
+ }?: UseGetMerchantInformationParams): _$_tanstack_react_query0.UseQueryResult<GetMerchantInformationReturnType, FrakRpcError<undefined>>;
158
161
  //#endregion
159
162
  //#region src/hook/useGetMergeToken.d.ts
160
163
  /** @ignore */
@@ -192,7 +195,7 @@ interface UseGetMergeTokenParams {
192
195
  declare function useGetMergeToken({
193
196
  query,
194
197
  cacheTime
195
- }?: UseGetMergeTokenParams): import("@tanstack/react-query").UseQueryResult<string | null, FrakRpcError<undefined>>;
198
+ }?: UseGetMergeTokenParams): _$_tanstack_react_query0.UseQueryResult<string | null, FrakRpcError<undefined>>;
196
199
  //#endregion
197
200
  //#region src/hook/useGetUserReferralStatus.d.ts
198
201
  /** @ignore */
@@ -229,7 +232,7 @@ interface UseGetUserReferralStatusParams {
229
232
  declare function useGetUserReferralStatus({
230
233
  query,
231
234
  cacheTime
232
- }?: UseGetUserReferralStatusParams): import("@tanstack/react-query").UseQueryResult<UserReferralStatusType | null, FrakRpcError<undefined>>;
235
+ }?: UseGetUserReferralStatusParams): _$_tanstack_react_query0.UseQueryResult<UserReferralStatusType | null, FrakRpcError<undefined>>;
233
236
  //#endregion
234
237
  //#region src/hook/useOpenSso.d.ts
235
238
  /** @ignore */
@@ -260,7 +263,7 @@ interface UseOpenSsoParams {
260
263
  */
261
264
  declare function useOpenSso({
262
265
  mutations
263
- }?: UseOpenSsoParams): import("@tanstack/react-query").UseMutationResult<OpenSsoReturnType, FrakRpcError<undefined>, OpenSsoParamsType, unknown>;
266
+ }?: UseOpenSsoParams): _$_tanstack_react_query0.UseMutationResult<OpenSsoReturnType, FrakRpcError<undefined>, OpenSsoParamsType, unknown>;
264
267
  //#endregion
265
268
  //#region src/hook/usePrepareSso.d.ts
266
269
  /**
@@ -299,7 +302,7 @@ declare function useOpenSso({
299
302
  * @see {@link @frak-labs/core-sdk!actions.prepareSso | `prepareSso()`} for the underlying action
300
303
  * @see {@link @frak-labs/core-sdk!actions.openSso | `openSso()`} for the recommended high-level API
301
304
  */
302
- declare function usePrepareSso(params: PrepareSsoParamsType): import("@tanstack/react-query").UseQueryResult<import("@frak-labs/core-sdk").PrepareSsoReturnType, Error>;
305
+ declare function usePrepareSso(params: PrepareSsoParamsType): _$_tanstack_react_query0.UseQueryResult<_$_frak_labs_core_sdk0.PrepareSsoReturnType, Error>;
303
306
  //#endregion
304
307
  //#region src/hook/useSendTransaction.d.ts
305
308
  /** @ignore */
@@ -330,7 +333,7 @@ interface UseSendTransactionParams {
330
333
  */
331
334
  declare function useSendTransactionAction({
332
335
  mutations
333
- }?: UseSendTransactionParams): import("@tanstack/react-query").UseMutationResult<SendTransactionReturnType, FrakRpcError<undefined>, SendTransactionParams, unknown>;
336
+ }?: UseSendTransactionParams): _$_tanstack_react_query0.UseMutationResult<SendTransactionReturnType, FrakRpcError<undefined>, SendTransactionParams, unknown>;
334
337
  //#endregion
335
338
  //#region src/hook/useSetupReferral.d.ts
336
339
  /**
@@ -347,7 +350,7 @@ declare function useSendTransactionAction({
347
350
  * @see {@link @frak-labs/core-sdk!actions.setupReferral | `setupReferral()`} for more info about the underlying action
348
351
  * @see {@link @frak-labs/core-sdk!actions.REFERRAL_SUCCESS_EVENT | `REFERRAL_SUCCESS_EVENT`} for the event name constant
349
352
  */
350
- declare function useSetupReferral(): import("@tanstack/react-query").UseQueryResult<null, Error>;
353
+ declare function useSetupReferral(): _$_tanstack_react_query0.UseQueryResult<null, Error>;
351
354
  //#endregion
352
355
  //#region src/hook/useSiweAuthenticate.d.ts
353
356
  /** @inline */
@@ -378,7 +381,7 @@ interface UseSiweAuthenticateParams {
378
381
  */
379
382
  declare function useSiweAuthenticate({
380
383
  mutations
381
- }?: UseSiweAuthenticateParams): import("@tanstack/react-query").UseMutationResult<SiweAuthenticateReturnType, FrakRpcError<undefined>, SiweAuthenticateModalParams, unknown>;
384
+ }?: UseSiweAuthenticateParams): _$_tanstack_react_query0.UseMutationResult<SiweAuthenticateReturnType, FrakRpcError<undefined>, SiweAuthenticateModalParams, unknown>;
382
385
  //#endregion
383
386
  //#region src/hook/useWalletStatus.d.ts
384
387
  /**
@@ -395,14 +398,14 @@ declare function useSiweAuthenticate({
395
398
  * @see {@link @frak-labs/core-sdk!actions.watchWalletStatus | `watchWalletStatus()`} for more info about the underlying action
396
399
  * @see {@link @tanstack/react-query!useQuery | `useQuery()`} for more info about the useQuery response
397
400
  */
398
- declare function useWalletStatus(): import("@tanstack/react-query").UseQueryResult<WalletStatusReturnType, Error>;
401
+ declare function useWalletStatus(): _$_tanstack_react_query0.UseQueryResult<WalletStatusReturnType, Error>;
399
402
  //#endregion
400
403
  //#region src/provider/FrakConfigProvider.d.ts
401
404
  /**
402
405
  * The context that will keep the Frak Wallet SDK configuration
403
406
  * @ignore
404
407
  */
405
- declare const FrakConfigContext: import("react").Context<FrakWalletSdkConfig | undefined>;
408
+ declare const FrakConfigContext: _$react.Context<FrakWalletSdkConfig | undefined>;
406
409
  /**
407
410
  * Props to instantiate the Frak Wallet SDK configuration provider
408
411
  *
@@ -424,14 +427,14 @@ type FrakConfigProviderProps = {
424
427
  *
425
428
  * @param parameters
426
429
  */
427
- declare function FrakConfigProvider(parameters: PropsWithChildren<FrakConfigProviderProps>): import("react").FunctionComponentElement<import("react").ProviderProps<FrakWalletSdkConfig | undefined>>;
430
+ declare function FrakConfigProvider(parameters: PropsWithChildren<FrakConfigProviderProps>): _$react.FunctionComponentElement<_$react.ProviderProps<FrakWalletSdkConfig | undefined>>;
428
431
  //#endregion
429
432
  //#region src/provider/FrakIFrameClientProvider.d.ts
430
433
  /**
431
434
  * The context that will keep the Frak Wallet SDK client
432
435
  * @ignore
433
436
  */
434
- declare const FrakIFrameClientContext: import("react").Context<FrakClient | undefined>;
437
+ declare const FrakIFrameClientContext: _$react.Context<FrakClient | undefined>;
435
438
  /**
436
439
  * Props to instantiate the Frak Wallet SDK configuration provider
437
440
  *
@@ -459,6 +462,6 @@ declare function FrakIFrameClientProvider({
459
462
  }: {
460
463
  style?: CSSProperties;
461
464
  children?: ReactNode;
462
- }): import("react").FunctionComponentElement<import("react").FragmentProps>;
465
+ }): _$react.FunctionComponentElement<_$react.FragmentProps>;
463
466
  //#endregion
464
467
  export { FrakConfigContext, FrakConfigProvider, type FrakConfigProviderProps, FrakIFrameClientContext, type FrakIFrameClientProps, FrakIFrameClientProvider, useDisplayModal, useDisplaySharingPage, useFrakClient, useFrakConfig, useGetMerchantInformation, useGetMergeToken, useGetUserReferralStatus, useOpenSso, usePrepareSso, useReferralInteraction, useSendTransactionAction, useSetupReferral, useSiweAuthenticate, useWalletStatus };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,10 @@
1
1
  import { ProcessReferralOptions, SendTransactionParams, SiweAuthenticateModalParams } from "@frak-labs/core-sdk/actions";
2
2
  import { FrakRpcError } from "@frak-labs/frame-connector";
3
+ import * as _$_tanstack_react_query0 from "@tanstack/react-query";
3
4
  import { UseMutationOptions, UseQueryOptions } from "@tanstack/react-query";
5
+ import * as _$react from "react";
4
6
  import { CSSProperties, PropsWithChildren, ReactNode } from "react";
7
+ import * as _$_frak_labs_core_sdk0 from "@frak-labs/core-sdk";
5
8
  import { DisplayModalParamsType, DisplaySharingPageParamsType, DisplaySharingPageResultType, FrakClient, FrakWalletSdkConfig, GetMerchantInformationReturnType, ModalRpcStepsResultType, ModalStepTypes, OpenSsoParamsType, OpenSsoReturnType, PrepareSsoParamsType, SendTransactionReturnType, SiweAuthenticateReturnType, UserReferralStatusType, WalletStatusReturnType } from "@frak-labs/core-sdk";
6
9
 
7
10
  //#region src/hook/helper/useReferralInteraction.d.ts
@@ -25,7 +28,7 @@ declare function useReferralInteraction({
25
28
  options
26
29
  }?: {
27
30
  options?: ProcessReferralOptions;
28
- }): "processing" | Error | "idle" | "success" | "no-referrer" | "self-referral";
31
+ }): Error | "processing" | "idle" | "success" | "no-referrer" | "self-referral";
29
32
  //#endregion
30
33
  //#region src/hook/useDisplayModal.d.ts
31
34
  /** @ignore */
@@ -63,7 +66,7 @@ interface UseDisplayModalParams<T extends ModalStepTypes[] = ModalStepTypes[]> {
63
66
  */
64
67
  declare function useDisplayModal<T extends ModalStepTypes[] = ModalStepTypes[]>({
65
68
  mutations
66
- }?: UseDisplayModalParams<T>): import("@tanstack/react-query").UseMutationResult<ModalRpcStepsResultType<T>, FrakRpcError<undefined>, DisplayModalParamsType<T> & {
69
+ }?: UseDisplayModalParams<T>): _$_tanstack_react_query0.UseMutationResult<ModalRpcStepsResultType<T>, FrakRpcError<undefined>, DisplayModalParamsType<T> & {
67
70
  placement?: string;
68
71
  }, unknown>;
69
72
  //#endregion
@@ -98,7 +101,7 @@ interface UseDisplaySharingPageParams {
98
101
  */
99
102
  declare function useDisplaySharingPage({
100
103
  mutations
101
- }?: UseDisplaySharingPageParams): import("@tanstack/react-query").UseMutationResult<DisplaySharingPageResultType, FrakRpcError<undefined>, DisplaySharingPageParamsType & {
104
+ }?: UseDisplaySharingPageParams): _$_tanstack_react_query0.UseMutationResult<DisplaySharingPageResultType, FrakRpcError<undefined>, DisplaySharingPageParamsType & {
102
105
  placement?: string;
103
106
  }, unknown>;
104
107
  //#endregion
@@ -108,7 +111,7 @@ declare function useDisplaySharingPage({
108
111
  *
109
112
  * @group hooks
110
113
  */
111
- declare function useFrakClient(): import("@frak-labs/core-sdk").FrakClient | undefined;
114
+ declare function useFrakClient(): _$_frak_labs_core_sdk0.FrakClient | undefined;
112
115
  //#endregion
113
116
  //#region src/hook/useFrakConfig.d.ts
114
117
  /**
@@ -119,7 +122,7 @@ declare function useFrakClient(): import("@frak-labs/core-sdk").FrakClient | und
119
122
  * @see {@link @frak-labs/react-sdk!FrakConfigProvider | FrakConfigProvider} for the config provider
120
123
  * @see {@link @frak-labs/core-sdk!index.FrakWalletSdkConfig | FrakWalletSdkConfig} for the config type
121
124
  */
122
- declare function useFrakConfig(): import("@frak-labs/core-sdk").FrakWalletSdkConfig;
125
+ declare function useFrakConfig(): _$_frak_labs_core_sdk0.FrakWalletSdkConfig;
123
126
  //#endregion
124
127
  //#region src/hook/useGetMerchantInformation.d.ts
125
128
  /** @ignore */
@@ -154,7 +157,7 @@ interface UseGetMerchantInformationParams {
154
157
  declare function useGetMerchantInformation({
155
158
  query,
156
159
  cacheTime
157
- }?: UseGetMerchantInformationParams): import("@tanstack/react-query").UseQueryResult<GetMerchantInformationReturnType, FrakRpcError<undefined>>;
160
+ }?: UseGetMerchantInformationParams): _$_tanstack_react_query0.UseQueryResult<GetMerchantInformationReturnType, FrakRpcError<undefined>>;
158
161
  //#endregion
159
162
  //#region src/hook/useGetMergeToken.d.ts
160
163
  /** @ignore */
@@ -192,7 +195,7 @@ interface UseGetMergeTokenParams {
192
195
  declare function useGetMergeToken({
193
196
  query,
194
197
  cacheTime
195
- }?: UseGetMergeTokenParams): import("@tanstack/react-query").UseQueryResult<string | null, FrakRpcError<undefined>>;
198
+ }?: UseGetMergeTokenParams): _$_tanstack_react_query0.UseQueryResult<string | null, FrakRpcError<undefined>>;
196
199
  //#endregion
197
200
  //#region src/hook/useGetUserReferralStatus.d.ts
198
201
  /** @ignore */
@@ -229,7 +232,7 @@ interface UseGetUserReferralStatusParams {
229
232
  declare function useGetUserReferralStatus({
230
233
  query,
231
234
  cacheTime
232
- }?: UseGetUserReferralStatusParams): import("@tanstack/react-query").UseQueryResult<UserReferralStatusType | null, FrakRpcError<undefined>>;
235
+ }?: UseGetUserReferralStatusParams): _$_tanstack_react_query0.UseQueryResult<UserReferralStatusType | null, FrakRpcError<undefined>>;
233
236
  //#endregion
234
237
  //#region src/hook/useOpenSso.d.ts
235
238
  /** @ignore */
@@ -260,7 +263,7 @@ interface UseOpenSsoParams {
260
263
  */
261
264
  declare function useOpenSso({
262
265
  mutations
263
- }?: UseOpenSsoParams): import("@tanstack/react-query").UseMutationResult<OpenSsoReturnType, FrakRpcError<undefined>, OpenSsoParamsType, unknown>;
266
+ }?: UseOpenSsoParams): _$_tanstack_react_query0.UseMutationResult<OpenSsoReturnType, FrakRpcError<undefined>, OpenSsoParamsType, unknown>;
264
267
  //#endregion
265
268
  //#region src/hook/usePrepareSso.d.ts
266
269
  /**
@@ -299,7 +302,7 @@ declare function useOpenSso({
299
302
  * @see {@link @frak-labs/core-sdk!actions.prepareSso | `prepareSso()`} for the underlying action
300
303
  * @see {@link @frak-labs/core-sdk!actions.openSso | `openSso()`} for the recommended high-level API
301
304
  */
302
- declare function usePrepareSso(params: PrepareSsoParamsType): import("@tanstack/react-query").UseQueryResult<import("@frak-labs/core-sdk").PrepareSsoReturnType, Error>;
305
+ declare function usePrepareSso(params: PrepareSsoParamsType): _$_tanstack_react_query0.UseQueryResult<_$_frak_labs_core_sdk0.PrepareSsoReturnType, Error>;
303
306
  //#endregion
304
307
  //#region src/hook/useSendTransaction.d.ts
305
308
  /** @ignore */
@@ -330,7 +333,7 @@ interface UseSendTransactionParams {
330
333
  */
331
334
  declare function useSendTransactionAction({
332
335
  mutations
333
- }?: UseSendTransactionParams): import("@tanstack/react-query").UseMutationResult<SendTransactionReturnType, FrakRpcError<undefined>, SendTransactionParams, unknown>;
336
+ }?: UseSendTransactionParams): _$_tanstack_react_query0.UseMutationResult<SendTransactionReturnType, FrakRpcError<undefined>, SendTransactionParams, unknown>;
334
337
  //#endregion
335
338
  //#region src/hook/useSetupReferral.d.ts
336
339
  /**
@@ -347,7 +350,7 @@ declare function useSendTransactionAction({
347
350
  * @see {@link @frak-labs/core-sdk!actions.setupReferral | `setupReferral()`} for more info about the underlying action
348
351
  * @see {@link @frak-labs/core-sdk!actions.REFERRAL_SUCCESS_EVENT | `REFERRAL_SUCCESS_EVENT`} for the event name constant
349
352
  */
350
- declare function useSetupReferral(): import("@tanstack/react-query").UseQueryResult<null, Error>;
353
+ declare function useSetupReferral(): _$_tanstack_react_query0.UseQueryResult<null, Error>;
351
354
  //#endregion
352
355
  //#region src/hook/useSiweAuthenticate.d.ts
353
356
  /** @inline */
@@ -378,7 +381,7 @@ interface UseSiweAuthenticateParams {
378
381
  */
379
382
  declare function useSiweAuthenticate({
380
383
  mutations
381
- }?: UseSiweAuthenticateParams): import("@tanstack/react-query").UseMutationResult<SiweAuthenticateReturnType, FrakRpcError<undefined>, SiweAuthenticateModalParams, unknown>;
384
+ }?: UseSiweAuthenticateParams): _$_tanstack_react_query0.UseMutationResult<SiweAuthenticateReturnType, FrakRpcError<undefined>, SiweAuthenticateModalParams, unknown>;
382
385
  //#endregion
383
386
  //#region src/hook/useWalletStatus.d.ts
384
387
  /**
@@ -395,14 +398,14 @@ declare function useSiweAuthenticate({
395
398
  * @see {@link @frak-labs/core-sdk!actions.watchWalletStatus | `watchWalletStatus()`} for more info about the underlying action
396
399
  * @see {@link @tanstack/react-query!useQuery | `useQuery()`} for more info about the useQuery response
397
400
  */
398
- declare function useWalletStatus(): import("@tanstack/react-query").UseQueryResult<WalletStatusReturnType, Error>;
401
+ declare function useWalletStatus(): _$_tanstack_react_query0.UseQueryResult<WalletStatusReturnType, Error>;
399
402
  //#endregion
400
403
  //#region src/provider/FrakConfigProvider.d.ts
401
404
  /**
402
405
  * The context that will keep the Frak Wallet SDK configuration
403
406
  * @ignore
404
407
  */
405
- declare const FrakConfigContext: import("react").Context<FrakWalletSdkConfig | undefined>;
408
+ declare const FrakConfigContext: _$react.Context<FrakWalletSdkConfig | undefined>;
406
409
  /**
407
410
  * Props to instantiate the Frak Wallet SDK configuration provider
408
411
  *
@@ -424,14 +427,14 @@ type FrakConfigProviderProps = {
424
427
  *
425
428
  * @param parameters
426
429
  */
427
- declare function FrakConfigProvider(parameters: PropsWithChildren<FrakConfigProviderProps>): import("react").FunctionComponentElement<import("react").ProviderProps<FrakWalletSdkConfig | undefined>>;
430
+ declare function FrakConfigProvider(parameters: PropsWithChildren<FrakConfigProviderProps>): _$react.FunctionComponentElement<_$react.ProviderProps<FrakWalletSdkConfig | undefined>>;
428
431
  //#endregion
429
432
  //#region src/provider/FrakIFrameClientProvider.d.ts
430
433
  /**
431
434
  * The context that will keep the Frak Wallet SDK client
432
435
  * @ignore
433
436
  */
434
- declare const FrakIFrameClientContext: import("react").Context<FrakClient | undefined>;
437
+ declare const FrakIFrameClientContext: _$react.Context<FrakClient | undefined>;
435
438
  /**
436
439
  * Props to instantiate the Frak Wallet SDK configuration provider
437
440
  *
@@ -459,6 +462,6 @@ declare function FrakIFrameClientProvider({
459
462
  }: {
460
463
  style?: CSSProperties;
461
464
  children?: ReactNode;
462
- }): import("react").FunctionComponentElement<import("react").FragmentProps>;
465
+ }): _$react.FunctionComponentElement<_$react.FragmentProps>;
463
466
  //#endregion
464
467
  export { FrakConfigContext, FrakConfigProvider, type FrakConfigProviderProps, FrakIFrameClientContext, type FrakIFrameClientProps, FrakIFrameClientProvider, useDisplayModal, useDisplaySharingPage, useFrakClient, useFrakConfig, useGetMerchantInformation, useGetMergeToken, useGetUserReferralStatus, useOpenSso, usePrepareSso, useReferralInteraction, useSendTransactionAction, useSetupReferral, useSiweAuthenticate, useWalletStatus };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "url": "https://twitter.com/QNivelais"
12
12
  }
13
13
  ],
14
- "version": "1.1.1-beta.dc7ed9db",
14
+ "version": "1.1.2",
15
15
  "description": "React SDK of the Frak wallet, low level library to interact directly with the frak ecosystem.",
16
16
  "repository": {
17
17
  "url": "https://github.com/frak-id/wallet",
@@ -67,8 +67,8 @@
67
67
  "publish": "echo 'Publishing react...'"
68
68
  },
69
69
  "dependencies": {
70
- "@frak-labs/core-sdk": "1.1.1-beta.dc7ed9db",
71
- "@frak-labs/frame-connector": "0.2.0-beta.dc7ed9db"
70
+ "@frak-labs/core-sdk": "1.1.2",
71
+ "@frak-labs/frame-connector": "0.2.0"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "viem": "^2.x",
@@ -78,7 +78,7 @@
78
78
  "devDependencies": {
79
79
  "@arethetypeswrong/cli": "^0.18.2",
80
80
  "@frak-labs/test-foundation": "0.1.0",
81
- "@frak-labs/wallet-shared": "0.0.8",
81
+ "@frak-labs/wallet-shared": "0.0.9",
82
82
  "@tanstack/react-query": "^5.90.20",
83
83
  "@testing-library/jest-dom": "^6.9.1",
84
84
  "@testing-library/react": "^16.3.2",