@zkp2p/sdk 0.4.0-rc.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +260 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +13 -4
- package/dist/index.d.ts +13 -4
- package/dist/index.mjs +260 -55
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/{vaultUtils-ChVrAlJN.d.mts → vaultUtils-Dt7ZOITQ.d.mts} +99 -15
- package/dist/{vaultUtils-ChVrAlJN.d.ts → vaultUtils-Dt7ZOITQ.d.ts} +99 -15
- package/package.json +2 -2
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, s as SignalIntentMethodParams, b8 as PreparedTransaction, bb as TakerTier, i as GetTakerTierRequest, j as GetTakerTierResponse, F as FulfillIntentMethodParams, cr as SendTransactionFn, cs as SendBatchFn, cp as DelegationDepositTarget, cq as BatchResult } from './vaultUtils-Dt7ZOITQ.mjs';
|
|
2
|
+
export { cn as DelegationRoute, co as DelegationState, ct as VAULT_ZERO_ADDRESS, ch as ZERO_RATE_MANAGER_ID, cu as asErrorMessage, cv as assertDelegationMethodSupport, cm as classifyDelegationState, cl as getDelegationRoute, ci as isZeroRateManagerId, cj as normalizeRateManagerId, ck as normalizeRegistry } from './vaultUtils-Dt7ZOITQ.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, s as SignalIntentMethodParams, b8 as PreparedTransaction, bb as TakerTier, i as GetTakerTierRequest, j as GetTakerTierResponse, F as FulfillIntentMethodParams, cr as SendTransactionFn, cs as SendBatchFn, cp as DelegationDepositTarget, cq as BatchResult } from './vaultUtils-Dt7ZOITQ.js';
|
|
2
|
+
export { cn as DelegationRoute, co as DelegationState, ct as VAULT_ZERO_ADDRESS, ch as ZERO_RATE_MANAGER_ID, cu as asErrorMessage, cv as assertDelegationMethodSupport, cm as classifyDelegationState, cl as getDelegationRoute, ci as isZeroRateManagerId, cj as normalizeRateManagerId, ck as normalizeRegistry } from './vaultUtils-Dt7ZOITQ.js';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
|
@@ -1001,8 +1001,8 @@ type CuratorPayeeDataInput = {
|
|
|
1001
1001
|
type FulfillIntentParams = {
|
|
1002
1002
|
/** Hash of the intent to fulfill */
|
|
1003
1003
|
intentHash: Hash;
|
|
1004
|
-
/**
|
|
1005
|
-
proof: Record<string, unknown> | string;
|
|
1004
|
+
/** Payment proof from Reclaim (object or JSON string) or buyer TEE proof input */
|
|
1005
|
+
proof: Record<string, unknown> | string | BuyerTeePaymentProofInput;
|
|
1006
1006
|
/** Optional attestation timestamp buffer override in milliseconds */
|
|
1007
1007
|
timestampBufferMs?: number | string;
|
|
1008
1008
|
/** Override the attestation service base URL */
|
|
@@ -1082,6 +1082,10 @@ type PostDepositDetailsResponse = {
|
|
|
1082
1082
|
metadata: Record<string, string> | null;
|
|
1083
1083
|
hashedOnchainId: string;
|
|
1084
1084
|
createdAt: string;
|
|
1085
|
+
/** Per-merchant forwarding alias (PayPal multi-merchant flow) */
|
|
1086
|
+
forwardingMailboxAlias?: string | null;
|
|
1087
|
+
/** Alias surfaced by curator maker lookup (alternative field name from GET /v1/makers/paypal/<hash>) */
|
|
1088
|
+
paypalForwardingAlias?: string | null;
|
|
1085
1089
|
};
|
|
1086
1090
|
statusCode: number;
|
|
1087
1091
|
};
|
|
@@ -1090,7 +1094,7 @@ type PostDepositDetailsResponse = {
|
|
|
1090
1094
|
*/
|
|
1091
1095
|
type RegisterPayeeDetailsRequest = PostDepositDetailsRequest;
|
|
1092
1096
|
type RegisterPayeeDetailsResponse = PostDepositDetailsResponse;
|
|
1093
|
-
type SellerPlatform = 'venmo' | 'cashapp' | 'wise';
|
|
1097
|
+
type SellerPlatform = 'venmo' | 'cashapp' | 'wise' | 'paypal';
|
|
1094
1098
|
type VenmoSessionMaterial = {
|
|
1095
1099
|
recipientUsername: string;
|
|
1096
1100
|
accountId: string;
|
|
@@ -1106,9 +1110,27 @@ type CashAppSessionMaterial = {
|
|
|
1106
1110
|
};
|
|
1107
1111
|
type WiseSessionMaterial = {
|
|
1108
1112
|
apiToken: string;
|
|
1113
|
+
profileId?: string;
|
|
1114
|
+
};
|
|
1115
|
+
type WiseProfileInfo = {
|
|
1116
|
+
profileId: number | string;
|
|
1117
|
+
type: string;
|
|
1118
|
+
name?: string;
|
|
1119
|
+
currentState?: string;
|
|
1120
|
+
};
|
|
1121
|
+
type WiseProfileSelectionRequired = {
|
|
1122
|
+
code: 'WISE_PROFILE_SELECTION_REQUIRED';
|
|
1123
|
+
profiles: WiseProfileInfo[];
|
|
1124
|
+
};
|
|
1125
|
+
type WiseProfileNotFound = {
|
|
1126
|
+
code: 'WISE_PROFILE_NOT_FOUND';
|
|
1109
1127
|
profileId: string;
|
|
1110
|
-
|
|
1111
|
-
|
|
1128
|
+
profiles: WiseProfileInfo[];
|
|
1129
|
+
};
|
|
1130
|
+
type PayPalSessionMaterial = {
|
|
1131
|
+
payeeEmail: string;
|
|
1132
|
+
forwardingBaseMailbox: string;
|
|
1133
|
+
forwardingMailboxAlias: string;
|
|
1112
1134
|
};
|
|
1113
1135
|
type VenmoCredentialUploadInput = {
|
|
1114
1136
|
payeeId: string;
|
|
@@ -1119,13 +1141,17 @@ type CashAppCredentialUploadInput = {
|
|
|
1119
1141
|
sessionMaterial: CashAppSessionMaterial;
|
|
1120
1142
|
};
|
|
1121
1143
|
type WiseCredentialUploadInput = {
|
|
1122
|
-
payeeId: string;
|
|
1123
1144
|
sessionMaterial: WiseSessionMaterial;
|
|
1124
1145
|
};
|
|
1146
|
+
type PayPalCredentialUploadInput = {
|
|
1147
|
+
payeeId: string;
|
|
1148
|
+
sessionMaterial: PayPalSessionMaterial;
|
|
1149
|
+
};
|
|
1125
1150
|
type SellerCredentialUploadInputByPlatform = {
|
|
1126
1151
|
venmo: VenmoCredentialUploadInput;
|
|
1127
1152
|
cashapp: CashAppCredentialUploadInput;
|
|
1128
1153
|
wise: WiseCredentialUploadInput;
|
|
1154
|
+
paypal: PayPalCredentialUploadInput;
|
|
1129
1155
|
};
|
|
1130
1156
|
type SellerCredentialUploadInput = SellerCredentialUploadInputByPlatform[SellerPlatform];
|
|
1131
1157
|
type SellerCiphertextBundle = {
|
|
@@ -1176,6 +1202,22 @@ type SellerVerifyProxyBody = {
|
|
|
1176
1202
|
txId: string;
|
|
1177
1203
|
chainId: number;
|
|
1178
1204
|
intent: SellerVerifyIntentDetails;
|
|
1205
|
+
metadata?: Record<string, unknown>;
|
|
1206
|
+
};
|
|
1207
|
+
type BuyerTeePaymentParams = Record<string, string | number | boolean>;
|
|
1208
|
+
type BuyerTeePaymentProofInput = {
|
|
1209
|
+
proofType: 'buyerTee';
|
|
1210
|
+
encryptedSessionMaterial: string;
|
|
1211
|
+
params: BuyerTeePaymentParams;
|
|
1212
|
+
};
|
|
1213
|
+
type BuyerTeeSessionMaterial = Record<string, string>;
|
|
1214
|
+
type BuyerTeeSessionMaterialEncryptionInput = {
|
|
1215
|
+
actionType: string;
|
|
1216
|
+
attestationRuntime?: SellerCredentialAttestationRuntime;
|
|
1217
|
+
attestationServiceUrl: string;
|
|
1218
|
+
platform: string;
|
|
1219
|
+
sessionMaterial: BuyerTeeSessionMaterial;
|
|
1220
|
+
timeoutMs?: number | null;
|
|
1179
1221
|
};
|
|
1180
1222
|
type SellerTypedDataField = {
|
|
1181
1223
|
name: string;
|
|
@@ -1243,14 +1285,25 @@ type CuratorSellerVerifyResponse = {
|
|
|
1243
1285
|
responseObject: SellerAttestationOutput;
|
|
1244
1286
|
statusCode: number;
|
|
1245
1287
|
};
|
|
1246
|
-
type
|
|
1247
|
-
|
|
1288
|
+
type RegisteredSellerCredentialPlatform = Exclude<SellerPlatform, 'wise'>;
|
|
1289
|
+
type UploadSellerCredentialParams = ({
|
|
1290
|
+
platform: 'wise';
|
|
1291
|
+
} & WiseCredentialUploadInput) | {
|
|
1292
|
+
[P in RegisteredSellerCredentialPlatform]: {
|
|
1293
|
+
offchainId: string;
|
|
1294
|
+
telegramUsername?: string | null;
|
|
1295
|
+
metadata?: Record<string, string> | null;
|
|
1296
|
+
platform: P;
|
|
1297
|
+
} & SellerCredentialUploadInputByPlatform[P];
|
|
1298
|
+
}[RegisteredSellerCredentialPlatform];
|
|
1299
|
+
type RegisteredUploadSellerCredentialParams = {
|
|
1300
|
+
[P in RegisteredSellerCredentialPlatform]: {
|
|
1248
1301
|
offchainId: string;
|
|
1249
1302
|
telegramUsername?: string | null;
|
|
1250
1303
|
metadata?: Record<string, string> | null;
|
|
1251
1304
|
platform: P;
|
|
1252
1305
|
} & SellerCredentialUploadInputByPlatform[P];
|
|
1253
|
-
}[
|
|
1306
|
+
}[RegisteredSellerCredentialPlatform];
|
|
1254
1307
|
type UploadSellerCredentialOptions = {
|
|
1255
1308
|
baseApiUrl?: string;
|
|
1256
1309
|
attestationServiceUrl?: string;
|
|
@@ -1261,6 +1314,21 @@ type GetSellerCredentialStatusParams = {
|
|
|
1261
1314
|
processorName: SellerPlatform;
|
|
1262
1315
|
payeeDetails: Hash;
|
|
1263
1316
|
};
|
|
1317
|
+
type PayPalForwardingConfirmationErrorCode = 'paypal_forwarding_confirmation_not_found' | 'paypal_forwarding_initiator_email_mismatch' | 'paypal_forwarding_confirmation_expired' | 'paypal_forwarding_confirmation_rejected';
|
|
1318
|
+
type ConfirmPayPalForwardingRequest = {
|
|
1319
|
+
payeeDetails: Hash;
|
|
1320
|
+
payeeEmail: string;
|
|
1321
|
+
forwardingInitiatorEmail: string;
|
|
1322
|
+
};
|
|
1323
|
+
type ConfirmPayPalForwardingStatus = Omit<SellerCredentialStatus, 'payeeIdHash'> & {
|
|
1324
|
+
payeeIdHash?: Hash;
|
|
1325
|
+
};
|
|
1326
|
+
type ConfirmPayPalForwardingResponse = {
|
|
1327
|
+
success: boolean;
|
|
1328
|
+
message: string;
|
|
1329
|
+
responseObject: ConfirmPayPalForwardingStatus;
|
|
1330
|
+
statusCode: number;
|
|
1331
|
+
};
|
|
1264
1332
|
type VerifySellerPaymentParams = {
|
|
1265
1333
|
platform: SellerPlatform;
|
|
1266
1334
|
} & SellerVerifyProxyBody;
|
|
@@ -1483,6 +1551,8 @@ type GetPayeeDetailsResponse = {
|
|
|
1483
1551
|
metadata: Record<string, string> | null;
|
|
1484
1552
|
hashedOnchainId: string;
|
|
1485
1553
|
createdAt: string;
|
|
1554
|
+
/** Per-merchant forwarding alias surfaced on maker lookup (PayPal multi-merchant flow) */
|
|
1555
|
+
paypalForwardingAlias?: string | null;
|
|
1486
1556
|
};
|
|
1487
1557
|
statusCode: number;
|
|
1488
1558
|
};
|
|
@@ -1765,6 +1835,7 @@ type GetOrderbookParams = {
|
|
|
1765
1835
|
token?: string;
|
|
1766
1836
|
};
|
|
1767
1837
|
type OrderbookEntry = {
|
|
1838
|
+
depositIdOnContract?: string;
|
|
1768
1839
|
depositId: string;
|
|
1769
1840
|
depositor: string;
|
|
1770
1841
|
price: string;
|
|
@@ -1910,8 +1981,8 @@ type CancelIntentMethodParams = {
|
|
|
1910
1981
|
type FulfillIntentMethodParams = {
|
|
1911
1982
|
/** The intent hash to fulfill (0x-prefixed, 32 bytes) */
|
|
1912
1983
|
intentHash: `0x${string}`;
|
|
1913
|
-
/** Payment proof from Reclaim (object or JSON string) */
|
|
1914
|
-
proof: Record<string, unknown> | string;
|
|
1984
|
+
/** Payment proof from Reclaim (object or JSON string) or buyer TEE proof input */
|
|
1985
|
+
proof: Record<string, unknown> | string | BuyerTeePaymentProofInput;
|
|
1915
1986
|
/** Allowed timestamp variance in ms (default: 300000ms) */
|
|
1916
1987
|
timestampBufferMs?: string;
|
|
1917
1988
|
/** Override attestation service URL */
|
|
@@ -3211,7 +3282,7 @@ declare class Zkp2pClient {
|
|
|
3211
3282
|
* ```
|
|
3212
3283
|
*
|
|
3213
3284
|
* @param params.intentHash - The intent hash to fulfill (0x-prefixed, 32 bytes)
|
|
3214
|
-
* @param params.proof - Payment proof from Reclaim (object or JSON string)
|
|
3285
|
+
* @param params.proof - Payment proof from Reclaim (object or JSON string) or buyer TEE proof input
|
|
3215
3286
|
* @param params.timestampBufferMs - Allowed timestamp variance (default: 300000ms)
|
|
3216
3287
|
* @param params.attestationServiceUrl - Override attestation service URL
|
|
3217
3288
|
* @param params.postIntentHookData - Data to pass to post-intent hook
|
|
@@ -3321,10 +3392,23 @@ declare class Zkp2pClient {
|
|
|
3321
3392
|
* seller-automated-release availability is governed by curator's probe/revalidation state
|
|
3322
3393
|
* rather than these timestamps.
|
|
3323
3394
|
*
|
|
3324
|
-
*
|
|
3325
|
-
*
|
|
3395
|
+
* Create a signed seller credential bundle with attestation-service and store it via
|
|
3396
|
+
* curator's platform plus hashed payee-details route. Session-cookie platforms register
|
|
3397
|
+
* or recover the payee maker row before upload; Wise derives the payee hash inside the enclave
|
|
3398
|
+
* from the submitted Personal API Token.
|
|
3326
3399
|
*/
|
|
3327
3400
|
uploadSellerCredential(params: UploadSellerCredentialParams, opts?: UploadSellerCredentialOptions): Promise<CuratorSellerCredentialUploadResponse>;
|
|
3401
|
+
/**
|
|
3402
|
+
* Confirms the PayPal Gmail-forwarding setup for an existing maker payee hash.
|
|
3403
|
+
*
|
|
3404
|
+
* Uses curator's `/forwarding-confirmation` route and forwards both API key and
|
|
3405
|
+
* bearer token so either auth strategy can satisfy the hybrid gate. The endpoint
|
|
3406
|
+
* is rate-limited server-side; callers should surface retry guidance from APIError.
|
|
3407
|
+
*/
|
|
3408
|
+
confirmPayPalForwarding(params: ConfirmPayPalForwardingRequest, opts?: {
|
|
3409
|
+
baseApiUrl?: string;
|
|
3410
|
+
timeoutMs?: number;
|
|
3411
|
+
}): Promise<ConfirmPayPalForwardingResponse>;
|
|
3328
3412
|
/**
|
|
3329
3413
|
* Status is a coarse curator-owned signal (`active` / `inactive` / `missing`) and intentionally
|
|
3330
3414
|
* omits low-level diagnostics. Curator may still re-probe stale credentials during verify, so callers
|
|
@@ -3511,4 +3595,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
3511
3595
|
value?: bigint;
|
|
3512
3596
|
}>) => Promise<string>;
|
|
3513
3597
|
|
|
3514
|
-
export { type
|
|
3598
|
+
export { type GetNearbySuggestions as $, type AttestationServiceSellerCredentialUploadResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type ConfirmPayPalForwardingResponse as C, type DepositWithRelations as D, type Range as E, type FulfillIntentMethodParams as F, type GetPayeeDetailsRequest as G, type SignalIntentParams as H, type IntentEntity$1 as I, type FulfillIntentParams as J, type ReleaseFundsToPayerParams as K, type CancelIntentParams as L, type BestByPlatformResponseObject as M, type GetBestByPlatformResponse as N, type GetBestByPlatformResponseObject as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialUploadInput as S, type TxOverrides as T, type GetPlatformQuote as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type PlatformQuote as X, type QuoteRequest as Y, Zkp2pClient as Z, type GetNearbyQuote as _, type SellerPlatform as a, type UploadSellerCredentialParams as a$, type GetQuoteResponse as a0, type GetQuoteResponseObject as a1, type GetQuoteSingleResponse as a2, type QuoteResponse as a3, type QuoteResponseObject as a4, type QuoteSingleResponse as a5, type QuoteIntentResponse as a6, type QuoteFeesResponse as a7, type FiatResponse as a8, type TokenResponse as a9, type CashAppCredentialUploadInput as aA, type WiseCredentialUploadInput as aB, type PayPalCredentialUploadInput as aC, type SellerCredentialUploadInputByPlatform as aD, type SellerCiphertextBundle as aE, type SellerSignedCiphertextBundle as aF, type SellerVerifyIntentDetails as aG, type SellerVerifyInput as aH, type SellerProbeInput as aI, type SellerCredentialBundle as aJ, type SellerCredentialBundleUpload as aK, type SellerCredentialStatusValue as aL, type SellerCredentialStatus as aM, type SellerVerifyProxyBody as aN, type SellerTypedDataField as aO, type SellerTypedDataSpec as aP, type SellerPaymentTypedDataValue as aQ, type SellerAttestationOutput as aR, type SellerCredentialProbeResponse as aS, type AttestationServiceSellerVerifyResponse as aT, type AttestationServiceSellerCredentialProbeResponse as aU, type BuyerTeePaymentParams as aV, type BuyerTeePaymentProofInput as aW, type BuyerTeeSessionMaterial as aX, type CuratorSellerCredentialUploadResponse as aY, type CuratorSellerCredentialStatusResponse as aZ, type CuratorSellerVerifyResponse as a_, type NearbyQuote as aa, type NearbySuggestions as ab, type ApiDeposit as ac, type DepositVerifier as ad, type DepositVerifierCurrency as ae, type DepositStatus as af, type GetDepositByIdRequest as ag, type GetDepositByIdResponse as ah, type Intent as ai, type ApiIntentStatus as aj, type GetOwnerIntentsRequest as ak, type GetOwnerIntentsResponse as al, type GetIntentsByDepositRequest as am, type GetIntentsByDepositResponse as an, type GetIntentByHashRequest as ao, type GetIntentByHashResponse as ap, type RegisterPayeeDetailsRequest as aq, type RegisterPayeeDetailsResponse as ar, type VenmoSessionMaterial as as, type CashAppSessionMaterial as at, type WiseSessionMaterial as au, type WiseProfileInfo as av, type WiseProfileSelectionRequired as aw, type WiseProfileNotFound as ax, type PayPalSessionMaterial as ay, type VenmoCredentialUploadInput as az, type SellerCredentialAttestationRuntime as b, mapConversionRatesToOnchainMinRate as b$, type RegisteredUploadSellerCredentialParams as b0, type UploadSellerCredentialOptions as b1, type GetSellerCredentialStatusParams as b2, type ConfirmPayPalForwardingRequest as b3, type PayPalForwardingConfirmationErrorCode as b4, type VerifySellerPaymentParams as b5, type OnchainCurrency as b6, type DepositVerifierData as b7, type PreparedTransaction as b8, type OrderStats as b9, type RateManagerDetail as bA, type ManualRateUpdateEntity as bB, type OracleConfigUpdateEntity as bC, type DepositFundActivityEntity$1 as bD, type DepositDailySnapshotEntity$1 as bE, type DepositFundActivityType$1 as bF, type DepositFilter as bG, type PaginationOptions as bH, type DepositOrderField as bI, type OrderDirection$1 as bJ, type RateManagerFilter as bK, type RateManagerPaginationOptions as bL, type RateManagerDelegationPaginationOptions as bM, type RateManagerOrderField as bN, type OrderDirection as bO, type DeploymentEnv as bP, type FulfillmentRecord as bQ, type PaymentVerifiedRecord as bR, type FulfillmentAndPaymentResponse as bS, PAYMENT_PLATFORMS as bT, type PaymentPlatformType as bU, Currency as bV, currencyInfo as bW, getCurrencyInfoFromHash as bX, getCurrencyInfoFromCountryCode as bY, getCurrencyCodeFromHash as bZ, isSupportedCurrencyHash as b_, type DepositIntentStatistics as ba, type TakerTier as bb, type TakerTierStats as bc, type TakerTierLevel as bd, type PlatformLimit as be, type PlatformRiskLevel as bf, type OrderbookEntry as bg, IndexerClient as bh, defaultIndexerEndpoint as bi, IndexerDepositService as bj, IndexerRateManagerService as bk, compareEventCursorIdsByRecency as bl, fetchFulfillmentAndPayment as bm, type DepositEntity$1 as bn, type IntentFulfilledEntity as bo, type IntentFulfillmentAmountsEntity as bp, type DepositPaymentMethodEntity$1 as bq, type MethodCurrencyEntity$1 as br, type IntentStatus as bs, type RateManagerEntity as bt, type RateManagerRateEntity as bu, type RateManagerDelegationEntity as bv, type ManagerAggregateStatsEntity as bw, type ManagerStatsEntity as bx, type ManagerDailySnapshotEntity as by, type RateManagerListItem as bz, type BestByPlatformResponse as c, type CurrencyData as c0, getContracts as c1, getRateManagerContracts as c2, getPaymentMethodsCatalog as c3, getGatingServiceAddress as c4, type RuntimeEnv as c5, parseDepositView as c6, parseIntentView as c7, enrichPvDepositView as c8, enrichPvIntentView as c9, type PV_DepositView as ca, type PV_Deposit as cb, type PV_PaymentMethodData as cc, type PV_Currency as cd, type PV_ReferralFee as ce, type PV_IntentView as cf, type PV_Intent as cg, ZERO_RATE_MANAGER_ID as ch, isZeroRateManagerId as ci, normalizeRateManagerId as cj, normalizeRegistry as ck, getDelegationRoute as cl, classifyDelegationState as cm, type DelegationRoute as cn, type DelegationState as co, type DelegationDepositTarget as cp, type BatchResult as cq, type SendTransactionFn as cr, type SendBatchFn as cs, ZERO_ADDRESS as ct, asErrorMessage as cu, assertDelegationMethodSupport as cv, type ValidatePayeeDetailsResponse as d, type PostDepositDetailsResponse as e, type GetPayeeDetailsResponse as f, type GetOwnerDepositsRequest as g, type GetOwnerDepositsResponse as h, type GetTakerTierRequest as i, type GetTakerTierResponse as j, type GetDepositBundleParams as k, type ApiAdapterOptions as l, type GetDepositBundleResponse as m, type GetOrderbookParams as n, type GetOrderbookResponse as o, type CurrencyType as p, type PaymentMethodCatalog as q, type SignalIntentReferralFee as r, type SignalIntentMethodParams as s, type CancelIntentMethodParams as t, type Zkp2pNextOptions as u, type AuthorizationTokenProvider as v, type TimeoutConfig as w, type ActionCallback as x, type CreateDepositParams as y, type CreateDepositConversionRate as z };
|
|
@@ -1001,8 +1001,8 @@ type CuratorPayeeDataInput = {
|
|
|
1001
1001
|
type FulfillIntentParams = {
|
|
1002
1002
|
/** Hash of the intent to fulfill */
|
|
1003
1003
|
intentHash: Hash;
|
|
1004
|
-
/**
|
|
1005
|
-
proof: Record<string, unknown> | string;
|
|
1004
|
+
/** Payment proof from Reclaim (object or JSON string) or buyer TEE proof input */
|
|
1005
|
+
proof: Record<string, unknown> | string | BuyerTeePaymentProofInput;
|
|
1006
1006
|
/** Optional attestation timestamp buffer override in milliseconds */
|
|
1007
1007
|
timestampBufferMs?: number | string;
|
|
1008
1008
|
/** Override the attestation service base URL */
|
|
@@ -1082,6 +1082,10 @@ type PostDepositDetailsResponse = {
|
|
|
1082
1082
|
metadata: Record<string, string> | null;
|
|
1083
1083
|
hashedOnchainId: string;
|
|
1084
1084
|
createdAt: string;
|
|
1085
|
+
/** Per-merchant forwarding alias (PayPal multi-merchant flow) */
|
|
1086
|
+
forwardingMailboxAlias?: string | null;
|
|
1087
|
+
/** Alias surfaced by curator maker lookup (alternative field name from GET /v1/makers/paypal/<hash>) */
|
|
1088
|
+
paypalForwardingAlias?: string | null;
|
|
1085
1089
|
};
|
|
1086
1090
|
statusCode: number;
|
|
1087
1091
|
};
|
|
@@ -1090,7 +1094,7 @@ type PostDepositDetailsResponse = {
|
|
|
1090
1094
|
*/
|
|
1091
1095
|
type RegisterPayeeDetailsRequest = PostDepositDetailsRequest;
|
|
1092
1096
|
type RegisterPayeeDetailsResponse = PostDepositDetailsResponse;
|
|
1093
|
-
type SellerPlatform = 'venmo' | 'cashapp' | 'wise';
|
|
1097
|
+
type SellerPlatform = 'venmo' | 'cashapp' | 'wise' | 'paypal';
|
|
1094
1098
|
type VenmoSessionMaterial = {
|
|
1095
1099
|
recipientUsername: string;
|
|
1096
1100
|
accountId: string;
|
|
@@ -1106,9 +1110,27 @@ type CashAppSessionMaterial = {
|
|
|
1106
1110
|
};
|
|
1107
1111
|
type WiseSessionMaterial = {
|
|
1108
1112
|
apiToken: string;
|
|
1113
|
+
profileId?: string;
|
|
1114
|
+
};
|
|
1115
|
+
type WiseProfileInfo = {
|
|
1116
|
+
profileId: number | string;
|
|
1117
|
+
type: string;
|
|
1118
|
+
name?: string;
|
|
1119
|
+
currentState?: string;
|
|
1120
|
+
};
|
|
1121
|
+
type WiseProfileSelectionRequired = {
|
|
1122
|
+
code: 'WISE_PROFILE_SELECTION_REQUIRED';
|
|
1123
|
+
profiles: WiseProfileInfo[];
|
|
1124
|
+
};
|
|
1125
|
+
type WiseProfileNotFound = {
|
|
1126
|
+
code: 'WISE_PROFILE_NOT_FOUND';
|
|
1109
1127
|
profileId: string;
|
|
1110
|
-
|
|
1111
|
-
|
|
1128
|
+
profiles: WiseProfileInfo[];
|
|
1129
|
+
};
|
|
1130
|
+
type PayPalSessionMaterial = {
|
|
1131
|
+
payeeEmail: string;
|
|
1132
|
+
forwardingBaseMailbox: string;
|
|
1133
|
+
forwardingMailboxAlias: string;
|
|
1112
1134
|
};
|
|
1113
1135
|
type VenmoCredentialUploadInput = {
|
|
1114
1136
|
payeeId: string;
|
|
@@ -1119,13 +1141,17 @@ type CashAppCredentialUploadInput = {
|
|
|
1119
1141
|
sessionMaterial: CashAppSessionMaterial;
|
|
1120
1142
|
};
|
|
1121
1143
|
type WiseCredentialUploadInput = {
|
|
1122
|
-
payeeId: string;
|
|
1123
1144
|
sessionMaterial: WiseSessionMaterial;
|
|
1124
1145
|
};
|
|
1146
|
+
type PayPalCredentialUploadInput = {
|
|
1147
|
+
payeeId: string;
|
|
1148
|
+
sessionMaterial: PayPalSessionMaterial;
|
|
1149
|
+
};
|
|
1125
1150
|
type SellerCredentialUploadInputByPlatform = {
|
|
1126
1151
|
venmo: VenmoCredentialUploadInput;
|
|
1127
1152
|
cashapp: CashAppCredentialUploadInput;
|
|
1128
1153
|
wise: WiseCredentialUploadInput;
|
|
1154
|
+
paypal: PayPalCredentialUploadInput;
|
|
1129
1155
|
};
|
|
1130
1156
|
type SellerCredentialUploadInput = SellerCredentialUploadInputByPlatform[SellerPlatform];
|
|
1131
1157
|
type SellerCiphertextBundle = {
|
|
@@ -1176,6 +1202,22 @@ type SellerVerifyProxyBody = {
|
|
|
1176
1202
|
txId: string;
|
|
1177
1203
|
chainId: number;
|
|
1178
1204
|
intent: SellerVerifyIntentDetails;
|
|
1205
|
+
metadata?: Record<string, unknown>;
|
|
1206
|
+
};
|
|
1207
|
+
type BuyerTeePaymentParams = Record<string, string | number | boolean>;
|
|
1208
|
+
type BuyerTeePaymentProofInput = {
|
|
1209
|
+
proofType: 'buyerTee';
|
|
1210
|
+
encryptedSessionMaterial: string;
|
|
1211
|
+
params: BuyerTeePaymentParams;
|
|
1212
|
+
};
|
|
1213
|
+
type BuyerTeeSessionMaterial = Record<string, string>;
|
|
1214
|
+
type BuyerTeeSessionMaterialEncryptionInput = {
|
|
1215
|
+
actionType: string;
|
|
1216
|
+
attestationRuntime?: SellerCredentialAttestationRuntime;
|
|
1217
|
+
attestationServiceUrl: string;
|
|
1218
|
+
platform: string;
|
|
1219
|
+
sessionMaterial: BuyerTeeSessionMaterial;
|
|
1220
|
+
timeoutMs?: number | null;
|
|
1179
1221
|
};
|
|
1180
1222
|
type SellerTypedDataField = {
|
|
1181
1223
|
name: string;
|
|
@@ -1243,14 +1285,25 @@ type CuratorSellerVerifyResponse = {
|
|
|
1243
1285
|
responseObject: SellerAttestationOutput;
|
|
1244
1286
|
statusCode: number;
|
|
1245
1287
|
};
|
|
1246
|
-
type
|
|
1247
|
-
|
|
1288
|
+
type RegisteredSellerCredentialPlatform = Exclude<SellerPlatform, 'wise'>;
|
|
1289
|
+
type UploadSellerCredentialParams = ({
|
|
1290
|
+
platform: 'wise';
|
|
1291
|
+
} & WiseCredentialUploadInput) | {
|
|
1292
|
+
[P in RegisteredSellerCredentialPlatform]: {
|
|
1293
|
+
offchainId: string;
|
|
1294
|
+
telegramUsername?: string | null;
|
|
1295
|
+
metadata?: Record<string, string> | null;
|
|
1296
|
+
platform: P;
|
|
1297
|
+
} & SellerCredentialUploadInputByPlatform[P];
|
|
1298
|
+
}[RegisteredSellerCredentialPlatform];
|
|
1299
|
+
type RegisteredUploadSellerCredentialParams = {
|
|
1300
|
+
[P in RegisteredSellerCredentialPlatform]: {
|
|
1248
1301
|
offchainId: string;
|
|
1249
1302
|
telegramUsername?: string | null;
|
|
1250
1303
|
metadata?: Record<string, string> | null;
|
|
1251
1304
|
platform: P;
|
|
1252
1305
|
} & SellerCredentialUploadInputByPlatform[P];
|
|
1253
|
-
}[
|
|
1306
|
+
}[RegisteredSellerCredentialPlatform];
|
|
1254
1307
|
type UploadSellerCredentialOptions = {
|
|
1255
1308
|
baseApiUrl?: string;
|
|
1256
1309
|
attestationServiceUrl?: string;
|
|
@@ -1261,6 +1314,21 @@ type GetSellerCredentialStatusParams = {
|
|
|
1261
1314
|
processorName: SellerPlatform;
|
|
1262
1315
|
payeeDetails: Hash;
|
|
1263
1316
|
};
|
|
1317
|
+
type PayPalForwardingConfirmationErrorCode = 'paypal_forwarding_confirmation_not_found' | 'paypal_forwarding_initiator_email_mismatch' | 'paypal_forwarding_confirmation_expired' | 'paypal_forwarding_confirmation_rejected';
|
|
1318
|
+
type ConfirmPayPalForwardingRequest = {
|
|
1319
|
+
payeeDetails: Hash;
|
|
1320
|
+
payeeEmail: string;
|
|
1321
|
+
forwardingInitiatorEmail: string;
|
|
1322
|
+
};
|
|
1323
|
+
type ConfirmPayPalForwardingStatus = Omit<SellerCredentialStatus, 'payeeIdHash'> & {
|
|
1324
|
+
payeeIdHash?: Hash;
|
|
1325
|
+
};
|
|
1326
|
+
type ConfirmPayPalForwardingResponse = {
|
|
1327
|
+
success: boolean;
|
|
1328
|
+
message: string;
|
|
1329
|
+
responseObject: ConfirmPayPalForwardingStatus;
|
|
1330
|
+
statusCode: number;
|
|
1331
|
+
};
|
|
1264
1332
|
type VerifySellerPaymentParams = {
|
|
1265
1333
|
platform: SellerPlatform;
|
|
1266
1334
|
} & SellerVerifyProxyBody;
|
|
@@ -1483,6 +1551,8 @@ type GetPayeeDetailsResponse = {
|
|
|
1483
1551
|
metadata: Record<string, string> | null;
|
|
1484
1552
|
hashedOnchainId: string;
|
|
1485
1553
|
createdAt: string;
|
|
1554
|
+
/** Per-merchant forwarding alias surfaced on maker lookup (PayPal multi-merchant flow) */
|
|
1555
|
+
paypalForwardingAlias?: string | null;
|
|
1486
1556
|
};
|
|
1487
1557
|
statusCode: number;
|
|
1488
1558
|
};
|
|
@@ -1765,6 +1835,7 @@ type GetOrderbookParams = {
|
|
|
1765
1835
|
token?: string;
|
|
1766
1836
|
};
|
|
1767
1837
|
type OrderbookEntry = {
|
|
1838
|
+
depositIdOnContract?: string;
|
|
1768
1839
|
depositId: string;
|
|
1769
1840
|
depositor: string;
|
|
1770
1841
|
price: string;
|
|
@@ -1910,8 +1981,8 @@ type CancelIntentMethodParams = {
|
|
|
1910
1981
|
type FulfillIntentMethodParams = {
|
|
1911
1982
|
/** The intent hash to fulfill (0x-prefixed, 32 bytes) */
|
|
1912
1983
|
intentHash: `0x${string}`;
|
|
1913
|
-
/** Payment proof from Reclaim (object or JSON string) */
|
|
1914
|
-
proof: Record<string, unknown> | string;
|
|
1984
|
+
/** Payment proof from Reclaim (object or JSON string) or buyer TEE proof input */
|
|
1985
|
+
proof: Record<string, unknown> | string | BuyerTeePaymentProofInput;
|
|
1915
1986
|
/** Allowed timestamp variance in ms (default: 300000ms) */
|
|
1916
1987
|
timestampBufferMs?: string;
|
|
1917
1988
|
/** Override attestation service URL */
|
|
@@ -3211,7 +3282,7 @@ declare class Zkp2pClient {
|
|
|
3211
3282
|
* ```
|
|
3212
3283
|
*
|
|
3213
3284
|
* @param params.intentHash - The intent hash to fulfill (0x-prefixed, 32 bytes)
|
|
3214
|
-
* @param params.proof - Payment proof from Reclaim (object or JSON string)
|
|
3285
|
+
* @param params.proof - Payment proof from Reclaim (object or JSON string) or buyer TEE proof input
|
|
3215
3286
|
* @param params.timestampBufferMs - Allowed timestamp variance (default: 300000ms)
|
|
3216
3287
|
* @param params.attestationServiceUrl - Override attestation service URL
|
|
3217
3288
|
* @param params.postIntentHookData - Data to pass to post-intent hook
|
|
@@ -3321,10 +3392,23 @@ declare class Zkp2pClient {
|
|
|
3321
3392
|
* seller-automated-release availability is governed by curator's probe/revalidation state
|
|
3322
3393
|
* rather than these timestamps.
|
|
3323
3394
|
*
|
|
3324
|
-
*
|
|
3325
|
-
*
|
|
3395
|
+
* Create a signed seller credential bundle with attestation-service and store it via
|
|
3396
|
+
* curator's platform plus hashed payee-details route. Session-cookie platforms register
|
|
3397
|
+
* or recover the payee maker row before upload; Wise derives the payee hash inside the enclave
|
|
3398
|
+
* from the submitted Personal API Token.
|
|
3326
3399
|
*/
|
|
3327
3400
|
uploadSellerCredential(params: UploadSellerCredentialParams, opts?: UploadSellerCredentialOptions): Promise<CuratorSellerCredentialUploadResponse>;
|
|
3401
|
+
/**
|
|
3402
|
+
* Confirms the PayPal Gmail-forwarding setup for an existing maker payee hash.
|
|
3403
|
+
*
|
|
3404
|
+
* Uses curator's `/forwarding-confirmation` route and forwards both API key and
|
|
3405
|
+
* bearer token so either auth strategy can satisfy the hybrid gate. The endpoint
|
|
3406
|
+
* is rate-limited server-side; callers should surface retry guidance from APIError.
|
|
3407
|
+
*/
|
|
3408
|
+
confirmPayPalForwarding(params: ConfirmPayPalForwardingRequest, opts?: {
|
|
3409
|
+
baseApiUrl?: string;
|
|
3410
|
+
timeoutMs?: number;
|
|
3411
|
+
}): Promise<ConfirmPayPalForwardingResponse>;
|
|
3328
3412
|
/**
|
|
3329
3413
|
* Status is a coarse curator-owned signal (`active` / `inactive` / `missing`) and intentionally
|
|
3330
3414
|
* omits low-level diagnostics. Curator may still re-probe stale credentials during verify, so callers
|
|
@@ -3511,4 +3595,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
3511
3595
|
value?: bigint;
|
|
3512
3596
|
}>) => Promise<string>;
|
|
3513
3597
|
|
|
3514
|
-
export { type
|
|
3598
|
+
export { type GetNearbySuggestions as $, type AttestationServiceSellerCredentialUploadResponse as A, type BuyerTeeSessionMaterialEncryptionInput as B, type ConfirmPayPalForwardingResponse as C, type DepositWithRelations as D, type Range as E, type FulfillIntentMethodParams as F, type GetPayeeDetailsRequest as G, type SignalIntentParams as H, type IntentEntity$1 as I, type FulfillIntentParams as J, type ReleaseFundsToPayerParams as K, type CancelIntentParams as L, type BestByPlatformResponseObject as M, type GetBestByPlatformResponse as N, type GetBestByPlatformResponseObject as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialUploadInput as S, type TxOverrides as T, type GetPlatformQuote as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type PlatformQuote as X, type QuoteRequest as Y, Zkp2pClient as Z, type GetNearbyQuote as _, type SellerPlatform as a, type UploadSellerCredentialParams as a$, type GetQuoteResponse as a0, type GetQuoteResponseObject as a1, type GetQuoteSingleResponse as a2, type QuoteResponse as a3, type QuoteResponseObject as a4, type QuoteSingleResponse as a5, type QuoteIntentResponse as a6, type QuoteFeesResponse as a7, type FiatResponse as a8, type TokenResponse as a9, type CashAppCredentialUploadInput as aA, type WiseCredentialUploadInput as aB, type PayPalCredentialUploadInput as aC, type SellerCredentialUploadInputByPlatform as aD, type SellerCiphertextBundle as aE, type SellerSignedCiphertextBundle as aF, type SellerVerifyIntentDetails as aG, type SellerVerifyInput as aH, type SellerProbeInput as aI, type SellerCredentialBundle as aJ, type SellerCredentialBundleUpload as aK, type SellerCredentialStatusValue as aL, type SellerCredentialStatus as aM, type SellerVerifyProxyBody as aN, type SellerTypedDataField as aO, type SellerTypedDataSpec as aP, type SellerPaymentTypedDataValue as aQ, type SellerAttestationOutput as aR, type SellerCredentialProbeResponse as aS, type AttestationServiceSellerVerifyResponse as aT, type AttestationServiceSellerCredentialProbeResponse as aU, type BuyerTeePaymentParams as aV, type BuyerTeePaymentProofInput as aW, type BuyerTeeSessionMaterial as aX, type CuratorSellerCredentialUploadResponse as aY, type CuratorSellerCredentialStatusResponse as aZ, type CuratorSellerVerifyResponse as a_, type NearbyQuote as aa, type NearbySuggestions as ab, type ApiDeposit as ac, type DepositVerifier as ad, type DepositVerifierCurrency as ae, type DepositStatus as af, type GetDepositByIdRequest as ag, type GetDepositByIdResponse as ah, type Intent as ai, type ApiIntentStatus as aj, type GetOwnerIntentsRequest as ak, type GetOwnerIntentsResponse as al, type GetIntentsByDepositRequest as am, type GetIntentsByDepositResponse as an, type GetIntentByHashRequest as ao, type GetIntentByHashResponse as ap, type RegisterPayeeDetailsRequest as aq, type RegisterPayeeDetailsResponse as ar, type VenmoSessionMaterial as as, type CashAppSessionMaterial as at, type WiseSessionMaterial as au, type WiseProfileInfo as av, type WiseProfileSelectionRequired as aw, type WiseProfileNotFound as ax, type PayPalSessionMaterial as ay, type VenmoCredentialUploadInput as az, type SellerCredentialAttestationRuntime as b, mapConversionRatesToOnchainMinRate as b$, type RegisteredUploadSellerCredentialParams as b0, type UploadSellerCredentialOptions as b1, type GetSellerCredentialStatusParams as b2, type ConfirmPayPalForwardingRequest as b3, type PayPalForwardingConfirmationErrorCode as b4, type VerifySellerPaymentParams as b5, type OnchainCurrency as b6, type DepositVerifierData as b7, type PreparedTransaction as b8, type OrderStats as b9, type RateManagerDetail as bA, type ManualRateUpdateEntity as bB, type OracleConfigUpdateEntity as bC, type DepositFundActivityEntity$1 as bD, type DepositDailySnapshotEntity$1 as bE, type DepositFundActivityType$1 as bF, type DepositFilter as bG, type PaginationOptions as bH, type DepositOrderField as bI, type OrderDirection$1 as bJ, type RateManagerFilter as bK, type RateManagerPaginationOptions as bL, type RateManagerDelegationPaginationOptions as bM, type RateManagerOrderField as bN, type OrderDirection as bO, type DeploymentEnv as bP, type FulfillmentRecord as bQ, type PaymentVerifiedRecord as bR, type FulfillmentAndPaymentResponse as bS, PAYMENT_PLATFORMS as bT, type PaymentPlatformType as bU, Currency as bV, currencyInfo as bW, getCurrencyInfoFromHash as bX, getCurrencyInfoFromCountryCode as bY, getCurrencyCodeFromHash as bZ, isSupportedCurrencyHash as b_, type DepositIntentStatistics as ba, type TakerTier as bb, type TakerTierStats as bc, type TakerTierLevel as bd, type PlatformLimit as be, type PlatformRiskLevel as bf, type OrderbookEntry as bg, IndexerClient as bh, defaultIndexerEndpoint as bi, IndexerDepositService as bj, IndexerRateManagerService as bk, compareEventCursorIdsByRecency as bl, fetchFulfillmentAndPayment as bm, type DepositEntity$1 as bn, type IntentFulfilledEntity as bo, type IntentFulfillmentAmountsEntity as bp, type DepositPaymentMethodEntity$1 as bq, type MethodCurrencyEntity$1 as br, type IntentStatus as bs, type RateManagerEntity as bt, type RateManagerRateEntity as bu, type RateManagerDelegationEntity as bv, type ManagerAggregateStatsEntity as bw, type ManagerStatsEntity as bx, type ManagerDailySnapshotEntity as by, type RateManagerListItem as bz, type BestByPlatformResponse as c, type CurrencyData as c0, getContracts as c1, getRateManagerContracts as c2, getPaymentMethodsCatalog as c3, getGatingServiceAddress as c4, type RuntimeEnv as c5, parseDepositView as c6, parseIntentView as c7, enrichPvDepositView as c8, enrichPvIntentView as c9, type PV_DepositView as ca, type PV_Deposit as cb, type PV_PaymentMethodData as cc, type PV_Currency as cd, type PV_ReferralFee as ce, type PV_IntentView as cf, type PV_Intent as cg, ZERO_RATE_MANAGER_ID as ch, isZeroRateManagerId as ci, normalizeRateManagerId as cj, normalizeRegistry as ck, getDelegationRoute as cl, classifyDelegationState as cm, type DelegationRoute as cn, type DelegationState as co, type DelegationDepositTarget as cp, type BatchResult as cq, type SendTransactionFn as cr, type SendBatchFn as cs, ZERO_ADDRESS as ct, asErrorMessage as cu, assertDelegationMethodSupport as cv, type ValidatePayeeDetailsResponse as d, type PostDepositDetailsResponse as e, type GetPayeeDetailsResponse as f, type GetOwnerDepositsRequest as g, type GetOwnerDepositsResponse as h, type GetTakerTierRequest as i, type GetTakerTierResponse as j, type GetDepositBundleParams as k, type ApiAdapterOptions as l, type GetDepositBundleResponse as m, type GetOrderbookParams as n, type GetOrderbookResponse as o, type CurrencyType as p, type PaymentMethodCatalog as q, type SignalIntentReferralFee as r, type SignalIntentMethodParams as s, type CancelIntentMethodParams as t, type Zkp2pNextOptions as u, type AuthorizationTokenProvider as v, type TimeoutConfig as w, type ActionCallback as x, type CreateDepositParams as y, type CreateDepositConversionRate as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkp2p/sdk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
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",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@zkp2p/indexer-schema": "0.2.3",
|
|
91
91
|
"@zkp2p/contracts-v2": "0.2.2",
|
|
92
|
-
"@zkp2p/zkp2p-attestation": "1.
|
|
92
|
+
"@zkp2p/zkp2p-attestation": "1.3.1",
|
|
93
93
|
"ethers": "^6.0.0",
|
|
94
94
|
"ox": "^0.11.1"
|
|
95
95
|
},
|