@umbra-privacy/sdk 2.0.5 → 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
@@ -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
  }