@zkp2p/sdk 0.14.4 → 0.14.5-rc.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/build-metadata.json +3 -3
- package/dist/{chunk-JU7CL4RJ.mjs → chunk-733AAIL5.mjs} +134 -91
- package/dist/{chunk-JU7CL4RJ.mjs.map → chunk-733AAIL5.mjs.map} +1 -1
- package/dist/{chunk-HQACV3RF.mjs → chunk-A6LGLATV.mjs} +3 -3
- package/dist/chunk-A6LGLATV.mjs.map +1 -0
- package/dist/{currency-Y5AB4CKQ.mjs → currency-O4KUCKCF.mjs} +3 -3
- package/dist/{currency-Y5AB4CKQ.mjs.map → currency-O4KUCKCF.mjs.map} +1 -1
- package/dist/index.cjs +228 -181
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +20 -16
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-XMFR3QT5.mjs +5 -0
- package/dist/{protocolViewerParsers-OLQPDNPL.mjs.map → protocolViewerParsers-XMFR3QT5.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.mjs +1 -1
- package/dist/{timeout-TYWTCDEG.mjs → timeout-FE6VF7AY.mjs} +3 -3
- package/dist/{timeout-TYWTCDEG.mjs.map → timeout-FE6VF7AY.mjs.map} +1 -1
- package/dist/{vaultUtils-CK4ph-vu.d.mts → vaultUtils-BadWrrW3.d.mts} +1 -1
- package/dist/{vaultUtils-CK4ph-vu.d.ts → vaultUtils-BadWrrW3.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-HQACV3RF.mjs.map +0 -1
- package/dist/protocolViewerParsers-OLQPDNPL.mjs +0 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, M as GetOrderbookTableResponse, N as QuoteRequest, O as QuoteResponse, T as CuratorMetadata, W as CurrencyType, X as PaymentMethodCatalog, Y as TxOverrides } from './vaultUtils-
|
|
2
|
-
export { dI as AccessPolicyOperations, dJ as AccessPolicyUnsupportedError, ao as ActionCallback, b7 as AmazonPayCredentialUploadInput, b8 as AmazonPayIdentityAttestationOutput, aT as ApiDeposit, a_ as ApiIntentStatus, bA as AttestationServiceSellerCredentialProbeResponse, am as AuthorizationTokenProvider, dF as BatchResult, az as BestByPlatformResponseObject, bB as BuyerTeePaymentParams, bC as BuyerTeePaymentProofInput, bD as BuyerTeeSessionMaterial, a5 as CancelIntentMethodParams, ay as CancelIntentParams, bi as CashAppCredentialUploadInput, ba as CashAppSessionMaterial, as as CreateDepositConversionRate, ar as CreateDepositParams, bE as CuratorSellerVerifyResponse, cZ as Currency, d4 as CurrencyData, df as DISPUTE_PROTECTION_POLICY_ABI, dE as DelegationDepositTarget, dC as DelegationRoute, dD as DelegationState, dq as Deposit, ds as DepositCurrency, bY as DepositIntentStatistics, aW as DepositStatus, aU as DepositVerifier, aV as DepositVerifierCurrency, bV as DepositVerifierData, dp as DepositView, ac as DisputeAttestationConfig, ct as DisputeProtectionIntentPage, cu as DisputeProtectionIntentPageParams, ad as DisputeProtectionReadinessOptions, ae as DisputeProtectionReadinessResult, aP as FiatResponse, bz as FulfillIntentAttestationResponse, a4 as FulfillIntentMethodParams, aw as FulfillIntentParams, aA as GetBestByPlatformResponse, aB as GetBestByPlatformResponseObject, aX as GetDepositByIdRequest, aY as GetDepositByIdResponse, b3 as GetIntentByHashRequest, b4 as GetIntentByHashResponse, b1 as GetIntentsByDepositRequest, b2 as GetIntentsByDepositResponse, aF as GetNearbyQuote, aG as GetNearbySuggestions, a$ as GetOwnerIntentsRequest, b0 as GetOwnerIntentsResponse, aC as GetPlatformQuote, aH as GetQuoteResponse, aI as GetQuoteResponseObject, aJ as GetQuoteSingleResponse, bJ as GetSellerCredentialStatusParams, bO as IdentityAttestationActionType, bP as IdentityAttestationOutput, bQ as IdentityAttestationOutputFor, bR as IdentityAttestationParams, cv as IndexedDisputeProtectionIntent, cw as IndexedPage, cx as IndexedPageAsOf, cy as IndexedRiskWindow, cz as IndexedStakeActivity, cA as IndexedStakeLock, cB as IndexedStakingRowFreshness, cC as IndexedStakingState, cD as IndexedStakingStateParams, cE as IndexedTakerAuthorization, cF as IndexedTakerStakeAuthorization, c2 as IndexerClient, cT as IndexerDeploymentEnv, ca as IndexerDeposit, cr as IndexerDepositDailySnapshot, cK as IndexerDepositFilter, cq as IndexerDepositFundActivity, cs as IndexerDepositFundActivityType, cN as IndexerDepositOrderDirection, cM as IndexerDepositOrderField, cL as IndexerDepositPagination, cd as IndexerDepositPaymentMethod, c4 as IndexerDepositService, cW as IndexerFulfillmentAndPaymentResponse, cU as IndexerFulfillmentRecord, cb as IndexerIntentFulfilled, cc as IndexerIntentFulfillmentAmounts, cf as IndexerIntentStatus, cj as IndexerManagerAggregateStats, cl as IndexerManagerDailySnapshot, ck as IndexerManagerStats, co as IndexerManualRateUpdate, ce as IndexerMethodCurrency, cp as IndexerOracleConfigUpdate, cV as IndexerPaymentVerifiedRecord, cg as IndexerRateManager, ci as IndexerRateManagerDelegation, cQ as IndexerRateManagerDelegationPagination, cn as IndexerRateManagerDetail, cO as IndexerRateManagerFilter, cm as IndexerRateManagerListItem, cS as IndexerRateManagerOrderDirection, cR as IndexerRateManagerOrderField, cP as IndexerRateManagerPagination, ch as IndexerRateManagerRate, c5 as IndexerRateManagerService, c8 as IndexerStakingService, aZ as Intent, ak as IntentGuardianErrorCode, ag as IntentGuardianPolicy, ah as IntentGuardianQuote, ai as IntentGuardianWriteFunction, aj as IntentGuardianWriteParams, du as IntentView, bS as MakerIdentityAttestationRequestBody, bT as MakerIdentityPlatform, aR as NearbyQuote, aS as NearbySuggestions, de as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bU as OnchainCurrency, dv as OnchainIntent, bX as OrderStats, c0 as OrderbookEntry, c1 as OrderbookTableRow, cX as PAYMENT_PLATFORMS, bf as PayPalGoogleOAuthSellerCredentialUploadBody, dr as PaymentMethodData, cY as PaymentPlatformType, aD as PlatformQuote, bW as PreparedTransaction, aO as QuoteFeesResponse, aN as QuoteIntentResponse, aL as QuoteMakerIdentity, aE as QuotePreference, aK as QuoteResponseObject, aM as QuoteSingleResponse, at as Range, af as ReadDisputeAttestationConfigParams, a1 as RedeemReferralCodeSignatureOptions, _ as ReferralBearerWriteOptions, dt as ReferralFee, $ as ReferralReadOptions, ap as ReferralRedemption, aq as ReferralSignatureBody, a0 as ReferralSignatureOptions, b5 as RegisterPayeeDetailsRequest, b6 as RegisterPayeeDetailsResponse, bF as RegisteredSellerCredentialPlatform, bH as RegisteredUploadSellerCredentialParams, ax as ReleaseFundsToPayerParams, dh as RuntimeEnv, dg as STAKE_VAULT_ABI, bx as SellerAttestationOutput, bl as SellerCiphertextBundle, bq as SellerCredentialBundleUpload, by as SellerCredentialProbeResponse, bs as SellerCredentialStatus, br as SellerCredentialStatusValue, bk as SellerCredentialUploadInputByPlatform, bw as SellerPaymentTypedDataValue, bp as SellerProbeInput, bm as SellerSignedCiphertextBundle, bu as SellerTypedDataField, bv as SellerTypedDataSpec, bo as SellerVerifyInput, bn as SellerVerifyIntentDetails, bt as SellerVerifyProxyBody, dH as SendBatchFn, dG as SendTransactionFn, a3 as SignalIntentMethodParams, av as SignalIntentParams, a2 as SignalIntentReferralFee, cG as StakeActivityPageParams, b_ as StakeEnvironment, cH as StakeLockPageParams, a8 as StakeVaultState, a9 as StakeVaultWriteFunction, aa as StakeVaultWriteParams, cI as StakingEntityIds, cJ as TakerStakeAuthorizationPageParams, b$ as TakerStakeBalances, an as TimeoutConfig, aQ as TokenResponse, a6 as UpdateReferralCodeSignatureOptions, bM as UploadGoogleOAuthSellerCredentialParams, bK as UploadPayPalGoogleOAuthSellerCredentialParams, bI as UploadSellerCredentialOptions, bG as UploadSellerCredentialParams, bL as UploadVenmoGoogleOAuthSellerCredentialParams, bZ as UsdcAmount, dj as V2ContractAbis, di as V2ContractAddresses, bh as VenmoCredentialUploadInput, bg as VenmoGoogleOAuthSellerCredentialUploadBody, b9 as VenmoSessionMaterial, bN as VerifySellerPaymentParams, bj as WiseCredentialUploadInput, bc as WiseProfileInfo, be as WiseProfileNotFound, bd as WiseProfileSelectionRequired, bb as WiseSessionMaterial, au as WithdrawDepositParams, dw as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a7 as Zkp2pClientOptions, c7 as buildStakingEntityIds, dB as classifyDelegationState, al as classifyIntentGuardianError, c6 as compareEventCursorIdsByRecency, c_ as currencyInfo, c3 as defaultIndexerEndpoint, dm as enrichPvDepositView, dn as enrichPvIntentView, c9 as fetchIndexerFulfillmentAndPayment, d5 as getContracts, d1 as getCurrencyCodeFromHash, d0 as getCurrencyInfoFromCountryCode, c$ as getCurrencyInfoFromHash, dA as getDelegationRoute, db as getDisputeProtectionPolicyContract, dd as getGatingServiceAddress, d6 as getIntentGuardianContract, da as getOrchestratorV3Contract, dc as getPaymentMethodsCatalog, d8 as getRateManagerContracts, d9 as getStakeVaultContract, d7 as hasIntentGuardian, d2 as isSupportedCurrencyHash, dx as isZeroRateManagerId, d3 as mapConversionRatesToOnchainMinRate, dy as normalizeRateManagerId, dz as normalizeRegistry, dk as parseDepositView, dl as parseIntentView, ab as readDisputeAttestationConfig } from './vaultUtils-
|
|
1
|
+
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, M as GetOrderbookTableResponse, N as QuoteRequest, O as QuoteResponse, T as CuratorMetadata, W as CurrencyType, X as PaymentMethodCatalog, Y as TxOverrides } from './vaultUtils-BadWrrW3.mjs';
|
|
2
|
+
export { dI as AccessPolicyOperations, dJ as AccessPolicyUnsupportedError, ao as ActionCallback, b7 as AmazonPayCredentialUploadInput, b8 as AmazonPayIdentityAttestationOutput, aT as ApiDeposit, a_ as ApiIntentStatus, bA as AttestationServiceSellerCredentialProbeResponse, am as AuthorizationTokenProvider, dF as BatchResult, az as BestByPlatformResponseObject, bB as BuyerTeePaymentParams, bC as BuyerTeePaymentProofInput, bD as BuyerTeeSessionMaterial, a5 as CancelIntentMethodParams, ay as CancelIntentParams, bi as CashAppCredentialUploadInput, ba as CashAppSessionMaterial, as as CreateDepositConversionRate, ar as CreateDepositParams, bE as CuratorSellerVerifyResponse, cZ as Currency, d4 as CurrencyData, df as DISPUTE_PROTECTION_POLICY_ABI, dE as DelegationDepositTarget, dC as DelegationRoute, dD as DelegationState, dq as Deposit, ds as DepositCurrency, bY as DepositIntentStatistics, aW as DepositStatus, aU as DepositVerifier, aV as DepositVerifierCurrency, bV as DepositVerifierData, dp as DepositView, ac as DisputeAttestationConfig, ct as DisputeProtectionIntentPage, cu as DisputeProtectionIntentPageParams, ad as DisputeProtectionReadinessOptions, ae as DisputeProtectionReadinessResult, aP as FiatResponse, bz as FulfillIntentAttestationResponse, a4 as FulfillIntentMethodParams, aw as FulfillIntentParams, aA as GetBestByPlatformResponse, aB as GetBestByPlatformResponseObject, aX as GetDepositByIdRequest, aY as GetDepositByIdResponse, b3 as GetIntentByHashRequest, b4 as GetIntentByHashResponse, b1 as GetIntentsByDepositRequest, b2 as GetIntentsByDepositResponse, aF as GetNearbyQuote, aG as GetNearbySuggestions, a$ as GetOwnerIntentsRequest, b0 as GetOwnerIntentsResponse, aC as GetPlatformQuote, aH as GetQuoteResponse, aI as GetQuoteResponseObject, aJ as GetQuoteSingleResponse, bJ as GetSellerCredentialStatusParams, bO as IdentityAttestationActionType, bP as IdentityAttestationOutput, bQ as IdentityAttestationOutputFor, bR as IdentityAttestationParams, cv as IndexedDisputeProtectionIntent, cw as IndexedPage, cx as IndexedPageAsOf, cy as IndexedRiskWindow, cz as IndexedStakeActivity, cA as IndexedStakeLock, cB as IndexedStakingRowFreshness, cC as IndexedStakingState, cD as IndexedStakingStateParams, cE as IndexedTakerAuthorization, cF as IndexedTakerStakeAuthorization, c2 as IndexerClient, cT as IndexerDeploymentEnv, ca as IndexerDeposit, cr as IndexerDepositDailySnapshot, cK as IndexerDepositFilter, cq as IndexerDepositFundActivity, cs as IndexerDepositFundActivityType, cN as IndexerDepositOrderDirection, cM as IndexerDepositOrderField, cL as IndexerDepositPagination, cd as IndexerDepositPaymentMethod, c4 as IndexerDepositService, cW as IndexerFulfillmentAndPaymentResponse, cU as IndexerFulfillmentRecord, cb as IndexerIntentFulfilled, cc as IndexerIntentFulfillmentAmounts, cf as IndexerIntentStatus, cj as IndexerManagerAggregateStats, cl as IndexerManagerDailySnapshot, ck as IndexerManagerStats, co as IndexerManualRateUpdate, ce as IndexerMethodCurrency, cp as IndexerOracleConfigUpdate, cV as IndexerPaymentVerifiedRecord, cg as IndexerRateManager, ci as IndexerRateManagerDelegation, cQ as IndexerRateManagerDelegationPagination, cn as IndexerRateManagerDetail, cO as IndexerRateManagerFilter, cm as IndexerRateManagerListItem, cS as IndexerRateManagerOrderDirection, cR as IndexerRateManagerOrderField, cP as IndexerRateManagerPagination, ch as IndexerRateManagerRate, c5 as IndexerRateManagerService, c8 as IndexerStakingService, aZ as Intent, ak as IntentGuardianErrorCode, ag as IntentGuardianPolicy, ah as IntentGuardianQuote, ai as IntentGuardianWriteFunction, aj as IntentGuardianWriteParams, du as IntentView, bS as MakerIdentityAttestationRequestBody, bT as MakerIdentityPlatform, aR as NearbyQuote, aS as NearbySuggestions, de as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bU as OnchainCurrency, dv as OnchainIntent, bX as OrderStats, c0 as OrderbookEntry, c1 as OrderbookTableRow, cX as PAYMENT_PLATFORMS, bf as PayPalGoogleOAuthSellerCredentialUploadBody, dr as PaymentMethodData, cY as PaymentPlatformType, aD as PlatformQuote, bW as PreparedTransaction, aO as QuoteFeesResponse, aN as QuoteIntentResponse, aL as QuoteMakerIdentity, aE as QuotePreference, aK as QuoteResponseObject, aM as QuoteSingleResponse, at as Range, af as ReadDisputeAttestationConfigParams, a1 as RedeemReferralCodeSignatureOptions, _ as ReferralBearerWriteOptions, dt as ReferralFee, $ as ReferralReadOptions, ap as ReferralRedemption, aq as ReferralSignatureBody, a0 as ReferralSignatureOptions, b5 as RegisterPayeeDetailsRequest, b6 as RegisterPayeeDetailsResponse, bF as RegisteredSellerCredentialPlatform, bH as RegisteredUploadSellerCredentialParams, ax as ReleaseFundsToPayerParams, dh as RuntimeEnv, dg as STAKE_VAULT_ABI, bx as SellerAttestationOutput, bl as SellerCiphertextBundle, bq as SellerCredentialBundleUpload, by as SellerCredentialProbeResponse, bs as SellerCredentialStatus, br as SellerCredentialStatusValue, bk as SellerCredentialUploadInputByPlatform, bw as SellerPaymentTypedDataValue, bp as SellerProbeInput, bm as SellerSignedCiphertextBundle, bu as SellerTypedDataField, bv as SellerTypedDataSpec, bo as SellerVerifyInput, bn as SellerVerifyIntentDetails, bt as SellerVerifyProxyBody, dH as SendBatchFn, dG as SendTransactionFn, a3 as SignalIntentMethodParams, av as SignalIntentParams, a2 as SignalIntentReferralFee, cG as StakeActivityPageParams, b_ as StakeEnvironment, cH as StakeLockPageParams, a8 as StakeVaultState, a9 as StakeVaultWriteFunction, aa as StakeVaultWriteParams, cI as StakingEntityIds, cJ as TakerStakeAuthorizationPageParams, b$ as TakerStakeBalances, an as TimeoutConfig, aQ as TokenResponse, a6 as UpdateReferralCodeSignatureOptions, bM as UploadGoogleOAuthSellerCredentialParams, bK as UploadPayPalGoogleOAuthSellerCredentialParams, bI as UploadSellerCredentialOptions, bG as UploadSellerCredentialParams, bL as UploadVenmoGoogleOAuthSellerCredentialParams, bZ as UsdcAmount, dj as V2ContractAbis, di as V2ContractAddresses, bh as VenmoCredentialUploadInput, bg as VenmoGoogleOAuthSellerCredentialUploadBody, b9 as VenmoSessionMaterial, bN as VerifySellerPaymentParams, bj as WiseCredentialUploadInput, bc as WiseProfileInfo, be as WiseProfileNotFound, bd as WiseProfileSelectionRequired, bb as WiseSessionMaterial, au as WithdrawDepositParams, dw as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a7 as Zkp2pClientOptions, c7 as buildStakingEntityIds, dB as classifyDelegationState, al as classifyIntentGuardianError, c6 as compareEventCursorIdsByRecency, c_ as currencyInfo, c3 as defaultIndexerEndpoint, dm as enrichPvDepositView, dn as enrichPvIntentView, c9 as fetchIndexerFulfillmentAndPayment, d5 as getContracts, d1 as getCurrencyCodeFromHash, d0 as getCurrencyInfoFromCountryCode, c$ as getCurrencyInfoFromHash, dA as getDelegationRoute, db as getDisputeProtectionPolicyContract, dd as getGatingServiceAddress, d6 as getIntentGuardianContract, da as getOrchestratorV3Contract, dc as getPaymentMethodsCatalog, d8 as getRateManagerContracts, d9 as getStakeVaultContract, d7 as hasIntentGuardian, d2 as isSupportedCurrencyHash, dx as isZeroRateManagerId, d3 as mapConversionRatesToOnchainMinRate, dy as normalizeRateManagerId, dz as normalizeRegistry, dk as parseDepositView, dl as parseIntentView, ab as readDisputeAttestationConfig } from './vaultUtils-BadWrrW3.mjs';
|
|
3
3
|
import { Address, Hash, Hex, WalletClient } from 'viem';
|
|
4
4
|
import { Abi } from 'abitype';
|
|
5
5
|
export { DisputeActionTypeByPlatform, DisputeAttestationOutput, DisputeAttestationOutputFor, DisputeDetails, DisputePlatform, IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient, verifyDisputeAttestation } from '@zkp2p/zkp2p-attestation';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, M as GetOrderbookTableResponse, N as QuoteRequest, O as QuoteResponse, T as CuratorMetadata, W as CurrencyType, X as PaymentMethodCatalog, Y as TxOverrides } from './vaultUtils-
|
|
2
|
-
export { dI as AccessPolicyOperations, dJ as AccessPolicyUnsupportedError, ao as ActionCallback, b7 as AmazonPayCredentialUploadInput, b8 as AmazonPayIdentityAttestationOutput, aT as ApiDeposit, a_ as ApiIntentStatus, bA as AttestationServiceSellerCredentialProbeResponse, am as AuthorizationTokenProvider, dF as BatchResult, az as BestByPlatformResponseObject, bB as BuyerTeePaymentParams, bC as BuyerTeePaymentProofInput, bD as BuyerTeeSessionMaterial, a5 as CancelIntentMethodParams, ay as CancelIntentParams, bi as CashAppCredentialUploadInput, ba as CashAppSessionMaterial, as as CreateDepositConversionRate, ar as CreateDepositParams, bE as CuratorSellerVerifyResponse, cZ as Currency, d4 as CurrencyData, df as DISPUTE_PROTECTION_POLICY_ABI, dE as DelegationDepositTarget, dC as DelegationRoute, dD as DelegationState, dq as Deposit, ds as DepositCurrency, bY as DepositIntentStatistics, aW as DepositStatus, aU as DepositVerifier, aV as DepositVerifierCurrency, bV as DepositVerifierData, dp as DepositView, ac as DisputeAttestationConfig, ct as DisputeProtectionIntentPage, cu as DisputeProtectionIntentPageParams, ad as DisputeProtectionReadinessOptions, ae as DisputeProtectionReadinessResult, aP as FiatResponse, bz as FulfillIntentAttestationResponse, a4 as FulfillIntentMethodParams, aw as FulfillIntentParams, aA as GetBestByPlatformResponse, aB as GetBestByPlatformResponseObject, aX as GetDepositByIdRequest, aY as GetDepositByIdResponse, b3 as GetIntentByHashRequest, b4 as GetIntentByHashResponse, b1 as GetIntentsByDepositRequest, b2 as GetIntentsByDepositResponse, aF as GetNearbyQuote, aG as GetNearbySuggestions, a$ as GetOwnerIntentsRequest, b0 as GetOwnerIntentsResponse, aC as GetPlatformQuote, aH as GetQuoteResponse, aI as GetQuoteResponseObject, aJ as GetQuoteSingleResponse, bJ as GetSellerCredentialStatusParams, bO as IdentityAttestationActionType, bP as IdentityAttestationOutput, bQ as IdentityAttestationOutputFor, bR as IdentityAttestationParams, cv as IndexedDisputeProtectionIntent, cw as IndexedPage, cx as IndexedPageAsOf, cy as IndexedRiskWindow, cz as IndexedStakeActivity, cA as IndexedStakeLock, cB as IndexedStakingRowFreshness, cC as IndexedStakingState, cD as IndexedStakingStateParams, cE as IndexedTakerAuthorization, cF as IndexedTakerStakeAuthorization, c2 as IndexerClient, cT as IndexerDeploymentEnv, ca as IndexerDeposit, cr as IndexerDepositDailySnapshot, cK as IndexerDepositFilter, cq as IndexerDepositFundActivity, cs as IndexerDepositFundActivityType, cN as IndexerDepositOrderDirection, cM as IndexerDepositOrderField, cL as IndexerDepositPagination, cd as IndexerDepositPaymentMethod, c4 as IndexerDepositService, cW as IndexerFulfillmentAndPaymentResponse, cU as IndexerFulfillmentRecord, cb as IndexerIntentFulfilled, cc as IndexerIntentFulfillmentAmounts, cf as IndexerIntentStatus, cj as IndexerManagerAggregateStats, cl as IndexerManagerDailySnapshot, ck as IndexerManagerStats, co as IndexerManualRateUpdate, ce as IndexerMethodCurrency, cp as IndexerOracleConfigUpdate, cV as IndexerPaymentVerifiedRecord, cg as IndexerRateManager, ci as IndexerRateManagerDelegation, cQ as IndexerRateManagerDelegationPagination, cn as IndexerRateManagerDetail, cO as IndexerRateManagerFilter, cm as IndexerRateManagerListItem, cS as IndexerRateManagerOrderDirection, cR as IndexerRateManagerOrderField, cP as IndexerRateManagerPagination, ch as IndexerRateManagerRate, c5 as IndexerRateManagerService, c8 as IndexerStakingService, aZ as Intent, ak as IntentGuardianErrorCode, ag as IntentGuardianPolicy, ah as IntentGuardianQuote, ai as IntentGuardianWriteFunction, aj as IntentGuardianWriteParams, du as IntentView, bS as MakerIdentityAttestationRequestBody, bT as MakerIdentityPlatform, aR as NearbyQuote, aS as NearbySuggestions, de as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bU as OnchainCurrency, dv as OnchainIntent, bX as OrderStats, c0 as OrderbookEntry, c1 as OrderbookTableRow, cX as PAYMENT_PLATFORMS, bf as PayPalGoogleOAuthSellerCredentialUploadBody, dr as PaymentMethodData, cY as PaymentPlatformType, aD as PlatformQuote, bW as PreparedTransaction, aO as QuoteFeesResponse, aN as QuoteIntentResponse, aL as QuoteMakerIdentity, aE as QuotePreference, aK as QuoteResponseObject, aM as QuoteSingleResponse, at as Range, af as ReadDisputeAttestationConfigParams, a1 as RedeemReferralCodeSignatureOptions, _ as ReferralBearerWriteOptions, dt as ReferralFee, $ as ReferralReadOptions, ap as ReferralRedemption, aq as ReferralSignatureBody, a0 as ReferralSignatureOptions, b5 as RegisterPayeeDetailsRequest, b6 as RegisterPayeeDetailsResponse, bF as RegisteredSellerCredentialPlatform, bH as RegisteredUploadSellerCredentialParams, ax as ReleaseFundsToPayerParams, dh as RuntimeEnv, dg as STAKE_VAULT_ABI, bx as SellerAttestationOutput, bl as SellerCiphertextBundle, bq as SellerCredentialBundleUpload, by as SellerCredentialProbeResponse, bs as SellerCredentialStatus, br as SellerCredentialStatusValue, bk as SellerCredentialUploadInputByPlatform, bw as SellerPaymentTypedDataValue, bp as SellerProbeInput, bm as SellerSignedCiphertextBundle, bu as SellerTypedDataField, bv as SellerTypedDataSpec, bo as SellerVerifyInput, bn as SellerVerifyIntentDetails, bt as SellerVerifyProxyBody, dH as SendBatchFn, dG as SendTransactionFn, a3 as SignalIntentMethodParams, av as SignalIntentParams, a2 as SignalIntentReferralFee, cG as StakeActivityPageParams, b_ as StakeEnvironment, cH as StakeLockPageParams, a8 as StakeVaultState, a9 as StakeVaultWriteFunction, aa as StakeVaultWriteParams, cI as StakingEntityIds, cJ as TakerStakeAuthorizationPageParams, b$ as TakerStakeBalances, an as TimeoutConfig, aQ as TokenResponse, a6 as UpdateReferralCodeSignatureOptions, bM as UploadGoogleOAuthSellerCredentialParams, bK as UploadPayPalGoogleOAuthSellerCredentialParams, bI as UploadSellerCredentialOptions, bG as UploadSellerCredentialParams, bL as UploadVenmoGoogleOAuthSellerCredentialParams, bZ as UsdcAmount, dj as V2ContractAbis, di as V2ContractAddresses, bh as VenmoCredentialUploadInput, bg as VenmoGoogleOAuthSellerCredentialUploadBody, b9 as VenmoSessionMaterial, bN as VerifySellerPaymentParams, bj as WiseCredentialUploadInput, bc as WiseProfileInfo, be as WiseProfileNotFound, bd as WiseProfileSelectionRequired, bb as WiseSessionMaterial, au as WithdrawDepositParams, dw as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a7 as Zkp2pClientOptions, c7 as buildStakingEntityIds, dB as classifyDelegationState, al as classifyIntentGuardianError, c6 as compareEventCursorIdsByRecency, c_ as currencyInfo, c3 as defaultIndexerEndpoint, dm as enrichPvDepositView, dn as enrichPvIntentView, c9 as fetchIndexerFulfillmentAndPayment, d5 as getContracts, d1 as getCurrencyCodeFromHash, d0 as getCurrencyInfoFromCountryCode, c$ as getCurrencyInfoFromHash, dA as getDelegationRoute, db as getDisputeProtectionPolicyContract, dd as getGatingServiceAddress, d6 as getIntentGuardianContract, da as getOrchestratorV3Contract, dc as getPaymentMethodsCatalog, d8 as getRateManagerContracts, d9 as getStakeVaultContract, d7 as hasIntentGuardian, d2 as isSupportedCurrencyHash, dx as isZeroRateManagerId, d3 as mapConversionRatesToOnchainMinRate, dy as normalizeRateManagerId, dz as normalizeRegistry, dk as parseDepositView, dl as parseIntentView, ab as readDisputeAttestationConfig } from './vaultUtils-
|
|
1
|
+
import { R as ReferrerFeeConfig, S as SellerCredentialBundle, D as DepositWithRelations, I as IntentEntity, a as IdentityAttestationRequestBody, A as AttestationServiceIdentityResponse, B as BuyerTeeVerifyPaymentBody, b as AttestationServiceSellerVerifyResponse, c as SellerCredentialUploadInput, d as SellerCredentialUploadPlatform, e as SellerCredentialAttestationRuntime, f as AttestationServiceSellerCredentialUploadResponse, g as BuyerTeeSessionMaterialEncryptionInput, U as UploadSellerCredentialBundleParams, C as CuratorSellerCredentialUploadResponse, h as CreateReferralCodeRequest, i as ApiAdapterOptions, j as CreateReferralCodeResponse, k as ReferralReadRequest, l as ReferralDashboardResponse, m as ReferralEarningsResponse, n as ReferralCodeLookupResponse, o as RedeemReferralCodeRequest, p as RedeemReferralCodeResponse, q as UpdateReferralCodeRequest, r as UpdateReferralCodeResponse, G as GoogleOAuthSellerCredentialPlatform, s as GoogleOAuthSellerCredentialUploadBodyByPlatform, t as SellerPlatform, u as CuratorSellerCredentialStatusResponse, Q as QuotesBestByPlatformRequest, v as BestByPlatformResponse, V as ValidatePayeeDetailsRequest, w as ValidatePayeeDetailsResponse, P as PostDepositDetailsRequest, x as PostDepositDetailsResponse, y as GetPayeeDetailsRequest, z as GetPayeeDetailsResponse, E as GetOwnerDepositsRequest, F as GetOwnerDepositsResponse, H as GetDepositBundleParams, J as GetDepositBundleResponse, K as GetOrderbookParams, L as GetOrderbookResponse, M as GetOrderbookTableResponse, N as QuoteRequest, O as QuoteResponse, T as CuratorMetadata, W as CurrencyType, X as PaymentMethodCatalog, Y as TxOverrides } from './vaultUtils-BadWrrW3.js';
|
|
2
|
+
export { dI as AccessPolicyOperations, dJ as AccessPolicyUnsupportedError, ao as ActionCallback, b7 as AmazonPayCredentialUploadInput, b8 as AmazonPayIdentityAttestationOutput, aT as ApiDeposit, a_ as ApiIntentStatus, bA as AttestationServiceSellerCredentialProbeResponse, am as AuthorizationTokenProvider, dF as BatchResult, az as BestByPlatformResponseObject, bB as BuyerTeePaymentParams, bC as BuyerTeePaymentProofInput, bD as BuyerTeeSessionMaterial, a5 as CancelIntentMethodParams, ay as CancelIntentParams, bi as CashAppCredentialUploadInput, ba as CashAppSessionMaterial, as as CreateDepositConversionRate, ar as CreateDepositParams, bE as CuratorSellerVerifyResponse, cZ as Currency, d4 as CurrencyData, df as DISPUTE_PROTECTION_POLICY_ABI, dE as DelegationDepositTarget, dC as DelegationRoute, dD as DelegationState, dq as Deposit, ds as DepositCurrency, bY as DepositIntentStatistics, aW as DepositStatus, aU as DepositVerifier, aV as DepositVerifierCurrency, bV as DepositVerifierData, dp as DepositView, ac as DisputeAttestationConfig, ct as DisputeProtectionIntentPage, cu as DisputeProtectionIntentPageParams, ad as DisputeProtectionReadinessOptions, ae as DisputeProtectionReadinessResult, aP as FiatResponse, bz as FulfillIntentAttestationResponse, a4 as FulfillIntentMethodParams, aw as FulfillIntentParams, aA as GetBestByPlatformResponse, aB as GetBestByPlatformResponseObject, aX as GetDepositByIdRequest, aY as GetDepositByIdResponse, b3 as GetIntentByHashRequest, b4 as GetIntentByHashResponse, b1 as GetIntentsByDepositRequest, b2 as GetIntentsByDepositResponse, aF as GetNearbyQuote, aG as GetNearbySuggestions, a$ as GetOwnerIntentsRequest, b0 as GetOwnerIntentsResponse, aC as GetPlatformQuote, aH as GetQuoteResponse, aI as GetQuoteResponseObject, aJ as GetQuoteSingleResponse, bJ as GetSellerCredentialStatusParams, bO as IdentityAttestationActionType, bP as IdentityAttestationOutput, bQ as IdentityAttestationOutputFor, bR as IdentityAttestationParams, cv as IndexedDisputeProtectionIntent, cw as IndexedPage, cx as IndexedPageAsOf, cy as IndexedRiskWindow, cz as IndexedStakeActivity, cA as IndexedStakeLock, cB as IndexedStakingRowFreshness, cC as IndexedStakingState, cD as IndexedStakingStateParams, cE as IndexedTakerAuthorization, cF as IndexedTakerStakeAuthorization, c2 as IndexerClient, cT as IndexerDeploymentEnv, ca as IndexerDeposit, cr as IndexerDepositDailySnapshot, cK as IndexerDepositFilter, cq as IndexerDepositFundActivity, cs as IndexerDepositFundActivityType, cN as IndexerDepositOrderDirection, cM as IndexerDepositOrderField, cL as IndexerDepositPagination, cd as IndexerDepositPaymentMethod, c4 as IndexerDepositService, cW as IndexerFulfillmentAndPaymentResponse, cU as IndexerFulfillmentRecord, cb as IndexerIntentFulfilled, cc as IndexerIntentFulfillmentAmounts, cf as IndexerIntentStatus, cj as IndexerManagerAggregateStats, cl as IndexerManagerDailySnapshot, ck as IndexerManagerStats, co as IndexerManualRateUpdate, ce as IndexerMethodCurrency, cp as IndexerOracleConfigUpdate, cV as IndexerPaymentVerifiedRecord, cg as IndexerRateManager, ci as IndexerRateManagerDelegation, cQ as IndexerRateManagerDelegationPagination, cn as IndexerRateManagerDetail, cO as IndexerRateManagerFilter, cm as IndexerRateManagerListItem, cS as IndexerRateManagerOrderDirection, cR as IndexerRateManagerOrderField, cP as IndexerRateManagerPagination, ch as IndexerRateManagerRate, c5 as IndexerRateManagerService, c8 as IndexerStakingService, aZ as Intent, ak as IntentGuardianErrorCode, ag as IntentGuardianPolicy, ah as IntentGuardianQuote, ai as IntentGuardianWriteFunction, aj as IntentGuardianWriteParams, du as IntentView, bS as MakerIdentityAttestationRequestBody, bT as MakerIdentityPlatform, aR as NearbyQuote, aS as NearbySuggestions, de as ORCHESTRATOR_V3_ABI, Z as OfframpClient, bU as OnchainCurrency, dv as OnchainIntent, bX as OrderStats, c0 as OrderbookEntry, c1 as OrderbookTableRow, cX as PAYMENT_PLATFORMS, bf as PayPalGoogleOAuthSellerCredentialUploadBody, dr as PaymentMethodData, cY as PaymentPlatformType, aD as PlatformQuote, bW as PreparedTransaction, aO as QuoteFeesResponse, aN as QuoteIntentResponse, aL as QuoteMakerIdentity, aE as QuotePreference, aK as QuoteResponseObject, aM as QuoteSingleResponse, at as Range, af as ReadDisputeAttestationConfigParams, a1 as RedeemReferralCodeSignatureOptions, _ as ReferralBearerWriteOptions, dt as ReferralFee, $ as ReferralReadOptions, ap as ReferralRedemption, aq as ReferralSignatureBody, a0 as ReferralSignatureOptions, b5 as RegisterPayeeDetailsRequest, b6 as RegisterPayeeDetailsResponse, bF as RegisteredSellerCredentialPlatform, bH as RegisteredUploadSellerCredentialParams, ax as ReleaseFundsToPayerParams, dh as RuntimeEnv, dg as STAKE_VAULT_ABI, bx as SellerAttestationOutput, bl as SellerCiphertextBundle, bq as SellerCredentialBundleUpload, by as SellerCredentialProbeResponse, bs as SellerCredentialStatus, br as SellerCredentialStatusValue, bk as SellerCredentialUploadInputByPlatform, bw as SellerPaymentTypedDataValue, bp as SellerProbeInput, bm as SellerSignedCiphertextBundle, bu as SellerTypedDataField, bv as SellerTypedDataSpec, bo as SellerVerifyInput, bn as SellerVerifyIntentDetails, bt as SellerVerifyProxyBody, dH as SendBatchFn, dG as SendTransactionFn, a3 as SignalIntentMethodParams, av as SignalIntentParams, a2 as SignalIntentReferralFee, cG as StakeActivityPageParams, b_ as StakeEnvironment, cH as StakeLockPageParams, a8 as StakeVaultState, a9 as StakeVaultWriteFunction, aa as StakeVaultWriteParams, cI as StakingEntityIds, cJ as TakerStakeAuthorizationPageParams, b$ as TakerStakeBalances, an as TimeoutConfig, aQ as TokenResponse, a6 as UpdateReferralCodeSignatureOptions, bM as UploadGoogleOAuthSellerCredentialParams, bK as UploadPayPalGoogleOAuthSellerCredentialParams, bI as UploadSellerCredentialOptions, bG as UploadSellerCredentialParams, bL as UploadVenmoGoogleOAuthSellerCredentialParams, bZ as UsdcAmount, dj as V2ContractAbis, di as V2ContractAddresses, bh as VenmoCredentialUploadInput, bg as VenmoGoogleOAuthSellerCredentialUploadBody, b9 as VenmoSessionMaterial, bN as VerifySellerPaymentParams, bj as WiseCredentialUploadInput, bc as WiseProfileInfo, be as WiseProfileNotFound, bd as WiseProfileSelectionRequired, bb as WiseSessionMaterial, au as WithdrawDepositParams, dw as ZERO_RATE_MANAGER_ID, Z as Zkp2pClient, a7 as Zkp2pClientOptions, c7 as buildStakingEntityIds, dB as classifyDelegationState, al as classifyIntentGuardianError, c6 as compareEventCursorIdsByRecency, c_ as currencyInfo, c3 as defaultIndexerEndpoint, dm as enrichPvDepositView, dn as enrichPvIntentView, c9 as fetchIndexerFulfillmentAndPayment, d5 as getContracts, d1 as getCurrencyCodeFromHash, d0 as getCurrencyInfoFromCountryCode, c$ as getCurrencyInfoFromHash, dA as getDelegationRoute, db as getDisputeProtectionPolicyContract, dd as getGatingServiceAddress, d6 as getIntentGuardianContract, da as getOrchestratorV3Contract, dc as getPaymentMethodsCatalog, d8 as getRateManagerContracts, d9 as getStakeVaultContract, d7 as hasIntentGuardian, d2 as isSupportedCurrencyHash, dx as isZeroRateManagerId, d3 as mapConversionRatesToOnchainMinRate, dy as normalizeRateManagerId, dz as normalizeRegistry, dk as parseDepositView, dl as parseIntentView, ab as readDisputeAttestationConfig } from './vaultUtils-BadWrrW3.js';
|
|
3
3
|
import { Address, Hash, Hex, WalletClient } from 'viem';
|
|
4
4
|
import { Abi } from 'abitype';
|
|
5
5
|
export { DisputeActionTypeByPlatform, DisputeAttestationOutput, DisputeAttestationOutputFor, DisputeDetails, DisputePlatform, IdentityActionType, IdentityActionTypeByPlatform, IdentityParamsByPlatform, IdentityPlatform, NitroAttestationClient, NitroAttestationClientOptions, NitroAttestationEnvironment, VerifiedAttestation, VerifiedAttestationPayload, createNitroAttestationClient, verifyDisputeAttestation } from '@zkp2p/zkp2p-attestation';
|
package/dist/index.mjs
CHANGED
|
@@ -2,11 +2,11 @@ import { IntentGuardianOperations } from './chunk-YA67SM3A.mjs';
|
|
|
2
2
|
export { ZERO_RATE_MANAGER_ID, classifyDelegationState, classifyIntentGuardianError, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-YA67SM3A.mjs';
|
|
3
3
|
import { NetworkError, ValidationError, APIError } from './chunk-3J4FPMPW.mjs';
|
|
4
4
|
export { APIError, ContractError, ErrorCode, NetworkError, ValidationError, ZKP2PError } from './chunk-3J4FPMPW.mjs';
|
|
5
|
-
import { OrchestratorRegistry_default, DISPUTE_PROTECTION_POLICY_ABI, DisputeProtectionPolicy_default, METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, MultiAttestationVerifier_default, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash, OrchestratorV3_default, DisputeNullifierRegistry_default, DisputeVerifier_default, WhitelistPolicy_default, StakeVault_default, IntentLifecycleHookV1_default } from './chunk-
|
|
6
|
-
export { DISPUTE_PROTECTION_POLICY_ABI2 as DISPUTE_PROTECTION_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getDisputeProtectionPolicyContract, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-
|
|
5
|
+
import { OrchestratorRegistry_default, DISPUTE_PROTECTION_POLICY_ABI, DisputeProtectionPolicy_default, METHOD_NAME_TO_HASH, matchesQuotePaymentMethod, matchesPaymentMethodNameAndHash, MultiAttestationVerifier_default, getContracts, getRateManagerContracts, getPaymentMethodsCatalog, resolvePaymentMethodHashFromCatalog, getGatingServiceAddress, parseBigIntLike, SUPPORTED_PAYMENT_METHOD_HASHES, resolveFiatCurrencyBytes32, resolvePaymentMethodNameFromHash, OrchestratorV3_default, DisputeNullifierRegistry_default, DisputeVerifier_default, WhitelistPolicy_default, StakeVault_default, IntentLifecycleHookV1_default } from './chunk-733AAIL5.mjs';
|
|
6
|
+
export { DISPUTE_PROTECTION_POLICY_ABI2 as DISPUTE_PROTECTION_POLICY_ABI, ORCHESTRATOR_V3_ABI, PAYMENT_PLATFORMS, STAKE_VAULT_ABI, asciiToBytes32, enrichPvDepositView, enrichPvIntentView, ensureBytes32, getContracts, getDisputeProtectionPolicyContract, getGatingServiceAddress, getIntentGuardianContract, getOrchestratorV3Contract, getPaymentMethodsCatalog, getRateManagerContracts, getStakeVaultContract, hasIntentGuardian, parseDepositView, parseIntentView, resolveFiatCurrencyBytes32, resolvePaymentMethodHash, resolvePaymentMethodHashFromCatalog, resolvePaymentMethodNameFromHash } from './chunk-733AAIL5.mjs';
|
|
7
7
|
import { Currency, currencyKeccak256 } from './chunk-ZB22BZLZ.mjs';
|
|
8
8
|
export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-ZB22BZLZ.mjs';
|
|
9
|
-
import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-
|
|
9
|
+
import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-A6LGLATV.mjs';
|
|
10
10
|
import { keccak256, concatHex, encodeFunctionData, encodeAbiParameters, createPublicClient, http, isAddress, zeroAddress, formatUnits } from 'viem';
|
|
11
11
|
import { hardhat, base } from 'viem/chains';
|
|
12
12
|
import { createEncryptedBuyerTeeSessionMaterial as createEncryptedBuyerTeeSessionMaterial$1, createEncryptedSellerCredentialUpload } from '@zkp2p/zkp2p-attestation';
|
|
@@ -357,7 +357,7 @@ async function withRetry(fn, maxRetries = 3, delayMs = 1e3, timeoutMs, shouldRet
|
|
|
357
357
|
for (let i = 0; i < maxRetries; i++) {
|
|
358
358
|
try {
|
|
359
359
|
if (timeoutMs) {
|
|
360
|
-
const { withTimeout } = await import('./timeout-
|
|
360
|
+
const { withTimeout } = await import('./timeout-FE6VF7AY.mjs');
|
|
361
361
|
return await withTimeout(fn(), timeoutMs, `Operation timed out after ${timeoutMs}ms`);
|
|
362
362
|
}
|
|
363
363
|
return await fn();
|
|
@@ -881,7 +881,7 @@ async function sendTransactionWithAttribution(walletClient, request, referrer, o
|
|
|
881
881
|
// src/utils/constants.ts
|
|
882
882
|
var DEFAULT_BASE_API_URL = "https://api.zkp2p.xyz";
|
|
883
883
|
|
|
884
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
884
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/oracleFeeds/chainlink.json
|
|
885
885
|
var chainlink_default = {
|
|
886
886
|
feeds: [
|
|
887
887
|
{
|
|
@@ -1927,7 +1927,7 @@ var ProtocolViewerReader = class {
|
|
|
1927
1927
|
if (inputCount === null) {
|
|
1928
1928
|
throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
|
|
1929
1929
|
}
|
|
1930
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
1930
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-XMFR3QT5.mjs');
|
|
1931
1931
|
if (inputCount >= 3) {
|
|
1932
1932
|
return tryContexts(
|
|
1933
1933
|
protocolViewerContexts,
|
|
@@ -2013,7 +2013,7 @@ var ProtocolViewerReader = class {
|
|
|
2013
2013
|
return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
|
|
2014
2014
|
}
|
|
2015
2015
|
const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
|
|
2016
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
2016
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-XMFR3QT5.mjs');
|
|
2017
2017
|
if (inputCount >= 2) {
|
|
2018
2018
|
const requests = ids.map((id, index) => ({
|
|
2019
2019
|
index,
|
|
@@ -2118,7 +2118,7 @@ var ProtocolViewerReader = class {
|
|
|
2118
2118
|
if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
|
|
2119
2119
|
return this.config.host.getPvAccountDepositsFromIndexer(owner);
|
|
2120
2120
|
}
|
|
2121
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
2121
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-XMFR3QT5.mjs');
|
|
2122
2122
|
const { address, abi } = this.config.host.requireProtocolViewer();
|
|
2123
2123
|
if (inputCount >= 2) {
|
|
2124
2124
|
const readAndFilter = async (raw2) => {
|
|
@@ -2189,7 +2189,7 @@ var ProtocolViewerReader = class {
|
|
|
2189
2189
|
if (protocolViewerEntries.length === 0) {
|
|
2190
2190
|
throw new Error("ProtocolViewer not available for this network");
|
|
2191
2191
|
}
|
|
2192
|
-
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-
|
|
2192
|
+
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-XMFR3QT5.mjs');
|
|
2193
2193
|
const intentsByHash = /* @__PURE__ */ new Map();
|
|
2194
2194
|
let attemptedRead = false;
|
|
2195
2195
|
let hadSuccessfulRead = false;
|
|
@@ -2297,7 +2297,7 @@ var ProtocolViewerReader = class {
|
|
|
2297
2297
|
if (protocolViewerEntries.length === 0) {
|
|
2298
2298
|
throw new Error("ProtocolViewer not available for this network");
|
|
2299
2299
|
}
|
|
2300
|
-
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-
|
|
2300
|
+
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-XMFR3QT5.mjs');
|
|
2301
2301
|
let lastError;
|
|
2302
2302
|
for (const pvEntry of protocolViewerEntries) {
|
|
2303
2303
|
const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
|
|
@@ -4690,7 +4690,8 @@ var PaymentPlatform = {
|
|
|
4690
4690
|
MONZO: "monzo",
|
|
4691
4691
|
N26: "n26",
|
|
4692
4692
|
ALIPAY: "alipay",
|
|
4693
|
-
UPI: "upi"
|
|
4693
|
+
UPI: "upi",
|
|
4694
|
+
X_MONEY: "xmoney"
|
|
4694
4695
|
};
|
|
4695
4696
|
[...Object.values(PaymentPlatform)];
|
|
4696
4697
|
var encodeZelleRecipientId = (recipientId) => {
|
|
@@ -7730,10 +7731,10 @@ var IndexerStakingService = class {
|
|
|
7730
7731
|
}
|
|
7731
7732
|
};
|
|
7732
7733
|
|
|
7733
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
7734
|
-
var version = "0.4.2
|
|
7734
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/index.js
|
|
7735
|
+
var version = "0.4.2";
|
|
7735
7736
|
|
|
7736
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
7737
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/disputeStack/base.js
|
|
7737
7738
|
var data = {
|
|
7738
7739
|
"schemaVersion": 2,
|
|
7739
7740
|
"network": "base",
|
|
@@ -7878,9 +7879,11 @@ var data = {
|
|
|
7878
7879
|
"0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb": "0",
|
|
7879
7880
|
"0x617f88ab82b5c1b014c539f7e75121427f0bb50a4c58b187a238531e7d58605d": "0",
|
|
7880
7881
|
"0x62c7ed738ad3e7618111348af32691b5767777fbaf46a2d8943237625552645c": "0",
|
|
7882
|
+
"0x790dd0cc68b6e7f474649a6c0a5463a964be9d2589e2076b6dc99f5701543f51": "0",
|
|
7881
7883
|
"0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268": "1209600",
|
|
7882
7884
|
"0xa5418819c024239299ea32e09defae8ec412c03e58f5c75f1b2fe84c857f5483": "0",
|
|
7883
7885
|
"0xcac9daea62d7b89d75ac73af4ee14dcf25721012ae82b568c2ea5c808eaa04ff": "0",
|
|
7886
|
+
"0xe99a5081226cbbff9440a63da5caa04fa30f210c12c4dd9976132ac075054cd9": "0",
|
|
7884
7887
|
"0xf752c7d19698ecb0bb8988abf9b9a53a4c3657f3bc8850a6fb59fdf3e3ce8cd3": "0"
|
|
7885
7888
|
},
|
|
7886
7889
|
"sentinel": {
|
|
@@ -7903,7 +7906,7 @@ var data = {
|
|
|
7903
7906
|
};
|
|
7904
7907
|
var base_default = data;
|
|
7905
7908
|
|
|
7906
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
7909
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.2_ethers@6.16.0_bufferutil@4.1.0_utf-8-validate@5.0.10__typescript@5.9.3_zod@4.5.4/node_modules/@zkp2p/contracts-v2/_esm/disputeStack/baseStaging.js
|
|
7907
7910
|
var data2 = {
|
|
7908
7911
|
"schemaVersion": 2,
|
|
7909
7912
|
"network": "base_staging",
|
|
@@ -8049,6 +8052,7 @@ var data2 = {
|
|
|
8049
8052
|
"0x5908bb0c9b87763ac6171d4104847667e7f02b4c47b574fe890c1f439ed128bb": "0",
|
|
8050
8053
|
"0x617f88ab82b5c1b014c539f7e75121427f0bb50a4c58b187a238531e7d58605d": "0",
|
|
8051
8054
|
"0x62c7ed738ad3e7618111348af32691b5767777fbaf46a2d8943237625552645c": "0",
|
|
8055
|
+
"0x790dd0cc68b6e7f474649a6c0a5463a964be9d2589e2076b6dc99f5701543f51": "0",
|
|
8052
8056
|
"0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268": "1209600",
|
|
8053
8057
|
"0xa5418819c024239299ea32e09defae8ec412c03e58f5c75f1b2fe84c857f5483": "0",
|
|
8054
8058
|
"0xcac9daea62d7b89d75ac73af4ee14dcf25721012ae82b568c2ea5c808eaa04ff": "0",
|
|
@@ -11572,7 +11576,7 @@ var Zkp2pClient = class {
|
|
|
11572
11576
|
}
|
|
11573
11577
|
}
|
|
11574
11578
|
});
|
|
11575
|
-
const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-
|
|
11579
|
+
const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-O4KUCKCF.mjs');
|
|
11576
11580
|
currencies = mapConversionRatesToOnchainMinRate2(
|
|
11577
11581
|
params.conversionRates,
|
|
11578
11582
|
paymentMethods.length
|