@tokenops/sdk 1.1.1 → 1.5.1

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 (131) hide show
  1. package/README.md +18 -8
  2. package/dist/{chunk-5SGMJADP.cjs → chunk-2NCLOQ56.cjs} +9 -9
  3. package/dist/{chunk-FXCW7LVB.js → chunk-2PWNH3UE.js} +35 -6
  4. package/dist/{chunk-FPQBFIUW.cjs → chunk-4WPGQSNT.cjs} +3 -3
  5. package/dist/{chunk-OYLZEEHF.cjs → chunk-5X5WL5CU.cjs} +265 -101
  6. package/dist/{chunk-56UI7LUR.cjs → chunk-67OV5CX2.cjs} +19 -0
  7. package/dist/{chunk-WRCUDSUJ.js → chunk-6BMP4ICG.js} +2 -2
  8. package/dist/{chunk-XXXDQSHE.js → chunk-6R4KNAPK.js} +5 -3
  9. package/dist/{chunk-XSNLAS5M.js → chunk-AOP6HMPW.js} +1 -1
  10. package/dist/{chunk-SAGJIEQK.cjs → chunk-C7BRZXJA.cjs} +14 -14
  11. package/dist/{chunk-OQZAZIAS.js → chunk-DUZIIRPF.js} +174 -5
  12. package/dist/{chunk-Q7ARQSUH.cjs → chunk-FAXIIH5R.cjs} +3 -3
  13. package/dist/chunk-FT4LNBOS.js +11 -0
  14. package/dist/{chunk-QE7ZONJ2.js → chunk-IJFQ5L4I.js} +4 -4
  15. package/dist/{chunk-X56UVEXS.js → chunk-IXLO7GO5.js} +209 -45
  16. package/dist/{chunk-CQIPRNS7.cjs → chunk-JK4XMMKM.cjs} +3 -3
  17. package/dist/{chunk-ITQ7WKVC.cjs → chunk-JYOTGRSO.cjs} +8 -8
  18. package/dist/{chunk-VDXVNZCO.cjs → chunk-KLKI352M.cjs} +85 -29
  19. package/dist/{chunk-5SA2HF2W.cjs → chunk-MCRBVJGZ.cjs} +24 -22
  20. package/dist/{chunk-3PQ2RFPC.js → chunk-NTZY6IB7.js} +4 -4
  21. package/dist/{chunk-JJ4R5QXF.js → chunk-ODLTEGHB.js} +1 -1
  22. package/dist/{chunk-XWDVPV42.js → chunk-ORFTDNFZ.js} +4 -4
  23. package/dist/{chunk-IR5AK5U5.js → chunk-OXTLPTO3.js} +4 -4
  24. package/dist/{chunk-23F7JIK5.cjs → chunk-PFXURMBZ.cjs} +77 -48
  25. package/dist/{chunk-3ZRHDTEX.cjs → chunk-PUPKNW3R.cjs} +2 -2
  26. package/dist/{chunk-IVE3QEGD.js → chunk-QBJ7O2B4.js} +18 -1
  27. package/dist/{chunk-JFLEEXKP.js → chunk-SG65XWH7.js} +58 -2
  28. package/dist/{chunk-G7G75C46.cjs → chunk-T46YXSBP.cjs} +11 -11
  29. package/dist/{chunk-NS44KBV5.cjs → chunk-TEBM66WA.cjs} +12 -12
  30. package/dist/{chunk-SYHXDHWX.cjs → chunk-TIUKIY5V.cjs} +193 -24
  31. package/dist/{chunk-W7JHOK7G.cjs → chunk-V2PXZVBF.cjs} +4 -4
  32. package/dist/{chunk-SEKC7H5Y.cjs → chunk-W7IGCOVL.cjs} +11 -11
  33. package/dist/{chunk-5KHIQG7Y.cjs → chunk-WENHUPZC.cjs} +31 -31
  34. package/dist/{chunk-ZXCOJY2Z.js → chunk-WMACINXO.js} +1 -1
  35. package/dist/{chunk-M7V2EDPB.js → chunk-XGGTQQFH.js} +1 -1
  36. package/dist/{chunk-ITQBDRWX.js → chunk-YQIBBEFJ.js} +1 -1
  37. package/dist/{chunk-BE2AIZ3K.js → chunk-ZA673I3O.js} +1 -1
  38. package/dist/chunk-ZQUE2B3Q.cjs +33 -0
  39. package/dist/{chunk-FYQ2UW4T.js → chunk-ZWXJTBZO.js} +1 -1
  40. package/dist/core/errors.d.ts +41 -1
  41. package/dist/core/revert-mapper.d.ts +77 -0
  42. package/dist/core/wagmi-compat.d.ts +40 -0
  43. package/dist/fhe/index.cjs +112 -66
  44. package/dist/fhe/index.d.cts +1 -1
  45. package/dist/fhe/index.d.ts +1 -1
  46. package/dist/fhe/index.js +50 -8
  47. package/dist/fhe/react/index.cjs +7 -7
  48. package/dist/fhe/react/index.js +2 -2
  49. package/dist/fhe/sepolia-encryptor-web.d.ts +27 -1
  50. package/dist/fhe/sepolia-encryptor.d.ts +38 -0
  51. package/dist/fhe-airdrop/advanced/index.cjs +9 -8
  52. package/dist/fhe-airdrop/advanced/index.js +7 -6
  53. package/dist/fhe-airdrop/advanced/react/index.cjs +14 -13
  54. package/dist/fhe-airdrop/advanced/react/index.js +10 -9
  55. package/dist/fhe-airdrop/airdrop.d.ts +2 -0
  56. package/dist/fhe-airdrop/encryption.d.ts +8 -0
  57. package/dist/fhe-airdrop/factory.d.ts +86 -1
  58. package/dist/fhe-airdrop/index.cjs +61 -57
  59. package/dist/fhe-airdrop/index.d.cts +3 -3
  60. package/dist/fhe-airdrop/index.d.ts +3 -3
  61. package/dist/fhe-airdrop/index.js +7 -7
  62. package/dist/fhe-airdrop/react/index.cjs +163 -133
  63. package/dist/fhe-airdrop/react/index.d.cts +4 -3
  64. package/dist/fhe-airdrop/react/index.d.ts +4 -3
  65. package/dist/fhe-airdrop/react/index.js +38 -13
  66. package/dist/fhe-airdrop/react/useAirdropClaim.d.ts +2 -0
  67. package/dist/fhe-airdrop/react/useAirdropIsSignatureValid.d.ts +3 -2
  68. package/dist/fhe-airdrop/react/useClaim.d.ts +2 -0
  69. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdrop.d.ts +8 -0
  70. package/dist/fhe-airdrop/react/useCreateAndFundConfidentialAirdropAndGetAddress.d.ts +8 -0
  71. package/dist/fhe-airdrop/react/useFundConfidentialAirdrop.d.ts +8 -0
  72. package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +51 -0
  73. package/dist/fhe-airdrop/types.d.ts +45 -0
  74. package/dist/fhe-disperse/encryption.d.ts +8 -0
  75. package/dist/fhe-disperse/index.cjs +69 -65
  76. package/dist/fhe-disperse/index.d.cts +1 -1
  77. package/dist/fhe-disperse/index.d.ts +1 -1
  78. package/dist/fhe-disperse/index.js +8 -8
  79. package/dist/fhe-disperse/react/index.cjs +90 -86
  80. package/dist/fhe-disperse/react/index.d.cts +1 -1
  81. package/dist/fhe-disperse/react/index.d.ts +1 -1
  82. package/dist/fhe-disperse/react/index.js +10 -10
  83. package/dist/fhe-disperse/react/useCalculateFee.d.ts +7 -0
  84. package/dist/fhe-disperse/react/useDisperse.d.ts +9 -0
  85. package/dist/fhe-disperse/react/usePreflightDisperse.d.ts +7 -0
  86. package/dist/fhe-disperse/react/useSingletonCalculateFee.d.ts +7 -0
  87. package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +6 -0
  88. package/dist/fhe-disperse/react/useWithdrawTokenFee.d.ts +6 -0
  89. package/dist/fhe-disperse/singleton.d.ts +29 -0
  90. package/dist/fhe-disperse/subtotals.d.ts +6 -0
  91. package/dist/fhe-vesting/advanced/index.cjs +8 -8
  92. package/dist/fhe-vesting/advanced/index.js +6 -6
  93. package/dist/fhe-vesting/advanced/react/index.cjs +15 -14
  94. package/dist/fhe-vesting/advanced/react/index.js +12 -11
  95. package/dist/fhe-vesting/encryption.d.ts +8 -0
  96. package/dist/fhe-vesting/index.cjs +79 -75
  97. package/dist/fhe-vesting/index.d.cts +2 -2
  98. package/dist/fhe-vesting/index.d.ts +2 -2
  99. package/dist/fhe-vesting/index.js +9 -9
  100. package/dist/fhe-vesting/manager.d.ts +100 -1
  101. package/dist/fhe-vesting/react/index.cjs +241 -219
  102. package/dist/fhe-vesting/react/index.d.cts +3 -2
  103. package/dist/fhe-vesting/react/index.d.ts +3 -2
  104. package/dist/fhe-vesting/react/index.js +29 -12
  105. package/dist/fhe-vesting/react/useAdminClaim.d.ts +2 -0
  106. package/dist/fhe-vesting/react/useAdminPartialClaim.d.ts +2 -0
  107. package/dist/fhe-vesting/react/useBatchCreateVesting.d.ts +8 -0
  108. package/dist/fhe-vesting/react/useClaim.d.ts +2 -0
  109. package/dist/fhe-vesting/react/useCreateVesting.d.ts +8 -0
  110. package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +6 -0
  111. package/dist/fhe-vesting/react/usePartialClaim.d.ts +8 -0
  112. package/dist/fhe-vesting/react/usePreflightCreateVesting.d.ts +37 -0
  113. package/dist/fhe-vesting/react/useVestingClaim.d.ts +2 -0
  114. package/dist/fhe-vesting/react/useWithdrawAdmin.d.ts +6 -0
  115. package/dist/fhe-vesting/react/useWithdrawTokenFee.d.ts +6 -0
  116. package/dist/fhe-vesting/types.d.ts +34 -0
  117. package/dist/index.cjs +61 -53
  118. package/dist/index.d.cts +1 -1
  119. package/dist/index.d.ts +1 -1
  120. package/dist/index.js +2 -2
  121. package/dist/testnet-faucet/index.cjs +58 -54
  122. package/dist/testnet-faucet/index.d.cts +1 -1
  123. package/dist/testnet-faucet/index.d.ts +1 -1
  124. package/dist/testnet-faucet/index.js +5 -5
  125. package/dist/testnet-faucet/react/index.cjs +60 -55
  126. package/dist/testnet-faucet/react/index.d.cts +3 -2
  127. package/dist/testnet-faucet/react/index.d.ts +3 -2
  128. package/dist/testnet-faucet/react/index.js +11 -10
  129. package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +3 -2
  130. package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +2 -2
  131. package/package.json +3 -2
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from "./core/index.js";
2
- export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ContractRevertError, PausedError, AccessDeniedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "./core/errors.js";
2
+ export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ContractRevertError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "./core/errors.js";
3
3
  export { type PreflightResult } from "./core/preflight.js";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { DEPLOYED_ADDRESSES, chainsWithDeployment, chainsWithKnownRegistryEntry, getConfidentialTestTokenAddress, getDeployedAddress, getFheAirdropFactoryAddress, getFheDisperseSingletonAddress, getFheVestingFactoryAddress, getTestTokenAddress, requireConfidentialTestTokenAddress, requireFheAirdropFactoryAddress, requireFheDisperseSingletonAddress, requireFheVestingFactoryAddress, requireTestTokenAddress } from './chunk-M7V2EDPB.js';
1
+ export { DEPLOYED_ADDRESSES, chainsWithDeployment, chainsWithKnownRegistryEntry, getConfidentialTestTokenAddress, getDeployedAddress, getFheAirdropFactoryAddress, getFheDisperseSingletonAddress, getFheVestingFactoryAddress, getTestTokenAddress, requireConfidentialTestTokenAddress, requireFheAirdropFactoryAddress, requireFheDisperseSingletonAddress, requireFheVestingFactoryAddress, requireTestTokenAddress } from './chunk-XGGTQQFH.js';
2
2
  export { asAirdropId, asDisperseId, asEncryptedHandle, asExternalInputProof, asRole, asSignature, asTxHash, asVestingId } from './chunk-KWFFIJYX.js';
3
- export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsContractError, TokenOpsSdkError, TokenOpsValidationError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from './chunk-IVE3QEGD.js';
3
+ export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, OPERATOR_NOT_APPROVED_REMEDIATION, OperatorNotApprovedError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsContractError, TokenOpsSdkError, TokenOpsValidationError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from './chunk-QBJ7O2B4.js';
4
4
  import { sepolia, mainnet } from 'viem/chains';
5
5
 
6
6
  var SUPPORTED_CHAINS = {
@@ -1,208 +1,212 @@
1
1
  'use strict';
2
2
 
3
- var chunk5KHIQG7Y_cjs = require('../chunk-5KHIQG7Y.cjs');
4
- require('../chunk-VDXVNZCO.cjs');
5
- var chunk3ZRHDTEX_cjs = require('../chunk-3ZRHDTEX.cjs');
6
- require('../chunk-CQIPRNS7.cjs');
3
+ var chunkWENHUPZC_cjs = require('../chunk-WENHUPZC.cjs');
4
+ require('../chunk-KLKI352M.cjs');
5
+ var chunkPUPKNW3R_cjs = require('../chunk-PUPKNW3R.cjs');
6
+ require('../chunk-JK4XMMKM.cjs');
7
7
  require('../chunk-VJKZWYYJ.cjs');
8
8
  require('../chunk-66IHPTOK.cjs');
9
- var chunk56UI7LUR_cjs = require('../chunk-56UI7LUR.cjs');
9
+ var chunk67OV5CX2_cjs = require('../chunk-67OV5CX2.cjs');
10
10
 
11
11
 
12
12
 
13
13
  Object.defineProperty(exports, "FaucetSupplyExhaustedError", {
14
14
  enumerable: true,
15
- get: function () { return chunk5KHIQG7Y_cjs.FaucetSupplyExhaustedError; }
15
+ get: function () { return chunkWENHUPZC_cjs.FaucetSupplyExhaustedError; }
16
16
  });
17
17
  Object.defineProperty(exports, "TESTNET_FAUCET_SUPPORTED_CHAIN_IDS", {
18
18
  enumerable: true,
19
- get: function () { return chunk5KHIQG7Y_cjs.TESTNET_FAUCET_SUPPORTED_CHAIN_IDS; }
19
+ get: function () { return chunkWENHUPZC_cjs.TESTNET_FAUCET_SUPPORTED_CHAIN_IDS; }
20
20
  });
21
21
  Object.defineProperty(exports, "TestnetFaucetClient", {
22
22
  enumerable: true,
23
- get: function () { return chunk5KHIQG7Y_cjs.TestnetFaucetClient; }
23
+ get: function () { return chunkWENHUPZC_cjs.TestnetFaucetClient; }
24
24
  });
25
25
  Object.defineProperty(exports, "assertTestnetFaucetChain", {
26
26
  enumerable: true,
27
- get: function () { return chunk5KHIQG7Y_cjs.assertTestnetFaucetChain; }
27
+ get: function () { return chunkWENHUPZC_cjs.assertTestnetFaucetChain; }
28
28
  });
29
29
  Object.defineProperty(exports, "confidentialTokenopsTestTokenAbi", {
30
30
  enumerable: true,
31
- get: function () { return chunk5KHIQG7Y_cjs.confidentialTokenopsTestTokenAbi; }
31
+ get: function () { return chunkWENHUPZC_cjs.confidentialTokenopsTestTokenAbi; }
32
32
  });
33
33
  Object.defineProperty(exports, "createTestnetFaucetClient", {
34
34
  enumerable: true,
35
- get: function () { return chunk5KHIQG7Y_cjs.createTestnetFaucetClient; }
35
+ get: function () { return chunkWENHUPZC_cjs.createTestnetFaucetClient; }
36
36
  });
37
37
  Object.defineProperty(exports, "isTestnetFaucetChainId", {
38
38
  enumerable: true,
39
- get: function () { return chunk5KHIQG7Y_cjs.isTestnetFaucetChainId; }
39
+ get: function () { return chunkWENHUPZC_cjs.isTestnetFaucetChainId; }
40
40
  });
41
41
  Object.defineProperty(exports, "tokenopsTestTokenAbi", {
42
42
  enumerable: true,
43
- get: function () { return chunk5KHIQG7Y_cjs.tokenopsTestTokenAbi; }
43
+ get: function () { return chunkWENHUPZC_cjs.tokenopsTestTokenAbi; }
44
44
  });
45
45
  Object.defineProperty(exports, "getConfidentialTestTokenAddress", {
46
46
  enumerable: true,
47
- get: function () { return chunk3ZRHDTEX_cjs.getConfidentialTestTokenAddress; }
47
+ get: function () { return chunkPUPKNW3R_cjs.getConfidentialTestTokenAddress; }
48
48
  });
49
49
  Object.defineProperty(exports, "getTestTokenAddress", {
50
50
  enumerable: true,
51
- get: function () { return chunk3ZRHDTEX_cjs.getTestTokenAddress; }
51
+ get: function () { return chunkPUPKNW3R_cjs.getTestTokenAddress; }
52
52
  });
53
53
  Object.defineProperty(exports, "requireConfidentialTestTokenAddress", {
54
54
  enumerable: true,
55
- get: function () { return chunk3ZRHDTEX_cjs.requireConfidentialTestTokenAddress; }
55
+ get: function () { return chunkPUPKNW3R_cjs.requireConfidentialTestTokenAddress; }
56
56
  });
57
57
  Object.defineProperty(exports, "requireTestTokenAddress", {
58
58
  enumerable: true,
59
- get: function () { return chunk3ZRHDTEX_cjs.requireTestTokenAddress; }
59
+ get: function () { return chunkPUPKNW3R_cjs.requireTestTokenAddress; }
60
60
  });
61
61
  Object.defineProperty(exports, "AccessDeniedError", {
62
62
  enumerable: true,
63
- get: function () { return chunk56UI7LUR_cjs.AccessDeniedError; }
63
+ get: function () { return chunk67OV5CX2_cjs.AccessDeniedError; }
64
64
  });
65
65
  Object.defineProperty(exports, "AlreadyInitializedError", {
66
66
  enumerable: true,
67
- get: function () { return chunk56UI7LUR_cjs.AlreadyInitializedError; }
67
+ get: function () { return chunk67OV5CX2_cjs.AlreadyInitializedError; }
68
68
  });
69
69
  Object.defineProperty(exports, "BatchTooLargeError", {
70
70
  enumerable: true,
71
- get: function () { return chunk56UI7LUR_cjs.BatchTooLargeError; }
71
+ get: function () { return chunk67OV5CX2_cjs.BatchTooLargeError; }
72
72
  });
73
73
  Object.defineProperty(exports, "ContractRevertError", {
74
74
  enumerable: true,
75
- get: function () { return chunk56UI7LUR_cjs.ContractRevertError; }
75
+ get: function () { return chunk67OV5CX2_cjs.ContractRevertError; }
76
76
  });
77
77
  Object.defineProperty(exports, "DecryptionFailedError", {
78
78
  enumerable: true,
79
- get: function () { return chunk56UI7LUR_cjs.DecryptionFailedError; }
79
+ get: function () { return chunk67OV5CX2_cjs.DecryptionFailedError; }
80
80
  });
81
81
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
82
82
  enumerable: true,
83
- get: function () { return chunk56UI7LUR_cjs.DeploymentAddressUnavailableError; }
83
+ get: function () { return chunk67OV5CX2_cjs.DeploymentAddressUnavailableError; }
84
84
  });
85
85
  Object.defineProperty(exports, "EncryptionFailedError", {
86
86
  enumerable: true,
87
- get: function () { return chunk56UI7LUR_cjs.EncryptionFailedError; }
87
+ get: function () { return chunk67OV5CX2_cjs.EncryptionFailedError; }
88
88
  });
89
89
  Object.defineProperty(exports, "FeatureDisabledError", {
90
90
  enumerable: true,
91
- get: function () { return chunk56UI7LUR_cjs.FeatureDisabledError; }
91
+ get: function () { return chunk67OV5CX2_cjs.FeatureDisabledError; }
92
92
  });
93
93
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
94
94
  enumerable: true,
95
- get: function () { return chunk56UI7LUR_cjs.FheHandleNotAllowedError; }
95
+ get: function () { return chunk67OV5CX2_cjs.FheHandleNotAllowedError; }
96
96
  });
97
97
  Object.defineProperty(exports, "InsufficientBalanceError", {
98
98
  enumerable: true,
99
- get: function () { return chunk56UI7LUR_cjs.InsufficientBalanceError; }
99
+ get: function () { return chunk67OV5CX2_cjs.InsufficientBalanceError; }
100
100
  });
101
101
  Object.defineProperty(exports, "InsufficientFeeError", {
102
102
  enumerable: true,
103
- get: function () { return chunk56UI7LUR_cjs.InsufficientFeeError; }
103
+ get: function () { return chunk67OV5CX2_cjs.InsufficientFeeError; }
104
104
  });
105
105
  Object.defineProperty(exports, "InsufficientGasFundsError", {
106
106
  enumerable: true,
107
- get: function () { return chunk56UI7LUR_cjs.InsufficientGasFundsError; }
107
+ get: function () { return chunk67OV5CX2_cjs.InsufficientGasFundsError; }
108
108
  });
109
109
  Object.defineProperty(exports, "InvalidArgumentError", {
110
110
  enumerable: true,
111
- get: function () { return chunk56UI7LUR_cjs.InvalidArgumentError; }
111
+ get: function () { return chunk67OV5CX2_cjs.InvalidArgumentError; }
112
112
  });
113
113
  Object.defineProperty(exports, "InvalidSignatureError", {
114
114
  enumerable: true,
115
- get: function () { return chunk56UI7LUR_cjs.InvalidSignatureError; }
115
+ get: function () { return chunk67OV5CX2_cjs.InvalidSignatureError; }
116
116
  });
117
117
  Object.defineProperty(exports, "MissingAccountError", {
118
118
  enumerable: true,
119
- get: function () { return chunk56UI7LUR_cjs.MissingAccountError; }
119
+ get: function () { return chunk67OV5CX2_cjs.MissingAccountError; }
120
120
  });
121
121
  Object.defineProperty(exports, "MissingClientError", {
122
122
  enumerable: true,
123
- get: function () { return chunk56UI7LUR_cjs.MissingClientError; }
123
+ get: function () { return chunk67OV5CX2_cjs.MissingClientError; }
124
124
  });
125
125
  Object.defineProperty(exports, "MissingEncryptorError", {
126
126
  enumerable: true,
127
- get: function () { return chunk56UI7LUR_cjs.MissingEncryptorError; }
127
+ get: function () { return chunk67OV5CX2_cjs.MissingEncryptorError; }
128
128
  });
129
129
  Object.defineProperty(exports, "MissingPublicClientError", {
130
130
  enumerable: true,
131
- get: function () { return chunk56UI7LUR_cjs.MissingPublicClientError; }
131
+ get: function () { return chunk67OV5CX2_cjs.MissingPublicClientError; }
132
132
  });
133
133
  Object.defineProperty(exports, "MissingWalletClientError", {
134
134
  enumerable: true,
135
- get: function () { return chunk56UI7LUR_cjs.MissingWalletClientError; }
135
+ get: function () { return chunk67OV5CX2_cjs.MissingWalletClientError; }
136
136
  });
137
137
  Object.defineProperty(exports, "NetworkError", {
138
138
  enumerable: true,
139
- get: function () { return chunk56UI7LUR_cjs.NetworkError; }
139
+ get: function () { return chunk67OV5CX2_cjs.NetworkError; }
140
+ });
141
+ Object.defineProperty(exports, "OperatorNotApprovedError", {
142
+ enumerable: true,
143
+ get: function () { return chunk67OV5CX2_cjs.OperatorNotApprovedError; }
140
144
  });
141
145
  Object.defineProperty(exports, "PausedError", {
142
146
  enumerable: true,
143
- get: function () { return chunk56UI7LUR_cjs.PausedError; }
147
+ get: function () { return chunk67OV5CX2_cjs.PausedError; }
144
148
  });
145
149
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
146
150
  enumerable: true,
147
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventAmbiguousError; }
151
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventAmbiguousError; }
148
152
  });
149
153
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
150
154
  enumerable: true,
151
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventNotFoundError; }
155
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventNotFoundError; }
152
156
  });
153
157
  Object.defineProperty(exports, "ReentrancyError", {
154
158
  enumerable: true,
155
- get: function () { return chunk56UI7LUR_cjs.ReentrancyError; }
159
+ get: function () { return chunk67OV5CX2_cjs.ReentrancyError; }
156
160
  });
157
161
  Object.defineProperty(exports, "RelayerUnreachableError", {
158
162
  enumerable: true,
159
- get: function () { return chunk56UI7LUR_cjs.RelayerUnreachableError; }
163
+ get: function () { return chunk67OV5CX2_cjs.RelayerUnreachableError; }
160
164
  });
161
165
  Object.defineProperty(exports, "SigningFailedError", {
162
166
  enumerable: true,
163
- get: function () { return chunk56UI7LUR_cjs.SigningFailedError; }
167
+ get: function () { return chunk67OV5CX2_cjs.SigningFailedError; }
164
168
  });
165
169
  Object.defineProperty(exports, "TokenOpsContractError", {
166
170
  enumerable: true,
167
- get: function () { return chunk56UI7LUR_cjs.TokenOpsContractError; }
171
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsContractError; }
168
172
  });
169
173
  Object.defineProperty(exports, "TokenOpsSdkError", {
170
174
  enumerable: true,
171
- get: function () { return chunk56UI7LUR_cjs.TokenOpsSdkError; }
175
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsSdkError; }
172
176
  });
173
177
  Object.defineProperty(exports, "TokenOpsValidationError", {
174
178
  enumerable: true,
175
- get: function () { return chunk56UI7LUR_cjs.TokenOpsValidationError; }
179
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsValidationError; }
176
180
  });
177
181
  Object.defineProperty(exports, "TransferFailedError", {
178
182
  enumerable: true,
179
- get: function () { return chunk56UI7LUR_cjs.TransferFailedError; }
183
+ get: function () { return chunk67OV5CX2_cjs.TransferFailedError; }
180
184
  });
181
185
  Object.defineProperty(exports, "UnknownWriteFailureError", {
182
186
  enumerable: true,
183
- get: function () { return chunk56UI7LUR_cjs.UnknownWriteFailureError; }
187
+ get: function () { return chunk67OV5CX2_cjs.UnknownWriteFailureError; }
184
188
  });
185
189
  Object.defineProperty(exports, "UnsupportedChainError", {
186
190
  enumerable: true,
187
- get: function () { return chunk56UI7LUR_cjs.UnsupportedChainError; }
191
+ get: function () { return chunk67OV5CX2_cjs.UnsupportedChainError; }
188
192
  });
189
193
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
190
194
  enumerable: true,
191
- get: function () { return chunk56UI7LUR_cjs.UserDecryptNotAllowedError; }
195
+ get: function () { return chunk67OV5CX2_cjs.UserDecryptNotAllowedError; }
192
196
  });
193
197
  Object.defineProperty(exports, "UserRejectedSignatureError", {
194
198
  enumerable: true,
195
- get: function () { return chunk56UI7LUR_cjs.UserRejectedSignatureError; }
199
+ get: function () { return chunk67OV5CX2_cjs.UserRejectedSignatureError; }
196
200
  });
197
201
  Object.defineProperty(exports, "WalletChainMismatchError", {
198
202
  enumerable: true,
199
- get: function () { return chunk56UI7LUR_cjs.WalletChainMismatchError; }
203
+ get: function () { return chunk67OV5CX2_cjs.WalletChainMismatchError; }
200
204
  });
201
205
  Object.defineProperty(exports, "WalletRejectedError", {
202
206
  enumerable: true,
203
- get: function () { return chunk56UI7LUR_cjs.WalletRejectedError; }
207
+ get: function () { return chunk67OV5CX2_cjs.WalletRejectedError; }
204
208
  });
205
209
  Object.defineProperty(exports, "isTokenOpsSdkError", {
206
210
  enumerable: true,
207
- get: function () { return chunk56UI7LUR_cjs.isTokenOpsSdkError; }
211
+ get: function () { return chunk67OV5CX2_cjs.isTokenOpsSdkError; }
208
212
  });
@@ -3,6 +3,6 @@ export { TESTNET_FAUCET_SUPPORTED_CHAIN_IDS, isTestnetFaucetChainId, assertTestn
3
3
  export type { FaucetMetadata, FaucetTokenMetadata, MintConfidentialArgs, MintConfidentialResult, MintUnderlyingArgs, MintUnderlyingResult, } from "./types.js";
4
4
  export { confidentialTokenopsTestTokenAbi, tokenopsTestTokenAbi } from "./abis/index.js";
5
5
  export { getConfidentialTestTokenAddress, requireConfidentialTestTokenAddress, getTestTokenAddress, requireTestTokenAddress, } from "../core/addresses.js";
6
- export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
6
+ export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
7
7
  export { type PreflightResult } from "../core/preflight.js";
8
8
  export { FaucetSupplyExhaustedError } from "./errors.js";
@@ -3,6 +3,6 @@ export { TESTNET_FAUCET_SUPPORTED_CHAIN_IDS, isTestnetFaucetChainId, assertTestn
3
3
  export type { FaucetMetadata, FaucetTokenMetadata, MintConfidentialArgs, MintConfidentialResult, MintUnderlyingArgs, MintUnderlyingResult, } from "./types.js";
4
4
  export { confidentialTokenopsTestTokenAbi, tokenopsTestTokenAbi } from "./abis/index.js";
5
5
  export { getConfidentialTestTokenAddress, requireConfidentialTestTokenAddress, getTestTokenAddress, requireTestTokenAddress, } from "../core/addresses.js";
6
- export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
6
+ export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
7
7
  export { type PreflightResult } from "../core/preflight.js";
8
8
  export { FaucetSupplyExhaustedError } from "./errors.js";
@@ -1,7 +1,7 @@
1
- export { FaucetSupplyExhaustedError, TESTNET_FAUCET_SUPPORTED_CHAIN_IDS, TestnetFaucetClient, assertTestnetFaucetChain, confidentialTokenopsTestTokenAbi, createTestnetFaucetClient, isTestnetFaucetChainId, tokenopsTestTokenAbi } from '../chunk-QE7ZONJ2.js';
2
- import '../chunk-JFLEEXKP.js';
3
- export { getConfidentialTestTokenAddress, getTestTokenAddress, requireConfidentialTestTokenAddress, requireTestTokenAddress } from '../chunk-M7V2EDPB.js';
4
- import '../chunk-BE2AIZ3K.js';
1
+ export { FaucetSupplyExhaustedError, TESTNET_FAUCET_SUPPORTED_CHAIN_IDS, TestnetFaucetClient, assertTestnetFaucetChain, confidentialTokenopsTestTokenAbi, createTestnetFaucetClient, isTestnetFaucetChainId, tokenopsTestTokenAbi } from '../chunk-IJFQ5L4I.js';
2
+ import '../chunk-SG65XWH7.js';
3
+ export { getConfidentialTestTokenAddress, getTestTokenAddress, requireConfidentialTestTokenAddress, requireTestTokenAddress } from '../chunk-XGGTQQFH.js';
4
+ import '../chunk-ZA673I3O.js';
5
5
  import '../chunk-Q2GP5UDC.js';
6
6
  import '../chunk-KWFFIJYX.js';
7
- export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsContractError, TokenOpsSdkError, TokenOpsValidationError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from '../chunk-IVE3QEGD.js';
7
+ export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, OperatorNotApprovedError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsContractError, TokenOpsSdkError, TokenOpsValidationError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from '../chunk-QBJ7O2B4.js';
@@ -1,23 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunk5KHIQG7Y_cjs = require('../../chunk-5KHIQG7Y.cjs');
4
- require('../../chunk-VDXVNZCO.cjs');
5
- var chunk3ZRHDTEX_cjs = require('../../chunk-3ZRHDTEX.cjs');
6
- require('../../chunk-CQIPRNS7.cjs');
3
+ var chunkZQUE2B3Q_cjs = require('../../chunk-ZQUE2B3Q.cjs');
4
+ var chunkWENHUPZC_cjs = require('../../chunk-WENHUPZC.cjs');
5
+ require('../../chunk-KLKI352M.cjs');
6
+ var chunkPUPKNW3R_cjs = require('../../chunk-PUPKNW3R.cjs');
7
+ require('../../chunk-JK4XMMKM.cjs');
7
8
  require('../../chunk-VJKZWYYJ.cjs');
8
9
  require('../../chunk-66IHPTOK.cjs');
9
- var chunk56UI7LUR_cjs = require('../../chunk-56UI7LUR.cjs');
10
+ var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
10
11
  var reactQuery = require('@tanstack/react-query');
11
- var wagmi = require('wagmi');
12
12
  var react = require('react');
13
+ var wagmi = require('wagmi');
13
14
 
14
15
  var TESTNET_FAUCET_KEY = "tokenops-sdk";
15
16
  var TESTNET_FAUCET_NAMESPACE = "testnet-faucet";
16
17
  function tryResolveSingletonAddress(override, chainId) {
17
- if (chainId !== void 0 && !chunk5KHIQG7Y_cjs.isTestnetFaucetChainId(chainId)) return void 0;
18
+ if (chainId !== void 0 && !chunkWENHUPZC_cjs.isTestnetFaucetChainId(chainId)) return void 0;
18
19
  if (override) return override;
19
20
  if (chainId === void 0) return void 0;
20
- return chunk3ZRHDTEX_cjs.getConfidentialTestTokenAddress(chainId);
21
+ return chunkPUPKNW3R_cjs.getConfidentialTestTokenAddress(chainId);
21
22
  }
22
23
  function useMemoFaucetClient(opts = {}) {
23
24
  const publicClient = wagmi.usePublicClient({ chainId: opts.chainId });
@@ -28,7 +29,7 @@ function useMemoFaucetClient(opts = {}) {
28
29
  const client = react.useMemo(() => {
29
30
  if (!publicClient) return void 0;
30
31
  if (!resolvedAddress) return void 0;
31
- return chunk5KHIQG7Y_cjs.createTestnetFaucetClient({
32
+ return chunkWENHUPZC_cjs.createTestnetFaucetClient({
32
33
  publicClient,
33
34
  ...walletClient ? { walletClient } : {},
34
35
  ...opts.address ? { address: resolvedAddress } : {},
@@ -45,21 +46,21 @@ function useMemoFaucetClient(opts = {}) {
45
46
  };
46
47
  }
47
48
  function computeSingletonResolutionError(override, chainId) {
48
- if (chainId !== void 0 && !chunk5KHIQG7Y_cjs.isTestnetFaucetChainId(chainId)) {
49
- return new chunk56UI7LUR_cjs.UnsupportedChainError(chainId);
49
+ if (chainId !== void 0 && !chunkWENHUPZC_cjs.isTestnetFaucetChainId(chainId)) {
50
+ return new chunk67OV5CX2_cjs.UnsupportedChainError(chainId);
50
51
  }
51
52
  if (override) return void 0;
52
53
  if (chainId === void 0) {
53
- return new chunk56UI7LUR_cjs.DeploymentAddressUnavailableError({
54
+ return new chunk67OV5CX2_cjs.DeploymentAddressUnavailableError({
54
55
  reason: "chain-id-missing",
55
56
  product: "testnetFaucet",
56
57
  contract: "confidentialTestToken",
57
58
  clientLabel: "TestnetFaucetClient"
58
59
  });
59
60
  }
60
- const resolved = chunk3ZRHDTEX_cjs.getConfidentialTestTokenAddress(chainId);
61
+ const resolved = chunkPUPKNW3R_cjs.getConfidentialTestTokenAddress(chainId);
61
62
  if (!resolved) {
62
- return new chunk56UI7LUR_cjs.DeploymentAddressUnavailableError({
63
+ return new chunk67OV5CX2_cjs.DeploymentAddressUnavailableError({
63
64
  reason: "registry-not-deployed",
64
65
  product: "testnetFaucet",
65
66
  contract: "confidentialTestToken",
@@ -95,7 +96,7 @@ function normalizeKeyArg(value) {
95
96
  function useConfidentialBalance(args = {}) {
96
97
  const { account, ...base } = args;
97
98
  const { client, chainId, resolvedAddress } = useMemoFaucetClient(base);
98
- const { address: connected } = wagmi.useAccount();
99
+ const { address: connected } = chunkZQUE2B3Q_cjs.useWagmiAccount();
99
100
  const resolvedAccount = account ?? connected;
100
101
  return reactQuery.useQuery({
101
102
  queryKey: buildQueryKey("confidentialBalanceOf", chainId, resolvedAddress, resolvedAccount),
@@ -107,7 +108,7 @@ function useConfidentialBalance(args = {}) {
107
108
  function useUnderlyingBalance(args = {}) {
108
109
  const { account, ...base } = args;
109
110
  const { client, chainId, resolvedAddress } = useMemoFaucetClient(base);
110
- const { address: connected } = wagmi.useAccount();
111
+ const { address: connected } = chunkZQUE2B3Q_cjs.useWagmiAccount();
111
112
  const resolvedAccount = account ?? connected;
112
113
  return reactQuery.useQuery({
113
114
  // The TTT is derived from the CTTT, which is already keyed via
@@ -198,7 +199,7 @@ function useMintConfidential(options = {}) {
198
199
  return reactQuery.useMutation({
199
200
  mutationFn: async (args) => {
200
201
  if (!client) {
201
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useMintConfidential", "testnet-faucet");
202
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useMintConfidential", "testnet-faucet");
202
203
  }
203
204
  return client.mintConfidential(args);
204
205
  }
@@ -209,7 +210,7 @@ function useMintUnderlying(options = {}) {
209
210
  return reactQuery.useMutation({
210
211
  mutationFn: async (args) => {
211
212
  if (!client) {
212
- throw resolutionError ?? new chunk56UI7LUR_cjs.MissingClientError("useMintUnderlying", "testnet-faucet");
213
+ throw resolutionError ?? new chunk67OV5CX2_cjs.MissingClientError("useMintUnderlying", "testnet-faucet");
213
214
  }
214
215
  return client.mintUnderlying(args);
215
216
  }
@@ -218,151 +219,155 @@ function useMintUnderlying(options = {}) {
218
219
 
219
220
  Object.defineProperty(exports, "FaucetSupplyExhaustedError", {
220
221
  enumerable: true,
221
- get: function () { return chunk5KHIQG7Y_cjs.FaucetSupplyExhaustedError; }
222
+ get: function () { return chunkWENHUPZC_cjs.FaucetSupplyExhaustedError; }
222
223
  });
223
224
  Object.defineProperty(exports, "AccessDeniedError", {
224
225
  enumerable: true,
225
- get: function () { return chunk56UI7LUR_cjs.AccessDeniedError; }
226
+ get: function () { return chunk67OV5CX2_cjs.AccessDeniedError; }
226
227
  });
227
228
  Object.defineProperty(exports, "AlreadyInitializedError", {
228
229
  enumerable: true,
229
- get: function () { return chunk56UI7LUR_cjs.AlreadyInitializedError; }
230
+ get: function () { return chunk67OV5CX2_cjs.AlreadyInitializedError; }
230
231
  });
231
232
  Object.defineProperty(exports, "BatchTooLargeError", {
232
233
  enumerable: true,
233
- get: function () { return chunk56UI7LUR_cjs.BatchTooLargeError; }
234
+ get: function () { return chunk67OV5CX2_cjs.BatchTooLargeError; }
234
235
  });
235
236
  Object.defineProperty(exports, "ContractRevertError", {
236
237
  enumerable: true,
237
- get: function () { return chunk56UI7LUR_cjs.ContractRevertError; }
238
+ get: function () { return chunk67OV5CX2_cjs.ContractRevertError; }
238
239
  });
239
240
  Object.defineProperty(exports, "DecryptionFailedError", {
240
241
  enumerable: true,
241
- get: function () { return chunk56UI7LUR_cjs.DecryptionFailedError; }
242
+ get: function () { return chunk67OV5CX2_cjs.DecryptionFailedError; }
242
243
  });
243
244
  Object.defineProperty(exports, "DeploymentAddressUnavailableError", {
244
245
  enumerable: true,
245
- get: function () { return chunk56UI7LUR_cjs.DeploymentAddressUnavailableError; }
246
+ get: function () { return chunk67OV5CX2_cjs.DeploymentAddressUnavailableError; }
246
247
  });
247
248
  Object.defineProperty(exports, "EncryptionFailedError", {
248
249
  enumerable: true,
249
- get: function () { return chunk56UI7LUR_cjs.EncryptionFailedError; }
250
+ get: function () { return chunk67OV5CX2_cjs.EncryptionFailedError; }
250
251
  });
251
252
  Object.defineProperty(exports, "FeatureDisabledError", {
252
253
  enumerable: true,
253
- get: function () { return chunk56UI7LUR_cjs.FeatureDisabledError; }
254
+ get: function () { return chunk67OV5CX2_cjs.FeatureDisabledError; }
254
255
  });
255
256
  Object.defineProperty(exports, "FheHandleNotAllowedError", {
256
257
  enumerable: true,
257
- get: function () { return chunk56UI7LUR_cjs.FheHandleNotAllowedError; }
258
+ get: function () { return chunk67OV5CX2_cjs.FheHandleNotAllowedError; }
258
259
  });
259
260
  Object.defineProperty(exports, "InsufficientBalanceError", {
260
261
  enumerable: true,
261
- get: function () { return chunk56UI7LUR_cjs.InsufficientBalanceError; }
262
+ get: function () { return chunk67OV5CX2_cjs.InsufficientBalanceError; }
262
263
  });
263
264
  Object.defineProperty(exports, "InsufficientFeeError", {
264
265
  enumerable: true,
265
- get: function () { return chunk56UI7LUR_cjs.InsufficientFeeError; }
266
+ get: function () { return chunk67OV5CX2_cjs.InsufficientFeeError; }
266
267
  });
267
268
  Object.defineProperty(exports, "InsufficientGasFundsError", {
268
269
  enumerable: true,
269
- get: function () { return chunk56UI7LUR_cjs.InsufficientGasFundsError; }
270
+ get: function () { return chunk67OV5CX2_cjs.InsufficientGasFundsError; }
270
271
  });
271
272
  Object.defineProperty(exports, "InvalidArgumentError", {
272
273
  enumerable: true,
273
- get: function () { return chunk56UI7LUR_cjs.InvalidArgumentError; }
274
+ get: function () { return chunk67OV5CX2_cjs.InvalidArgumentError; }
274
275
  });
275
276
  Object.defineProperty(exports, "InvalidSignatureError", {
276
277
  enumerable: true,
277
- get: function () { return chunk56UI7LUR_cjs.InvalidSignatureError; }
278
+ get: function () { return chunk67OV5CX2_cjs.InvalidSignatureError; }
278
279
  });
279
280
  Object.defineProperty(exports, "MissingAccountError", {
280
281
  enumerable: true,
281
- get: function () { return chunk56UI7LUR_cjs.MissingAccountError; }
282
+ get: function () { return chunk67OV5CX2_cjs.MissingAccountError; }
282
283
  });
283
284
  Object.defineProperty(exports, "MissingClientError", {
284
285
  enumerable: true,
285
- get: function () { return chunk56UI7LUR_cjs.MissingClientError; }
286
+ get: function () { return chunk67OV5CX2_cjs.MissingClientError; }
286
287
  });
287
288
  Object.defineProperty(exports, "MissingEncryptorError", {
288
289
  enumerable: true,
289
- get: function () { return chunk56UI7LUR_cjs.MissingEncryptorError; }
290
+ get: function () { return chunk67OV5CX2_cjs.MissingEncryptorError; }
290
291
  });
291
292
  Object.defineProperty(exports, "MissingPublicClientError", {
292
293
  enumerable: true,
293
- get: function () { return chunk56UI7LUR_cjs.MissingPublicClientError; }
294
+ get: function () { return chunk67OV5CX2_cjs.MissingPublicClientError; }
294
295
  });
295
296
  Object.defineProperty(exports, "MissingWalletClientError", {
296
297
  enumerable: true,
297
- get: function () { return chunk56UI7LUR_cjs.MissingWalletClientError; }
298
+ get: function () { return chunk67OV5CX2_cjs.MissingWalletClientError; }
298
299
  });
299
300
  Object.defineProperty(exports, "NetworkError", {
300
301
  enumerable: true,
301
- get: function () { return chunk56UI7LUR_cjs.NetworkError; }
302
+ get: function () { return chunk67OV5CX2_cjs.NetworkError; }
303
+ });
304
+ Object.defineProperty(exports, "OperatorNotApprovedError", {
305
+ enumerable: true,
306
+ get: function () { return chunk67OV5CX2_cjs.OperatorNotApprovedError; }
302
307
  });
303
308
  Object.defineProperty(exports, "PausedError", {
304
309
  enumerable: true,
305
- get: function () { return chunk56UI7LUR_cjs.PausedError; }
310
+ get: function () { return chunk67OV5CX2_cjs.PausedError; }
306
311
  });
307
312
  Object.defineProperty(exports, "ReceiptEventAmbiguousError", {
308
313
  enumerable: true,
309
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventAmbiguousError; }
314
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventAmbiguousError; }
310
315
  });
311
316
  Object.defineProperty(exports, "ReceiptEventNotFoundError", {
312
317
  enumerable: true,
313
- get: function () { return chunk56UI7LUR_cjs.ReceiptEventNotFoundError; }
318
+ get: function () { return chunk67OV5CX2_cjs.ReceiptEventNotFoundError; }
314
319
  });
315
320
  Object.defineProperty(exports, "ReentrancyError", {
316
321
  enumerable: true,
317
- get: function () { return chunk56UI7LUR_cjs.ReentrancyError; }
322
+ get: function () { return chunk67OV5CX2_cjs.ReentrancyError; }
318
323
  });
319
324
  Object.defineProperty(exports, "RelayerUnreachableError", {
320
325
  enumerable: true,
321
- get: function () { return chunk56UI7LUR_cjs.RelayerUnreachableError; }
326
+ get: function () { return chunk67OV5CX2_cjs.RelayerUnreachableError; }
322
327
  });
323
328
  Object.defineProperty(exports, "SigningFailedError", {
324
329
  enumerable: true,
325
- get: function () { return chunk56UI7LUR_cjs.SigningFailedError; }
330
+ get: function () { return chunk67OV5CX2_cjs.SigningFailedError; }
326
331
  });
327
332
  Object.defineProperty(exports, "TokenOpsContractError", {
328
333
  enumerable: true,
329
- get: function () { return chunk56UI7LUR_cjs.TokenOpsContractError; }
334
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsContractError; }
330
335
  });
331
336
  Object.defineProperty(exports, "TokenOpsSdkError", {
332
337
  enumerable: true,
333
- get: function () { return chunk56UI7LUR_cjs.TokenOpsSdkError; }
338
+ get: function () { return chunk67OV5CX2_cjs.TokenOpsSdkError; }
334
339
  });
335
340
  Object.defineProperty(exports, "TransferFailedError", {
336
341
  enumerable: true,
337
- get: function () { return chunk56UI7LUR_cjs.TransferFailedError; }
342
+ get: function () { return chunk67OV5CX2_cjs.TransferFailedError; }
338
343
  });
339
344
  Object.defineProperty(exports, "UnknownWriteFailureError", {
340
345
  enumerable: true,
341
- get: function () { return chunk56UI7LUR_cjs.UnknownWriteFailureError; }
346
+ get: function () { return chunk67OV5CX2_cjs.UnknownWriteFailureError; }
342
347
  });
343
348
  Object.defineProperty(exports, "UnsupportedChainError", {
344
349
  enumerable: true,
345
- get: function () { return chunk56UI7LUR_cjs.UnsupportedChainError; }
350
+ get: function () { return chunk67OV5CX2_cjs.UnsupportedChainError; }
346
351
  });
347
352
  Object.defineProperty(exports, "UserDecryptNotAllowedError", {
348
353
  enumerable: true,
349
- get: function () { return chunk56UI7LUR_cjs.UserDecryptNotAllowedError; }
354
+ get: function () { return chunk67OV5CX2_cjs.UserDecryptNotAllowedError; }
350
355
  });
351
356
  Object.defineProperty(exports, "UserRejectedSignatureError", {
352
357
  enumerable: true,
353
- get: function () { return chunk56UI7LUR_cjs.UserRejectedSignatureError; }
358
+ get: function () { return chunk67OV5CX2_cjs.UserRejectedSignatureError; }
354
359
  });
355
360
  Object.defineProperty(exports, "WalletChainMismatchError", {
356
361
  enumerable: true,
357
- get: function () { return chunk56UI7LUR_cjs.WalletChainMismatchError; }
362
+ get: function () { return chunk67OV5CX2_cjs.WalletChainMismatchError; }
358
363
  });
359
364
  Object.defineProperty(exports, "WalletRejectedError", {
360
365
  enumerable: true,
361
- get: function () { return chunk56UI7LUR_cjs.WalletRejectedError; }
366
+ get: function () { return chunk67OV5CX2_cjs.WalletRejectedError; }
362
367
  });
363
368
  Object.defineProperty(exports, "isTokenOpsSdkError", {
364
369
  enumerable: true,
365
- get: function () { return chunk56UI7LUR_cjs.isTokenOpsSdkError; }
370
+ get: function () { return chunk67OV5CX2_cjs.isTokenOpsSdkError; }
366
371
  });
367
372
  exports.TESTNET_FAUCET_KEY = TESTNET_FAUCET_KEY;
368
373
  exports.TESTNET_FAUCET_NAMESPACE = TESTNET_FAUCET_NAMESPACE;