@zkp2p/sdk 0.8.1 → 0.9.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/README.md +4 -2
- package/dist/{chunk-ZM4ZP5GQ.mjs → chunk-FSIRPX4W.mjs} +182 -209
- package/dist/chunk-FSIRPX4W.mjs.map +1 -0
- package/dist/index.cjs +785 -705
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.mjs +127 -30
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-ER62YZ5L.mjs +5 -0
- package/dist/{protocolViewerParsers-GG6UQKLO.mjs.map → protocolViewerParsers-ER62YZ5L.mjs.map} +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-BGDsoxAv.d.mts → vaultUtils-aJdIIILM.d.mts} +53 -2
- package/dist/{vaultUtils-BGDsoxAv.d.ts → vaultUtils-aJdIIILM.d.ts} +53 -2
- package/package.json +4 -4
- package/dist/chunk-ZM4ZP5GQ.mjs.map +0 -1
- package/dist/protocolViewerParsers-GG6UQKLO.mjs +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-FSIRPX4W.mjs';
|
|
2
|
+
import './chunk-ZFBH4HD7.mjs';
|
|
3
|
+
import './chunk-J5LGTIGS.mjs';
|
|
4
|
+
//# sourceMappingURL=protocolViewerParsers-ER62YZ5L.mjs.map
|
|
5
|
+
//# sourceMappingURL=protocolViewerParsers-ER62YZ5L.mjs.map
|
package/dist/{protocolViewerParsers-GG6UQKLO.mjs.map → protocolViewerParsers-ER62YZ5L.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-ER62YZ5L.mjs"}
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bG as PreparedTransaction, bJ as TakerTier, E as GetTakerTierRequest, F as GetTakerTierResponse, a2 as FulfillIntentMethodParams, c$ as SendTransactionFn, d0 as SendBatchFn, cZ as DelegationDepositTarget, c_ as BatchResult } from './vaultUtils-aJdIIILM.mjs';
|
|
2
|
+
export { cX as DelegationRoute, cY as DelegationState, d1 as VAULT_ZERO_ADDRESS, cR as ZERO_RATE_MANAGER_ID, d2 as asErrorMessage, d3 as assertDelegationMethodSupport, cW as classifyDelegationState, cV as getDelegationRoute, cS as isZeroRateManagerId, cT as normalizeRateManagerId, cU as normalizeRegistry } from './vaultUtils-aJdIIILM.mjs';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bG as PreparedTransaction, bJ as TakerTier, E as GetTakerTierRequest, F as GetTakerTierResponse, a2 as FulfillIntentMethodParams, c$ as SendTransactionFn, d0 as SendBatchFn, cZ as DelegationDepositTarget, c_ as BatchResult } from './vaultUtils-aJdIIILM.js';
|
|
2
|
+
export { cX as DelegationRoute, cY as DelegationState, d1 as VAULT_ZERO_ADDRESS, cR as ZERO_RATE_MANAGER_ID, d2 as asErrorMessage, d3 as assertDelegationMethodSupport, cW as classifyDelegationState, cV as getDelegationRoute, cS as isZeroRateManagerId, cT as normalizeRateManagerId, cU as normalizeRegistry } from './vaultUtils-aJdIIILM.js';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
|
@@ -1668,10 +1668,14 @@ type GetOrderbookParams = {
|
|
|
1668
1668
|
currency: string;
|
|
1669
1669
|
paymentPlatform?: string;
|
|
1670
1670
|
publicOnly?: boolean;
|
|
1671
|
-
sortBy?: 'price' | 'available' | 'limits';
|
|
1671
|
+
sortBy?: 'price' | 'available' | 'limits' | 'apr';
|
|
1672
1672
|
sortDirection?: 'asc' | 'desc';
|
|
1673
1673
|
sellerAutomatedRelease?: 'include' | 'exclude' | 'only';
|
|
1674
1674
|
limit?: number;
|
|
1675
|
+
offset?: number;
|
|
1676
|
+
amount?: string;
|
|
1677
|
+
showSmallOrders?: boolean;
|
|
1678
|
+
hideExtremeSpread?: boolean;
|
|
1675
1679
|
chainId?: number;
|
|
1676
1680
|
token?: string;
|
|
1677
1681
|
};
|
|
@@ -1706,6 +1710,53 @@ type GetOrderbookResponse = {
|
|
|
1706
1710
|
generatedAt: string;
|
|
1707
1711
|
entries: OrderbookEntry[];
|
|
1708
1712
|
};
|
|
1713
|
+
type OrderbookTableRow = {
|
|
1714
|
+
depositId: string;
|
|
1715
|
+
depositIdOnContract: string;
|
|
1716
|
+
depositor: string;
|
|
1717
|
+
escrowAddress: string;
|
|
1718
|
+
chainId: number;
|
|
1719
|
+
token: string;
|
|
1720
|
+
paymentPlatform: string;
|
|
1721
|
+
paymentMethodHash: string;
|
|
1722
|
+
payeeDetailsHash: string;
|
|
1723
|
+
currency: string;
|
|
1724
|
+
currencyCode: string;
|
|
1725
|
+
conversionRate: string;
|
|
1726
|
+
takerConversionRate: string;
|
|
1727
|
+
rateManagerId: string | null;
|
|
1728
|
+
availableTokenAmount: string;
|
|
1729
|
+
intentAmountMin: string;
|
|
1730
|
+
intentAmountMax: string;
|
|
1731
|
+
minFiatSupported: string;
|
|
1732
|
+
maxFiatSupported: string;
|
|
1733
|
+
successRateBps: number;
|
|
1734
|
+
feeBps: number;
|
|
1735
|
+
apr: number | null;
|
|
1736
|
+
spread: number | null;
|
|
1737
|
+
sellerAutomatedReleaseAvailable: boolean;
|
|
1738
|
+
sellerAutomatedReleaseEnabled: boolean;
|
|
1739
|
+
isPrivate: boolean;
|
|
1740
|
+
updatedAt: string;
|
|
1741
|
+
};
|
|
1742
|
+
type GetOrderbookTableResponse = {
|
|
1743
|
+
chainId: number;
|
|
1744
|
+
token: string;
|
|
1745
|
+
currency: string;
|
|
1746
|
+
paymentPlatform: string | null;
|
|
1747
|
+
publicOnly: boolean;
|
|
1748
|
+
sortBy: string;
|
|
1749
|
+
sortDirection: string;
|
|
1750
|
+
sellerAutomatedRelease: 'include' | 'exclude' | 'only';
|
|
1751
|
+
generatedAt: string;
|
|
1752
|
+
pagination: {
|
|
1753
|
+
limit: number;
|
|
1754
|
+
offset: number;
|
|
1755
|
+
total: number;
|
|
1756
|
+
hasMore: boolean;
|
|
1757
|
+
};
|
|
1758
|
+
rows: OrderbookTableRow[];
|
|
1759
|
+
};
|
|
1709
1760
|
|
|
1710
1761
|
declare const PAYMENT_PLATFORMS: readonly ["wise", "venmo", "revolut", "cashapp", "mercadopago", "zelle", "paypal", "monzo", "chime", "luxon", "n26"];
|
|
1711
1762
|
type PaymentPlatformType = (typeof PAYMENT_PLATFORMS)[number];
|
|
@@ -3887,4 +3938,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
3887
3938
|
value?: bigint;
|
|
3888
3939
|
}>) => Promise<string>;
|
|
3889
3940
|
|
|
3890
|
-
export { type
|
|
3941
|
+
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetTakerTierRequest as E, type GetTakerTierResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetDepositBundleParams as H, type IntentEntity as I, type GetDepositBundleResponse as J, type GetOrderbookParams as K, type GetOrderbookResponse as L, type GetOrderbookTableResponse as M, type CurrencyType as N, type PaymentMethodCatalog as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type TakerTierLevel as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type TxOverrides as W, type ReferralBearerWriteOptions as X, type ReferralReadOptions as Y, Zkp2pClient as Z, type ReferralSignatureOptions as _, type IdentityAttestationRequestBody as a, type VenmoGoogleOAuthSellerCredentialUploadBody as a$, type SignalIntentReferralFee as a0, type SignalIntentMethodParams as a1, type FulfillIntentMethodParams as a2, type CancelIntentMethodParams as a3, type UpdateReferralCodeSignatureOptions as a4, type Zkp2pNextOptions as a5, type AuthorizationTokenProvider as a6, type TimeoutConfig as a7, type ActionCallback as a8, type ReferralRedemption as a9, type TokenResponse as aA, type NearbyQuote as aB, type NearbySuggestions as aC, type ApiDeposit as aD, type DepositVerifier as aE, type DepositVerifierCurrency as aF, type DepositStatus$1 as aG, type GetDepositByIdRequest as aH, type GetDepositByIdResponse as aI, type Intent as aJ, type ApiIntentStatus as aK, type GetOwnerIntentsRequest as aL, type GetOwnerIntentsResponse as aM, type GetIntentsByDepositRequest as aN, type GetIntentsByDepositResponse as aO, type GetIntentByHashRequest as aP, type GetIntentByHashResponse as aQ, type RegisterPayeeDetailsRequest as aR, type RegisterPayeeDetailsResponse as aS, type SellerPlatform as aT, type VenmoSessionMaterial as aU, type CashAppSessionMaterial as aV, type WiseSessionMaterial as aW, type WiseProfileInfo as aX, type WiseProfileSelectionRequired as aY, type WiseProfileNotFound as aZ, type PayPalGoogleOAuthSellerCredentialUploadBody as a_, type ReferralSignatureBody as aa, type CreateDepositParams as ab, type CreateDepositConversionRate as ac, type Range as ad, type WithdrawDepositParams as ae, type SignalIntentParams as af, type FulfillIntentParams as ag, type ReleaseFundsToPayerParams as ah, type CancelIntentParams as ai, type BestByPlatformResponseObject as aj, type GetBestByPlatformResponse as ak, type GetBestByPlatformResponseObject as al, type GetPlatformQuote as am, type PlatformQuote as an, type QuoteRequest as ao, type GetNearbyQuote as ap, type GetNearbySuggestions as aq, type GetQuoteResponse as ar, type GetQuoteResponseObject as as, type GetQuoteSingleResponse as at, type QuoteResponse as au, type QuoteResponseObject as av, type QuoteSingleResponse as aw, type QuoteIntentResponse as ax, type QuoteFeesResponse as ay, type FiatResponse as az, type AttestationServiceSellerVerifyResponse as b, type MethodCurrencyEntity as b$, type VenmoCredentialUploadInput as b0, type CashAppCredentialUploadInput as b1, type WiseCredentialUploadInput as b2, type SellerCredentialUploadInputByPlatform as b3, type SellerCiphertextBundle as b4, type SellerSignedCiphertextBundle as b5, type SellerVerifyIntentDetails as b6, type SellerVerifyInput as b7, type SellerProbeInput as b8, type SellerCredentialBundleUpload as b9, type IdentityAttestationOutputFor as bA, type IdentityAttestationParams as bB, type MakerIdentityAttestationRequestBody as bC, type MakerIdentityPlatform as bD, type OnchainCurrency as bE, type DepositVerifierData as bF, type PreparedTransaction as bG, type OrderStats as bH, type DepositIntentStatistics as bI, type TakerTier as bJ, type TakerTierVolumeBreakdown as bK, type TakerTierStats as bL, type TakerTierSource as bM, type PlatformLimit as bN, type PlatformRiskLevel as bO, type OrderbookEntry as bP, type OrderbookTableRow as bQ, IndexerClient as bR, defaultIndexerEndpoint as bS, IndexerDepositService as bT, IndexerRateManagerService as bU, compareEventCursorIdsByRecency as bV, fetchFulfillmentAndPayment as bW, type DepositEntity as bX, type IntentFulfilledEntity as bY, type IntentFulfillmentAmountsEntity as bZ, type DepositPaymentMethodEntity as b_, type SellerCredentialStatusValue as ba, type SellerCredentialStatus as bb, type SellerVerifyProxyBody as bc, type SellerTypedDataField as bd, type SellerTypedDataSpec as be, type SellerPaymentTypedDataValue as bf, type SellerAttestationOutput as bg, type SellerCredentialProbeResponse as bh, type FulfillIntentAttestationResponse as bi, type AttestationServiceSellerCredentialProbeResponse as bj, type BuyerTeePaymentParams as bk, type BuyerTeePaymentProofInput as bl, type BuyerTeeSessionMaterial as bm, type CuratorSellerCredentialStatusResponse as bn, type CuratorSellerVerifyResponse as bo, type RegisteredSellerCredentialPlatform as bp, type UploadSellerCredentialParams as bq, type RegisteredUploadSellerCredentialParams as br, type UploadSellerCredentialOptions as bs, type GetSellerCredentialStatusParams as bt, type UploadPayPalGoogleOAuthSellerCredentialParams as bu, type UploadVenmoGoogleOAuthSellerCredentialParams as bv, type UploadGoogleOAuthSellerCredentialParams as bw, type VerifySellerPaymentParams as bx, type IdentityAttestationActionType as by, type IdentityAttestationOutput as bz, type SellerCredentialUploadInput as c, type SendTransactionFn as c$, type IntentStatus as c0, type RateManagerEntity as c1, type RateManagerRateEntity as c2, type RateManagerDelegationEntity as c3, type ManagerAggregateStatsEntity as c4, type ManagerStatsEntity as c5, type ManagerDailySnapshotEntity as c6, type RateManagerListItem as c7, type RateManagerDetail as c8, type ManualRateUpdateEntity as c9, type CurrencyData as cA, getContracts as cB, getRateManagerContracts as cC, getPaymentMethodsCatalog as cD, getGatingServiceAddress as cE, type RuntimeEnv as cF, parseDepositView as cG, parseIntentView as cH, enrichPvDepositView as cI, enrichPvIntentView as cJ, type PV_DepositView as cK, type PV_Deposit as cL, type PV_PaymentMethodData as cM, type PV_Currency as cN, type PV_ReferralFee as cO, type PV_IntentView as cP, type PV_Intent as cQ, ZERO_RATE_MANAGER_ID as cR, isZeroRateManagerId as cS, normalizeRateManagerId as cT, normalizeRegistry as cU, getDelegationRoute as cV, classifyDelegationState as cW, type DelegationRoute as cX, type DelegationState as cY, type DelegationDepositTarget as cZ, type BatchResult as c_, type OracleConfigUpdateEntity as ca, type DepositFundActivityEntity as cb, type DepositDailySnapshotEntity as cc, type DepositFundActivityType as cd, type DepositFilter as ce, type PaginationOptions as cf, type DepositOrderField as cg, type OrderDirection$1 as ch, type RateManagerFilter as ci, type RateManagerPaginationOptions as cj, type RateManagerDelegationPaginationOptions as ck, type RateManagerOrderField as cl, type OrderDirection as cm, type DeploymentEnv as cn, type FulfillmentRecord as co, type PaymentVerifiedRecord as cp, type FulfillmentAndPaymentResponse as cq, PAYMENT_PLATFORMS as cr, type PaymentPlatformType as cs, Currency as ct, currencyInfo as cu, getCurrencyInfoFromHash as cv, getCurrencyInfoFromCountryCode as cw, getCurrencyCodeFromHash as cx, isSupportedCurrencyHash as cy, mapConversionRatesToOnchainMinRate as cz, type SellerCredentialUploadPlatform as d, type SendBatchFn as d0, ZERO_ADDRESS as d1, asErrorMessage as d2, assertDelegationMethodSupport as d3, type SellerCredentialAttestationRuntime as e, type AttestationServiceSellerCredentialUploadResponse as f, type BuyerTeeSessionMaterialEncryptionInput as g, type CreateReferralCodeRequest as h, type ApiAdapterOptions as i, type CreateReferralCodeResponse as j, type ReferralReadRequest as k, type ReferralDashboardResponse as l, type ReferralEarningsResponse as m, type ReferralCodeLookupResponse as n, type RedeemReferralCodeRequest as o, type RedeemReferralCodeResponse as p, type UpdateReferralCodeRequest as q, type UpdateReferralCodeResponse as r, type GoogleOAuthSellerCredentialUploadBodyByPlatform as s, type BestByPlatformResponse as t, type ValidatePayeeDetailsResponse as u, type PostDepositDetailsResponse as v, type GetPayeeDetailsRequest as w, type GetPayeeDetailsResponse as x, type GetOwnerDepositsRequest as y, type GetOwnerDepositsResponse as z };
|
|
@@ -1668,10 +1668,14 @@ type GetOrderbookParams = {
|
|
|
1668
1668
|
currency: string;
|
|
1669
1669
|
paymentPlatform?: string;
|
|
1670
1670
|
publicOnly?: boolean;
|
|
1671
|
-
sortBy?: 'price' | 'available' | 'limits';
|
|
1671
|
+
sortBy?: 'price' | 'available' | 'limits' | 'apr';
|
|
1672
1672
|
sortDirection?: 'asc' | 'desc';
|
|
1673
1673
|
sellerAutomatedRelease?: 'include' | 'exclude' | 'only';
|
|
1674
1674
|
limit?: number;
|
|
1675
|
+
offset?: number;
|
|
1676
|
+
amount?: string;
|
|
1677
|
+
showSmallOrders?: boolean;
|
|
1678
|
+
hideExtremeSpread?: boolean;
|
|
1675
1679
|
chainId?: number;
|
|
1676
1680
|
token?: string;
|
|
1677
1681
|
};
|
|
@@ -1706,6 +1710,53 @@ type GetOrderbookResponse = {
|
|
|
1706
1710
|
generatedAt: string;
|
|
1707
1711
|
entries: OrderbookEntry[];
|
|
1708
1712
|
};
|
|
1713
|
+
type OrderbookTableRow = {
|
|
1714
|
+
depositId: string;
|
|
1715
|
+
depositIdOnContract: string;
|
|
1716
|
+
depositor: string;
|
|
1717
|
+
escrowAddress: string;
|
|
1718
|
+
chainId: number;
|
|
1719
|
+
token: string;
|
|
1720
|
+
paymentPlatform: string;
|
|
1721
|
+
paymentMethodHash: string;
|
|
1722
|
+
payeeDetailsHash: string;
|
|
1723
|
+
currency: string;
|
|
1724
|
+
currencyCode: string;
|
|
1725
|
+
conversionRate: string;
|
|
1726
|
+
takerConversionRate: string;
|
|
1727
|
+
rateManagerId: string | null;
|
|
1728
|
+
availableTokenAmount: string;
|
|
1729
|
+
intentAmountMin: string;
|
|
1730
|
+
intentAmountMax: string;
|
|
1731
|
+
minFiatSupported: string;
|
|
1732
|
+
maxFiatSupported: string;
|
|
1733
|
+
successRateBps: number;
|
|
1734
|
+
feeBps: number;
|
|
1735
|
+
apr: number | null;
|
|
1736
|
+
spread: number | null;
|
|
1737
|
+
sellerAutomatedReleaseAvailable: boolean;
|
|
1738
|
+
sellerAutomatedReleaseEnabled: boolean;
|
|
1739
|
+
isPrivate: boolean;
|
|
1740
|
+
updatedAt: string;
|
|
1741
|
+
};
|
|
1742
|
+
type GetOrderbookTableResponse = {
|
|
1743
|
+
chainId: number;
|
|
1744
|
+
token: string;
|
|
1745
|
+
currency: string;
|
|
1746
|
+
paymentPlatform: string | null;
|
|
1747
|
+
publicOnly: boolean;
|
|
1748
|
+
sortBy: string;
|
|
1749
|
+
sortDirection: string;
|
|
1750
|
+
sellerAutomatedRelease: 'include' | 'exclude' | 'only';
|
|
1751
|
+
generatedAt: string;
|
|
1752
|
+
pagination: {
|
|
1753
|
+
limit: number;
|
|
1754
|
+
offset: number;
|
|
1755
|
+
total: number;
|
|
1756
|
+
hasMore: boolean;
|
|
1757
|
+
};
|
|
1758
|
+
rows: OrderbookTableRow[];
|
|
1759
|
+
};
|
|
1709
1760
|
|
|
1710
1761
|
declare const PAYMENT_PLATFORMS: readonly ["wise", "venmo", "revolut", "cashapp", "mercadopago", "zelle", "paypal", "monzo", "chime", "luxon", "n26"];
|
|
1711
1762
|
type PaymentPlatformType = (typeof PAYMENT_PLATFORMS)[number];
|
|
@@ -3887,4 +3938,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
3887
3938
|
value?: bigint;
|
|
3888
3939
|
}>) => Promise<string>;
|
|
3889
3940
|
|
|
3890
|
-
export { type
|
|
3941
|
+
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetTakerTierRequest as E, type GetTakerTierResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetDepositBundleParams as H, type IntentEntity as I, type GetDepositBundleResponse as J, type GetOrderbookParams as K, type GetOrderbookResponse as L, type GetOrderbookTableResponse as M, type CurrencyType as N, type PaymentMethodCatalog as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type TakerTierLevel as T, type UploadSellerCredentialBundleParams as U, type ValidatePayeeDetailsRequest as V, type TxOverrides as W, type ReferralBearerWriteOptions as X, type ReferralReadOptions as Y, Zkp2pClient as Z, type ReferralSignatureOptions as _, type IdentityAttestationRequestBody as a, type VenmoGoogleOAuthSellerCredentialUploadBody as a$, type SignalIntentReferralFee as a0, type SignalIntentMethodParams as a1, type FulfillIntentMethodParams as a2, type CancelIntentMethodParams as a3, type UpdateReferralCodeSignatureOptions as a4, type Zkp2pNextOptions as a5, type AuthorizationTokenProvider as a6, type TimeoutConfig as a7, type ActionCallback as a8, type ReferralRedemption as a9, type TokenResponse as aA, type NearbyQuote as aB, type NearbySuggestions as aC, type ApiDeposit as aD, type DepositVerifier as aE, type DepositVerifierCurrency as aF, type DepositStatus$1 as aG, type GetDepositByIdRequest as aH, type GetDepositByIdResponse as aI, type Intent as aJ, type ApiIntentStatus as aK, type GetOwnerIntentsRequest as aL, type GetOwnerIntentsResponse as aM, type GetIntentsByDepositRequest as aN, type GetIntentsByDepositResponse as aO, type GetIntentByHashRequest as aP, type GetIntentByHashResponse as aQ, type RegisterPayeeDetailsRequest as aR, type RegisterPayeeDetailsResponse as aS, type SellerPlatform as aT, type VenmoSessionMaterial as aU, type CashAppSessionMaterial as aV, type WiseSessionMaterial as aW, type WiseProfileInfo as aX, type WiseProfileSelectionRequired as aY, type WiseProfileNotFound as aZ, type PayPalGoogleOAuthSellerCredentialUploadBody as a_, type ReferralSignatureBody as aa, type CreateDepositParams as ab, type CreateDepositConversionRate as ac, type Range as ad, type WithdrawDepositParams as ae, type SignalIntentParams as af, type FulfillIntentParams as ag, type ReleaseFundsToPayerParams as ah, type CancelIntentParams as ai, type BestByPlatformResponseObject as aj, type GetBestByPlatformResponse as ak, type GetBestByPlatformResponseObject as al, type GetPlatformQuote as am, type PlatformQuote as an, type QuoteRequest as ao, type GetNearbyQuote as ap, type GetNearbySuggestions as aq, type GetQuoteResponse as ar, type GetQuoteResponseObject as as, type GetQuoteSingleResponse as at, type QuoteResponse as au, type QuoteResponseObject as av, type QuoteSingleResponse as aw, type QuoteIntentResponse as ax, type QuoteFeesResponse as ay, type FiatResponse as az, type AttestationServiceSellerVerifyResponse as b, type MethodCurrencyEntity as b$, type VenmoCredentialUploadInput as b0, type CashAppCredentialUploadInput as b1, type WiseCredentialUploadInput as b2, type SellerCredentialUploadInputByPlatform as b3, type SellerCiphertextBundle as b4, type SellerSignedCiphertextBundle as b5, type SellerVerifyIntentDetails as b6, type SellerVerifyInput as b7, type SellerProbeInput as b8, type SellerCredentialBundleUpload as b9, type IdentityAttestationOutputFor as bA, type IdentityAttestationParams as bB, type MakerIdentityAttestationRequestBody as bC, type MakerIdentityPlatform as bD, type OnchainCurrency as bE, type DepositVerifierData as bF, type PreparedTransaction as bG, type OrderStats as bH, type DepositIntentStatistics as bI, type TakerTier as bJ, type TakerTierVolumeBreakdown as bK, type TakerTierStats as bL, type TakerTierSource as bM, type PlatformLimit as bN, type PlatformRiskLevel as bO, type OrderbookEntry as bP, type OrderbookTableRow as bQ, IndexerClient as bR, defaultIndexerEndpoint as bS, IndexerDepositService as bT, IndexerRateManagerService as bU, compareEventCursorIdsByRecency as bV, fetchFulfillmentAndPayment as bW, type DepositEntity as bX, type IntentFulfilledEntity as bY, type IntentFulfillmentAmountsEntity as bZ, type DepositPaymentMethodEntity as b_, type SellerCredentialStatusValue as ba, type SellerCredentialStatus as bb, type SellerVerifyProxyBody as bc, type SellerTypedDataField as bd, type SellerTypedDataSpec as be, type SellerPaymentTypedDataValue as bf, type SellerAttestationOutput as bg, type SellerCredentialProbeResponse as bh, type FulfillIntentAttestationResponse as bi, type AttestationServiceSellerCredentialProbeResponse as bj, type BuyerTeePaymentParams as bk, type BuyerTeePaymentProofInput as bl, type BuyerTeeSessionMaterial as bm, type CuratorSellerCredentialStatusResponse as bn, type CuratorSellerVerifyResponse as bo, type RegisteredSellerCredentialPlatform as bp, type UploadSellerCredentialParams as bq, type RegisteredUploadSellerCredentialParams as br, type UploadSellerCredentialOptions as bs, type GetSellerCredentialStatusParams as bt, type UploadPayPalGoogleOAuthSellerCredentialParams as bu, type UploadVenmoGoogleOAuthSellerCredentialParams as bv, type UploadGoogleOAuthSellerCredentialParams as bw, type VerifySellerPaymentParams as bx, type IdentityAttestationActionType as by, type IdentityAttestationOutput as bz, type SellerCredentialUploadInput as c, type SendTransactionFn as c$, type IntentStatus as c0, type RateManagerEntity as c1, type RateManagerRateEntity as c2, type RateManagerDelegationEntity as c3, type ManagerAggregateStatsEntity as c4, type ManagerStatsEntity as c5, type ManagerDailySnapshotEntity as c6, type RateManagerListItem as c7, type RateManagerDetail as c8, type ManualRateUpdateEntity as c9, type CurrencyData as cA, getContracts as cB, getRateManagerContracts as cC, getPaymentMethodsCatalog as cD, getGatingServiceAddress as cE, type RuntimeEnv as cF, parseDepositView as cG, parseIntentView as cH, enrichPvDepositView as cI, enrichPvIntentView as cJ, type PV_DepositView as cK, type PV_Deposit as cL, type PV_PaymentMethodData as cM, type PV_Currency as cN, type PV_ReferralFee as cO, type PV_IntentView as cP, type PV_Intent as cQ, ZERO_RATE_MANAGER_ID as cR, isZeroRateManagerId as cS, normalizeRateManagerId as cT, normalizeRegistry as cU, getDelegationRoute as cV, classifyDelegationState as cW, type DelegationRoute as cX, type DelegationState as cY, type DelegationDepositTarget as cZ, type BatchResult as c_, type OracleConfigUpdateEntity as ca, type DepositFundActivityEntity as cb, type DepositDailySnapshotEntity as cc, type DepositFundActivityType as cd, type DepositFilter as ce, type PaginationOptions as cf, type DepositOrderField as cg, type OrderDirection$1 as ch, type RateManagerFilter as ci, type RateManagerPaginationOptions as cj, type RateManagerDelegationPaginationOptions as ck, type RateManagerOrderField as cl, type OrderDirection as cm, type DeploymentEnv as cn, type FulfillmentRecord as co, type PaymentVerifiedRecord as cp, type FulfillmentAndPaymentResponse as cq, PAYMENT_PLATFORMS as cr, type PaymentPlatformType as cs, Currency as ct, currencyInfo as cu, getCurrencyInfoFromHash as cv, getCurrencyInfoFromCountryCode as cw, getCurrencyCodeFromHash as cx, isSupportedCurrencyHash as cy, mapConversionRatesToOnchainMinRate as cz, type SellerCredentialUploadPlatform as d, type SendBatchFn as d0, ZERO_ADDRESS as d1, asErrorMessage as d2, assertDelegationMethodSupport as d3, type SellerCredentialAttestationRuntime as e, type AttestationServiceSellerCredentialUploadResponse as f, type BuyerTeeSessionMaterialEncryptionInput as g, type CreateReferralCodeRequest as h, type ApiAdapterOptions as i, type CreateReferralCodeResponse as j, type ReferralReadRequest as k, type ReferralDashboardResponse as l, type ReferralEarningsResponse as m, type ReferralCodeLookupResponse as n, type RedeemReferralCodeRequest as o, type RedeemReferralCodeResponse as p, type UpdateReferralCodeRequest as q, type UpdateReferralCodeResponse as r, type GoogleOAuthSellerCredentialUploadBodyByPlatform as s, type BestByPlatformResponse as t, type ValidatePayeeDetailsResponse as u, type PostDepositDetailsResponse as v, type GetPayeeDetailsRequest as w, type GetPayeeDetailsResponse as x, type GetOwnerDepositsRequest as y, type GetOwnerDepositsResponse as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkp2p/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "ZKP2P Client SDK - TypeScript SDK for deposit management, liquidity provision, and onramping",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"node": ">=22"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@zkp2p/indexer-schema": "0.
|
|
91
|
-
"@zkp2p/contracts-v2": "0.
|
|
92
|
-
"@zkp2p/zkp2p-attestation": "
|
|
90
|
+
"@zkp2p/indexer-schema": "0.6.1",
|
|
91
|
+
"@zkp2p/contracts-v2": "0.3.0",
|
|
92
|
+
"@zkp2p/zkp2p-attestation": "2.0.0",
|
|
93
93
|
"ethers": "^6.0.0",
|
|
94
94
|
"ox": "^0.11.1"
|
|
95
95
|
},
|