@umbra-privacy/sdk 2.0.3 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { RescueCommitmentGeneratorFunction } from './crypto/index.cjs';
2
2
  export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, AesCiphertextWithMetadata, AesKey, AesPlaintext, BLOCK_SIZE, CIPHER_ROUND_COUNT, ConvertU256ToBase85LimbsFunction, EphemeralMasterSeedDeriverArgs, EphemeralMasterSeedDeriverDeps, EphemeralRescueCommitmentBlindingFactorDeriverArgs, EphemeralRescueCommitmentBlindingFactorDeriverDeps, EphemeralUtxoH2RandomSecretDeriverArgs, EphemeralUtxoH2RandomSecretDeriverDeps, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverArgs, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverDeps, EphemeralUtxoMasterViewingKeyDeriverArgs, EphemeralUtxoMasterViewingKeyDeriverDeps, EphemeralUtxoNullifierDeriverArgs, EphemeralUtxoNullifierDeriverDeps, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverArgs, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverDeps, EphemeralUtxoPoseidonPrivateKeyDeriverArgs, EphemeralUtxoPoseidonPrivateKeyDeriverDeps, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, GetPersonalizationStringBuilderArgs, GetRescueCipherFromKeyPairFunction, GetRescueCipherFunction, Groth16Proof, Groth16ProofA, Groth16ProofB, Groth16ProofC, H2GeneratorDeps, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, Keccak512BasedBn254FieldElementDeriverDeps, Keccak512BasedBn254FieldElementDeriverFunction, KeystreamCommitmentDeps, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, MasterSeedBasedFieldElementDeriverArgs, MasterSeedBasedFieldElementDeriverDeps, MasterViewingKeyBlindingFactorDeriverArgs, MasterViewingKeyBlindingFactorDeriverDeps, MasterViewingKeyDeriverArgs, MasterViewingKeyDeriverDeps, MintViewingKeyDeriverArgs, MintViewingKeyDeriverDeps, ModifiedGenerationIndexDeriverFunction, NONCE_BYTES, Nonce, OPTIONAL_DATA_BYTE_LENGTH, OptionalData32, PRECOMPUTED_FIELD_INVERSES, PersonalizationStringBuilderFunction, PolynomialCommitmentFactorDeriverArgs, PolynomialCommitmentFactorDeriverDeps, PoseidonAggregatorDeps, PoseidonAggregatorFunction, PoseidonBlindingFactorDeriverArgs, PoseidonBlindingFactorDeriverDeps, PoseidonDecryptorDeps, PoseidonEncryptorDeps, PoseidonKeystreamBlindingFactorDeriverArgs, PoseidonKeystreamBlindingFactorDeriverDeps, PoseidonKeystreamGeneratorDeps, PoseidonPrfDeps, PoseidonPrivateKeyDeriverArgs, PoseidonPrivateKeyDeriverDeps, PseudorandomU512DeriverArgs, PseudorandomU512DeriverDeps, REDUCTION_CONST, RcCiphertext, RcCounter, RcDecryptorDeps, RcEncryptionNonce, RcEncryptorDeps, RcEncryptorWithNonceDeps, RcKey, RcKeyGeneratorDeps, RcPlaintext, RescueCipherFromKeyPairDeps, RescueCommitmentBlindingFactorDeriverArgs, RescueCommitmentBlindingFactorDeriverDeps, RescueCommitmentGeneratorDeps, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, SplitAddressFunction, TimeViewingKeyDeriverArgs, TimeViewingKeyDeriverDeps, X25519KeypairDeriverArgs, X25519KeypairDeriverDeps, ZK_PROOF_BYTE_LENGTH, ZkProofBytes, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertOptionalData32, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './crypto/index.cjs';
3
- import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-DkVBHMWb.cjs';
4
- export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-DkVBHMWb.cjs';
3
+ import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-Cb53GYes.cjs';
4
+ export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-Cb53GYes.cjs';
5
5
  export { bn254Add, bn254FieldElementSampler, bn254ModuloPow, bn254Mul, bn254Sub, computeBn254LimbwiseSumInverse, computeBn254ModularInverse, curve25519FieldElementSampler, curve25519ModuloAdd, curve25519ModuloInv, curve25519ModuloMul, curve25519ModuloPow, curve25519ModuloSub, getBn254FieldElementSampler, getBn254ModularAdder, getBn254ModularInverter, getBn254ModularMultiplier, getBn254ModularNegator, getBn254ModularSubtractor, getCurve25519FieldElementSampler, getCurve25519ModularAddFunction, getCurve25519ModularInvFunction, getCurve25519ModularMulFunction, getCurve25519ModularPowFunction, getCurve25519ModularSubFunction } from './math/index.cjs';
6
6
  import { C as Curve25519KeypairGeneratorFunction, M as MintX25519KeypairDeriverFunction, a as MasterViewingKeyDeriverFunction, b as MasterViewingKeyBlindingFactorDeriverFunction, P as PoseidonPrivateKeyDeriverFunction, c as PoseidonBlindingFactorDeriverFunction, R as RescueCommitmentBlindingFactorDeriverFunction, d as PolynomialCommitmentFactorDeriverFunction, e as RcKeyGeneratorFunction, f as RcEncryptorWithNonceFunction, U as UserCommitmentGeneratorFunction, F as FiatShamirChallengeGeneratorFunction, g as ChallengePowersFunction, h as PolynomialEvaluatorFunction, i as PoseidonAggregatorHashFunction } from './interfaces-43cReBcS.cjs';
7
7
  export { j as ChallengePowersDeps, D as DailyViewingKeyGeneratorFunction, E as EphemeralMasterSeedDeriverFunction, k as EphemeralRescueCommitmentBlindingFactorDeriverFunction, l as EphemeralUtxoH2RandomSecretDeriverFunction, m as EphemeralUtxoMasterViewingKeyBlindingFactorDeriverFunction, n as EphemeralUtxoMasterViewingKeyDeriverFunction, o as EphemeralUtxoNullifierDeriverFunction, p as EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverFunction, q as EphemeralUtxoPoseidonPrivateKeyDeriverFunction, r as FieldArithmetic, H as H2CircuitProvableHashFunction, s as H2CircuitProvableParams, t as H2FullParams, u as H2GeneratorFns, v as H2HashFunction, w as HourlyViewingKeyGeneratorFunction, K as KeystreamCommitmentFunction, x as MasterSeedBasedFieldElementDeriverFunction, y as MasterSeedGeneratorFunction, z as MintViewingKeyDeriverFunction, A as MinuteViewingKeyGeneratorFunction, B as ModuloPowCurve25519Function, G as MonthlyViewingKeyGeneratorFunction, I as PolynomialEvaluatorDeps, J as PoseidonDecryptorFunction, L as PoseidonEncryptorFunction, N as PoseidonHashFunction, O as PoseidonKeystreamBlindingFactorDeriverFunction, Q as PoseidonKeystreamGeneratorFunction, S as PoseidonPrfFunction, T as PseudorandomU512DeriverFunction, V as RcDecryptorFunction, W as RcEncryptorFunction, X as RescueCipherDeps, Y as RescueCipherInstance, Z as RescueKeyDerivationFunction, _ as RescuePermuteFunction, $ as RescuePrimeHashDeps, a0 as RescuePrimeHashFunction, a1 as SecondViewingKeyGeneratorFunction, a2 as UserCommitmentGeneratorDeps, a3 as ViewingKeyGeneratorOptions, a4 as YearlyViewingKeyGeneratorFunction } from './interfaces-43cReBcS.cjs';
8
8
  export { C as Curve25519KeypairResult, D as DailyViewingKey, E as Ed25519Keypair, G as GenerationSeed, H as HourlyViewingKey, K as Keccak256Hash, a as Keccak512Hash, M as MASTER_VIEWING_KEY_MAX, b as MasterSeed, c as MasterViewingKey, d as MintViewingKey, e as MinuteViewingKey, f as MonthlyViewingKey, S as SecondViewingKey, g as SharedSecret, X as X25519Bytes, h as X25519Keypair, i as X25519PrivateKey, j as X25519PublicKey, k as X25519_BYTE_LENGTH, Y as YearlyViewingKey, l as assertCurve25519KeypairResult, m as assertDailyViewingKey, n as assertEd25519Keypair, o as assertGenerationSeed, p as assertHourlyViewingKey, q as assertKeccak256Hash, r as assertKeccak512Hash, s as assertMasterSeed, t as assertMasterViewingKey, u as assertMintViewingKey, v as assertMinuteViewingKey, w as assertMonthlyViewingKey, x as assertSecondViewingKey, y as assertSharedSecret, z as assertX25519Bytes, A as assertX25519Keypair, B as assertX25519PrivateKey, F as assertX25519PublicKey, I as assertYearlyViewingKey } from './types-CuKeoI19.cjs';
9
9
  export { B as BASE85_LIMB_MAX, a as Base85Limb, b as Base85LimbTuple, P as PoseidonCiphertext, c as PoseidonCounter, d as PoseidonHash, e as PoseidonKey, f as PoseidonKeystream, g as PoseidonPlaintext, h as assertBase85Limb, i as assertPoseidonCiphertext, j as assertPoseidonCounter, k as assertPoseidonHash, l as assertPoseidonKey, m as assertPoseidonKeystream, n as assertPoseidonPlaintext } from './types-PwNLi_2k.cjs';
10
- export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-C6gMUG7a.cjs';
10
+ export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-0GZRKXIr.cjs';
11
11
  import { f as LoadResult, g as StoreResult, b as MasterSeedGeneratorFunction, M as MasterSeedLoaderFunction, a as MasterSeedStorerFunction, T as TransactionSignature } from './types-EKuIfxTz.cjs';
12
12
  export { C as ClaimUtxoError, a as ClaimUtxoStage, b as ComputationMonitorError, c as ComputationMonitorStage, d as ConversionError, e as ConversionStage, f as CreateUtxoError, g as CreateUtxoStage, E as EncryptedDepositError, h as EncryptedDepositStage, i as EncryptedWithdrawalError, j as EncryptedWithdrawalStage, F as FetchUtxosError, k as FetchUtxosStage, Q as QueryError, l as QueryStage, R as RegistrationError, m as RegistrationStage, n as isClaimUtxoError, o as isComputationMonitorError, p as isConversionError, q as isCreateUtxoError, r as isEncryptedDepositError, s as isEncryptedWithdrawalError, t as isFetchUtxosError, u as isQueryError, v as isRegistrationError } from './errors-DAIrstEL.cjs';
13
- import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-BG0yjL7C.cjs';
14
- export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-BG0yjL7C.cjs';
13
+ import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-B5wNTNZr.cjs';
14
+ export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-B5wNTNZr.cjs';
15
15
  export { EncryptedUserAccount, QueryComplianceGrantResult, QueryUserAccountResult } from './types/index.cjs';
16
16
  import { h as U512 } from './types-C_V_CaKK.cjs';
17
17
  import { N as Network, f as ProtocolVersionSpecifierFunction, a as AlgorithmVersionSpecifierFunction, g as SchemeVersionSpecifierFunction } from './versions-BRlR36EA.cjs';
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
1
  import { RescueCommitmentGeneratorFunction } from './crypto/index.js';
2
2
  export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, AesCiphertextWithMetadata, AesKey, AesPlaintext, BLOCK_SIZE, CIPHER_ROUND_COUNT, ConvertU256ToBase85LimbsFunction, EphemeralMasterSeedDeriverArgs, EphemeralMasterSeedDeriverDeps, EphemeralRescueCommitmentBlindingFactorDeriverArgs, EphemeralRescueCommitmentBlindingFactorDeriverDeps, EphemeralUtxoH2RandomSecretDeriverArgs, EphemeralUtxoH2RandomSecretDeriverDeps, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverArgs, EphemeralUtxoMasterViewingKeyBlindingFactorDeriverDeps, EphemeralUtxoMasterViewingKeyDeriverArgs, EphemeralUtxoMasterViewingKeyDeriverDeps, EphemeralUtxoNullifierDeriverArgs, EphemeralUtxoNullifierDeriverDeps, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverArgs, EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverDeps, EphemeralUtxoPoseidonPrivateKeyDeriverArgs, EphemeralUtxoPoseidonPrivateKeyDeriverDeps, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, GetPersonalizationStringBuilderArgs, GetRescueCipherFromKeyPairFunction, GetRescueCipherFunction, Groth16Proof, Groth16ProofA, Groth16ProofB, Groth16ProofC, H2GeneratorDeps, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, Keccak512BasedBn254FieldElementDeriverDeps, Keccak512BasedBn254FieldElementDeriverFunction, KeystreamCommitmentDeps, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, MasterSeedBasedFieldElementDeriverArgs, MasterSeedBasedFieldElementDeriverDeps, MasterViewingKeyBlindingFactorDeriverArgs, MasterViewingKeyBlindingFactorDeriverDeps, MasterViewingKeyDeriverArgs, MasterViewingKeyDeriverDeps, MintViewingKeyDeriverArgs, MintViewingKeyDeriverDeps, ModifiedGenerationIndexDeriverFunction, NONCE_BYTES, Nonce, OPTIONAL_DATA_BYTE_LENGTH, OptionalData32, PRECOMPUTED_FIELD_INVERSES, PersonalizationStringBuilderFunction, PolynomialCommitmentFactorDeriverArgs, PolynomialCommitmentFactorDeriverDeps, PoseidonAggregatorDeps, PoseidonAggregatorFunction, PoseidonBlindingFactorDeriverArgs, PoseidonBlindingFactorDeriverDeps, PoseidonDecryptorDeps, PoseidonEncryptorDeps, PoseidonKeystreamBlindingFactorDeriverArgs, PoseidonKeystreamBlindingFactorDeriverDeps, PoseidonKeystreamGeneratorDeps, PoseidonPrfDeps, PoseidonPrivateKeyDeriverArgs, PoseidonPrivateKeyDeriverDeps, PseudorandomU512DeriverArgs, PseudorandomU512DeriverDeps, REDUCTION_CONST, RcCiphertext, RcCounter, RcDecryptorDeps, RcEncryptionNonce, RcEncryptorDeps, RcEncryptorWithNonceDeps, RcKey, RcKeyGeneratorDeps, RcPlaintext, RescueCipherFromKeyPairDeps, RescueCommitmentBlindingFactorDeriverArgs, RescueCommitmentBlindingFactorDeriverDeps, RescueCommitmentGeneratorDeps, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, SplitAddressFunction, TimeViewingKeyDeriverArgs, TimeViewingKeyDeriverDeps, X25519KeypairDeriverArgs, X25519KeypairDeriverDeps, ZK_PROOF_BYTE_LENGTH, ZkProofBytes, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertOptionalData32, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './crypto/index.js';
3
- import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-V4AF6Bz9.js';
4
- export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-V4AF6Bz9.js';
3
+ import { I as IUmbraSigner, A as AccountInfoProviderFunction, G as GetLatestBlockhash, T as TransactionForwarder, a as GetEpochInfo, c as ComputationMonitor, d as IUmbraClient, e as GetMerkleProofFetcherArgs, f as GetMerkleProofFetcherDeps, B as BatchMerkleProofFetcherFunction, M as MerkleProofFetcherFunction, g as GetUtxoDataFetcherArgs, h as GetUtxoDataFetcherDeps, U as UtxoDataFetcherFunction, i as ScannedUtxoData, j as BatchMerkleProofResult, k as ClaimableUtxoData, l as GetClaimableUtxoScannerFunctionArgs, m as GetClaimableUtxoScannerFunctionDeps, n as ClaimableUtxoScannerFunction } from './client-CJ5S6Qln.js';
4
+ export { o as AesDecryptorFunction, p as AesEncryptorFunction, q as ComputationFinalizedResult, r as ComputationFinalizedResultWithSignature, s as ComputationMonitorOptions, t as ComputationMonitorProgressEvent, u as ComputationMonitorResult, v as ComputationMonitorResultWithSignature, w as ComputationPrunedResult, D as DEFAULT_MAX_SLOT_WINDOW, x as DEFAULT_POLLING_INTERVAL_MS, y as DEFAULT_SAFETY_TIMEOUT_MS, z as DEFAULT_SIGNATURE_RETRIEVAL_LIMIT, P as PollingBasedComputationMonitorConfig, E as PollingBasedComputationMonitorDeps, F as PollingComputationMonitorOptions, W as WebsocketBasedComputationMonitorConfig, H as WebsocketBasedComputationMonitorDeps, J as getPollingComputationMonitor, K as getWebsocketComputationMonitor } from './client-CJ5S6Qln.js';
5
5
  export { bn254Add, bn254FieldElementSampler, bn254ModuloPow, bn254Mul, bn254Sub, computeBn254LimbwiseSumInverse, computeBn254ModularInverse, curve25519FieldElementSampler, curve25519ModuloAdd, curve25519ModuloInv, curve25519ModuloMul, curve25519ModuloPow, curve25519ModuloSub, getBn254FieldElementSampler, getBn254ModularAdder, getBn254ModularInverter, getBn254ModularMultiplier, getBn254ModularNegator, getBn254ModularSubtractor, getCurve25519FieldElementSampler, getCurve25519ModularAddFunction, getCurve25519ModularInvFunction, getCurve25519ModularMulFunction, getCurve25519ModularPowFunction, getCurve25519ModularSubFunction } from './math/index.js';
6
6
  import { C as Curve25519KeypairGeneratorFunction, M as MintX25519KeypairDeriverFunction, a as MasterViewingKeyDeriverFunction, b as MasterViewingKeyBlindingFactorDeriverFunction, P as PoseidonPrivateKeyDeriverFunction, c as PoseidonBlindingFactorDeriverFunction, R as RescueCommitmentBlindingFactorDeriverFunction, d as PolynomialCommitmentFactorDeriverFunction, e as RcKeyGeneratorFunction, f as RcEncryptorWithNonceFunction, U as UserCommitmentGeneratorFunction, F as FiatShamirChallengeGeneratorFunction, g as ChallengePowersFunction, h as PolynomialEvaluatorFunction, i as PoseidonAggregatorHashFunction } from './interfaces-z_xYJlgV.js';
7
7
  export { j as ChallengePowersDeps, D as DailyViewingKeyGeneratorFunction, E as EphemeralMasterSeedDeriverFunction, k as EphemeralRescueCommitmentBlindingFactorDeriverFunction, l as EphemeralUtxoH2RandomSecretDeriverFunction, m as EphemeralUtxoMasterViewingKeyBlindingFactorDeriverFunction, n as EphemeralUtxoMasterViewingKeyDeriverFunction, o as EphemeralUtxoNullifierDeriverFunction, p as EphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriverFunction, q as EphemeralUtxoPoseidonPrivateKeyDeriverFunction, r as FieldArithmetic, H as H2CircuitProvableHashFunction, s as H2CircuitProvableParams, t as H2FullParams, u as H2GeneratorFns, v as H2HashFunction, w as HourlyViewingKeyGeneratorFunction, K as KeystreamCommitmentFunction, x as MasterSeedBasedFieldElementDeriverFunction, y as MasterSeedGeneratorFunction, z as MintViewingKeyDeriverFunction, A as MinuteViewingKeyGeneratorFunction, B as ModuloPowCurve25519Function, G as MonthlyViewingKeyGeneratorFunction, I as PolynomialEvaluatorDeps, J as PoseidonDecryptorFunction, L as PoseidonEncryptorFunction, N as PoseidonHashFunction, O as PoseidonKeystreamBlindingFactorDeriverFunction, Q as PoseidonKeystreamGeneratorFunction, S as PoseidonPrfFunction, T as PseudorandomU512DeriverFunction, V as RcDecryptorFunction, W as RcEncryptorFunction, X as RescueCipherDeps, Y as RescueCipherInstance, Z as RescueKeyDerivationFunction, _ as RescuePermuteFunction, $ as RescuePrimeHashDeps, a0 as RescuePrimeHashFunction, a1 as SecondViewingKeyGeneratorFunction, a2 as UserCommitmentGeneratorDeps, a3 as ViewingKeyGeneratorOptions, a4 as YearlyViewingKeyGeneratorFunction } from './interfaces-z_xYJlgV.js';
8
8
  export { C as Curve25519KeypairResult, D as DailyViewingKey, E as Ed25519Keypair, G as GenerationSeed, H as HourlyViewingKey, K as Keccak256Hash, a as Keccak512Hash, M as MASTER_VIEWING_KEY_MAX, b as MasterSeed, c as MasterViewingKey, d as MintViewingKey, e as MinuteViewingKey, f as MonthlyViewingKey, S as SecondViewingKey, g as SharedSecret, X as X25519Bytes, h as X25519Keypair, i as X25519PrivateKey, j as X25519PublicKey, k as X25519_BYTE_LENGTH, Y as YearlyViewingKey, l as assertCurve25519KeypairResult, m as assertDailyViewingKey, n as assertEd25519Keypair, o as assertGenerationSeed, p as assertHourlyViewingKey, q as assertKeccak256Hash, r as assertKeccak512Hash, s as assertMasterSeed, t as assertMasterViewingKey, u as assertMintViewingKey, v as assertMinuteViewingKey, w as assertMonthlyViewingKey, x as assertSecondViewingKey, y as assertSharedSecret, z as assertX25519Bytes, A as assertX25519Keypair, B as assertX25519PrivateKey, F as assertX25519PublicKey, I as assertYearlyViewingKey } from './types-DKEDUlH9.js';
9
9
  export { B as BASE85_LIMB_MAX, a as Base85Limb, b as Base85LimbTuple, P as PoseidonCiphertext, c as PoseidonCounter, d as PoseidonHash, e as PoseidonKey, f as PoseidonKeystream, g as PoseidonPlaintext, h as assertBase85Limb, i as assertPoseidonCiphertext, j as assertPoseidonCounter, k as assertPoseidonHash, l as assertPoseidonKey, m as assertPoseidonKeystream, n as assertPoseidonPlaintext } from './types-Ca7frykr.js';
10
- export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-5mAMTjw6.js';
10
+ export { O as OnTransactionConfirmed, P as PollingBasedTransactionForwarderConfig, a as PollingBasedTransactionForwarderDeps, b as PollingTransactionForwardOptions, R as RpcBasedAccountInfoProviderConfig, c as RpcBasedBlockhashProviderConfig, d as RpcBasedBlockhashProviderDeps, e as RpcBasedEpochInfoProviderConfig, f as RpcBasedEpochInfoProviderDeps, T as TransactionConfirmedInfo, g as TransactionForwardOptions, W as WebsocketBasedTransactionForwarderConfig, h as WebsocketBasedTransactionForwarderDeps, i as createInMemorySigner, j as createSignerFromKeyPair, k as createSignerFromPrivateKeyBytes, l as createSignerFromWalletAccount, m as getPollingTransactionForwarder, n as getRpcAccountInfoProvider, o as getRpcBlockhashProvider, p as getRpcEpochInfoProvider, q as getWebsocketTransactionForwarder } from './transaction-forwarder-Dme9whAc.js';
11
11
  import { f as LoadResult, g as StoreResult, b as MasterSeedGeneratorFunction, M as MasterSeedLoaderFunction, a as MasterSeedStorerFunction, T as TransactionSignature } from './types-CxfTIpN9.js';
12
12
  export { C as ClaimUtxoError, a as ClaimUtxoStage, b as ComputationMonitorError, c as ComputationMonitorStage, d as ConversionError, e as ConversionStage, f as CreateUtxoError, g as CreateUtxoStage, E as EncryptedDepositError, h as EncryptedDepositStage, i as EncryptedWithdrawalError, j as EncryptedWithdrawalStage, F as FetchUtxosError, k as FetchUtxosStage, Q as QueryError, l as QueryStage, R as RegistrationError, m as RegistrationStage, n as isClaimUtxoError, o as isComputationMonitorError, p as isConversionError, q as isCreateUtxoError, r as isEncryptedDepositError, s as isEncryptedWithdrawalError, t as isFetchUtxosError, u as isQueryError, v as isRegistrationError } from './errors-DPNMfyh0.js';
13
- import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-ByynoyBO.js';
14
- export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-ByynoyBO.js';
13
+ import { G as GetUmbraRelayerArgs, a as GetUmbraRelayerDeps, I as IUmbraRelayer, C as ClaimStatusResponse, b as ClaimStatus, c as ClaimBatchResult, d as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, e as GetReceiverClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, f as ClaimUtxoIntoEncryptedBalanceResult, g as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionArgs, h as GetSelfClaimableUtxoToEncryptedBalanceClaimerFunctionDeps, i as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionArgs, j as GetSelfClaimableUtxoToPublicBalanceClaimerFunctionDeps, k as ClaimUtxoIntoPublicBalanceResult, l as GetCreateUserGrantedComplianceGrantFunctionArgs, m as GetCreateUserGrantedComplianceGrantFunctionDeps, n as CreateUserGrantedComplianceGrantFunction, o as GetDeleteUserGrantedComplianceGrantFunctionArgs, p as GetDeleteUserGrantedComplianceGrantFunctionDeps, D as DeleteUserGrantedComplianceGrantFunction, q as GetReencryptSharedCiphertextsUserGrantV10FunctionArgs, r as GetReencryptSharedCiphertextsUserGrantV10FunctionDeps, R as ReencryptSharedCiphertextsUserGrantV10Function, s as GetReencryptMxeCiphertextsNetworkGrantV10FunctionArgs, t as GetReencryptMxeCiphertextsNetworkGrantV10FunctionDeps, u as ReencryptMxeCiphertextsNetworkGrantV10Function, v as GetReencryptSharedCiphertextsNetworkGrantV10FunctionArgs, w as GetReencryptSharedCiphertextsNetworkGrantV10FunctionDeps, x as ReencryptSharedCiphertextsNetworkGrantV10Function, y as GetQueryNetworkMxeComplianceGrantFunctionArgs, z as GetQueryNetworkMxeComplianceGrantFunctionDeps, Q as QueryNetworkMxeComplianceGrantFunction, A as GetQueryNetworkSharedComplianceGrantFunctionArgs, B as GetQueryNetworkSharedComplianceGrantFunctionDeps, E as QueryNetworkSharedComplianceGrantFunction, F as GetQueryUserComplianceGrantFunctionArgs, H as GetQueryUserComplianceGrantFunctionDeps, J as QueryUserComplianceGrantFunction, K as GetConvertToSharedEncryptionFunctionArgs, L as GetConvertToSharedEncryptionFunctionDeps, M as ConvertToSharedEncryptionFunction, N as GetRotateMintX25519EncryptionKeyFunctionArgs, O as GetRotateMintX25519EncryptionKeyFunctionDeps, P as RotateMintX25519EncryptionKeyFunction, S as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionArgs, T as GetPublicBalanceToEncryptedBalanceDirectDepositorFunctionDeps, U as PublicBalanceToEncryptedBalanceDirectDepositorFunction, V as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionArgs, W as GetEncryptedBalanceToSelfClaimableUtxoCreatorFunctionDeps, X as EncryptedBalanceToSelfClaimableUtxoCreatorFunction, Y as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionArgs, Z as GetEncryptedBalanceToReceiverClaimableUtxoCreatorFunctionDeps, _ as EncryptedBalanceToReceiverClaimableUtxoCreatorFunction, $ as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionArgs, a0 as GetPublicBalanceToSelfClaimableUtxoCreatorFunctionDeps, a1 as PublicBalanceToSelfClaimableUtxoCreatorFunction, a2 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionArgs, a3 as GetPublicBalanceToReceiverClaimableUtxoCreatorFunctionDeps, a4 as PublicBalanceToReceiverClaimableUtxoCreatorFunction, a5 as GetQueryEncryptedBalanceFunctionArgs, a6 as GetQueryEncryptedBalanceFunctionDeps, a7 as QueryEncryptedBalanceFunction, a8 as GetQueryUserAccountFunctionArgs, a9 as GetQueryUserAccountFunctionDeps, aa as QueryUserAccountFunction, ab as GetClaimStagedSolFromPoolFunctionArgs, ac as GetClaimStagedSolFromPoolFunctionDeps, ad as ClaimStagedSolFromPoolFunction, ae as GetClaimStagedSplFromPoolFunctionArgs, af as GetClaimStagedSplFromPoolFunctionDeps, ag as ClaimStagedSplFromPoolFunction, ah as IZkProverForUserRegistration, ai as UserRegistrationFunction, aj as GetUpdateRandomGenerationSeedFunctionArgs, ak as GetUpdateRandomGenerationSeedFunctionDeps, al as UpdateRandomGenerationSeedFunction, am as GetUpdateTokenAccountRandomGenerationSeedFunctionArgs, an as GetUpdateTokenAccountRandomGenerationSeedFunctionDeps, ao as UpdateTokenAccountRandomGenerationSeedFunction, ap as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionArgs, aq as GetEncryptedBalanceToPublicBalanceDirectWithdrawerFunctionDeps, ar as EncryptedBalanceToPublicBalanceDirectWithdrawerFunction } from './index-Cd76ZBHA.js';
14
+ export { as as AwaitCallbackOptions, at as AwaitComputationFinalizationConfig, au as CreateUtxoFromEncryptedBalanceResult, av as CreateUtxoFromPublicBalanceResult, aw as DepositResult, ax as ExecuteTransactionOptions, ay as TransactionExecutionResult, az as TransactionExecutionResultWithCallback, aA as TransactionExecutorConfig, aB as WithdrawResult, aC as buildTransactionMessage, aD as executeComputationTransaction, aE as extractSignatures, aF as forwardAndMonitor, aG as signTransactionMessage } from './index-Cd76ZBHA.js';
15
15
  export { EncryptedUserAccount, QueryComplianceGrantResult, QueryUserAccountResult } from './types/index.js';
16
16
  import { h as U512 } from './types-C_V_CaKK.js';
17
17
  import { N as Network, f as ProtocolVersionSpecifierFunction, a as AlgorithmVersionSpecifierFunction, g as SchemeVersionSpecifierFunction } from './versions-BRlR36EA.js';
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  export { RelayerError, getUmbraRelayer, pollClaimUntilTerminal } from './chunk-4RHXVBNI.js';
2
+ import { getNetworkConfig, getNetworkSpecifier, getDefaultSchemeVersion, getDefaultAlgorithmVersion, getDefaultProtocolVersion, createSetComputeUnitLimitInstruction, TOKEN_2022_PROGRAM_ID, SPL_TOKEN_PROGRAM_ID } from './chunk-FQDYYTPG.js';
2
3
  import { getPoseidonAggregator, getPoseidonHasher, getAesDecryptor, getUserAccountX25519KeypairDeriver, deriveNullifierFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveKeystreamBlindingFactor, getRescueEncryptorFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescueCommitmentGenerator, getModuloPowCurve25519Function, getPolynomialEvaluatorFunction, getMasterViewingKeyDeriver, getMasterViewingKeyBlindingFactorDeriver, getPoseidonPrivateKeyDeriver, getPoseidonBlindingFactorDeriver, getSecondViewingKeyDeriver, getPoseidonEncryptor, getPoseidonKeystreamGenerator, getUserCommitmentGeneratorFunction, getKeystreamCommitmentGenerator, getFiatShamirChallengeGeneratorFunction, expandModifiedGenerationIndex, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintX25519KeypairDeriver, getPoseidonKeystreamBlindingFactorDeriver, getUtxoCommitmentHashGenerator, getChallengePowersFunction, getAesEncryptor, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, getRescueCommitmentBlindingFactorDeriver, getPolynomialCommitmentFactorDeriver, getRescueEncryptorWithNonceFromPrivateKey, getRescueDecryptorFromPrivateKey } from './chunk-KMRROOME.js';
3
4
  export { AES_AUTH_TAG_LENGTH, AES_IV_LENGTH, AES_KEY_LENGTH, AES_METADATA_OVERHEAD, ALPHA, ALPHA_INVERSE, BASE85_LIMB_MAX, BLOCK_SIZE, CIPHER_ROUND_COUNT, FIELD_ELEMENT_BYTE_LENGTH, FIELD_PRIME, GROTH16_G1_BYTE_LENGTH, GROTH16_G2_BYTE_LENGTH, HASH_CAPACITY, HASH_DIGEST_LENGTH, HASH_RATE, HASH_ROUND_COUNT, HASH_STATE_SIZE, MASTER_VIEWING_KEY_MAX, MAX_AGGREGATOR_INPUTS, MAX_POSEIDON_INPUTS, MAX_PRF_SEEDS, NONCE_BYTES, OPTIONAL_DATA_BYTE_LENGTH, PRECOMPUTED_FIELD_INVERSES, REDUCTION_CONST, SAMPLE_BUFFER_BYTE_LENGTH, SECRET_BYTES, SHAKE256_CIPHER_SEED, X25519_BYTE_LENGTH, ZK_PROOF_BYTE_LENGTH, assertAesCiphertextWithMetadata, assertAesKey, assertAesPlaintext, assertBase85Limb, assertCurve25519KeypairResult, assertDailyViewingKey, assertEd25519Keypair, assertGenerationSeed, assertGroth16ProofA, assertGroth16ProofB, assertGroth16ProofC, assertHourlyViewingKey, assertKeccak256Hash, assertKeccak512Hash, assertMasterSeed, assertMasterViewingKey, assertMintViewingKey, assertMinuteViewingKey, assertMonthlyViewingKey, assertOptionalData32, assertPoseidonCiphertext, assertPoseidonCounter, assertPoseidonHash, assertPoseidonKey, assertPoseidonKeystream, assertPoseidonPlaintext, assertRcCiphertext, assertRcCounter, assertRcEncryptionNonce, assertRcKey, assertRcPlaintext, assertSecondViewingKey, assertSharedSecret, assertX25519Bytes, assertX25519Keypair, assertX25519PrivateKey, assertX25519PublicKey, assertYearlyViewingKey, assertZkProofBytes, buildPersonalizationString, defaultAesDecryptor, defaultAesEncryptor, deriveBn254FieldElementFromKeccak512, deriveEphemeralMasterViewingKey, deriveEphemeralMasterViewingKeyBlindingFactor, deriveEphemeralPoseidonPrivateKey, deriveEphemeralPoseidonPrivateKeyBlindingFactor, deriveKeystreamBlindingFactor, deriveModifiedGenerationIndexForReceiverClaim, deriveModifiedGenerationIndexForSenderClaim, deriveNullifierFromModifiedGenerationIndex, deriveProofAccountOffsetFromModifiedGenerationIndex, deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex, deriveRandomSecretFromModifiedGenerationIndex, deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex, expandModifiedGenerationIndex, getAesDecryptor, getAesEncryptor, getBn254FieldElementFromKeccak512Deriver, getChallengePowersFunction, getDailyViewingKeyDeriver, getEphemeralMasterSeedDeriver, getEphemeralRescueCommitmentBlindingFactorDeriver, getEphemeralUtxoH2RandomSecretDeriver, getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver, getEphemeralUtxoMasterViewingKeyDeriver, getEphemeralUtxoNullifierDeriver, getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver, getEphemeralUtxoPoseidonPrivateKeyDeriver, getFiatShamirChallengeGeneratorFunction, getFieldArithmetic, getHourlyViewingKeyDeriver, getKeystreamCommitmentGenerator, getMasterSeedBasedFieldElementDeriver, getMasterViewingKeyBlindingFactorDeriver, getMasterViewingKeyDeriver, getMasterViewingKeyX25519KeypairDeriver, getMintViewingKeyDeriver, getMintX25519KeypairDeriver, getMinuteViewingKeyDeriver, getModuloPowCurve25519Function, getMonthlyViewingKeyDeriver, getPersonalizationStringBuilder, getPolynomialCommitmentFactorDeriver, getPolynomialEvaluatorFunction, getPoseidonAggregator, getPoseidonBlindingFactorDeriver, getPoseidonDecryptor, getPoseidonEncryptor, getPoseidonHasher, getPoseidonKeystreamBlindingFactorDeriver, getPoseidonKeystreamGenerator, getPoseidonPrf, getPoseidonPrivateKeyDeriver, getPseudorandomU512Deriver, getRescueCipher, getRescueCipherFromKeyPair, getRescueCipherInstance, getRescueCommitmentBlindingFactorDeriver, getRescueCommitmentGenerator, getRescueDecryptorFromPrivateKey, getRescueEncryptorFromPrivateKey, getRescueEncryptorWithNonceFromPrivateKey, getRescueKeyGeneratorFromPrivateKey, getRescuePrimeHashFunction, getSecondViewingKeyDeriver, getUserAccountX25519KeypairDeriver, getUserCommitmentGeneratorFunction, getUtxoCommitmentHashGenerator, getYearlyViewingKeyDeriver } from './chunk-KMRROOME.js';
4
5
  import { splitAddressToLowHigh, createBn254FieldElement, createPoseidonKey, splitU256IntoTwoU128s, createRcPlaintext, splitX25519PublicKeyIntoTwoU128s, convertU256ToBase85Limbs, createU256, createCurve25519FieldElement, bigintToBinaryArrayLSB, generateRandomU256, generateRandomU128, createU64, extractClusterOffsetFromMxeAccount, generateRandomU64, extractTransferFeeConfig, calculateTransferFee, generateComputationOffset, extractUtcComponents, getByteAt } from './chunk-UXMQI6B7.js';
5
6
  import { findEncryptedUserAccountPda, findArciumInfrastructurePdas, findUserComplianceGrantPda, findNetworkComplianceGrantPda, findSharedComplianceGrantPda, findEncryptedTokenAccountPda, findStealthPoolPda, findUtxoInputBufferPda, findPublicUtxoInputBufferPda } from './chunk-KH3YTDKA.js';
6
- import { getNetworkConfig, getNetworkSpecifier, getDefaultSchemeVersion, getDefaultAlgorithmVersion, getDefaultProtocolVersion, createSetComputeUnitLimitInstruction, TOKEN_2022_PROGRAM_ID, SPL_TOKEN_PROGRAM_ID } from './chunk-INJ73LXQ.js';
7
7
  import './chunk-EEKF4553.js';
8
8
  import { ComputationMonitorError, FetchUtxosError, ClaimUtxoError, RpcError, ConversionError, TransactionSigningError, TransactionError, EncryptedDepositError, CreateUtxoError, QueryError, RegistrationError, MasterSeedSigningRejectedError, EncryptedWithdrawalError } from './chunk-GP26R377.js';
9
9
  export { ClaimUtxoError, ComputationMonitorError, ConversionError, CreateUtxoError, EncryptedDepositError, EncryptedWithdrawalError, FetchUtxosError, QueryError, RegistrationError, isClaimUtxoError, isComputationMonitorError, isConversionError, isCreateUtxoError, isEncryptedDepositError, isEncryptedWithdrawalError, isFetchUtxosError, isQueryError, isRegistrationError } from './chunk-GP26R377.js';
@@ -1190,6 +1190,7 @@ function getClaimableUtxoScannerFunction(args, deps) {
1190
1190
  const absoluteEndIndex = endInsertionIndex === void 0 ? treeEndAbsoluteIndex : treeOffset + endInsertionIndex;
1191
1191
  const allDecrypted = [];
1192
1192
  let cursor = absoluteStartIndex;
1193
+ let lastSeenInsertionIndex = null;
1193
1194
  while (cursor <= absoluteEndIndex) {
1194
1195
  let result;
1195
1196
  try {
@@ -1206,6 +1207,9 @@ function getClaimableUtxoScannerFunction(args, deps) {
1206
1207
  if (utxo.treeIndex !== treeIndex) {
1207
1208
  continue;
1208
1209
  }
1210
+ if (lastSeenInsertionIndex === null || utxo.insertionIndex > lastSeenInsertionIndex) {
1211
+ lastSeenInsertionIndex = utxo.insertionIndex;
1212
+ }
1209
1213
  const decrypted = await tryDecryptUtxo(
1210
1214
  utxo,
1211
1215
  clientX25519PrivateKey,
@@ -1224,8 +1228,9 @@ function getClaimableUtxoScannerFunction(args, deps) {
1224
1228
  }
1225
1229
  cursor = result.nextCursor;
1226
1230
  }
1231
+ const nextScanStartIndex = lastSeenInsertionIndex !== null ? lastSeenInsertionIndex + 1n : startInsertionIndex;
1227
1232
  if (allDecrypted.length === 0) {
1228
- return { selfBurnable: [], received: [], publicSelfBurnable: [], publicReceived: [] };
1233
+ return { selfBurnable: [], received: [], publicSelfBurnable: [], publicReceived: [], nextScanStartIndex };
1229
1234
  }
1230
1235
  const selfBurnableUtxos = [];
1231
1236
  const receivedUtxos = [];
@@ -1255,7 +1260,8 @@ function getClaimableUtxoScannerFunction(args, deps) {
1255
1260
  selfBurnable: selfBurnableUtxos,
1256
1261
  received: receivedUtxos,
1257
1262
  publicSelfBurnable: publicSelfBurnableUtxos,
1258
- publicReceived: publicReceivedUtxos
1263
+ publicReceived: publicReceivedUtxos,
1264
+ nextScanStartIndex
1259
1265
  };
1260
1266
  }, "fetchClaimableUtxos");
1261
1267
  }
@@ -5138,7 +5144,7 @@ function getComplianceGrantIssuerFunction(args, deps) {
5138
5144
  granterX25519: { first: granterX25519 },
5139
5145
  receiverX25519: { first: receiverX25519 },
5140
5146
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES }
5141
- });
5147
+ }, { programAddress: client.networkConfig.programId });
5142
5148
  const latestBlockhash = await getLatestBlockhash();
5143
5149
  const computeBudgetInstruction = createSetComputeUnitLimitInstruction(12e5);
5144
5150
  const transactionMessage = pipe(
@@ -5182,7 +5188,7 @@ function getComplianceGrantRevokerFunction(args, deps) {
5182
5188
  granterX25519: { first: granterX25519 },
5183
5189
  receiverX25519: { first: receiverX25519 },
5184
5190
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES2 }
5185
- });
5191
+ }, { programAddress: client.networkConfig.programId });
5186
5192
  const latestBlockhash = await getLatestBlockhash();
5187
5193
  const computeBudgetInstruction = createSetComputeUnitLimitInstruction(12e5);
5188
5194
  const transactionMessage = pipe(
@@ -5263,7 +5269,8 @@ function getSharedCiphertextReencryptorForUserGrantFunction(args, deps) {
5263
5269
  mpcCallbackDataOffset: { first: mpcCallbackDataOffset },
5264
5270
  priorityFees: { first: microLamportsPerAcu ?? 0n },
5265
5271
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES3 }
5266
- }
5272
+ },
5273
+ { programAddress: client.networkConfig.programId }
5267
5274
  );
5268
5275
  const latestBlockhash = await getLatestBlockhash();
5269
5276
  const baseTransactionMessage = pipe(
@@ -5348,7 +5355,8 @@ function getNetworkCiphertextReencryptorForNetworkGrantFunction(args, deps) {
5348
5355
  mpcCallbackDataOffset: { first: mpcCallbackDataOffset },
5349
5356
  priorityFees: { first: microLamportsPerAcu ?? 0n },
5350
5357
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES4 }
5351
- }
5358
+ },
5359
+ { programAddress: client.networkConfig.programId }
5352
5360
  );
5353
5361
  const latestBlockhash = await getLatestBlockhash();
5354
5362
  const baseTransactionMessage = pipe(
@@ -5433,7 +5441,7 @@ function getSharedCiphertextReencryptorForNetworkGrantFunction(args, deps) {
5433
5441
  mpcCallbackDataOffset: { first: mpcCallbackDataOffset },
5434
5442
  priorityFees: { first: microLamportsPerAcu ?? 0n },
5435
5443
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES5 }
5436
- });
5444
+ }, { programAddress: client.networkConfig.programId });
5437
5445
  const latestBlockhash = await getLatestBlockhash();
5438
5446
  const baseTransactionMessage = pipe(
5439
5447
  createTransactionMessage({ version: 0 }),
@@ -5626,7 +5634,7 @@ function getNetworkEncryptionToSharedEncryptionConverterFunction(args, deps) {
5626
5634
  },
5627
5635
  priorityFees: { first: microLamportsPerAcu ?? 0n },
5628
5636
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES6 }
5629
- });
5637
+ }, { programAddress: client.networkConfig.programId });
5630
5638
  const baseTransactionMessage = pipe(
5631
5639
  createTransactionMessage({ version: 0 }),
5632
5640
  (m) => setTransactionMessageFeePayer(userAddress, m),
@@ -5781,7 +5789,7 @@ function getMintEncryptionKeyRotatorFunction(args, deps) {
5781
5789
  },
5782
5790
  priorityFees: { first: microLamportsPerAcu ?? 0n },
5783
5791
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES7 }
5784
- });
5792
+ }, { programAddress: client.networkConfig.programId });
5785
5793
  const latestBlockhash = await getLatestBlockhash();
5786
5794
  const computeBudgetInstruction = createSetComputeUnitLimitInstruction(12e5);
5787
5795
  const baseTransactionMessage = pipe(
@@ -9595,7 +9603,7 @@ function getStagedSolRecovererFunction(args, deps) {
9595
9603
  destination,
9596
9604
  amount: { first: amount },
9597
9605
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES8 }
9598
- });
9606
+ }, { programAddress: client.networkConfig.programId });
9599
9607
  const latestBlockhash = await getLatestBlockhash();
9600
9608
  const transactionMessage = pipe(
9601
9609
  createTransactionMessage({ version: 0 }),
@@ -9634,7 +9642,7 @@ function getStagedSplRecovererFunction(args, deps) {
9634
9642
  destinationAta,
9635
9643
  amount: { first: amount },
9636
9644
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES9 }
9637
- });
9645
+ }, { programAddress: client.networkConfig.programId });
9638
9646
  const latestBlockhash = await getLatestBlockhash();
9639
9647
  const transactionMessage = pipe(
9640
9648
  createTransactionMessage({ version: 0 }),
@@ -10310,7 +10318,7 @@ function getUserEntropySeedRotatorFunction(args, deps) {
10310
10318
  user: noopSigner,
10311
10319
  newSeed: { first: newSeed },
10312
10320
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES10 }
10313
- });
10321
+ }, { programAddress: client.networkConfig.programId });
10314
10322
  const latestBlockhash = await getLatestBlockhash();
10315
10323
  const transactionMessage = pipe(
10316
10324
  createTransactionMessage({ version: 0 }),
@@ -10351,7 +10359,7 @@ function getTokenEntropySeedRotatorFunction(args, deps) {
10351
10359
  mint,
10352
10360
  newSeed: { first: newSeed },
10353
10361
  optionalData: { first: optionalData ?? DEFAULT_OPTIONAL_DATA_BYTES11 }
10354
- });
10362
+ }, { programAddress: client.networkConfig.programId });
10355
10363
  const latestBlockhash = await getLatestBlockhash();
10356
10364
  const transactionMessage = pipe(
10357
10365
  createTransactionMessage({ version: 0 }),
@@ -10602,7 +10610,7 @@ function getEncryptedBalanceToPublicBalanceDirectWithdrawerFunction(args, deps)
10602
10610
  },
10603
10611
  // Fee slab data and merkle proof
10604
10612
  ...feeSlabResultToInstructionFields(protocolFeeConfig)
10605
- });
10613
+ }, { programAddress: client.networkConfig.programId });
10606
10614
  } catch (error) {
10607
10615
  if (error instanceof EncryptedWithdrawalError) {
10608
10616
  throw error;