@zama-fhe/react-sdk 2.3.0-alpha.1 → 2.3.0-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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/dist/index.d.ts +104 -104
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -154,7 +154,7 @@ import { ZamaProvider } from "@zama-fhe/react-sdk";
154
154
  signer={signer} // GenericSigner (WagmiSigner, ViemSigner, EthersSigner, or custom)
155
155
  storage={storage} // GenericStorage
156
156
  sessionStorage={sessionStorage} // Optional. Session storage for wallet signatures. Default: in-memory (lost on reload).
157
- keypairTTL={86400} // Optional. Seconds the ML-KEM keypair remains valid. Default: 86400 (1 day).
157
+ keypairTTL={2592000} // Optional. Seconds the ML-KEM keypair remains valid. Default: 2592000 (30 days).
158
158
  sessionTTL={2592000} // Optional. Seconds the session signature remains valid. Default: 2592000 (30 days). 0 = re-sign every operation.
159
159
  onEvent={(event) => console.debug(event)} // Optional. Structured event listener for debugging.
160
160
  >
@@ -990,7 +990,7 @@ FHE decrypt credentials are generated once per wallet + contract set and cached
990
990
  1. **First decrypt** — SDK generates an FHE keypair, creates EIP-712 typed data, and prompts the wallet to sign. The encrypted credential is stored; the signature is cached in memory.
991
991
  2. **Same session** — Cached credentials and session signature are reused silently (no wallet prompt).
992
992
  3. **Page reload** — Encrypted credentials are loaded from storage; the wallet is prompted once to re-sign for the session.
993
- 4. **Expiry** — Credentials expire based on `keypairTTL` (default: 86400s = 1 day). After expiry, the next decrypt regenerates and re-prompts.
993
+ 4. **Expiry** — Credentials expire based on `keypairTTL` (default: 2592000s = 30 days). After expiry, the next decrypt regenerates and re-prompts.
994
994
  5. **Pre-authorization** — Call `useAllow(contractAddresses)` early to batch-authorize all contracts in one wallet prompt, avoiding repeated popups.
995
995
  6. **Check status** — Use `useIsAllowed()` to conditionally enable UI elements (e.g. disable "Reveal" until allowed).
996
996
  7. **Disconnect** — Call `useRevoke(contractAddresses)` or `await credentials.revoke()` to clear the session signature from memory.
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
 
3
- import * as _zama_fhe_sdk0 from "@zama-fhe/sdk";
3
+ import * as _$_zama_fhe_sdk0 from "@zama-fhe/sdk";
4
4
  import { ACL_TOPICS, AclEvent, AclPausedError, ActivityAmount, ActivityDirection, ActivityItem, ActivityItem as ActivityItem$1, ActivityLogMetadata, ActivityLogMetadata as ActivityLogMetadata$1, ActivityType, Address, Address as Address$1, ApprovalFailedError, ApproveSubmittedEvent, ApproveUnderlyingSubmittedEvent, BaseEvent, BatchDecryptAsOptions, BatchDecryptAsOptions as BatchDecryptAsOptions$1, BatchDecryptOptions, BatchTransferData, ChromeSessionStorage, ClearValueType, ClearValueType as ClearValueType$1, ConfidentialTransferEvent, ConfigurationError, ContractAbi, CredentialsAllowedEvent, CredentialsCachedEvent, CredentialsCreatedEvent, CredentialsCreatingEvent, CredentialsExpiredEvent, CredentialsLoadingEvent, CredentialsManager, CredentialsManagerConfig, CredentialsRevokedEvent, DecryptEndEvent, DecryptErrorEvent, DecryptStartEvent, DecryptionFailedError, DefaultRegistryAddresses, DelegatedCredentialsManager, DelegatedCredentialsManagerConfig, DelegatedForUserDecryptionEvent, DelegatedStoredCredentials, DelegatedUserDecryptParams, DelegatedUserDecryptParams as DelegatedUserDecryptParams$1, DelegationContractIsSelfError, DelegationCooldownError, DelegationDelegateEqualsContractError, DelegationExpirationTooSoonError, DelegationExpiredError, DelegationExpiryUnchangedError, DelegationNotFoundError, DelegationNotPropagatedError, DelegationSelfNotAllowedError, EIP712TypedData, EIP712TypedData as EIP712TypedData$1, ERC7984_INTERFACE_ID, ERC7984_WRAPPER_INTERFACE_ID, EncryptEndEvent, EncryptErrorEvent, EncryptInput, EncryptParams, EncryptParams as EncryptParams$1, EncryptResult, EncryptResult as EncryptResult$1, EncryptStartEvent, EncryptionFailedError, FheTypeName, FhevmInstanceConfig, FinalizeUnwrapSubmittedEvent, GenericSigner, GenericSigner as GenericSigner$1, GenericStorage, GenericStorage as GenericStorage$1, Handle, Handle as Handle$1, HardhatConfig, Hex, IndexedDBStorage, InputProofBytesType, InvalidKeypairError, KeypairExpiredError, KeypairType, KmsDelegatedUserDecryptEIP712Type, ListPairsOptions, MainnetConfig, MemoryStorage, NetworkType, NoCiphertextError, OnChainEvent, PaginatedResult, PaginatedResult as PaginatedResult$1, PublicDecryptResult, PublicDecryptResult as PublicDecryptResult$1, RawLog, RawLog as RawLog$1, ReadContractArgs, ReadContractConfig, ReadContractReturnType, ReadFunctionName, ReadonlyToken, ReadonlyToken as ReadonlyToken$1, ReadonlyTokenConfig, RelayerRequestFailedError, RelayerSDK, RelayerSDK as RelayerSDK$1, RelayerSDKStatus, RelayerWeb, RelayerWebConfig, RelayerWebSecurityConfig, RevokedDelegationForUserDecryptionEvent, SepoliaConfig, SessionExpiredEvent, ShieldCallbacks, ShieldSubmittedEvent, SigningFailedError, SigningRejectedError, StoredCredentials, TOKEN_TOPICS, Token, TokenConfig, TokenWrapperPair, TokenWrapperPair as TokenWrapperPair$1, TokenWrapperPairWithMetadata, TokenWrapperPairWithMetadata as TokenWrapperPairWithMetadata$1, Topics, TransactionErrorEvent, TransactionReceipt, TransactionResult, TransactionResult as TransactionResult$1, TransactionRevertedError, TransferCallbacks, TransferFromSubmittedEvent, TransferSubmittedEvent, UnshieldCallbacks, UnshieldPhase1SubmittedEvent, UnshieldPhase2StartedEvent, UnshieldPhase2SubmittedEvent, UnwrapRequestedEvent, UnwrapSubmittedEvent, UnwrappedFinalizedEvent, UnwrappedStartedEvent, UserDecryptParams, WrappedEvent, WrappersRegistry, WrappersRegistryConfig, WriteContractArgs, WriteContractConfig, WriteFunctionName, ZERO_HANDLE, ZKProofLike, ZKProofLike as ZKProofLike$1, ZamaError, ZamaErrorCode, ZamaSDK, ZamaSDK as ZamaSDK$1, ZamaSDKConfig, ZamaSDKEvent, ZamaSDKEventInput, ZamaSDKEventListener, ZamaSDKEventListener as ZamaSDKEventListener$1, ZamaSDKEventType, ZamaSDKEvents, allowanceContract, applyDecryptedValues, approveContract, balanceOfContract, chromeSessionStorage, clearPendingUnshield, confidentialBalanceOfContract, confidentialBatchTransferContract, confidentialTotalSupplyContract, confidentialTransferContract, confidentialTransferFromContract, decimalsContract, decodeAclEvent, decodeAclEvents, decodeConfidentialTransfer, decodeDelegatedForUserDecryption, decodeOnChainEvent, decodeOnChainEvents, decodeRevokedDelegationForUserDecryption, decodeUnwrapRequested, decodeUnwrappedFinalized, decodeUnwrappedStarted, decodeWrapped, delegateForUserDecryptionContract, deploymentCoordinatorContract, extractEncryptedHandles, finalizeUnwrapContract, findDelegatedForUserDecryption, findRevokedDelegationForUserDecryption, findUnwrapRequested, findWrapped, getBatchTransferFeeContract, getDelegationExpiryContract, getFeeRecipientContract, getUnwrapFeeContract, getWrapFeeContract, getWrapperContract, indexedDBStorage, isConfidentialTokenContract, isConfidentialWrapperContract, isFinalizeUnwrapOperatorContract, isHandleDelegatedContract, isOperatorContract, loadPendingUnshield, matchZamaError, memoryStorage, nameContract, parseActivityFeed, rateContract, revokeDelegationContract, savePendingUnshield, setFinalizeUnwrapOperatorContract, setOperatorContract, sortByBlockNumber, supportsInterfaceContract, symbolContract, totalSupplyContract, underlyingContract, unwrapContract, unwrapFromBalanceContract, wrapContract, wrapETHContract, wrapperExistsContract } from "@zama-fhe/sdk";
5
5
  import { ApproveUnderlyingParams, ApproveUnderlyingParams as ApproveUnderlyingParams$1, BatchDecryptBalancesAsParams, ConfidentialApproveParams, ConfidentialApproveParams as ConfidentialApproveParams$1, ConfidentialBalancesData, ConfidentialBalancesData as ConfidentialBalancesData$1, ConfidentialTransferFromParams, ConfidentialTransferFromParams as ConfidentialTransferFromParams$1, ConfidentialTransferParams, ConfidentialTransferParams as ConfidentialTransferParams$1, CreateDelegatedUserDecryptEIP712Params, CreateEIP712Params, DecryptBalanceAsParams, DecryptBalanceAsParams as DecryptBalanceAsParams$1, DecryptHandle, DelegateDecryptionParams, DelegateDecryptionParams as DelegateDecryptionParams$1, DelegationStatusData, DelegationStatusData as DelegationStatusData$1, DelegationStatusQueryConfig, FinalizeUnwrapParams, FinalizeUnwrapParams as FinalizeUnwrapParams$1, ListPairsQueryConfig, ResumeUnshieldParams, ResumeUnshieldParams as ResumeUnshieldParams$1, RevokeDelegationParams, RevokeDelegationParams as RevokeDelegationParams$1, ShieldETHParams, ShieldETHParams as ShieldETHParams$1, ShieldParams, ShieldParams as ShieldParams$1, TokenMetadata, UnshieldAllParams, UnshieldAllParams as UnshieldAllParams$1, UnshieldParams, UnshieldParams as UnshieldParams$1, UnwrapParams, UnwrapParams as UnwrapParams$1, UserDecryptCallbacks, UserDecryptCallbacks as UserDecryptCallbacks$1, UserDecryptMutationParams, UserDecryptMutationParams as UserDecryptMutationParams$1, activityFeedQueryOptions, allowMutationOptions, approveUnderlyingMutationOptions, batchDecryptBalancesAsMutationOptions, batchTransferFeeQueryOptions, confidentialApproveMutationOptions, confidentialBalanceQueryOptions, confidentialBalancesQueryOptions, confidentialHandleQueryOptions, confidentialHandlesQueryOptions, confidentialIsApprovedQueryOptions, confidentialTransferFromMutationOptions, confidentialTransferMutationOptions, createDelegatedUserDecryptEIP712MutationOptions, createEIP712MutationOptions, decryptBalanceAsMutationOptions, delegateDecryptionMutationOptions, delegatedUserDecryptMutationOptions, delegationStatusQueryOptions, encryptMutationOptions, feeRecipientQueryOptions, filterQueryOptions, finalizeUnwrapMutationOptions, generateKeypairMutationOptions, hashFn, isAllowedQueryOptions, isConfidentialQueryOptions, isWrapperQueryOptions, listPairsQueryOptions, publicDecryptMutationOptions, publicKeyQueryOptions, publicParamsQueryOptions, requestZKProofVerificationMutationOptions, resumeUnshieldMutationOptions, revokeDelegationMutationOptions, revokeMutationOptions, revokeSessionMutationOptions, shieldETHMutationOptions, shieldFeeQueryOptions, shieldMutationOptions, signerAddressQueryOptions, tokenMetadataQueryOptions, totalSupplyQueryOptions, underlyingAllowanceQueryOptions, unshieldAllMutationOptions, unshieldFeeQueryOptions, unshieldMutationOptions, unwrapAllMutationOptions, unwrapMutationOptions, userDecryptMutationOptions, wrapperDiscoveryQueryOptions, zamaQueryKeys } from "@zama-fhe/sdk/query";
6
- import * as _tanstack_react_query0 from "@tanstack/react-query";
6
+ import * as _$_tanstack_react_query0 from "@tanstack/react-query";
7
7
  import { QueryKey, UseMutationOptions, UseMutationResult, UseQueryOptions } from "@tanstack/react-query";
8
8
  import { PropsWithChildren } from "react";
9
- import * as react_jsx_runtime0 from "react/jsx-runtime";
10
- import * as _zama_fhe_relayer_sdk_web0 from "@zama-fhe/relayer-sdk/web";
11
- import * as _tanstack_query_core0 from "@tanstack/query-core";
9
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
10
+ import * as _$_zama_fhe_relayer_sdk_web0 from "@zama-fhe/relayer-sdk/web";
11
+ import * as _$_tanstack_query_core0 from "@tanstack/query-core";
12
12
 
13
13
  //#region src/provider.d.ts
14
14
  /** Props for {@link ZamaProvider}. */
@@ -70,7 +70,7 @@ declare function ZamaProvider({
70
70
  registryAddresses,
71
71
  registryTTL,
72
72
  onEvent
73
- }: ZamaProviderProps): react_jsx_runtime0.JSX.Element;
73
+ }: ZamaProviderProps): _$react_jsx_runtime0.JSX.Element;
74
74
  /**
75
75
  * Access the {@link ZamaSDK} instance from context.
76
76
  * Throws if called outside a {@link ZamaProvider} or when no signer is provided.
@@ -99,7 +99,7 @@ declare function useZamaSDK(): ZamaSDK$1;
99
99
  * encrypt.mutate({ values: [{ value: 1000n, type: "euint64" }], contractAddress: "0x...", userAddress: "0x..." });
100
100
  * ```
101
101
  */
102
- declare function useEncrypt(): _tanstack_react_query0.UseMutationResult<EncryptResult$1, Error, EncryptParams$1, unknown>;
102
+ declare function useEncrypt(): _$_tanstack_react_query0.UseMutationResult<EncryptResult$1, Error, EncryptParams$1, unknown>;
103
103
  //#endregion
104
104
  //#region src/relayer/use-user-decrypt.d.ts
105
105
  /** Configuration for {@link useUserDecrypt}. */
@@ -128,7 +128,7 @@ type UseUserDecryptConfig = UserDecryptCallbacks;
128
128
  * });
129
129
  * ```
130
130
  */
131
- declare function useUserDecrypt(config?: UseUserDecryptConfig): _tanstack_react_query0.UseMutationResult<Record<`0x${string}`, ClearValueType$1>, Error, UserDecryptMutationParams, unknown>;
131
+ declare function useUserDecrypt(config?: UseUserDecryptConfig): _$_tanstack_react_query0.UseMutationResult<Record<`0x${string}`, ClearValueType$1>, Error, UserDecryptMutationParams, unknown>;
132
132
  //#endregion
133
133
  //#region src/relayer/use-public-decrypt.d.ts
134
134
  /**
@@ -145,7 +145,7 @@ declare function useUserDecrypt(config?: UseUserDecryptConfig): _tanstack_react_
145
145
  * // publicDecrypt.data?.clearValues => { "0xHandle1": 500n, ... }
146
146
  * ```
147
147
  */
148
- declare function usePublicDecrypt(): _tanstack_react_query0.UseMutationResult<PublicDecryptResult$1, Error, `0x${string}`[], unknown>;
148
+ declare function usePublicDecrypt(): _$_tanstack_react_query0.UseMutationResult<PublicDecryptResult$1, Error, `0x${string}`[], unknown>;
149
149
  //#endregion
150
150
  //#region src/relayer/use-generate-keypair.d.ts
151
151
  /**
@@ -164,7 +164,7 @@ declare function usePublicDecrypt(): _tanstack_react_query0.UseMutationResult<Pu
164
164
  * // generateKeypair.data?.publicKey, generateKeypair.data?.privateKey
165
165
  * ```
166
166
  */
167
- declare function useGenerateKeypair(): _tanstack_react_query0.UseMutationResult<_zama_fhe_sdk0.KeypairType<`0x${string}`>, Error, void, unknown>;
167
+ declare function useGenerateKeypair(): _$_tanstack_react_query0.UseMutationResult<_$_zama_fhe_sdk0.KeypairType<`0x${string}`>, Error, void, unknown>;
168
168
  //#endregion
169
169
  //#region src/relayer/use-create-eip712.d.ts
170
170
  /**
@@ -183,7 +183,7 @@ declare function useGenerateKeypair(): _tanstack_react_query0.UseMutationResult<
183
183
  * });
184
184
  * ```
185
185
  */
186
- declare function useCreateEIP712(): _tanstack_react_query0.UseMutationResult<EIP712TypedData$1, Error, CreateEIP712Params, unknown>;
186
+ declare function useCreateEIP712(): _$_tanstack_react_query0.UseMutationResult<EIP712TypedData$1, Error, CreateEIP712Params, unknown>;
187
187
  //#endregion
188
188
  //#region src/relayer/use-create-delegated-user-decrypt-eip712.d.ts
189
189
  /**
@@ -203,11 +203,11 @@ declare function useCreateEIP712(): _tanstack_react_query0.UseMutationResult<EIP
203
203
  * });
204
204
  * ```
205
205
  */
206
- declare function useCreateDelegatedUserDecryptEIP712(): _tanstack_react_query0.UseMutationResult<Readonly<{
207
- types: _zama_fhe_relayer_sdk_web0.KmsDelegatedUserDecryptEIP712TypesType;
206
+ declare function useCreateDelegatedUserDecryptEIP712(): _$_tanstack_react_query0.UseMutationResult<Readonly<{
207
+ types: _$_zama_fhe_relayer_sdk_web0.KmsDelegatedUserDecryptEIP712TypesType;
208
208
  primaryType: "DelegatedUserDecryptRequestVerification";
209
- domain: _zama_fhe_relayer_sdk_web0.KmsEIP712DomainType;
210
- message: _zama_fhe_relayer_sdk_web0.KmsDelegatedUserDecryptEIP712MessageType;
209
+ domain: _$_zama_fhe_relayer_sdk_web0.KmsEIP712DomainType;
210
+ message: _$_zama_fhe_relayer_sdk_web0.KmsDelegatedUserDecryptEIP712MessageType;
211
211
  }>, Error, CreateDelegatedUserDecryptEIP712Params, unknown>;
212
212
  //#endregion
213
213
  //#region src/relayer/use-delegated-user-decrypt.d.ts
@@ -224,7 +224,7 @@ declare function useCreateDelegatedUserDecryptEIP712(): _tanstack_react_query0.U
224
224
  * // decrypt.data => { "0xHandle1": 1000n }
225
225
  * ```
226
226
  */
227
- declare function useDelegatedUserDecrypt(): _tanstack_react_query0.UseMutationResult<Record<`0x${string}`, ClearValueType$1>, Error, DelegatedUserDecryptParams$1, unknown>;
227
+ declare function useDelegatedUserDecrypt(): _$_tanstack_react_query0.UseMutationResult<Record<`0x${string}`, ClearValueType$1>, Error, DelegatedUserDecryptParams$1, unknown>;
228
228
  //#endregion
229
229
  //#region src/relayer/use-request-zk-proof-verification.d.ts
230
230
  /**
@@ -240,7 +240,7 @@ declare function useDelegatedUserDecrypt(): _tanstack_react_query0.UseMutationRe
240
240
  * // verify.data => Uint8Array (input proof bytes)
241
241
  * ```
242
242
  */
243
- declare function useRequestZKProofVerification(): _tanstack_react_query0.UseMutationResult<Readonly<{
243
+ declare function useRequestZKProofVerification(): _$_tanstack_react_query0.UseMutationResult<Readonly<{
244
244
  handles: Uint8Array[];
245
245
  inputProof: Uint8Array;
246
246
  }>, Error, ZKProofLike$1, unknown>;
@@ -265,7 +265,7 @@ interface PublicKeyData {
265
265
  * // publicKey?.publicKeyId, publicKey?.publicKey
266
266
  * ```
267
267
  */
268
- declare function usePublicKey(): _tanstack_react_query0.UseQueryResult<PublicKeyData | null, Error>;
268
+ declare function usePublicKey(): _$_tanstack_react_query0.UseQueryResult<PublicKeyData | null, Error>;
269
269
  //#endregion
270
270
  //#region src/relayer/use-public-params.d.ts
271
271
  /** Shape of the FHE public parameters returned by the relayer. */
@@ -288,7 +288,7 @@ interface PublicParamsData {
288
288
  * // params?.publicParams, params?.publicParamsId
289
289
  * ```
290
290
  */
291
- declare function usePublicParams(bits: number): _tanstack_react_query0.UseQueryResult<PublicParamsData | null, Error>;
291
+ declare function usePublicParams(bits: number): _$_tanstack_react_query0.UseQueryResult<PublicParamsData | null, Error>;
292
292
  //#endregion
293
293
  //#region src/relayer/use-user-decrypted-value.d.ts
294
294
  /**
@@ -296,7 +296,7 @@ declare function usePublicParams(bits: number): _tanstack_react_query0.UseQueryR
296
296
  * Values are populated automatically when `useUserDecrypt` or `usePublicDecrypt` succeed.
297
297
  * You can also populate manually via queryClient.setQueryData(zamaQueryKeys.decryption.handle(handle), value).
298
298
  */
299
- declare function useUserDecryptedValue(handle: Handle$1 | undefined): _tanstack_react_query0.UseQueryResult<ClearValueType$1, Error>;
299
+ declare function useUserDecryptedValue(handle: Handle$1 | undefined): _$_tanstack_react_query0.UseQueryResult<ClearValueType$1, Error>;
300
300
  //#endregion
301
301
  //#region src/relayer/use-user-decrypted-values.d.ts
302
302
  /**
@@ -305,7 +305,7 @@ declare function useUserDecryptedValue(handle: Handle$1 | undefined): _tanstack_
305
305
  */
306
306
  declare function useUserDecryptedValues(handles: Handle$1[]): {
307
307
  data: Record<`0x${string}`, ClearValueType$1 | undefined>;
308
- results: _tanstack_react_query0.UseQueryResult<never, Error>[];
308
+ results: _$_tanstack_react_query0.UseQueryResult<never, Error>[];
309
309
  };
310
310
  //#endregion
311
311
  //#region src/authorization/use-allow.d.ts
@@ -329,7 +329,7 @@ declare function useUserDecryptedValues(handles: Handle$1[]): {
329
329
  * await allow([tokenAddress, auctionAddress, governanceAddress]);
330
330
  * ```
331
331
  */
332
- declare function useAllow(options?: UseMutationOptions<void, Error, Address$1[]>): _tanstack_react_query0.UseMutationResult<void, Error, `0x${string}`[], unknown>;
332
+ declare function useAllow(options?: UseMutationOptions<void, Error, Address$1[]>): _$_tanstack_react_query0.UseMutationResult<void, Error, `0x${string}`[], unknown>;
333
333
  //#endregion
334
334
  //#region src/authorization/use-is-allowed.d.ts
335
335
  /**
@@ -341,7 +341,7 @@ declare function useAllow(options?: UseMutationOptions<void, Error, Address$1[]>
341
341
  * const { data: allowed } = useIsAllowed();
342
342
  * ```
343
343
  */
344
- declare function useIsAllowed(): _tanstack_react_query0.UseQueryResult<boolean, Error>;
344
+ declare function useIsAllowed(): _$_tanstack_react_query0.UseQueryResult<boolean, Error>;
345
345
  //#endregion
346
346
  //#region src/authorization/use-revoke.d.ts
347
347
  /**
@@ -358,7 +358,7 @@ declare function useIsAllowed(): _tanstack_react_query0.UseQueryResult<boolean,
358
358
  * revoke([tokenAddress, auctionAddress]);
359
359
  * ```
360
360
  */
361
- declare function useRevoke(options?: UseMutationOptions<void, Error, Address$1[]>): _tanstack_react_query0.UseMutationResult<void, Error, `0x${string}`[], unknown>;
361
+ declare function useRevoke(options?: UseMutationOptions<void, Error, Address$1[]>): _$_tanstack_react_query0.UseMutationResult<void, Error, `0x${string}`[], unknown>;
362
362
  //#endregion
363
363
  //#region src/authorization/use-revoke-session.d.ts
364
364
  /**
@@ -371,7 +371,7 @@ declare function useRevoke(options?: UseMutationOptions<void, Error, Address$1[]
371
371
  * revokeSession();
372
372
  * ```
373
373
  */
374
- declare function useRevokeSession(options?: UseMutationOptions<void>): _tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
374
+ declare function useRevokeSession(options?: UseMutationOptions<void>): _$_tanstack_react_query0.UseMutationResult<void, Error, void, unknown>;
375
375
  //#endregion
376
376
  //#region src/token/use-token.d.ts
377
377
  /** Base configuration shared by all mutation hooks that need a Token instance. */
@@ -393,7 +393,7 @@ interface UseZamaConfig {
393
393
  * const token = useToken({ tokenAddress: "0xToken", wrapperAddress: "0xWrapper" });
394
394
  * ```
395
395
  */
396
- declare function useToken(config: UseZamaConfig): _zama_fhe_sdk0.Token;
396
+ declare function useToken(config: UseZamaConfig): _$_zama_fhe_sdk0.Token;
397
397
  //#endregion
398
398
  //#region src/token/use-readonly-token.d.ts
399
399
  /**
@@ -410,7 +410,7 @@ declare function useToken(config: UseZamaConfig): _zama_fhe_sdk0.Token;
410
410
  * // token.balanceOf(), token.isConfidential(), etc.
411
411
  * ```
412
412
  */
413
- declare function useReadonlyToken(address: Address$1): _zama_fhe_sdk0.ReadonlyToken;
413
+ declare function useReadonlyToken(address: Address$1): _$_zama_fhe_sdk0.ReadonlyToken;
414
414
  //#endregion
415
415
  //#region src/balance/use-confidential-balance.d.ts
416
416
  /** Configuration for {@link useConfidentialBalance}. */
@@ -442,7 +442,7 @@ interface UseConfidentialBalanceOptions extends Omit<UseQueryOptions<bigint>, "q
442
442
  * ```
443
443
  */
444
444
  declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, options?: UseConfidentialBalanceOptions): {
445
- handleQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
445
+ handleQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
446
446
  data: bigint;
447
447
  error: Error;
448
448
  isError: true;
@@ -466,11 +466,11 @@ declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, op
466
466
  isRefetching: boolean;
467
467
  isStale: boolean;
468
468
  isEnabled: boolean;
469
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
470
- fetchStatus: _tanstack_query_core0.FetchStatus;
469
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
470
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
471
471
  promise: Promise<bigint>;
472
472
  } | {
473
- handleQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
473
+ handleQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
474
474
  data: bigint;
475
475
  error: null;
476
476
  isError: false;
@@ -494,11 +494,11 @@ declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, op
494
494
  isRefetching: boolean;
495
495
  isStale: boolean;
496
496
  isEnabled: boolean;
497
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
498
- fetchStatus: _tanstack_query_core0.FetchStatus;
497
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
498
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
499
499
  promise: Promise<bigint>;
500
500
  } | {
501
- handleQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
501
+ handleQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
502
502
  data: undefined;
503
503
  error: Error;
504
504
  isError: true;
@@ -522,11 +522,11 @@ declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, op
522
522
  isRefetching: boolean;
523
523
  isStale: boolean;
524
524
  isEnabled: boolean;
525
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
526
- fetchStatus: _tanstack_query_core0.FetchStatus;
525
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
526
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
527
527
  promise: Promise<bigint>;
528
528
  } | {
529
- handleQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
529
+ handleQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
530
530
  data: undefined;
531
531
  error: null;
532
532
  isError: false;
@@ -550,11 +550,11 @@ declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, op
550
550
  isRefetching: boolean;
551
551
  isStale: boolean;
552
552
  isEnabled: boolean;
553
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
554
- fetchStatus: _tanstack_query_core0.FetchStatus;
553
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
554
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
555
555
  promise: Promise<bigint>;
556
556
  } | {
557
- handleQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
557
+ handleQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
558
558
  data: undefined;
559
559
  error: null;
560
560
  isError: false;
@@ -578,11 +578,11 @@ declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, op
578
578
  isRefetching: boolean;
579
579
  isStale: boolean;
580
580
  isEnabled: boolean;
581
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
582
- fetchStatus: _tanstack_query_core0.FetchStatus;
581
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
582
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
583
583
  promise: Promise<bigint>;
584
584
  } | {
585
- handleQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
585
+ handleQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
586
586
  data: bigint;
587
587
  isError: false;
588
588
  error: null;
@@ -606,8 +606,8 @@ declare function useConfidentialBalance(config: UseConfidentialBalanceConfig, op
606
606
  isRefetching: boolean;
607
607
  isStale: boolean;
608
608
  isEnabled: boolean;
609
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
610
- fetchStatus: _tanstack_query_core0.FetchStatus;
609
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<bigint, Error>>;
610
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
611
611
  promise: Promise<bigint>;
612
612
  };
613
613
  //#endregion
@@ -650,7 +650,7 @@ interface UseConfidentialBalancesOptions extends Omit<UseQueryOptions<Confidenti
650
650
  * ```
651
651
  */
652
652
  declare function useConfidentialBalances(config: UseConfidentialBalancesConfig, options?: UseConfidentialBalancesOptions): {
653
- handlesQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
653
+ handlesQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
654
654
  data: ConfidentialBalancesData$1;
655
655
  error: Error;
656
656
  isError: true;
@@ -674,11 +674,11 @@ declare function useConfidentialBalances(config: UseConfidentialBalancesConfig,
674
674
  isRefetching: boolean;
675
675
  isStale: boolean;
676
676
  isEnabled: boolean;
677
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
678
- fetchStatus: _tanstack_query_core0.FetchStatus;
677
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
678
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
679
679
  promise: Promise<ConfidentialBalancesData$1>;
680
680
  } | {
681
- handlesQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
681
+ handlesQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
682
682
  data: ConfidentialBalancesData$1;
683
683
  error: null;
684
684
  isError: false;
@@ -702,11 +702,11 @@ declare function useConfidentialBalances(config: UseConfidentialBalancesConfig,
702
702
  isRefetching: boolean;
703
703
  isStale: boolean;
704
704
  isEnabled: boolean;
705
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
706
- fetchStatus: _tanstack_query_core0.FetchStatus;
705
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
706
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
707
707
  promise: Promise<ConfidentialBalancesData$1>;
708
708
  } | {
709
- handlesQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
709
+ handlesQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
710
710
  data: undefined;
711
711
  error: Error;
712
712
  isError: true;
@@ -730,11 +730,11 @@ declare function useConfidentialBalances(config: UseConfidentialBalancesConfig,
730
730
  isRefetching: boolean;
731
731
  isStale: boolean;
732
732
  isEnabled: boolean;
733
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
734
- fetchStatus: _tanstack_query_core0.FetchStatus;
733
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
734
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
735
735
  promise: Promise<ConfidentialBalancesData$1>;
736
736
  } | {
737
- handlesQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
737
+ handlesQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
738
738
  data: undefined;
739
739
  error: null;
740
740
  isError: false;
@@ -758,11 +758,11 @@ declare function useConfidentialBalances(config: UseConfidentialBalancesConfig,
758
758
  isRefetching: boolean;
759
759
  isStale: boolean;
760
760
  isEnabled: boolean;
761
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
762
- fetchStatus: _tanstack_query_core0.FetchStatus;
761
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
762
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
763
763
  promise: Promise<ConfidentialBalancesData$1>;
764
764
  } | {
765
- handlesQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
765
+ handlesQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
766
766
  data: undefined;
767
767
  error: null;
768
768
  isError: false;
@@ -786,11 +786,11 @@ declare function useConfidentialBalances(config: UseConfidentialBalancesConfig,
786
786
  isRefetching: boolean;
787
787
  isStale: boolean;
788
788
  isEnabled: boolean;
789
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
790
- fetchStatus: _tanstack_query_core0.FetchStatus;
789
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
790
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
791
791
  promise: Promise<ConfidentialBalancesData$1>;
792
792
  } | {
793
- handlesQuery: _tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
793
+ handlesQuery: _$_tanstack_react_query0.UseQueryResult<`0x${string}`[], Error>;
794
794
  data: ConfidentialBalancesData$1;
795
795
  isError: false;
796
796
  error: null;
@@ -814,8 +814,8 @@ declare function useConfidentialBalances(config: UseConfidentialBalancesConfig,
814
814
  isRefetching: boolean;
815
815
  isStale: boolean;
816
816
  isEnabled: boolean;
817
- refetch: (options?: _tanstack_query_core0.RefetchOptions) => Promise<_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
818
- fetchStatus: _tanstack_query_core0.FetchStatus;
817
+ refetch: (options?: _$_tanstack_query_core0.RefetchOptions) => Promise<_$_tanstack_query_core0.QueryObserverResult<ConfidentialBalancesData$1, Error>>;
818
+ fetchStatus: _$_tanstack_query_core0.FetchStatus;
819
819
  promise: Promise<ConfidentialBalancesData$1>;
820
820
  };
821
821
  //#endregion
@@ -880,7 +880,7 @@ declare function useConfidentialTransfer<TContext = unknown>(config: UseConfiden
880
880
  * transferFrom.mutate({ from: "0xOwner", to: "0xRecipient", amount: 500n });
881
881
  * ```
882
882
  */
883
- declare function useConfidentialTransferFrom(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ConfidentialTransferFromParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ConfidentialTransferFromParams$1, `0x${string}`>;
883
+ declare function useConfidentialTransferFrom(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ConfidentialTransferFromParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ConfidentialTransferFromParams$1, `0x${string}`>;
884
884
  //#endregion
885
885
  //#region src/transfer/use-confidential-approve.d.ts
886
886
  /**
@@ -899,7 +899,7 @@ declare function useConfidentialTransferFrom(config: UseZamaConfig, options?: Us
899
899
  * approve.mutate({ spender: "0xOperator" });
900
900
  * ```
901
901
  */
902
- declare function useConfidentialApprove(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ConfidentialApproveParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ConfidentialApproveParams$1, `0x${string}`>;
902
+ declare function useConfidentialApprove(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ConfidentialApproveParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ConfidentialApproveParams$1, `0x${string}`>;
903
903
  //#endregion
904
904
  //#region src/transfer/use-confidential-is-approved.d.ts
905
905
  /** Configuration for {@link useConfidentialIsApproved}. */
@@ -934,7 +934,7 @@ interface UseConfidentialIsApprovedSuspenseConfig extends UseZamaConfig {
934
934
  * });
935
935
  * ```
936
936
  */
937
- declare function useConfidentialIsApproved(config: UseConfidentialIsApprovedConfig, options?: Omit<UseQueryOptions<boolean>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<boolean, Error>;
937
+ declare function useConfidentialIsApproved(config: UseConfidentialIsApprovedConfig, options?: Omit<UseQueryOptions<boolean>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<boolean, Error>;
938
938
  /**
939
939
  * Suspense variant of {@link useConfidentialIsApproved}.
940
940
  * Suspends rendering until the approval check resolves.
@@ -951,7 +951,7 @@ declare function useConfidentialIsApproved(config: UseConfidentialIsApprovedConf
951
951
  * });
952
952
  * ```
953
953
  */
954
- declare function useConfidentialIsApprovedSuspense(config: UseConfidentialIsApprovedSuspenseConfig): _tanstack_react_query0.UseSuspenseQueryResult<boolean, Error>;
954
+ declare function useConfidentialIsApprovedSuspense(config: UseConfidentialIsApprovedSuspenseConfig): _$_tanstack_react_query0.UseSuspenseQueryResult<boolean, Error>;
955
955
  //#endregion
956
956
  //#region src/shield/use-shield.d.ts
957
957
  /** Configuration for {@link useShield}. */
@@ -1034,7 +1034,7 @@ declare function useShieldETH<TContext = unknown>(config: UseShieldETHConfig, op
1034
1034
  * unwrap.mutate({ amount: 500n });
1035
1035
  * ```
1036
1036
  */
1037
- declare function useUnwrap(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, UnwrapParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, UnwrapParams$1, `0x${string}`>;
1037
+ declare function useUnwrap(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, UnwrapParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, UnwrapParams$1, `0x${string}`>;
1038
1038
  //#endregion
1039
1039
  //#region src/unwrap/use-unwrap-all.d.ts
1040
1040
  /**
@@ -1055,7 +1055,7 @@ declare function useUnwrap(config: UseZamaConfig, options?: UseMutationOptions<T
1055
1055
  * unwrapAll.mutate();
1056
1056
  * ```
1057
1057
  */
1058
- declare function useUnwrapAll(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, void, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, void, `0x${string}`>;
1058
+ declare function useUnwrapAll(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, void, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, void, `0x${string}`>;
1059
1059
  //#endregion
1060
1060
  //#region src/unwrap/use-finalize-unwrap.d.ts
1061
1061
  /**
@@ -1076,7 +1076,7 @@ declare function useUnwrapAll(config: UseZamaConfig, options?: UseMutationOption
1076
1076
  * finalize.mutate({ burnAmountHandle: event.encryptedAmount });
1077
1077
  * ```
1078
1078
  */
1079
- declare function useFinalizeUnwrap(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, FinalizeUnwrapParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, FinalizeUnwrapParams$1, `0x${string}`>;
1079
+ declare function useFinalizeUnwrap(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, FinalizeUnwrapParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, FinalizeUnwrapParams$1, `0x${string}`>;
1080
1080
  //#endregion
1081
1081
  //#region src/unshield/use-unshield.d.ts
1082
1082
  /**
@@ -1098,7 +1098,7 @@ declare function useFinalizeUnwrap(config: UseZamaConfig, options?: UseMutationO
1098
1098
  * unshield.mutate({ amount: 500n });
1099
1099
  * ```
1100
1100
  */
1101
- declare function useUnshield(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, UnshieldParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, UnshieldParams$1, `0x${string}`>;
1101
+ declare function useUnshield(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, UnshieldParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, UnshieldParams$1, `0x${string}`>;
1102
1102
  //#endregion
1103
1103
  //#region src/unshield/use-unshield-all.d.ts
1104
1104
  /**
@@ -1119,7 +1119,7 @@ declare function useUnshield(config: UseZamaConfig, options?: UseMutationOptions
1119
1119
  * unshieldAll.mutate();
1120
1120
  * ```
1121
1121
  */
1122
- declare function useUnshieldAll(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, UnshieldAllParams$1 | void, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, void | UnshieldAllParams$1, `0x${string}`>;
1122
+ declare function useUnshieldAll(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, UnshieldAllParams$1 | void, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, void | UnshieldAllParams$1, `0x${string}`>;
1123
1123
  //#endregion
1124
1124
  //#region src/unshield/use-resume-unshield.d.ts
1125
1125
  /**
@@ -1140,7 +1140,7 @@ declare function useUnshieldAll(config: UseZamaConfig, options?: UseMutationOpti
1140
1140
  * resumeUnshield.mutate({ unwrapTxHash: "0xabc..." });
1141
1141
  * ```
1142
1142
  */
1143
- declare function useResumeUnshield(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ResumeUnshieldParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ResumeUnshieldParams$1, `0x${string}`>;
1143
+ declare function useResumeUnshield(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ResumeUnshieldParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ResumeUnshieldParams$1, `0x${string}`>;
1144
1144
  //#endregion
1145
1145
  //#region src/shield/use-underlying-allowance.d.ts
1146
1146
  /** Configuration for {@link useUnderlyingAllowance}. */
@@ -1166,7 +1166,7 @@ interface UseUnderlyingAllowanceConfig {
1166
1166
  * });
1167
1167
  * ```
1168
1168
  */
1169
- declare function useUnderlyingAllowance(config: UseUnderlyingAllowanceConfig, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<bigint, Error>;
1169
+ declare function useUnderlyingAllowance(config: UseUnderlyingAllowanceConfig, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<bigint, Error>;
1170
1170
  /**
1171
1171
  * Suspense variant of {@link useUnderlyingAllowance}.
1172
1172
  * Suspends rendering until the allowance is loaded.
@@ -1182,7 +1182,7 @@ declare function useUnderlyingAllowance(config: UseUnderlyingAllowanceConfig, op
1182
1182
  * });
1183
1183
  * ```
1184
1184
  */
1185
- declare function useUnderlyingAllowanceSuspense(config: UseUnderlyingAllowanceConfig): _tanstack_react_query0.UseSuspenseQueryResult<bigint, Error>;
1185
+ declare function useUnderlyingAllowanceSuspense(config: UseUnderlyingAllowanceConfig): _$_tanstack_react_query0.UseSuspenseQueryResult<bigint, Error>;
1186
1186
  //#endregion
1187
1187
  //#region src/token/use-wrapper-discovery.d.ts
1188
1188
  /** Configuration for {@link useWrapperDiscovery}. */
@@ -1224,7 +1224,7 @@ interface UseWrapperDiscoverySuspenseConfig {
1224
1224
  * });
1225
1225
  * ```
1226
1226
  */
1227
- declare function useWrapperDiscovery(config: UseWrapperDiscoveryConfig, options?: Omit<UseQueryOptions<Address$1 | null>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<`0x${string}` | null, Error>;
1227
+ declare function useWrapperDiscovery(config: UseWrapperDiscoveryConfig, options?: Omit<UseQueryOptions<Address$1 | null>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<`0x${string}` | null, Error>;
1228
1228
  /**
1229
1229
  * Suspense variant of {@link useWrapperDiscovery}.
1230
1230
  * Suspends rendering until the wrapper address is resolved.
@@ -1240,7 +1240,7 @@ declare function useWrapperDiscovery(config: UseWrapperDiscoveryConfig, options?
1240
1240
  * });
1241
1241
  * ```
1242
1242
  */
1243
- declare function useWrapperDiscoverySuspense(config: UseWrapperDiscoverySuspenseConfig): _tanstack_react_query0.UseSuspenseQueryResult<`0x${string}` | null, Error>;
1243
+ declare function useWrapperDiscoverySuspense(config: UseWrapperDiscoverySuspenseConfig): _$_tanstack_react_query0.UseSuspenseQueryResult<`0x${string}` | null, Error>;
1244
1244
  //#endregion
1245
1245
  //#region src/token/use-metadata.d.ts
1246
1246
  /**
@@ -1257,7 +1257,7 @@ declare function useWrapperDiscoverySuspense(config: UseWrapperDiscoverySuspense
1257
1257
  * // metadata?.name, metadata?.symbol, metadata?.decimals
1258
1258
  * ```
1259
1259
  */
1260
- declare function useMetadata(tokenAddress: Address$1, options?: Omit<UseQueryOptions<TokenMetadata>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<TokenMetadata, Error>;
1260
+ declare function useMetadata(tokenAddress: Address$1, options?: Omit<UseQueryOptions<TokenMetadata>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<TokenMetadata, Error>;
1261
1261
  /**
1262
1262
  * Suspense variant of {@link useMetadata}.
1263
1263
  * Suspends rendering until metadata is loaded.
@@ -1270,7 +1270,7 @@ declare function useMetadata(tokenAddress: Address$1, options?: Omit<UseQueryOpt
1270
1270
  * const { data: metadata } = useMetadataSuspense("0xToken");
1271
1271
  * ```
1272
1272
  */
1273
- declare function useMetadataSuspense(tokenAddress: Address$1): _tanstack_react_query0.UseSuspenseQueryResult<TokenMetadata, Error>;
1273
+ declare function useMetadataSuspense(tokenAddress: Address$1): _$_tanstack_react_query0.UseSuspenseQueryResult<TokenMetadata, Error>;
1274
1274
  //#endregion
1275
1275
  //#region src/balance/use-activity-feed.d.ts
1276
1276
  /** Configuration for {@link useActivityFeed}. */
@@ -1304,7 +1304,7 @@ interface UseActivityFeedConfig {
1304
1304
  * });
1305
1305
  * ```
1306
1306
  */
1307
- declare function useActivityFeed(config: UseActivityFeedConfig): _tanstack_react_query0.UseQueryResult<ActivityItem$1[], Error>;
1307
+ declare function useActivityFeed(config: UseActivityFeedConfig): _$_tanstack_react_query0.UseQueryResult<ActivityItem$1[], Error>;
1308
1308
  //#endregion
1309
1309
  //#region src/delegation/use-delegate-decryption.d.ts
1310
1310
  /**
@@ -1319,7 +1319,7 @@ declare function useActivityFeed(config: UseActivityFeedConfig): _tanstack_react
1319
1319
  * delegate.mutate({ delegateAddress: "0xDelegate" });
1320
1320
  * ```
1321
1321
  */
1322
- declare function useDelegateDecryption(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, DelegateDecryptionParams$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, DelegateDecryptionParams$1, unknown>;
1322
+ declare function useDelegateDecryption(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, DelegateDecryptionParams$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, DelegateDecryptionParams$1, unknown>;
1323
1323
  //#endregion
1324
1324
  //#region src/delegation/use-revoke-delegation.d.ts
1325
1325
  /**
@@ -1334,7 +1334,7 @@ declare function useDelegateDecryption(config: UseZamaConfig, options?: UseMutat
1334
1334
  * revoke.mutate({ delegateAddress: "0xDelegate" });
1335
1335
  * ```
1336
1336
  */
1337
- declare function useRevokeDelegation(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, RevokeDelegationParams$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, RevokeDelegationParams$1, unknown>;
1337
+ declare function useRevokeDelegation(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, RevokeDelegationParams$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, RevokeDelegationParams$1, unknown>;
1338
1338
  //#endregion
1339
1339
  //#region src/delegation/use-delegation-status.d.ts
1340
1340
  interface UseDelegationStatusConfig {
@@ -1362,7 +1362,7 @@ interface UseDelegationStatusConfig {
1362
1362
  * // data?.isDelegated, data?.expiryTimestamp
1363
1363
  * ```
1364
1364
  */
1365
- declare function useDelegationStatus(config: UseDelegationStatusConfig, options?: Omit<UseQueryOptions<DelegationStatusData$1>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<DelegationStatusData$1, Error>;
1365
+ declare function useDelegationStatus(config: UseDelegationStatusConfig, options?: Omit<UseQueryOptions<DelegationStatusData$1>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<DelegationStatusData$1, Error>;
1366
1366
  //#endregion
1367
1367
  //#region src/delegation/use-decrypt-balance-as.d.ts
1368
1368
  /**
@@ -1378,7 +1378,7 @@ declare function useDelegationStatus(config: UseDelegationStatusConfig, options?
1378
1378
  * // decryptAs.data => 1000n
1379
1379
  * ```
1380
1380
  */
1381
- declare function useDecryptBalanceAs(tokenAddress: Address$1, options?: UseMutationOptions<bigint, Error, DecryptBalanceAsParams$1>): _tanstack_react_query0.UseMutationResult<bigint, Error, DecryptBalanceAsParams$1, unknown>;
1381
+ declare function useDecryptBalanceAs(tokenAddress: Address$1, options?: UseMutationOptions<bigint, Error, DecryptBalanceAsParams$1>): _$_tanstack_react_query0.UseMutationResult<bigint, Error, DecryptBalanceAsParams$1, unknown>;
1382
1382
  //#endregion
1383
1383
  //#region src/delegation/use-batch-decrypt-balances-as.d.ts
1384
1384
  /**
@@ -1396,7 +1396,7 @@ declare function useDecryptBalanceAs(tokenAddress: Address$1, options?: UseMutat
1396
1396
  * // batchDecryptAs.data => Map { "0xTokenA" => 100n, "0xTokenB" => 200n }
1397
1397
  * ```
1398
1398
  */
1399
- declare function useBatchDecryptBalancesAs(tokens: ReadonlyToken$1[], options?: UseMutationOptions<Map<Address$1, bigint>, Error, BatchDecryptAsOptions$1>): _tanstack_react_query0.UseMutationResult<Map<`0x${string}`, bigint>, Error, BatchDecryptAsOptions$1, unknown>;
1399
+ declare function useBatchDecryptBalancesAs(tokens: ReadonlyToken$1[], options?: UseMutationOptions<Map<Address$1, bigint>, Error, BatchDecryptAsOptions$1>): _$_tanstack_react_query0.UseMutationResult<Map<`0x${string}`, bigint>, Error, BatchDecryptAsOptions$1, unknown>;
1400
1400
  //#endregion
1401
1401
  //#region src/shield/use-approve-underlying.d.ts
1402
1402
  /**
@@ -1418,7 +1418,7 @@ declare function useBatchDecryptBalancesAs(tokens: ReadonlyToken$1[], options?:
1418
1418
  * approve.mutate({ amount: 1000n }); // exact amount
1419
1419
  * ```
1420
1420
  */
1421
- declare function useApproveUnderlying(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ApproveUnderlyingParams$1, Address$1>): _tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ApproveUnderlyingParams$1, `0x${string}`>;
1421
+ declare function useApproveUnderlying(config: UseZamaConfig, options?: UseMutationOptions<TransactionResult$1, Error, ApproveUnderlyingParams$1, Address$1>): _$_tanstack_react_query0.UseMutationResult<TransactionResult$1, Error, ApproveUnderlyingParams$1, `0x${string}`>;
1422
1422
  //#endregion
1423
1423
  //#region src/token/use-is-confidential.d.ts
1424
1424
  /**
@@ -1434,7 +1434,7 @@ declare function useApproveUnderlying(config: UseZamaConfig, options?: UseMutati
1434
1434
  * const { data: isConfidential } = useIsConfidential("0xToken");
1435
1435
  * ```
1436
1436
  */
1437
- declare function useIsConfidential(tokenAddress: Address$1, options?: Omit<UseQueryOptions<boolean>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<boolean, Error>;
1437
+ declare function useIsConfidential(tokenAddress: Address$1, options?: Omit<UseQueryOptions<boolean>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<boolean, Error>;
1438
1438
  /**
1439
1439
  * Suspense variant of {@link useIsConfidential}.
1440
1440
  * Suspends rendering until the ERC-165 check resolves.
@@ -1447,7 +1447,7 @@ declare function useIsConfidential(tokenAddress: Address$1, options?: Omit<UseQu
1447
1447
  * const { data: isConfidential } = useIsConfidentialSuspense("0xToken");
1448
1448
  * ```
1449
1449
  */
1450
- declare function useIsConfidentialSuspense(tokenAddress: Address$1): _tanstack_react_query0.UseSuspenseQueryResult<boolean, Error>;
1450
+ declare function useIsConfidentialSuspense(tokenAddress: Address$1): _$_tanstack_react_query0.UseSuspenseQueryResult<boolean, Error>;
1451
1451
  /**
1452
1452
  * Check if a token supports the ERC-7984 wrapper interface via ERC-165.
1453
1453
  * Result is cached indefinitely since interface support does not change.
@@ -1461,7 +1461,7 @@ declare function useIsConfidentialSuspense(tokenAddress: Address$1): _tanstack_r
1461
1461
  * const { data: isWrapper } = useIsWrapper("0xToken");
1462
1462
  * ```
1463
1463
  */
1464
- declare function useIsWrapper(tokenAddress: Address$1, options?: Omit<UseQueryOptions<boolean>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<boolean, Error>;
1464
+ declare function useIsWrapper(tokenAddress: Address$1, options?: Omit<UseQueryOptions<boolean>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<boolean, Error>;
1465
1465
  /**
1466
1466
  * Suspense variant of {@link useIsWrapper}.
1467
1467
  * Suspends rendering until the ERC-165 check resolves.
@@ -1474,7 +1474,7 @@ declare function useIsWrapper(tokenAddress: Address$1, options?: Omit<UseQueryOp
1474
1474
  * const { data: isWrapper } = useIsWrapperSuspense("0xToken");
1475
1475
  * ```
1476
1476
  */
1477
- declare function useIsWrapperSuspense(tokenAddress: Address$1): _tanstack_react_query0.UseSuspenseQueryResult<boolean, Error>;
1477
+ declare function useIsWrapperSuspense(tokenAddress: Address$1): _$_tanstack_react_query0.UseSuspenseQueryResult<boolean, Error>;
1478
1478
  //#endregion
1479
1479
  //#region src/token/use-total-supply.d.ts
1480
1480
  /**
@@ -1490,7 +1490,7 @@ declare function useIsWrapperSuspense(tokenAddress: Address$1): _tanstack_react_
1490
1490
  * const { data: totalSupply } = useTotalSupply("0xToken");
1491
1491
  * ```
1492
1492
  */
1493
- declare function useTotalSupply(tokenAddress: Address$1, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<bigint, Error>;
1493
+ declare function useTotalSupply(tokenAddress: Address$1, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<bigint, Error>;
1494
1494
  /**
1495
1495
  * Suspense variant of {@link useTotalSupply}.
1496
1496
  * Suspends rendering until the total supply is loaded.
@@ -1503,7 +1503,7 @@ declare function useTotalSupply(tokenAddress: Address$1, options?: Omit<UseQuery
1503
1503
  * const { data: totalSupply } = useTotalSupplySuspense("0xToken");
1504
1504
  * ```
1505
1505
  */
1506
- declare function useTotalSupplySuspense(tokenAddress: Address$1): _tanstack_react_query0.UseSuspenseQueryResult<bigint, Error>;
1506
+ declare function useTotalSupplySuspense(tokenAddress: Address$1): _$_tanstack_react_query0.UseSuspenseQueryResult<bigint, Error>;
1507
1507
  //#endregion
1508
1508
  //#region src/token/use-fees.d.ts
1509
1509
  /** Configuration for {@link useShieldFee} and {@link useUnshieldFee}. */
@@ -1534,7 +1534,7 @@ interface UseFeeConfig {
1534
1534
  * });
1535
1535
  * ```
1536
1536
  */
1537
- declare function useShieldFee(config: UseFeeConfig, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<bigint, Error>;
1537
+ declare function useShieldFee(config: UseFeeConfig, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<bigint, Error>;
1538
1538
  /**
1539
1539
  * Read the unshield fee for a given amount and address pair.
1540
1540
  *
@@ -1552,7 +1552,7 @@ declare function useShieldFee(config: UseFeeConfig, options?: Omit<UseQueryOptio
1552
1552
  * });
1553
1553
  * ```
1554
1554
  */
1555
- declare function useUnshieldFee(config: UseFeeConfig, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<bigint, Error>;
1555
+ declare function useUnshieldFee(config: UseFeeConfig, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<bigint, Error>;
1556
1556
  /**
1557
1557
  * Read the batch transfer fee from the fee manager.
1558
1558
  *
@@ -1565,7 +1565,7 @@ declare function useUnshieldFee(config: UseFeeConfig, options?: Omit<UseQueryOpt
1565
1565
  * const { data: fee } = useBatchTransferFee("0xFeeManager");
1566
1566
  * ```
1567
1567
  */
1568
- declare function useBatchTransferFee(feeManagerAddress: Address$1, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<bigint, Error>;
1568
+ declare function useBatchTransferFee(feeManagerAddress: Address$1, options?: Omit<UseQueryOptions<bigint>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<bigint, Error>;
1569
1569
  /**
1570
1570
  * Read the fee recipient address from the fee manager.
1571
1571
  *
@@ -1578,7 +1578,7 @@ declare function useBatchTransferFee(feeManagerAddress: Address$1, options?: Omi
1578
1578
  * const { data: recipient } = useFeeRecipient("0xFeeManager");
1579
1579
  * ```
1580
1580
  */
1581
- declare function useFeeRecipient(feeManagerAddress: Address$1, options?: Omit<UseQueryOptions<Address$1>, "queryKey" | "queryFn">): _tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
1581
+ declare function useFeeRecipient(feeManagerAddress: Address$1, options?: Omit<UseQueryOptions<Address$1>, "queryKey" | "queryFn">): _$_tanstack_react_query0.UseQueryResult<`0x${string}`, Error>;
1582
1582
  //#endregion
1583
1583
  //#region src/wrappers-registry/use-wrappers-registry-address.d.ts
1584
1584
  /**
@@ -1599,13 +1599,13 @@ declare function useWrappersRegistryAddress(): Address$1 | undefined;
1599
1599
  * Fetches all token wrapper pairs from the ConfidentialTokenWrappersRegistry
1600
1600
  * contract on the current chain.
1601
1601
  */
1602
- declare function useTokenPairsRegistry(): _tanstack_react_query0.UseQueryResult<readonly TokenWrapperPair$1[], Error>;
1602
+ declare function useTokenPairsRegistry(): _$_tanstack_react_query0.UseQueryResult<readonly TokenWrapperPair$1[], Error>;
1603
1603
  //#endregion
1604
1604
  //#region src/wrappers-registry/use-token-pairs-length.d.ts
1605
1605
  /**
1606
1606
  * Returns the total number of token wrapper pairs in the registry.
1607
1607
  */
1608
- declare function useTokenPairsLength(): _tanstack_react_query0.UseQueryResult<bigint, Error>;
1608
+ declare function useTokenPairsLength(): _$_tanstack_react_query0.UseQueryResult<bigint, Error>;
1609
1609
  //#endregion
1610
1610
  //#region src/wrappers-registry/use-token-pairs-slice.d.ts
1611
1611
  /**
@@ -1620,7 +1620,7 @@ declare function useTokenPairsSlice({
1620
1620
  }: {
1621
1621
  fromIndex: bigint | undefined;
1622
1622
  toIndex: bigint | undefined;
1623
- }): _tanstack_react_query0.UseQueryResult<readonly TokenWrapperPair$1[], Error>;
1623
+ }): _$_tanstack_react_query0.UseQueryResult<readonly TokenWrapperPair$1[], Error>;
1624
1624
  //#endregion
1625
1625
  //#region src/wrappers-registry/use-token-pair.d.ts
1626
1626
  /**
@@ -1632,7 +1632,7 @@ declare function useTokenPair({
1632
1632
  index
1633
1633
  }: {
1634
1634
  index: bigint | undefined;
1635
- }): _tanstack_react_query0.UseQueryResult<TokenWrapperPair$1, Error>;
1635
+ }): _$_tanstack_react_query0.UseQueryResult<TokenWrapperPair$1, Error>;
1636
1636
  //#endregion
1637
1637
  //#region src/wrappers-registry/use-confidential-token-address.d.ts
1638
1638
  /**
@@ -1642,7 +1642,7 @@ declare function useConfidentialTokenAddress({
1642
1642
  tokenAddress
1643
1643
  }: {
1644
1644
  tokenAddress: Address$1 | undefined;
1645
- }): _tanstack_react_query0.UseQueryResult<readonly [boolean, `0x${string}`], Error>;
1645
+ }): _$_tanstack_react_query0.UseQueryResult<readonly [boolean, `0x${string}`], Error>;
1646
1646
  //#endregion
1647
1647
  //#region src/wrappers-registry/use-token-address.d.ts
1648
1648
  /**
@@ -1652,7 +1652,7 @@ declare function useTokenAddress({
1652
1652
  confidentialTokenAddress
1653
1653
  }: {
1654
1654
  confidentialTokenAddress: Address$1 | undefined;
1655
- }): _tanstack_react_query0.UseQueryResult<readonly [boolean, `0x${string}`], Error>;
1655
+ }): _$_tanstack_react_query0.UseQueryResult<readonly [boolean, `0x${string}`], Error>;
1656
1656
  //#endregion
1657
1657
  //#region src/wrappers-registry/use-is-confidential-token-valid.d.ts
1658
1658
  /**
@@ -1665,7 +1665,7 @@ declare function useIsConfidentialTokenValid({
1665
1665
  confidentialTokenAddress
1666
1666
  }: {
1667
1667
  confidentialTokenAddress: Address$1 | undefined;
1668
- }): _tanstack_react_query0.UseQueryResult<boolean, Error>;
1668
+ }): _$_tanstack_react_query0.UseQueryResult<boolean, Error>;
1669
1669
  //#endregion
1670
1670
  //#region src/wrappers-registry/use-list-pairs.d.ts
1671
1671
  /**
@@ -1689,7 +1689,7 @@ declare function useListPairs({
1689
1689
  page?: number;
1690
1690
  pageSize?: number;
1691
1691
  metadata?: boolean;
1692
- }): _tanstack_react_query0.UseQueryResult<PaginatedResult$1<TokenWrapperPair$1 | TokenWrapperPairWithMetadata$1>, Error>;
1692
+ }): _$_tanstack_react_query0.UseQueryResult<PaginatedResult$1<TokenWrapperPair$1 | TokenWrapperPairWithMetadata$1>, Error>;
1693
1693
  //#endregion
1694
1694
  //#region src/balance/optimistic-balance-update.d.ts
1695
1695
  type OptimisticBalanceSnapshot = [QueryKey, bigint | undefined][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zama-fhe/react-sdk",
3
- "version": "2.3.0-alpha.1",
3
+ "version": "2.3.0-alpha.2",
4
4
  "description": "React hooks for Zama SDK",
5
5
  "license": "BSD-3-Clause-Clear",
6
6
  "author": "Zama",
@@ -54,12 +54,12 @@
54
54
  "devDependencies": {
55
55
  "@zama-fhe/sdk": "workspace:*",
56
56
  "rolldown": "1.0.0-rc.7",
57
- "rolldown-plugin-dts": "^0.22.5",
57
+ "rolldown-plugin-dts": "^0.23.2",
58
58
  "viem": "^2.47.6"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@tanstack/react-query": ">=5",
62
- "@zama-fhe/sdk": "^2.3.0-alpha.1",
62
+ "@zama-fhe/sdk": "^2.3.0-alpha.2",
63
63
  "react": ">=18",
64
64
  "viem": "^2.47.0",
65
65
  "wagmi": ">=2"