@zkp2p/sdk 0.14.5 → 0.14.6-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-QGFAF5VH.mjs → chunk-CZSKDEQ3.mjs} +122 -95
- package/dist/{chunk-QGFAF5VH.mjs.map → chunk-CZSKDEQ3.mjs.map} +1 -1
- package/dist/chunk-LDP257MM.mjs +12 -0
- package/dist/chunk-LDP257MM.mjs.map +1 -0
- package/dist/{chunk-ZB22BZLZ.mjs → chunk-WDEEWFEU.mjs} +11 -2
- package/dist/chunk-WDEEWFEU.mjs.map +1 -0
- package/dist/{currency-HGHBHKCR.mjs → currency-QFYEK4YI.mjs} +4 -4
- package/dist/{currency-HGHBHKCR.mjs.map → currency-QFYEK4YI.mjs.map} +1 -1
- package/dist/index.cjs +243 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.mjs +38 -20
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-DCRTQQV3.mjs +5 -0
- package/dist/{protocolViewerParsers-EKSTC7KZ.mjs.map → protocolViewerParsers-DCRTQQV3.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-XMVMQWWA.mjs → timeout-7GM3I6QA.mjs} +3 -3
- package/dist/{timeout-XMVMQWWA.mjs.map → timeout-7GM3I6QA.mjs.map} +1 -1
- package/dist/{vaultUtils-CGxOY369.d.mts → vaultUtils-CAK6rnEl.d.mts} +2 -1
- package/dist/{vaultUtils-CGxOY369.d.ts → vaultUtils-CAK6rnEl.d.ts} +2 -1
- package/package.json +2 -2
- package/dist/chunk-2K2ATNTY.mjs +0 -12
- package/dist/chunk-2K2ATNTY.mjs.map +0 -1
- package/dist/chunk-ZB22BZLZ.mjs.map +0 -1
- package/dist/protocolViewerParsers-EKSTC7KZ.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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, 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, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-
|
|
2
|
-
export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac 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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, 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, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-CAK6rnEl.mjs';
|
|
2
|
+
export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-CAK6rnEl.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';
|
|
@@ -639,6 +639,12 @@ declare const PLATFORM_METADATA: {
|
|
|
639
639
|
readonly logo: "🏦";
|
|
640
640
|
readonly requiredProofs: 1;
|
|
641
641
|
};
|
|
642
|
+
readonly monobank: {
|
|
643
|
+
readonly name: "Monobank";
|
|
644
|
+
readonly displayName: "Monobank Business";
|
|
645
|
+
readonly logo: "M";
|
|
646
|
+
readonly requiredProofs: 1;
|
|
647
|
+
};
|
|
642
648
|
readonly xmoney: {
|
|
643
649
|
readonly name: "XMoney";
|
|
644
650
|
readonly displayName: "X Money";
|
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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, 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, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-
|
|
2
|
-
export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac 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, M as MicrosoftOAuthSellerCredentialUploadBodyByPlatform, 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, N as GetOrderbookTableResponse, O as QuoteRequest, T as QuoteResponse, W as CuratorMetadata, X as CurrencyType, Y as PaymentMethodCatalog, Z as TxOverrides } from './vaultUtils-CAK6rnEl.js';
|
|
2
|
+
export { dL as AccessPolicyOperations, dM as AccessPolicyUnsupportedError, ap as ActionCallback, b8 as AmazonPayCredentialUploadInput, b9 as AmazonPayIdentityAttestationOutput, aU as ApiDeposit, a$ as ApiIntentStatus, bB as AttestationServiceSellerCredentialProbeResponse, an as AuthorizationTokenProvider, dI as BatchResult, aA as BestByPlatformResponseObject, bC as BuyerTeePaymentParams, bD as BuyerTeePaymentProofInput, bE as BuyerTeeSessionMaterial, a6 as CancelIntentMethodParams, az as CancelIntentParams, bj as CashAppCredentialUploadInput, bb as CashAppSessionMaterial, at as CreateDepositConversionRate, as as CreateDepositParams, bF as CuratorSellerVerifyResponse, d0 as Currency, d7 as CurrencyData, di as DISPUTE_PROTECTION_POLICY_ABI, dH as DelegationDepositTarget, dF as DelegationRoute, dG as DelegationState, dt as Deposit, dv as DepositCurrency, b_ as DepositIntentStatistics, aX as DepositStatus, aV as DepositVerifier, aW as DepositVerifierCurrency, bX as DepositVerifierData, ds as DepositView, ad as DisputeAttestationConfig, cv as DisputeProtectionIntentPage, cw as DisputeProtectionIntentPageParams, ae as DisputeProtectionReadinessOptions, af as DisputeProtectionReadinessResult, aQ as FiatResponse, bA as FulfillIntentAttestationResponse, a5 as FulfillIntentMethodParams, ax as FulfillIntentParams, aB as GetBestByPlatformResponse, aC as GetBestByPlatformResponseObject, aY as GetDepositByIdRequest, aZ as GetDepositByIdResponse, b4 as GetIntentByHashRequest, b5 as GetIntentByHashResponse, b2 as GetIntentsByDepositRequest, b3 as GetIntentsByDepositResponse, aG as GetNearbyQuote, aH as GetNearbySuggestions, b0 as GetOwnerIntentsRequest, b1 as GetOwnerIntentsResponse, aD as GetPlatformQuote, aI as GetQuoteResponse, aJ as GetQuoteResponseObject, aK as GetQuoteSingleResponse, bK as GetSellerCredentialStatusParams, bQ as IdentityAttestationActionType, bR as IdentityAttestationOutput, bS as IdentityAttestationOutputFor, bT as IdentityAttestationParams, cx as IndexedDisputeProtectionIntent, cy as IndexedPage, cz as IndexedPageAsOf, cA as IndexedRiskWindow, cB as IndexedStakeActivity, cD as IndexedStakeLock, cC as IndexedStakeTotals, cE as IndexedStakingRowFreshness, cF as IndexedStakingState, cG as IndexedStakingStateParams, cH as IndexedTakerAuthorization, cI as IndexedTakerStakeAuthorization, c4 as IndexerClient, cW as IndexerDeploymentEnv, cc as IndexerDeposit, ct as IndexerDepositDailySnapshot, cN as IndexerDepositFilter, cs as IndexerDepositFundActivity, cu as IndexerDepositFundActivityType, cQ as IndexerDepositOrderDirection, cP as IndexerDepositOrderField, cO as IndexerDepositPagination, cf as IndexerDepositPaymentMethod, c6 as IndexerDepositService, cZ as IndexerFulfillmentAndPaymentResponse, cX as IndexerFulfillmentRecord, cd as IndexerIntentFulfilled, ce as IndexerIntentFulfillmentAmounts, ch as IndexerIntentStatus, cl as IndexerManagerAggregateStats, cn as IndexerManagerDailySnapshot, cm as IndexerManagerStats, cq as IndexerManualRateUpdate, cg as IndexerMethodCurrency, cr as IndexerOracleConfigUpdate, cY as IndexerPaymentVerifiedRecord, ci as IndexerRateManager, ck as IndexerRateManagerDelegation, cT as IndexerRateManagerDelegationPagination, cp as IndexerRateManagerDetail, cR as IndexerRateManagerFilter, co as IndexerRateManagerListItem, cV as IndexerRateManagerOrderDirection, cU as IndexerRateManagerOrderField, cS as IndexerRateManagerPagination, cj as IndexerRateManagerRate, c7 as IndexerRateManagerService, ca as IndexerStakingService, a_ as Intent, al as IntentGuardianErrorCode, ah as IntentGuardianPolicy, ai as IntentGuardianQuote, aj as IntentGuardianWriteFunction, ak as IntentGuardianWriteParams, dx as IntentView, bU as MakerIdentityAttestationRequestBody, bV as MakerIdentityPlatform, aS as NearbyQuote, aT as NearbySuggestions, dh as ORCHESTRATOR_V3_ABI, _ as OfframpClient, bW as OnchainCurrency, dy as OnchainIntent, bZ as OrderStats, c2 as OrderbookEntry, c3 as OrderbookTableRow, c_ as PAYMENT_PLATFORMS, bg as PayPalGoogleOAuthSellerCredentialUploadBody, du as PaymentMethodData, c$ as PaymentPlatformType, aE as PlatformQuote, bY as PreparedTransaction, aP as QuoteFeesResponse, aO as QuoteIntentResponse, aM as QuoteMakerIdentity, aF as QuotePreference, aL as QuoteResponseObject, aN as QuoteSingleResponse, au as Range, ag as ReadDisputeAttestationConfigParams, a2 as RedeemReferralCodeSignatureOptions, $ as ReferralBearerWriteOptions, dw as ReferralFee, a0 as ReferralReadOptions, aq as ReferralRedemption, ar as ReferralSignatureBody, a1 as ReferralSignatureOptions, b6 as RegisterPayeeDetailsRequest, b7 as RegisterPayeeDetailsResponse, bG as RegisteredSellerCredentialPlatform, bI as RegisteredUploadSellerCredentialParams, ay as ReleaseFundsToPayerParams, dk as RuntimeEnv, dj as STAKE_VAULT_ABI, by as SellerAttestationOutput, bm as SellerCiphertextBundle, br as SellerCredentialBundleUpload, bz as SellerCredentialProbeResponse, bt as SellerCredentialStatus, bs as SellerCredentialStatusValue, bl as SellerCredentialUploadInputByPlatform, bx as SellerPaymentTypedDataValue, bq as SellerProbeInput, bn as SellerSignedCiphertextBundle, bv as SellerTypedDataField, bw as SellerTypedDataSpec, bp as SellerVerifyInput, bo as SellerVerifyIntentDetails, bu as SellerVerifyProxyBody, dK as SendBatchFn, dJ as SendTransactionFn, a4 as SignalIntentMethodParams, aw as SignalIntentParams, a3 as SignalIntentReferralFee, cJ as StakeActivityPageParams, c0 as StakeEnvironment, cK as StakeLockPageParams, a9 as StakeVaultState, aa as StakeVaultWriteFunction, ab as StakeVaultWriteParams, cL as StakingEntityIds, cM as TakerStakeAuthorizationPageParams, c1 as TakerStakeBalances, ao as TimeoutConfig, aR as TokenResponse, a7 as UpdateReferralCodeSignatureOptions, bN as UploadGoogleOAuthSellerCredentialParams, bO as UploadMicrosoftOAuthSellerCredentialParams, bL as UploadPayPalGoogleOAuthSellerCredentialParams, bJ as UploadSellerCredentialOptions, bH as UploadSellerCredentialParams, bM as UploadVenmoGoogleOAuthSellerCredentialParams, b$ as UsdcAmount, dm as V2ContractAbis, dl as V2ContractAddresses, bi as VenmoCredentialUploadInput, bh as VenmoGoogleOAuthSellerCredentialUploadBody, ba as VenmoSessionMaterial, bP as VerifySellerPaymentParams, bk as WiseCredentialUploadInput, bd as WiseProfileInfo, bf as WiseProfileNotFound, be as WiseProfileSelectionRequired, bc as WiseSessionMaterial, av as WithdrawDepositParams, dz as ZERO_RATE_MANAGER_ID, _ as Zkp2pClient, a8 as Zkp2pClientOptions, c9 as buildStakingEntityIds, dE as classifyDelegationState, am as classifyIntentGuardianError, c8 as compareEventCursorIdsByRecency, d1 as currencyInfo, c5 as defaultIndexerEndpoint, dq as enrichPvDepositView, dr as enrichPvIntentView, cb as fetchIndexerFulfillmentAndPayment, d8 as getContracts, d4 as getCurrencyCodeFromHash, d3 as getCurrencyInfoFromCountryCode, d2 as getCurrencyInfoFromHash, dD as getDelegationRoute, de as getDisputeProtectionPolicyContract, dg as getGatingServiceAddress, d9 as getIntentGuardianContract, dd as getOrchestratorV3Contract, df as getPaymentMethodsCatalog, db as getRateManagerContracts, dc as getStakeVaultContract, da as hasIntentGuardian, d5 as isSupportedCurrencyHash, dA as isZeroRateManagerId, d6 as mapConversionRatesToOnchainMinRate, dB as normalizeRateManagerId, dC as normalizeRegistry, dn as parseDepositView, dp as parseIntentView, ac as readDisputeAttestationConfig } from './vaultUtils-CAK6rnEl.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';
|
|
@@ -639,6 +639,12 @@ declare const PLATFORM_METADATA: {
|
|
|
639
639
|
readonly logo: "🏦";
|
|
640
640
|
readonly requiredProofs: 1;
|
|
641
641
|
};
|
|
642
|
+
readonly monobank: {
|
|
643
|
+
readonly name: "Monobank";
|
|
644
|
+
readonly displayName: "Monobank Business";
|
|
645
|
+
readonly logo: "M";
|
|
646
|
+
readonly requiredProofs: 1;
|
|
647
|
+
};
|
|
642
648
|
readonly xmoney: {
|
|
643
649
|
readonly name: "XMoney";
|
|
644
650
|
readonly displayName: "X Money";
|
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-
|
|
7
|
-
import { Currency, currencyKeccak256 } from './chunk-
|
|
8
|
-
export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-
|
|
9
|
-
import { define_ZKP2P_SDK_BUILD_METADATA_default } 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-CZSKDEQ3.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-CZSKDEQ3.mjs';
|
|
7
|
+
import { Currency, currencyKeccak256 } from './chunk-WDEEWFEU.mjs';
|
|
8
|
+
export { Currency, currencyInfo, getCurrencyCodeFromHash, getCurrencyInfoFromCountryCode, getCurrencyInfoFromHash, isSupportedCurrencyHash, mapConversionRatesToOnchainMinRate } from './chunk-WDEEWFEU.mjs';
|
|
9
|
+
import { define_ZKP2P_SDK_BUILD_METADATA_default } from './chunk-LDP257MM.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-7GM3I6QA.mjs');
|
|
361
361
|
return await withTimeout(fn(), timeoutMs, `Operation timed out after ${timeoutMs}ms`);
|
|
362
362
|
}
|
|
363
363
|
return await fn();
|
|
@@ -890,7 +890,7 @@ async function sendTransactionWithAttribution(walletClient, request, referrer, o
|
|
|
890
890
|
// src/utils/constants.ts
|
|
891
891
|
var DEFAULT_BASE_API_URL = "https://api.zkp2p.xyz";
|
|
892
892
|
|
|
893
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
893
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.4-rc.1_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
|
|
894
894
|
var chainlink_default = {
|
|
895
895
|
feeds: [
|
|
896
896
|
{
|
|
@@ -1180,6 +1180,12 @@ var PLATFORM_METADATA = {
|
|
|
1180
1180
|
logo: "\u{1F3E6}",
|
|
1181
1181
|
requiredProofs: 1
|
|
1182
1182
|
},
|
|
1183
|
+
monobank: {
|
|
1184
|
+
name: "Monobank",
|
|
1185
|
+
displayName: "Monobank Business",
|
|
1186
|
+
logo: "M",
|
|
1187
|
+
requiredProofs: 1
|
|
1188
|
+
},
|
|
1183
1189
|
xmoney: {
|
|
1184
1190
|
name: "XMoney",
|
|
1185
1191
|
displayName: "X Money",
|
|
@@ -1206,7 +1212,8 @@ var PLATFORM_ATTESTATION_CONFIG = {
|
|
|
1206
1212
|
luxon: { actionType: "transfer_luxon", actionPlatform: "luxon" },
|
|
1207
1213
|
n26: { actionType: "transfer_n26", actionPlatform: "n26" },
|
|
1208
1214
|
alipay: { actionType: "transfer_alipay", actionPlatform: "alipay" },
|
|
1209
|
-
xmoney: { actionType: "transfer_xmoney", actionPlatform: "xmoney" }
|
|
1215
|
+
xmoney: { actionType: "transfer_xmoney", actionPlatform: "xmoney" },
|
|
1216
|
+
monobank: { actionType: "transfer_monobank", actionPlatform: "monobank" }
|
|
1210
1217
|
};
|
|
1211
1218
|
function resolvePlatformAttestationConfig(platformName) {
|
|
1212
1219
|
const normalized = platformName.toLowerCase();
|
|
@@ -1969,7 +1976,7 @@ var ProtocolViewerReader = class {
|
|
|
1969
1976
|
if (inputCount === null) {
|
|
1970
1977
|
throw new Error("Configured ProtocolViewer ABI does not expose getDeposit");
|
|
1971
1978
|
}
|
|
1972
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
1979
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-DCRTQQV3.mjs');
|
|
1973
1980
|
if (inputCount >= 3) {
|
|
1974
1981
|
return tryContexts(
|
|
1975
1982
|
protocolViewerContexts,
|
|
@@ -2055,7 +2062,7 @@ var ProtocolViewerReader = class {
|
|
|
2055
2062
|
return Promise.all(ids.map((id) => this.config.host.getPvDepositById(id)));
|
|
2056
2063
|
}
|
|
2057
2064
|
const bn = ids.map((id) => typeof id === "bigint" ? id : parseRawDepositId(id));
|
|
2058
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
2065
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-DCRTQQV3.mjs');
|
|
2059
2066
|
if (inputCount >= 2) {
|
|
2060
2067
|
const requests = ids.map((id, index) => ({
|
|
2061
2068
|
index,
|
|
@@ -2160,7 +2167,7 @@ var ProtocolViewerReader = class {
|
|
|
2160
2167
|
if (!protocolViewerAddress || !protocolViewerAbi || inputCount === null) {
|
|
2161
2168
|
return this.config.host.getPvAccountDepositsFromIndexer(owner);
|
|
2162
2169
|
}
|
|
2163
|
-
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-
|
|
2170
|
+
const { parseDepositView: parseDepositView2 } = await import('./protocolViewerParsers-DCRTQQV3.mjs');
|
|
2164
2171
|
const { address, abi } = this.config.host.requireProtocolViewer();
|
|
2165
2172
|
if (inputCount >= 2) {
|
|
2166
2173
|
const readAndFilter = async (raw2) => {
|
|
@@ -2231,7 +2238,7 @@ var ProtocolViewerReader = class {
|
|
|
2231
2238
|
if (protocolViewerEntries.length === 0) {
|
|
2232
2239
|
throw new Error("ProtocolViewer not available for this network");
|
|
2233
2240
|
}
|
|
2234
|
-
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-
|
|
2241
|
+
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-DCRTQQV3.mjs');
|
|
2235
2242
|
const intentsByHash = /* @__PURE__ */ new Map();
|
|
2236
2243
|
let attemptedRead = false;
|
|
2237
2244
|
let hadSuccessfulRead = false;
|
|
@@ -2339,7 +2346,7 @@ var ProtocolViewerReader = class {
|
|
|
2339
2346
|
if (protocolViewerEntries.length === 0) {
|
|
2340
2347
|
throw new Error("ProtocolViewer not available for this network");
|
|
2341
2348
|
}
|
|
2342
|
-
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-
|
|
2349
|
+
const { parseIntentView: parseIntentView2 } = await import('./protocolViewerParsers-DCRTQQV3.mjs');
|
|
2343
2350
|
let lastError;
|
|
2344
2351
|
for (const pvEntry of protocolViewerEntries) {
|
|
2345
2352
|
const inputCount = this.pvEntryFunctionInputCount(pvEntry, "getIntent");
|
|
@@ -4456,6 +4463,7 @@ var Currency2 = {
|
|
|
4456
4463
|
THB: "THB",
|
|
4457
4464
|
TRY: "TRY",
|
|
4458
4465
|
UGX: "UGX",
|
|
4466
|
+
UAH: "UAH",
|
|
4459
4467
|
USD: "USD",
|
|
4460
4468
|
VND: "VND",
|
|
4461
4469
|
ZAR: "ZAR"
|
|
@@ -4709,6 +4717,14 @@ var currencyInfo2 = {
|
|
|
4709
4717
|
currencySymbol: "USh",
|
|
4710
4718
|
countryCode: "ug"
|
|
4711
4719
|
},
|
|
4720
|
+
[Currency2.UAH]: {
|
|
4721
|
+
currency: Currency2.UAH,
|
|
4722
|
+
currencyCode: "UAH",
|
|
4723
|
+
currencyName: "Ukrainian Hryvnia",
|
|
4724
|
+
currencyCodeHash: currencyKeccak2562("UAH"),
|
|
4725
|
+
currencySymbol: "\u20B4",
|
|
4726
|
+
countryCode: "ua"
|
|
4727
|
+
},
|
|
4712
4728
|
[Currency2.USD]: {
|
|
4713
4729
|
currency: Currency2.USD,
|
|
4714
4730
|
currencyCode: "USD",
|
|
@@ -4745,6 +4761,7 @@ var PaymentPlatform = {
|
|
|
4745
4761
|
ZELLE: "zelle",
|
|
4746
4762
|
PAYPAL: "paypal",
|
|
4747
4763
|
MONZO: "monzo",
|
|
4764
|
+
MONOBANK: "monobank",
|
|
4748
4765
|
N26: "n26",
|
|
4749
4766
|
ALIPAY: "alipay",
|
|
4750
4767
|
UPI: "upi",
|
|
@@ -4915,10 +4932,11 @@ var zelleChaseVerifyConfig = {
|
|
|
4915
4932
|
};
|
|
4916
4933
|
},
|
|
4917
4934
|
getSubjectText: (metadata) => {
|
|
4918
|
-
if (!metadata.amount
|
|
4935
|
+
if (!metadata.amount) {
|
|
4919
4936
|
return "";
|
|
4920
4937
|
}
|
|
4921
|
-
|
|
4938
|
+
const recipient = metadata.recipient?.trim();
|
|
4939
|
+
return `Transfer of $${Number(metadata.amount)}${recipient ? ` to ${recipient}` : ""}`;
|
|
4922
4940
|
}
|
|
4923
4941
|
};
|
|
4924
4942
|
var zelleCitiSendConfig = {
|
|
@@ -7860,10 +7878,10 @@ var IndexerStakingService = class {
|
|
|
7860
7878
|
}
|
|
7861
7879
|
};
|
|
7862
7880
|
|
|
7863
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
7864
|
-
var version = "0.4.
|
|
7881
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.4-rc.1_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
|
|
7882
|
+
var version = "0.4.4-rc.1";
|
|
7865
7883
|
|
|
7866
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
7884
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.4-rc.1_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
|
|
7867
7885
|
var data = {
|
|
7868
7886
|
"schemaVersion": 2,
|
|
7869
7887
|
"network": "base",
|
|
@@ -8035,7 +8053,7 @@ var data = {
|
|
|
8035
8053
|
};
|
|
8036
8054
|
var base_default = data;
|
|
8037
8055
|
|
|
8038
|
-
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.
|
|
8056
|
+
// ../../node_modules/.pnpm/@zkp2p+contracts-v2@0.4.4-rc.1_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
|
|
8039
8057
|
var data2 = {
|
|
8040
8058
|
"schemaVersion": 2,
|
|
8041
8059
|
"network": "base_staging",
|
|
@@ -11706,7 +11724,7 @@ var Zkp2pClient = class {
|
|
|
11706
11724
|
}
|
|
11707
11725
|
}
|
|
11708
11726
|
});
|
|
11709
|
-
const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-
|
|
11727
|
+
const { mapConversionRatesToOnchainMinRate: mapConversionRatesToOnchainMinRate2 } = await import('./currency-QFYEK4YI.mjs');
|
|
11710
11728
|
currencies = mapConversionRatesToOnchainMinRate2(
|
|
11711
11729
|
params.conversionRates,
|
|
11712
11730
|
paymentMethods.length
|