@zkp2p/sdk 0.14.1 → 0.14.2-rc.2
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 +18 -11
- package/dist/build-metadata.json +3 -3
- package/dist/{chunk-4KACMRKF.mjs → chunk-DPMEQLSY.mjs} +148 -784
- package/dist/chunk-DPMEQLSY.mjs.map +1 -0
- package/dist/chunk-EDYYWCCJ.mjs +12 -0
- package/dist/chunk-EDYYWCCJ.mjs.map +1 -0
- package/dist/{currency-KDDCBZU2.mjs → currency-C5E6NVSR.mjs} +3 -3
- package/dist/{currency-KDDCBZU2.mjs.map → currency-C5E6NVSR.mjs.map} +1 -1
- package/dist/index.cjs +512 -4270
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.mjs +132 -49
- package/dist/index.mjs.map +1 -1
- package/dist/protocolViewerParsers-4BJOG6JG.mjs +5 -0
- package/dist/{protocolViewerParsers-S6VTWVVJ.mjs.map → protocolViewerParsers-4BJOG6JG.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-7H5K6BBB.mjs → timeout-QRO3IS4N.mjs} +3 -3
- package/dist/{timeout-7H5K6BBB.mjs.map → timeout-QRO3IS4N.mjs.map} +1 -1
- package/dist/{vaultUtils-Llr7Gh2R.d.mts → vaultUtils-D3J7IDTF.d.mts} +40 -10
- package/dist/{vaultUtils-Llr7Gh2R.d.ts → vaultUtils-D3J7IDTF.d.ts} +40 -10
- package/package.json +2 -2
- package/dist/chunk-4KACMRKF.mjs.map +0 -1
- package/dist/chunk-5MBWIMIB.mjs +0 -12
- package/dist/chunk-5MBWIMIB.mjs.map +0 -1
- package/dist/protocolViewerParsers-S6VTWVVJ.mjs +0 -5
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-DPMEQLSY.mjs';
|
|
2
|
+
import './chunk-ZB22BZLZ.mjs';
|
|
3
|
+
import './chunk-EDYYWCCJ.mjs';
|
|
4
|
+
//# sourceMappingURL=protocolViewerParsers-4BJOG6JG.mjs.map
|
|
5
|
+
//# sourceMappingURL=protocolViewerParsers-4BJOG6JG.mjs.map
|
package/dist/{protocolViewerParsers-S6VTWVVJ.mjs.map → protocolViewerParsers-4BJOG6JG.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-4BJOG6JG.mjs"}
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bW as PreparedTransaction, a2 as FulfillIntentMethodParams, dG as SendTransactionFn, dH as SendBatchFn, dE as DelegationDepositTarget, dF as BatchResult, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote } from './vaultUtils-D3J7IDTF.mjs';
|
|
2
|
+
export { dC as DelegationRoute, dD as DelegationState, dK as VAULT_ZERO_ADDRESS, dw as ZERO_RATE_MANAGER_ID, dL as asErrorMessage, dM as assertDelegationMethodSupport, dB as classifyDelegationState, dA as getDelegationRoute, dx as isZeroRateManagerId, dy as normalizeRateManagerId, dz as normalizeRegistry } from './vaultUtils-D3J7IDTF.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, a1 as SignalIntentMethodParams,
|
|
2
|
-
export {
|
|
1
|
+
import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bW as PreparedTransaction, a2 as FulfillIntentMethodParams, dG as SendTransactionFn, dH as SendBatchFn, dE as DelegationDepositTarget, dF as BatchResult, ai as IntentGuardianErrorCode, ae as IntentGuardianPolicy, af as IntentGuardianQuote } from './vaultUtils-D3J7IDTF.js';
|
|
2
|
+
export { dC as DelegationRoute, dD as DelegationState, dK as VAULT_ZERO_ADDRESS, dw as ZERO_RATE_MANAGER_ID, dL as asErrorMessage, dM as assertDelegationMethodSupport, dB as classifyDelegationState, dA as getDelegationRoute, dx as isZeroRateManagerId, dy as normalizeRateManagerId, dz as normalizeRegistry } from './vaultUtils-D3J7IDTF.js';
|
|
3
3
|
import { Hash, Address, Hex } from 'viem';
|
|
4
4
|
import '@zkp2p/indexer-schema';
|
|
5
5
|
import 'abitype';
|
package/dist/react.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { asErrorMessage, ZERO_ADDRESS, getDelegationRoute, assertDelegationMethodSupport, prepareClearDelegationTx, normalizeRateManagerId, normalizeRegistry, isZeroRateManagerId, assertAtomicDelegationSwitchSupport, prepareSetDelegationTx, classifyIntentGuardianError } from './chunk-YA67SM3A.mjs';
|
|
2
2
|
export { ZERO_ADDRESS as VAULT_ZERO_ADDRESS, ZERO_RATE_MANAGER_ID, asErrorMessage, assertDelegationMethodSupport, classifyDelegationState, getDelegationRoute, isZeroRateManagerId, normalizeRateManagerId, normalizeRegistry } from './chunk-YA67SM3A.mjs';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-EDYYWCCJ.mjs';
|
|
4
4
|
import { useState, useCallback, useMemo } from 'react';
|
|
5
5
|
|
|
6
6
|
function useCreateDeposit({ client, onSuccess, onError }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NetworkError } from './chunk-3J4FPMPW.mjs';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-EDYYWCCJ.mjs';
|
|
3
3
|
|
|
4
4
|
// src/utils/timeout.ts
|
|
5
5
|
async function withTimeout(promise, timeoutMs, timeoutMessage) {
|
|
@@ -30,5 +30,5 @@ var DEFAULT_TIMEOUTS = {
|
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export { DEFAULT_TIMEOUTS, withTimeout };
|
|
33
|
-
//# sourceMappingURL=timeout-
|
|
34
|
-
//# sourceMappingURL=timeout-
|
|
33
|
+
//# sourceMappingURL=timeout-QRO3IS4N.mjs.map
|
|
34
|
+
//# sourceMappingURL=timeout-QRO3IS4N.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils/timeout.ts"],"names":[],"mappings":";;;;AASA,eAAsB,WAAA,CACpB,OAAA,EACA,SAAA,EACA,cAAA,EACY;AACZ,EAAA,IAAI,SAAA;AAEJ,EAAA,MAAM,cAAA,GAAiB,IAAI,OAAA,CAAe,CAAC,GAAG,MAAA,KAAW;AACvD,IAAA,SAAA,GAAY,WAAW,MAAM;AAC3B,MAAA,MAAA,CAAO,IAAI,YAAA,CAAa,cAAA,EAAgB,EAAE,OAAA,EAAS,SAAA,EAAW,CAAC,CAAA;AAAA,IACjE,GAAG,SAAS,CAAA;AAAA,EACd,CAAC,CAAA;AAED,EAAA,IAAI;AACF,IAAA,MAAM,SAAS,MAAM,OAAA,CAAQ,KAAK,CAAC,OAAA,EAAS,cAAc,CAAC,CAAA;AAC3D,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,OAAO,MAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,MAAM,KAAA;AAAA,EACR;AACF;AAKO,IAAM,gBAAA,GAAmB;AAAA;AAAA,EAE9B,GAAA,EAAK,GAAA;AAAA;AAAA,EAEL,WAAA,EAAa,GAAA;AAAA;AAAA,EAEb,gBAAA,EAAkB,IAAA;AAAA;AAAA,EAElB,SAAA,EAAW;AACb","file":"timeout-
|
|
1
|
+
{"version":3,"sources":["../src/utils/timeout.ts"],"names":[],"mappings":";;;;AASA,eAAsB,WAAA,CACpB,OAAA,EACA,SAAA,EACA,cAAA,EACY;AACZ,EAAA,IAAI,SAAA;AAEJ,EAAA,MAAM,cAAA,GAAiB,IAAI,OAAA,CAAe,CAAC,GAAG,MAAA,KAAW;AACvD,IAAA,SAAA,GAAY,WAAW,MAAM;AAC3B,MAAA,MAAA,CAAO,IAAI,YAAA,CAAa,cAAA,EAAgB,EAAE,OAAA,EAAS,SAAA,EAAW,CAAC,CAAA;AAAA,IACjE,GAAG,SAAS,CAAA;AAAA,EACd,CAAC,CAAA;AAED,EAAA,IAAI;AACF,IAAA,MAAM,SAAS,MAAM,OAAA,CAAQ,KAAK,CAAC,OAAA,EAAS,cAAc,CAAC,CAAA;AAC3D,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,OAAO,MAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,IAAI,SAAA,eAAwB,SAAS,CAAA;AACrC,IAAA,MAAM,KAAA;AAAA,EACR;AACF;AAKO,IAAM,gBAAA,GAAmB;AAAA;AAAA,EAE9B,GAAA,EAAK,GAAA;AAAA;AAAA,EAEL,WAAA,EAAa,GAAA;AAAA;AAAA,EAEb,gBAAA,EAAkB,IAAA;AAAA;AAAA,EAElB,SAAA,EAAW;AACb","file":"timeout-QRO3IS4N.mjs","sourcesContent":["import { NetworkError } from '../errors';\n\n/**\n * Wraps a promise with a timeout\n * @param promise - The promise to wrap\n * @param timeoutMs - Timeout in milliseconds\n * @param timeoutMessage - Error message when timeout occurs\n * @returns Promise that rejects if timeout occurs\n */\nexport async function withTimeout<T>(\n promise: Promise<T>,\n timeoutMs: number,\n timeoutMessage: string\n): Promise<T> {\n let timeoutId: NodeJS.Timeout | undefined;\n\n const timeoutPromise = new Promise<never>((_, reject) => {\n timeoutId = setTimeout(() => {\n reject(new NetworkError(timeoutMessage, { timeout: timeoutMs }));\n }, timeoutMs);\n });\n\n try {\n const result = await Promise.race([promise, timeoutPromise]);\n if (timeoutId) clearTimeout(timeoutId);\n return result;\n } catch (error) {\n if (timeoutId) clearTimeout(timeoutId);\n throw error;\n }\n}\n\n/**\n * Default timeout values for different operation types\n */\nexport const DEFAULT_TIMEOUTS = {\n /** API call timeout (30 seconds) */\n API: 30000,\n /** Blockchain transaction timeout (60 seconds) */\n TRANSACTION: 60000,\n /** Proof generation timeout (120 seconds) */\n PROOF_GENERATION: 120000,\n /** Extension communication timeout (60 seconds) */\n EXTENSION: 60000,\n} as const;"]}
|
|
@@ -903,7 +903,7 @@ type PostDepositDetailsResponse = {
|
|
|
903
903
|
*/
|
|
904
904
|
type RegisterPayeeDetailsRequest = PostDepositDetailsRequest;
|
|
905
905
|
type RegisterPayeeDetailsResponse = PostDepositDetailsResponse;
|
|
906
|
-
type SellerPlatform = 'venmo' | 'cashapp' | 'wise' | 'paypal' | 'zelle';
|
|
906
|
+
type SellerPlatform = 'venmo' | 'cashapp' | 'wise' | 'paypal' | 'zelle' | 'upi';
|
|
907
907
|
type VenmoSessionMaterial = {
|
|
908
908
|
recipientUsername: string;
|
|
909
909
|
accountId: string;
|
|
@@ -917,6 +917,21 @@ type CashAppSessionMaterial = {
|
|
|
917
917
|
requestHeaders?: Record<string, string>;
|
|
918
918
|
requestPayload: string;
|
|
919
919
|
};
|
|
920
|
+
type AmazonPayCredentialUploadInput = {
|
|
921
|
+
callerAddress: string;
|
|
922
|
+
sessionMaterial: {
|
|
923
|
+
sessionCookie: string;
|
|
924
|
+
userAgent: string;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
type AmazonPayIdentityAttestationOutput = Omit<IdentityAttestationOutputFor<'venmo'>, 'platform' | 'actionType' | 'identity'> & {
|
|
928
|
+
platform: 'upi';
|
|
929
|
+
actionType: 'register_upi_amazonpay';
|
|
930
|
+
identity: Omit<IdentityAttestationOutputFor<'venmo'>['identity'], 'platform' | 'actionType'> & {
|
|
931
|
+
platform: 'upi';
|
|
932
|
+
actionType: 'register_upi_amazonpay';
|
|
933
|
+
};
|
|
934
|
+
};
|
|
920
935
|
type WiseSessionMaterial = {
|
|
921
936
|
apiToken: string;
|
|
922
937
|
profileId?: string;
|
|
@@ -936,14 +951,19 @@ type WiseProfileNotFound = {
|
|
|
936
951
|
profileId: string;
|
|
937
952
|
profiles: WiseProfileInfo[];
|
|
938
953
|
};
|
|
939
|
-
type GoogleOAuthSellerCredentialPlatform = Extract<SellerPlatform, 'paypal'>;
|
|
954
|
+
type GoogleOAuthSellerCredentialPlatform = Extract<SellerPlatform, 'paypal' | 'venmo'>;
|
|
940
955
|
type PayPalGoogleOAuthSellerCredentialUploadBody = {
|
|
941
956
|
payeeEmail: string;
|
|
942
957
|
authorizationCode: string;
|
|
943
958
|
redirectUri: string;
|
|
944
959
|
};
|
|
960
|
+
type VenmoGoogleOAuthSellerCredentialUploadBody = {
|
|
961
|
+
authorizationCode: string;
|
|
962
|
+
redirectUri: string;
|
|
963
|
+
};
|
|
945
964
|
type GoogleOAuthSellerCredentialUploadBodyByPlatform = {
|
|
946
965
|
paypal: PayPalGoogleOAuthSellerCredentialUploadBody;
|
|
966
|
+
venmo: VenmoGoogleOAuthSellerCredentialUploadBody;
|
|
947
967
|
};
|
|
948
968
|
type VenmoCredentialUploadInput = {
|
|
949
969
|
callerAddress?: string;
|
|
@@ -963,6 +983,7 @@ type SellerCredentialUploadInputByPlatform = {
|
|
|
963
983
|
venmo: VenmoCredentialUploadInput;
|
|
964
984
|
cashapp: CashAppCredentialUploadInput;
|
|
965
985
|
wise: WiseCredentialUploadInput;
|
|
986
|
+
upi: AmazonPayCredentialUploadInput;
|
|
966
987
|
};
|
|
967
988
|
type SellerCredentialUploadPlatform = keyof SellerCredentialUploadInputByPlatform;
|
|
968
989
|
type SellerCredentialUploadInput = SellerCredentialUploadInputByPlatform[keyof SellerCredentialUploadInputByPlatform];
|
|
@@ -996,7 +1017,7 @@ type SellerProbeInput = SellerSignedCiphertextBundle;
|
|
|
996
1017
|
type SellerCredentialBundle = SellerSignedCiphertextBundle & {
|
|
997
1018
|
platform: SellerPlatform;
|
|
998
1019
|
credentialType: string;
|
|
999
|
-
identityAttestation?: IdentityAttestationOutput;
|
|
1020
|
+
identityAttestation?: IdentityAttestationOutput | AmazonPayIdentityAttestationOutput;
|
|
1000
1021
|
};
|
|
1001
1022
|
type SellerCredentialBundleUpload = SellerCredentialBundle;
|
|
1002
1023
|
type SellerCredentialStatusValue = 'active' | 'inactive' | 'missing';
|
|
@@ -1133,23 +1154,25 @@ type CuratorSellerVerifyResponse = {
|
|
|
1133
1154
|
};
|
|
1134
1155
|
type RegisteredSellerCredentialPlatform = Exclude<SellerCredentialUploadPlatform, 'wise'>;
|
|
1135
1156
|
type UploadSellerCredentialParams = ({
|
|
1157
|
+
platform: 'upi';
|
|
1158
|
+
} & AmazonPayCredentialUploadInput) | ({
|
|
1136
1159
|
platform: 'wise';
|
|
1137
1160
|
} & WiseCredentialUploadInput) | {
|
|
1138
|
-
[P in RegisteredSellerCredentialPlatform]: {
|
|
1161
|
+
[P in Exclude<RegisteredSellerCredentialPlatform, 'upi' | 'venmo'>]: {
|
|
1139
1162
|
offchainId: string;
|
|
1140
1163
|
telegramUsername?: string | null;
|
|
1141
1164
|
metadata?: CuratorMetadata | null;
|
|
1142
1165
|
platform: P;
|
|
1143
1166
|
} & SellerCredentialUploadInputByPlatform[P];
|
|
1144
|
-
}[RegisteredSellerCredentialPlatform];
|
|
1167
|
+
}[Exclude<RegisteredSellerCredentialPlatform, 'upi' | 'venmo'>];
|
|
1145
1168
|
type RegisteredUploadSellerCredentialParams = {
|
|
1146
|
-
[P in RegisteredSellerCredentialPlatform]: {
|
|
1169
|
+
[P in Exclude<RegisteredSellerCredentialPlatform, 'venmo'>]: {
|
|
1147
1170
|
offchainId: string;
|
|
1148
1171
|
telegramUsername?: string | null;
|
|
1149
1172
|
metadata?: CuratorMetadata | null;
|
|
1150
1173
|
platform: P;
|
|
1151
1174
|
} & SellerCredentialUploadInputByPlatform[P];
|
|
1152
|
-
}[RegisteredSellerCredentialPlatform];
|
|
1175
|
+
}[Exclude<RegisteredSellerCredentialPlatform, 'venmo'>];
|
|
1153
1176
|
type UploadSellerCredentialBundleParams = {
|
|
1154
1177
|
bundle: SellerCredentialBundleUpload;
|
|
1155
1178
|
platform: 'wise';
|
|
@@ -1186,7 +1209,10 @@ type UploadPayPalGoogleOAuthSellerCredentialParams = GoogleOAuthSellerCredential
|
|
|
1186
1209
|
platform: 'paypal';
|
|
1187
1210
|
payeeEmail: string;
|
|
1188
1211
|
};
|
|
1189
|
-
type
|
|
1212
|
+
type UploadVenmoGoogleOAuthSellerCredentialParams = GoogleOAuthSellerCredentialBaseParams & {
|
|
1213
|
+
platform: 'venmo';
|
|
1214
|
+
};
|
|
1215
|
+
type UploadGoogleOAuthSellerCredentialParams = UploadPayPalGoogleOAuthSellerCredentialParams | UploadVenmoGoogleOAuthSellerCredentialParams;
|
|
1190
1216
|
type VerifySellerPaymentParams = {
|
|
1191
1217
|
platform: SellerPlatform;
|
|
1192
1218
|
} & SellerVerifyProxyBody;
|
|
@@ -2432,6 +2458,8 @@ type StakeActivityPageParams = PageParams & {
|
|
|
2432
2458
|
/** Merchant address matched against either the immutable owner or taker side. */
|
|
2433
2459
|
merchant: Address;
|
|
2434
2460
|
kind?: StakeActivityKind;
|
|
2461
|
+
/** Chronological direction; defaults to oldest first for ingestion callers. */
|
|
2462
|
+
orderDirection?: 'asc' | 'desc';
|
|
2435
2463
|
};
|
|
2436
2464
|
type DisputeProtectionIntentPageParams = PageParams & {
|
|
2437
2465
|
/** Exact active policy whose finalized dispute stream is being consumed. */
|
|
@@ -2808,7 +2836,8 @@ type FulfillIntentMethodParams = {
|
|
|
2808
2836
|
/** The intent hash to fulfill (0x-prefixed, 32 bytes) */
|
|
2809
2837
|
intentHash: `0x${string}`;
|
|
2810
2838
|
/** Buyer TEE payment proof input */
|
|
2811
|
-
|
|
2839
|
+
/** Required unless precomputedAttestation is supplied; validated during preparation. */
|
|
2840
|
+
proof?: BuyerTeePaymentProofInput;
|
|
2812
2841
|
/** Allowed timestamp variance in ms (default: 300000ms) */
|
|
2813
2842
|
timestampBufferMs?: string;
|
|
2814
2843
|
/**
|
|
@@ -4518,6 +4547,7 @@ declare class Zkp2pClient {
|
|
|
4518
4547
|
uploadGoogleOAuthSellerCredential(params: UploadGoogleOAuthSellerCredentialParams, opts?: {
|
|
4519
4548
|
baseApiUrl?: string;
|
|
4520
4549
|
timeoutMs?: number;
|
|
4550
|
+
signal?: AbortSignal;
|
|
4521
4551
|
}): Promise<CuratorSellerCredentialUploadResponse>;
|
|
4522
4552
|
/**
|
|
4523
4553
|
* Status is a coarse curator-owned signal (`active` / `inactive` / `missing`) and intentionally
|
|
@@ -4700,4 +4730,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
4700
4730
|
value?: bigint;
|
|
4701
4731
|
}>) => Promise<string>;
|
|
4702
4732
|
|
|
4703
|
-
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetDepositBundleParams as E, type GetDepositBundleResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetOrderbookParams as H, type IntentEntity as I, type GetOrderbookResponse as J, type GetOrderbookTableResponse as K, type QuoteRequest as L, type QuoteResponse as M, type CuratorMetadata as N, type CurrencyType as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type PaymentMethodCatalog 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 GetIntentsByDepositRequest 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 StakeVaultState as a6, type StakeVaultWriteFunction as a7, type StakeVaultWriteParams as a8, readDisputeAttestationConfig as a9, type GetPlatformQuote as aA, type PlatformQuote as aB, type QuotePreference as aC, type GetNearbyQuote as aD, type GetNearbySuggestions as aE, type GetQuoteResponse as aF, type GetQuoteResponseObject as aG, type GetQuoteSingleResponse as aH, type QuoteResponseObject as aI, type QuoteMakerIdentity as aJ, type QuoteSingleResponse as aK, type QuoteIntentResponse as aL, type QuoteFeesResponse as aM, type FiatResponse as aN, type TokenResponse as aO, type NearbyQuote as aP, type NearbySuggestions as aQ, type ApiDeposit as aR, type DepositVerifier as aS, type DepositVerifierCurrency as aT, type DepositStatus$1 as aU, type GetDepositByIdRequest as aV, type GetDepositByIdResponse as aW, type Intent as aX, type ApiIntentStatus as aY, type GetOwnerIntentsRequest as aZ, type GetOwnerIntentsResponse as a_, type DisputeAttestationConfig as aa, type DisputeProtectionReadinessOptions as ab, type DisputeProtectionReadinessResult as ac, type ReadDisputeAttestationConfigParams as ad, type IntentGuardianPolicy as ae, type IntentGuardianQuote as af, type IntentGuardianWriteFunction as ag, type IntentGuardianWriteParams as ah, type IntentGuardianErrorCode as ai, classifyIntentGuardianError as aj, type AuthorizationTokenProvider as ak, type TimeoutConfig as al, type ActionCallback as am, type ReferralRedemption as an, type ReferralSignatureBody as ao, type CreateDepositParams as ap, type CreateDepositConversionRate as aq, type Range as ar, type WithdrawDepositParams as as, type SignalIntentParams as at, type FulfillIntentParams as au, type ReleaseFundsToPayerParams as av, type CancelIntentParams as aw, type BestByPlatformResponseObject as ax, type GetBestByPlatformResponse as ay, type GetBestByPlatformResponseObject as az, type AttestationServiceSellerVerifyResponse as b, defaultIndexerEndpoint as b$, type GetIntentsByDepositResponse as b0, type GetIntentByHashRequest as b1, type GetIntentByHashResponse as b2, type RegisterPayeeDetailsRequest as b3, type RegisterPayeeDetailsResponse as b4, type SellerPlatform as b5, type VenmoSessionMaterial as b6, type CashAppSessionMaterial as b7, type WiseSessionMaterial as b8, type WiseProfileInfo as b9, type CuratorSellerCredentialStatusResponse as bA, type CuratorSellerVerifyResponse as bB, type RegisteredSellerCredentialPlatform as bC, type UploadSellerCredentialParams as bD, type RegisteredUploadSellerCredentialParams as bE, type UploadSellerCredentialOptions as bF, type GetSellerCredentialStatusParams as bG, type UploadPayPalGoogleOAuthSellerCredentialParams as bH, type UploadGoogleOAuthSellerCredentialParams as bI, type VerifySellerPaymentParams as bJ, type IdentityAttestationActionType as bK, type IdentityAttestationOutput as bL, type IdentityAttestationOutputFor as bM, type IdentityAttestationParams as bN, type MakerIdentityAttestationRequestBody as bO, type MakerIdentityPlatform as bP, type OnchainCurrency as bQ, type DepositVerifierData as bR, type PreparedTransaction as bS, type OrderStats as bT, type DepositIntentStatistics as bU, type UsdcAmount as bV, type StakeEnvironment as bW, type TakerStakeBalances as bX, type OrderbookEntry as bY, type OrderbookTableRow as bZ, IndexerClient as b_, type WiseProfileSelectionRequired as ba, type WiseProfileNotFound as bb, type PayPalGoogleOAuthSellerCredentialUploadBody as bc, type VenmoCredentialUploadInput as bd, type CashAppCredentialUploadInput as be, type WiseCredentialUploadInput as bf, type SellerCredentialUploadInputByPlatform as bg, type SellerCiphertextBundle as bh, type SellerSignedCiphertextBundle as bi, type SellerVerifyIntentDetails as bj, type SellerVerifyInput as bk, type SellerProbeInput as bl, type SellerCredentialBundleUpload as bm, type SellerCredentialStatusValue as bn, type SellerCredentialStatus as bo, type SellerVerifyProxyBody as bp, type SellerTypedDataField as bq, type SellerTypedDataSpec as br, type SellerPaymentTypedDataValue as bs, type SellerAttestationOutput as bt, type SellerCredentialProbeResponse as bu, type FulfillIntentAttestationResponse as bv, type AttestationServiceSellerCredentialProbeResponse as bw, type BuyerTeePaymentParams as bx, type BuyerTeePaymentProofInput as by, type BuyerTeeSessionMaterial as bz, type SellerCredentialUploadInput as c, mapConversionRatesToOnchainMinRate as c$, IndexerDepositService as c0, IndexerRateManagerService as c1, compareEventCursorIdsByRecency as c2, buildStakingEntityIds as c3, IndexerStakingService as c4, fetchFulfillmentAndPayment as c5, type DepositEntity as c6, type IntentFulfilledEntity as c7, type IntentFulfillmentAmountsEntity as c8, type DepositPaymentMethodEntity as c9, type IndexedTakerAuthorization as cA, type IndexedTakerStakeAuthorization as cB, type StakeActivityPageParams as cC, type StakeLockPageParams as cD, type StakingEntityIds as cE, type TakerStakeAuthorizationPageParams as cF, type DepositFilter as cG, type PaginationOptions as cH, type DepositOrderField as cI, type OrderDirection$1 as cJ, type RateManagerFilter as cK, type RateManagerPaginationOptions as cL, type RateManagerDelegationPaginationOptions as cM, type RateManagerOrderField as cN, type OrderDirection as cO, type DeploymentEnv as cP, type FulfillmentRecord as cQ, type PaymentVerifiedRecord as cR, type FulfillmentAndPaymentResponse as cS, PAYMENT_PLATFORMS as cT, type PaymentPlatformType as cU, Currency as cV, currencyInfo as cW, getCurrencyInfoFromHash as cX, getCurrencyInfoFromCountryCode as cY, getCurrencyCodeFromHash as cZ, isSupportedCurrencyHash as c_, type MethodCurrencyEntity as ca, type IntentStatus as cb, type RateManagerEntity as cc, type RateManagerRateEntity as cd, type RateManagerDelegationEntity as ce, type ManagerAggregateStatsEntity as cf, type ManagerStatsEntity as cg, type ManagerDailySnapshotEntity as ch, type RateManagerListItem as ci, type RateManagerDetail as cj, type ManualRateUpdateEntity as ck, type OracleConfigUpdateEntity as cl, type DepositFundActivityEntity as cm, type DepositDailySnapshotEntity as cn, type DepositFundActivityType as co, type DisputeProtectionIntentPage as cp, type DisputeProtectionIntentPageParams as cq, type IndexedDisputeProtectionIntent as cr, type IndexedPage as cs, type IndexedPageAsOf as ct, type IndexedRiskWindow as cu, type IndexedStakeActivity as cv, type IndexedStakeLock as cw, type IndexedStakingRowFreshness as cx, type IndexedStakingState as cy, type IndexedStakingStateParams as cz, type SellerCredentialUploadPlatform as d, type CurrencyData as d0, getContracts as d1, getIntentGuardianContract as d2, hasIntentGuardian as d3, getRateManagerContracts as d4, getStakeVaultContract as d5, getOrchestratorV3Contract as d6, getDisputeProtectionPolicyContract as d7, getPaymentMethodsCatalog as d8, getGatingServiceAddress as d9, type DelegationDepositTarget as dA, type BatchResult as dB, type SendTransactionFn as dC, type SendBatchFn as dD, AccessPolicyOperations as dE, AccessPolicyUnsupportedError as dF, ZERO_ADDRESS as dG, asErrorMessage as dH, assertDelegationMethodSupport as dI, ORCHESTRATOR_V3_ABI as da, DISPUTE_PROTECTION_POLICY_ABI as db, STAKE_VAULT_ABI as dc, type RuntimeEnv as dd, type V2ContractAddresses as de, type V2ContractAbis as df, parseDepositView as dg, parseIntentView as dh, enrichPvDepositView as di, enrichPvIntentView as dj, type PV_DepositView as dk, type PV_Deposit as dl, type PV_PaymentMethodData as dm, type PV_Currency as dn, type PV_ReferralFee as dp, type PV_IntentView as dq, type PV_Intent as dr, ZERO_RATE_MANAGER_ID as ds, isZeroRateManagerId as dt, normalizeRateManagerId as du, normalizeRegistry as dv, getDelegationRoute as dw, classifyDelegationState as dx, type DelegationRoute as dy, type DelegationState as dz, 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 };
|
|
4733
|
+
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetDepositBundleParams as E, type GetDepositBundleResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetOrderbookParams as H, type IntentEntity as I, type GetOrderbookResponse as J, type GetOrderbookTableResponse as K, type QuoteRequest as L, type QuoteResponse as M, type CuratorMetadata as N, type CurrencyType as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type PaymentMethodCatalog 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 GetIntentsByDepositRequest 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 StakeVaultState as a6, type StakeVaultWriteFunction as a7, type StakeVaultWriteParams as a8, readDisputeAttestationConfig as a9, type GetPlatformQuote as aA, type PlatformQuote as aB, type QuotePreference as aC, type GetNearbyQuote as aD, type GetNearbySuggestions as aE, type GetQuoteResponse as aF, type GetQuoteResponseObject as aG, type GetQuoteSingleResponse as aH, type QuoteResponseObject as aI, type QuoteMakerIdentity as aJ, type QuoteSingleResponse as aK, type QuoteIntentResponse as aL, type QuoteFeesResponse as aM, type FiatResponse as aN, type TokenResponse as aO, type NearbyQuote as aP, type NearbySuggestions as aQ, type ApiDeposit as aR, type DepositVerifier as aS, type DepositVerifierCurrency as aT, type DepositStatus$1 as aU, type GetDepositByIdRequest as aV, type GetDepositByIdResponse as aW, type Intent as aX, type ApiIntentStatus as aY, type GetOwnerIntentsRequest as aZ, type GetOwnerIntentsResponse as a_, type DisputeAttestationConfig as aa, type DisputeProtectionReadinessOptions as ab, type DisputeProtectionReadinessResult as ac, type ReadDisputeAttestationConfigParams as ad, type IntentGuardianPolicy as ae, type IntentGuardianQuote as af, type IntentGuardianWriteFunction as ag, type IntentGuardianWriteParams as ah, type IntentGuardianErrorCode as ai, classifyIntentGuardianError as aj, type AuthorizationTokenProvider as ak, type TimeoutConfig as al, type ActionCallback as am, type ReferralRedemption as an, type ReferralSignatureBody as ao, type CreateDepositParams as ap, type CreateDepositConversionRate as aq, type Range as ar, type WithdrawDepositParams as as, type SignalIntentParams as at, type FulfillIntentParams as au, type ReleaseFundsToPayerParams as av, type CancelIntentParams as aw, type BestByPlatformResponseObject as ax, type GetBestByPlatformResponse as ay, type GetBestByPlatformResponseObject as az, type AttestationServiceSellerVerifyResponse as b, type TakerStakeBalances as b$, type GetIntentsByDepositResponse as b0, type GetIntentByHashRequest as b1, type GetIntentByHashResponse as b2, type RegisterPayeeDetailsRequest as b3, type RegisterPayeeDetailsResponse as b4, type SellerPlatform as b5, type AmazonPayCredentialUploadInput as b6, type AmazonPayIdentityAttestationOutput as b7, type VenmoSessionMaterial as b8, type CashAppSessionMaterial as b9, type BuyerTeePaymentParams as bA, type BuyerTeePaymentProofInput as bB, type BuyerTeeSessionMaterial as bC, type CuratorSellerCredentialStatusResponse as bD, type CuratorSellerVerifyResponse as bE, type RegisteredSellerCredentialPlatform as bF, type UploadSellerCredentialParams as bG, type RegisteredUploadSellerCredentialParams as bH, type UploadSellerCredentialOptions as bI, type GetSellerCredentialStatusParams as bJ, type UploadPayPalGoogleOAuthSellerCredentialParams as bK, type UploadVenmoGoogleOAuthSellerCredentialParams as bL, type UploadGoogleOAuthSellerCredentialParams as bM, type VerifySellerPaymentParams as bN, type IdentityAttestationActionType as bO, type IdentityAttestationOutput as bP, type IdentityAttestationOutputFor as bQ, type IdentityAttestationParams as bR, type MakerIdentityAttestationRequestBody as bS, type MakerIdentityPlatform as bT, type OnchainCurrency as bU, type DepositVerifierData as bV, type PreparedTransaction as bW, type OrderStats as bX, type DepositIntentStatistics as bY, type UsdcAmount as bZ, type StakeEnvironment as b_, type WiseSessionMaterial as ba, type WiseProfileInfo as bb, type WiseProfileSelectionRequired as bc, type WiseProfileNotFound as bd, type PayPalGoogleOAuthSellerCredentialUploadBody as be, type VenmoGoogleOAuthSellerCredentialUploadBody as bf, type VenmoCredentialUploadInput as bg, type CashAppCredentialUploadInput as bh, type WiseCredentialUploadInput as bi, type SellerCredentialUploadInputByPlatform as bj, type SellerCiphertextBundle as bk, type SellerSignedCiphertextBundle as bl, type SellerVerifyIntentDetails as bm, type SellerVerifyInput as bn, type SellerProbeInput as bo, type SellerCredentialBundleUpload as bp, type SellerCredentialStatusValue as bq, type SellerCredentialStatus as br, type SellerVerifyProxyBody as bs, type SellerTypedDataField as bt, type SellerTypedDataSpec as bu, type SellerPaymentTypedDataValue as bv, type SellerAttestationOutput as bw, type SellerCredentialProbeResponse as bx, type FulfillIntentAttestationResponse as by, type AttestationServiceSellerCredentialProbeResponse as bz, type SellerCredentialUploadInput as c, getCurrencyInfoFromHash as c$, type OrderbookEntry as c0, type OrderbookTableRow as c1, IndexerClient as c2, defaultIndexerEndpoint as c3, IndexerDepositService as c4, IndexerRateManagerService as c5, compareEventCursorIdsByRecency as c6, buildStakingEntityIds as c7, IndexerStakingService as c8, fetchFulfillmentAndPayment as c9, type IndexedStakeLock as cA, type IndexedStakingRowFreshness as cB, type IndexedStakingState as cC, type IndexedStakingStateParams as cD, type IndexedTakerAuthorization as cE, type IndexedTakerStakeAuthorization as cF, type StakeActivityPageParams as cG, type StakeLockPageParams as cH, type StakingEntityIds as cI, type TakerStakeAuthorizationPageParams as cJ, type DepositFilter as cK, type PaginationOptions as cL, type DepositOrderField as cM, type OrderDirection$1 as cN, type RateManagerFilter as cO, type RateManagerPaginationOptions as cP, type RateManagerDelegationPaginationOptions as cQ, type RateManagerOrderField as cR, type OrderDirection as cS, type DeploymentEnv as cT, type FulfillmentRecord as cU, type PaymentVerifiedRecord as cV, type FulfillmentAndPaymentResponse as cW, PAYMENT_PLATFORMS as cX, type PaymentPlatformType as cY, Currency as cZ, currencyInfo as c_, type DepositEntity as ca, type IntentFulfilledEntity as cb, type IntentFulfillmentAmountsEntity as cc, type DepositPaymentMethodEntity as cd, type MethodCurrencyEntity as ce, type IntentStatus as cf, type RateManagerEntity as cg, type RateManagerRateEntity as ch, type RateManagerDelegationEntity as ci, type ManagerAggregateStatsEntity as cj, type ManagerStatsEntity as ck, type ManagerDailySnapshotEntity as cl, type RateManagerListItem as cm, type RateManagerDetail as cn, type ManualRateUpdateEntity as co, type OracleConfigUpdateEntity as cp, type DepositFundActivityEntity as cq, type DepositDailySnapshotEntity as cr, type DepositFundActivityType as cs, type DisputeProtectionIntentPage as ct, type DisputeProtectionIntentPageParams as cu, type IndexedDisputeProtectionIntent as cv, type IndexedPage as cw, type IndexedPageAsOf as cx, type IndexedRiskWindow as cy, type IndexedStakeActivity as cz, type SellerCredentialUploadPlatform as d, getCurrencyInfoFromCountryCode as d0, getCurrencyCodeFromHash as d1, isSupportedCurrencyHash as d2, mapConversionRatesToOnchainMinRate as d3, type CurrencyData as d4, getContracts as d5, getIntentGuardianContract as d6, hasIntentGuardian as d7, getRateManagerContracts as d8, getStakeVaultContract as d9, getDelegationRoute as dA, classifyDelegationState as dB, type DelegationRoute as dC, type DelegationState as dD, type DelegationDepositTarget as dE, type BatchResult as dF, type SendTransactionFn as dG, type SendBatchFn as dH, AccessPolicyOperations as dI, AccessPolicyUnsupportedError as dJ, ZERO_ADDRESS as dK, asErrorMessage as dL, assertDelegationMethodSupport as dM, getOrchestratorV3Contract as da, getDisputeProtectionPolicyContract as db, getPaymentMethodsCatalog as dc, getGatingServiceAddress as dd, ORCHESTRATOR_V3_ABI as de, DISPUTE_PROTECTION_POLICY_ABI as df, STAKE_VAULT_ABI as dg, type RuntimeEnv as dh, type V2ContractAddresses as di, type V2ContractAbis as dj, parseDepositView as dk, parseIntentView as dl, enrichPvDepositView as dm, enrichPvIntentView as dn, type PV_DepositView as dp, type PV_Deposit as dq, type PV_PaymentMethodData as dr, type PV_Currency as ds, type PV_ReferralFee as dt, type PV_IntentView as du, type PV_Intent as dv, ZERO_RATE_MANAGER_ID as dw, isZeroRateManagerId as dx, normalizeRateManagerId as dy, normalizeRegistry as dz, 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 };
|
|
@@ -903,7 +903,7 @@ type PostDepositDetailsResponse = {
|
|
|
903
903
|
*/
|
|
904
904
|
type RegisterPayeeDetailsRequest = PostDepositDetailsRequest;
|
|
905
905
|
type RegisterPayeeDetailsResponse = PostDepositDetailsResponse;
|
|
906
|
-
type SellerPlatform = 'venmo' | 'cashapp' | 'wise' | 'paypal' | 'zelle';
|
|
906
|
+
type SellerPlatform = 'venmo' | 'cashapp' | 'wise' | 'paypal' | 'zelle' | 'upi';
|
|
907
907
|
type VenmoSessionMaterial = {
|
|
908
908
|
recipientUsername: string;
|
|
909
909
|
accountId: string;
|
|
@@ -917,6 +917,21 @@ type CashAppSessionMaterial = {
|
|
|
917
917
|
requestHeaders?: Record<string, string>;
|
|
918
918
|
requestPayload: string;
|
|
919
919
|
};
|
|
920
|
+
type AmazonPayCredentialUploadInput = {
|
|
921
|
+
callerAddress: string;
|
|
922
|
+
sessionMaterial: {
|
|
923
|
+
sessionCookie: string;
|
|
924
|
+
userAgent: string;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
type AmazonPayIdentityAttestationOutput = Omit<IdentityAttestationOutputFor<'venmo'>, 'platform' | 'actionType' | 'identity'> & {
|
|
928
|
+
platform: 'upi';
|
|
929
|
+
actionType: 'register_upi_amazonpay';
|
|
930
|
+
identity: Omit<IdentityAttestationOutputFor<'venmo'>['identity'], 'platform' | 'actionType'> & {
|
|
931
|
+
platform: 'upi';
|
|
932
|
+
actionType: 'register_upi_amazonpay';
|
|
933
|
+
};
|
|
934
|
+
};
|
|
920
935
|
type WiseSessionMaterial = {
|
|
921
936
|
apiToken: string;
|
|
922
937
|
profileId?: string;
|
|
@@ -936,14 +951,19 @@ type WiseProfileNotFound = {
|
|
|
936
951
|
profileId: string;
|
|
937
952
|
profiles: WiseProfileInfo[];
|
|
938
953
|
};
|
|
939
|
-
type GoogleOAuthSellerCredentialPlatform = Extract<SellerPlatform, 'paypal'>;
|
|
954
|
+
type GoogleOAuthSellerCredentialPlatform = Extract<SellerPlatform, 'paypal' | 'venmo'>;
|
|
940
955
|
type PayPalGoogleOAuthSellerCredentialUploadBody = {
|
|
941
956
|
payeeEmail: string;
|
|
942
957
|
authorizationCode: string;
|
|
943
958
|
redirectUri: string;
|
|
944
959
|
};
|
|
960
|
+
type VenmoGoogleOAuthSellerCredentialUploadBody = {
|
|
961
|
+
authorizationCode: string;
|
|
962
|
+
redirectUri: string;
|
|
963
|
+
};
|
|
945
964
|
type GoogleOAuthSellerCredentialUploadBodyByPlatform = {
|
|
946
965
|
paypal: PayPalGoogleOAuthSellerCredentialUploadBody;
|
|
966
|
+
venmo: VenmoGoogleOAuthSellerCredentialUploadBody;
|
|
947
967
|
};
|
|
948
968
|
type VenmoCredentialUploadInput = {
|
|
949
969
|
callerAddress?: string;
|
|
@@ -963,6 +983,7 @@ type SellerCredentialUploadInputByPlatform = {
|
|
|
963
983
|
venmo: VenmoCredentialUploadInput;
|
|
964
984
|
cashapp: CashAppCredentialUploadInput;
|
|
965
985
|
wise: WiseCredentialUploadInput;
|
|
986
|
+
upi: AmazonPayCredentialUploadInput;
|
|
966
987
|
};
|
|
967
988
|
type SellerCredentialUploadPlatform = keyof SellerCredentialUploadInputByPlatform;
|
|
968
989
|
type SellerCredentialUploadInput = SellerCredentialUploadInputByPlatform[keyof SellerCredentialUploadInputByPlatform];
|
|
@@ -996,7 +1017,7 @@ type SellerProbeInput = SellerSignedCiphertextBundle;
|
|
|
996
1017
|
type SellerCredentialBundle = SellerSignedCiphertextBundle & {
|
|
997
1018
|
platform: SellerPlatform;
|
|
998
1019
|
credentialType: string;
|
|
999
|
-
identityAttestation?: IdentityAttestationOutput;
|
|
1020
|
+
identityAttestation?: IdentityAttestationOutput | AmazonPayIdentityAttestationOutput;
|
|
1000
1021
|
};
|
|
1001
1022
|
type SellerCredentialBundleUpload = SellerCredentialBundle;
|
|
1002
1023
|
type SellerCredentialStatusValue = 'active' | 'inactive' | 'missing';
|
|
@@ -1133,23 +1154,25 @@ type CuratorSellerVerifyResponse = {
|
|
|
1133
1154
|
};
|
|
1134
1155
|
type RegisteredSellerCredentialPlatform = Exclude<SellerCredentialUploadPlatform, 'wise'>;
|
|
1135
1156
|
type UploadSellerCredentialParams = ({
|
|
1157
|
+
platform: 'upi';
|
|
1158
|
+
} & AmazonPayCredentialUploadInput) | ({
|
|
1136
1159
|
platform: 'wise';
|
|
1137
1160
|
} & WiseCredentialUploadInput) | {
|
|
1138
|
-
[P in RegisteredSellerCredentialPlatform]: {
|
|
1161
|
+
[P in Exclude<RegisteredSellerCredentialPlatform, 'upi' | 'venmo'>]: {
|
|
1139
1162
|
offchainId: string;
|
|
1140
1163
|
telegramUsername?: string | null;
|
|
1141
1164
|
metadata?: CuratorMetadata | null;
|
|
1142
1165
|
platform: P;
|
|
1143
1166
|
} & SellerCredentialUploadInputByPlatform[P];
|
|
1144
|
-
}[RegisteredSellerCredentialPlatform];
|
|
1167
|
+
}[Exclude<RegisteredSellerCredentialPlatform, 'upi' | 'venmo'>];
|
|
1145
1168
|
type RegisteredUploadSellerCredentialParams = {
|
|
1146
|
-
[P in RegisteredSellerCredentialPlatform]: {
|
|
1169
|
+
[P in Exclude<RegisteredSellerCredentialPlatform, 'venmo'>]: {
|
|
1147
1170
|
offchainId: string;
|
|
1148
1171
|
telegramUsername?: string | null;
|
|
1149
1172
|
metadata?: CuratorMetadata | null;
|
|
1150
1173
|
platform: P;
|
|
1151
1174
|
} & SellerCredentialUploadInputByPlatform[P];
|
|
1152
|
-
}[RegisteredSellerCredentialPlatform];
|
|
1175
|
+
}[Exclude<RegisteredSellerCredentialPlatform, 'venmo'>];
|
|
1153
1176
|
type UploadSellerCredentialBundleParams = {
|
|
1154
1177
|
bundle: SellerCredentialBundleUpload;
|
|
1155
1178
|
platform: 'wise';
|
|
@@ -1186,7 +1209,10 @@ type UploadPayPalGoogleOAuthSellerCredentialParams = GoogleOAuthSellerCredential
|
|
|
1186
1209
|
platform: 'paypal';
|
|
1187
1210
|
payeeEmail: string;
|
|
1188
1211
|
};
|
|
1189
|
-
type
|
|
1212
|
+
type UploadVenmoGoogleOAuthSellerCredentialParams = GoogleOAuthSellerCredentialBaseParams & {
|
|
1213
|
+
platform: 'venmo';
|
|
1214
|
+
};
|
|
1215
|
+
type UploadGoogleOAuthSellerCredentialParams = UploadPayPalGoogleOAuthSellerCredentialParams | UploadVenmoGoogleOAuthSellerCredentialParams;
|
|
1190
1216
|
type VerifySellerPaymentParams = {
|
|
1191
1217
|
platform: SellerPlatform;
|
|
1192
1218
|
} & SellerVerifyProxyBody;
|
|
@@ -2432,6 +2458,8 @@ type StakeActivityPageParams = PageParams & {
|
|
|
2432
2458
|
/** Merchant address matched against either the immutable owner or taker side. */
|
|
2433
2459
|
merchant: Address;
|
|
2434
2460
|
kind?: StakeActivityKind;
|
|
2461
|
+
/** Chronological direction; defaults to oldest first for ingestion callers. */
|
|
2462
|
+
orderDirection?: 'asc' | 'desc';
|
|
2435
2463
|
};
|
|
2436
2464
|
type DisputeProtectionIntentPageParams = PageParams & {
|
|
2437
2465
|
/** Exact active policy whose finalized dispute stream is being consumed. */
|
|
@@ -2808,7 +2836,8 @@ type FulfillIntentMethodParams = {
|
|
|
2808
2836
|
/** The intent hash to fulfill (0x-prefixed, 32 bytes) */
|
|
2809
2837
|
intentHash: `0x${string}`;
|
|
2810
2838
|
/** Buyer TEE payment proof input */
|
|
2811
|
-
|
|
2839
|
+
/** Required unless precomputedAttestation is supplied; validated during preparation. */
|
|
2840
|
+
proof?: BuyerTeePaymentProofInput;
|
|
2812
2841
|
/** Allowed timestamp variance in ms (default: 300000ms) */
|
|
2813
2842
|
timestampBufferMs?: string;
|
|
2814
2843
|
/**
|
|
@@ -4518,6 +4547,7 @@ declare class Zkp2pClient {
|
|
|
4518
4547
|
uploadGoogleOAuthSellerCredential(params: UploadGoogleOAuthSellerCredentialParams, opts?: {
|
|
4519
4548
|
baseApiUrl?: string;
|
|
4520
4549
|
timeoutMs?: number;
|
|
4550
|
+
signal?: AbortSignal;
|
|
4521
4551
|
}): Promise<CuratorSellerCredentialUploadResponse>;
|
|
4522
4552
|
/**
|
|
4523
4553
|
* Status is a coarse curator-owned signal (`active` / `inactive` / `missing`) and intentionally
|
|
@@ -4700,4 +4730,4 @@ type SendBatchFn = (txs: Array<{
|
|
|
4700
4730
|
value?: bigint;
|
|
4701
4731
|
}>) => Promise<string>;
|
|
4702
4732
|
|
|
4703
|
-
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetDepositBundleParams as E, type GetDepositBundleResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetOrderbookParams as H, type IntentEntity as I, type GetOrderbookResponse as J, type GetOrderbookTableResponse as K, type QuoteRequest as L, type QuoteResponse as M, type CuratorMetadata as N, type CurrencyType as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type PaymentMethodCatalog 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 GetIntentsByDepositRequest 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 StakeVaultState as a6, type StakeVaultWriteFunction as a7, type StakeVaultWriteParams as a8, readDisputeAttestationConfig as a9, type GetPlatformQuote as aA, type PlatformQuote as aB, type QuotePreference as aC, type GetNearbyQuote as aD, type GetNearbySuggestions as aE, type GetQuoteResponse as aF, type GetQuoteResponseObject as aG, type GetQuoteSingleResponse as aH, type QuoteResponseObject as aI, type QuoteMakerIdentity as aJ, type QuoteSingleResponse as aK, type QuoteIntentResponse as aL, type QuoteFeesResponse as aM, type FiatResponse as aN, type TokenResponse as aO, type NearbyQuote as aP, type NearbySuggestions as aQ, type ApiDeposit as aR, type DepositVerifier as aS, type DepositVerifierCurrency as aT, type DepositStatus$1 as aU, type GetDepositByIdRequest as aV, type GetDepositByIdResponse as aW, type Intent as aX, type ApiIntentStatus as aY, type GetOwnerIntentsRequest as aZ, type GetOwnerIntentsResponse as a_, type DisputeAttestationConfig as aa, type DisputeProtectionReadinessOptions as ab, type DisputeProtectionReadinessResult as ac, type ReadDisputeAttestationConfigParams as ad, type IntentGuardianPolicy as ae, type IntentGuardianQuote as af, type IntentGuardianWriteFunction as ag, type IntentGuardianWriteParams as ah, type IntentGuardianErrorCode as ai, classifyIntentGuardianError as aj, type AuthorizationTokenProvider as ak, type TimeoutConfig as al, type ActionCallback as am, type ReferralRedemption as an, type ReferralSignatureBody as ao, type CreateDepositParams as ap, type CreateDepositConversionRate as aq, type Range as ar, type WithdrawDepositParams as as, type SignalIntentParams as at, type FulfillIntentParams as au, type ReleaseFundsToPayerParams as av, type CancelIntentParams as aw, type BestByPlatformResponseObject as ax, type GetBestByPlatformResponse as ay, type GetBestByPlatformResponseObject as az, type AttestationServiceSellerVerifyResponse as b, defaultIndexerEndpoint as b$, type GetIntentsByDepositResponse as b0, type GetIntentByHashRequest as b1, type GetIntentByHashResponse as b2, type RegisterPayeeDetailsRequest as b3, type RegisterPayeeDetailsResponse as b4, type SellerPlatform as b5, type VenmoSessionMaterial as b6, type CashAppSessionMaterial as b7, type WiseSessionMaterial as b8, type WiseProfileInfo as b9, type CuratorSellerCredentialStatusResponse as bA, type CuratorSellerVerifyResponse as bB, type RegisteredSellerCredentialPlatform as bC, type UploadSellerCredentialParams as bD, type RegisteredUploadSellerCredentialParams as bE, type UploadSellerCredentialOptions as bF, type GetSellerCredentialStatusParams as bG, type UploadPayPalGoogleOAuthSellerCredentialParams as bH, type UploadGoogleOAuthSellerCredentialParams as bI, type VerifySellerPaymentParams as bJ, type IdentityAttestationActionType as bK, type IdentityAttestationOutput as bL, type IdentityAttestationOutputFor as bM, type IdentityAttestationParams as bN, type MakerIdentityAttestationRequestBody as bO, type MakerIdentityPlatform as bP, type OnchainCurrency as bQ, type DepositVerifierData as bR, type PreparedTransaction as bS, type OrderStats as bT, type DepositIntentStatistics as bU, type UsdcAmount as bV, type StakeEnvironment as bW, type TakerStakeBalances as bX, type OrderbookEntry as bY, type OrderbookTableRow as bZ, IndexerClient as b_, type WiseProfileSelectionRequired as ba, type WiseProfileNotFound as bb, type PayPalGoogleOAuthSellerCredentialUploadBody as bc, type VenmoCredentialUploadInput as bd, type CashAppCredentialUploadInput as be, type WiseCredentialUploadInput as bf, type SellerCredentialUploadInputByPlatform as bg, type SellerCiphertextBundle as bh, type SellerSignedCiphertextBundle as bi, type SellerVerifyIntentDetails as bj, type SellerVerifyInput as bk, type SellerProbeInput as bl, type SellerCredentialBundleUpload as bm, type SellerCredentialStatusValue as bn, type SellerCredentialStatus as bo, type SellerVerifyProxyBody as bp, type SellerTypedDataField as bq, type SellerTypedDataSpec as br, type SellerPaymentTypedDataValue as bs, type SellerAttestationOutput as bt, type SellerCredentialProbeResponse as bu, type FulfillIntentAttestationResponse as bv, type AttestationServiceSellerCredentialProbeResponse as bw, type BuyerTeePaymentParams as bx, type BuyerTeePaymentProofInput as by, type BuyerTeeSessionMaterial as bz, type SellerCredentialUploadInput as c, mapConversionRatesToOnchainMinRate as c$, IndexerDepositService as c0, IndexerRateManagerService as c1, compareEventCursorIdsByRecency as c2, buildStakingEntityIds as c3, IndexerStakingService as c4, fetchFulfillmentAndPayment as c5, type DepositEntity as c6, type IntentFulfilledEntity as c7, type IntentFulfillmentAmountsEntity as c8, type DepositPaymentMethodEntity as c9, type IndexedTakerAuthorization as cA, type IndexedTakerStakeAuthorization as cB, type StakeActivityPageParams as cC, type StakeLockPageParams as cD, type StakingEntityIds as cE, type TakerStakeAuthorizationPageParams as cF, type DepositFilter as cG, type PaginationOptions as cH, type DepositOrderField as cI, type OrderDirection$1 as cJ, type RateManagerFilter as cK, type RateManagerPaginationOptions as cL, type RateManagerDelegationPaginationOptions as cM, type RateManagerOrderField as cN, type OrderDirection as cO, type DeploymentEnv as cP, type FulfillmentRecord as cQ, type PaymentVerifiedRecord as cR, type FulfillmentAndPaymentResponse as cS, PAYMENT_PLATFORMS as cT, type PaymentPlatformType as cU, Currency as cV, currencyInfo as cW, getCurrencyInfoFromHash as cX, getCurrencyInfoFromCountryCode as cY, getCurrencyCodeFromHash as cZ, isSupportedCurrencyHash as c_, type MethodCurrencyEntity as ca, type IntentStatus as cb, type RateManagerEntity as cc, type RateManagerRateEntity as cd, type RateManagerDelegationEntity as ce, type ManagerAggregateStatsEntity as cf, type ManagerStatsEntity as cg, type ManagerDailySnapshotEntity as ch, type RateManagerListItem as ci, type RateManagerDetail as cj, type ManualRateUpdateEntity as ck, type OracleConfigUpdateEntity as cl, type DepositFundActivityEntity as cm, type DepositDailySnapshotEntity as cn, type DepositFundActivityType as co, type DisputeProtectionIntentPage as cp, type DisputeProtectionIntentPageParams as cq, type IndexedDisputeProtectionIntent as cr, type IndexedPage as cs, type IndexedPageAsOf as ct, type IndexedRiskWindow as cu, type IndexedStakeActivity as cv, type IndexedStakeLock as cw, type IndexedStakingRowFreshness as cx, type IndexedStakingState as cy, type IndexedStakingStateParams as cz, type SellerCredentialUploadPlatform as d, type CurrencyData as d0, getContracts as d1, getIntentGuardianContract as d2, hasIntentGuardian as d3, getRateManagerContracts as d4, getStakeVaultContract as d5, getOrchestratorV3Contract as d6, getDisputeProtectionPolicyContract as d7, getPaymentMethodsCatalog as d8, getGatingServiceAddress as d9, type DelegationDepositTarget as dA, type BatchResult as dB, type SendTransactionFn as dC, type SendBatchFn as dD, AccessPolicyOperations as dE, AccessPolicyUnsupportedError as dF, ZERO_ADDRESS as dG, asErrorMessage as dH, assertDelegationMethodSupport as dI, ORCHESTRATOR_V3_ABI as da, DISPUTE_PROTECTION_POLICY_ABI as db, STAKE_VAULT_ABI as dc, type RuntimeEnv as dd, type V2ContractAddresses as de, type V2ContractAbis as df, parseDepositView as dg, parseIntentView as dh, enrichPvDepositView as di, enrichPvIntentView as dj, type PV_DepositView as dk, type PV_Deposit as dl, type PV_PaymentMethodData as dm, type PV_Currency as dn, type PV_ReferralFee as dp, type PV_IntentView as dq, type PV_Intent as dr, ZERO_RATE_MANAGER_ID as ds, isZeroRateManagerId as dt, normalizeRateManagerId as du, normalizeRegistry as dv, getDelegationRoute as dw, classifyDelegationState as dx, type DelegationRoute as dy, type DelegationState as dz, 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 };
|
|
4733
|
+
export { type RedeemReferralCodeSignatureOptions as $, type AttestationServiceIdentityResponse as A, type BuyerTeeVerifyPaymentBody as B, type CuratorSellerCredentialUploadResponse as C, type DepositWithRelations as D, type GetDepositBundleParams as E, type GetDepositBundleResponse as F, type GoogleOAuthSellerCredentialPlatform as G, type GetOrderbookParams as H, type IntentEntity as I, type GetOrderbookResponse as J, type GetOrderbookTableResponse as K, type QuoteRequest as L, type QuoteResponse as M, type CuratorMetadata as N, type CurrencyType as O, type PostDepositDetailsRequest as P, type QuotesBestByPlatformRequest as Q, type ReferrerFeeConfig as R, type SellerCredentialBundle as S, type PaymentMethodCatalog 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 GetIntentsByDepositRequest 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 StakeVaultState as a6, type StakeVaultWriteFunction as a7, type StakeVaultWriteParams as a8, readDisputeAttestationConfig as a9, type GetPlatformQuote as aA, type PlatformQuote as aB, type QuotePreference as aC, type GetNearbyQuote as aD, type GetNearbySuggestions as aE, type GetQuoteResponse as aF, type GetQuoteResponseObject as aG, type GetQuoteSingleResponse as aH, type QuoteResponseObject as aI, type QuoteMakerIdentity as aJ, type QuoteSingleResponse as aK, type QuoteIntentResponse as aL, type QuoteFeesResponse as aM, type FiatResponse as aN, type TokenResponse as aO, type NearbyQuote as aP, type NearbySuggestions as aQ, type ApiDeposit as aR, type DepositVerifier as aS, type DepositVerifierCurrency as aT, type DepositStatus$1 as aU, type GetDepositByIdRequest as aV, type GetDepositByIdResponse as aW, type Intent as aX, type ApiIntentStatus as aY, type GetOwnerIntentsRequest as aZ, type GetOwnerIntentsResponse as a_, type DisputeAttestationConfig as aa, type DisputeProtectionReadinessOptions as ab, type DisputeProtectionReadinessResult as ac, type ReadDisputeAttestationConfigParams as ad, type IntentGuardianPolicy as ae, type IntentGuardianQuote as af, type IntentGuardianWriteFunction as ag, type IntentGuardianWriteParams as ah, type IntentGuardianErrorCode as ai, classifyIntentGuardianError as aj, type AuthorizationTokenProvider as ak, type TimeoutConfig as al, type ActionCallback as am, type ReferralRedemption as an, type ReferralSignatureBody as ao, type CreateDepositParams as ap, type CreateDepositConversionRate as aq, type Range as ar, type WithdrawDepositParams as as, type SignalIntentParams as at, type FulfillIntentParams as au, type ReleaseFundsToPayerParams as av, type CancelIntentParams as aw, type BestByPlatformResponseObject as ax, type GetBestByPlatformResponse as ay, type GetBestByPlatformResponseObject as az, type AttestationServiceSellerVerifyResponse as b, type TakerStakeBalances as b$, type GetIntentsByDepositResponse as b0, type GetIntentByHashRequest as b1, type GetIntentByHashResponse as b2, type RegisterPayeeDetailsRequest as b3, type RegisterPayeeDetailsResponse as b4, type SellerPlatform as b5, type AmazonPayCredentialUploadInput as b6, type AmazonPayIdentityAttestationOutput as b7, type VenmoSessionMaterial as b8, type CashAppSessionMaterial as b9, type BuyerTeePaymentParams as bA, type BuyerTeePaymentProofInput as bB, type BuyerTeeSessionMaterial as bC, type CuratorSellerCredentialStatusResponse as bD, type CuratorSellerVerifyResponse as bE, type RegisteredSellerCredentialPlatform as bF, type UploadSellerCredentialParams as bG, type RegisteredUploadSellerCredentialParams as bH, type UploadSellerCredentialOptions as bI, type GetSellerCredentialStatusParams as bJ, type UploadPayPalGoogleOAuthSellerCredentialParams as bK, type UploadVenmoGoogleOAuthSellerCredentialParams as bL, type UploadGoogleOAuthSellerCredentialParams as bM, type VerifySellerPaymentParams as bN, type IdentityAttestationActionType as bO, type IdentityAttestationOutput as bP, type IdentityAttestationOutputFor as bQ, type IdentityAttestationParams as bR, type MakerIdentityAttestationRequestBody as bS, type MakerIdentityPlatform as bT, type OnchainCurrency as bU, type DepositVerifierData as bV, type PreparedTransaction as bW, type OrderStats as bX, type DepositIntentStatistics as bY, type UsdcAmount as bZ, type StakeEnvironment as b_, type WiseSessionMaterial as ba, type WiseProfileInfo as bb, type WiseProfileSelectionRequired as bc, type WiseProfileNotFound as bd, type PayPalGoogleOAuthSellerCredentialUploadBody as be, type VenmoGoogleOAuthSellerCredentialUploadBody as bf, type VenmoCredentialUploadInput as bg, type CashAppCredentialUploadInput as bh, type WiseCredentialUploadInput as bi, type SellerCredentialUploadInputByPlatform as bj, type SellerCiphertextBundle as bk, type SellerSignedCiphertextBundle as bl, type SellerVerifyIntentDetails as bm, type SellerVerifyInput as bn, type SellerProbeInput as bo, type SellerCredentialBundleUpload as bp, type SellerCredentialStatusValue as bq, type SellerCredentialStatus as br, type SellerVerifyProxyBody as bs, type SellerTypedDataField as bt, type SellerTypedDataSpec as bu, type SellerPaymentTypedDataValue as bv, type SellerAttestationOutput as bw, type SellerCredentialProbeResponse as bx, type FulfillIntentAttestationResponse as by, type AttestationServiceSellerCredentialProbeResponse as bz, type SellerCredentialUploadInput as c, getCurrencyInfoFromHash as c$, type OrderbookEntry as c0, type OrderbookTableRow as c1, IndexerClient as c2, defaultIndexerEndpoint as c3, IndexerDepositService as c4, IndexerRateManagerService as c5, compareEventCursorIdsByRecency as c6, buildStakingEntityIds as c7, IndexerStakingService as c8, fetchFulfillmentAndPayment as c9, type IndexedStakeLock as cA, type IndexedStakingRowFreshness as cB, type IndexedStakingState as cC, type IndexedStakingStateParams as cD, type IndexedTakerAuthorization as cE, type IndexedTakerStakeAuthorization as cF, type StakeActivityPageParams as cG, type StakeLockPageParams as cH, type StakingEntityIds as cI, type TakerStakeAuthorizationPageParams as cJ, type DepositFilter as cK, type PaginationOptions as cL, type DepositOrderField as cM, type OrderDirection$1 as cN, type RateManagerFilter as cO, type RateManagerPaginationOptions as cP, type RateManagerDelegationPaginationOptions as cQ, type RateManagerOrderField as cR, type OrderDirection as cS, type DeploymentEnv as cT, type FulfillmentRecord as cU, type PaymentVerifiedRecord as cV, type FulfillmentAndPaymentResponse as cW, PAYMENT_PLATFORMS as cX, type PaymentPlatformType as cY, Currency as cZ, currencyInfo as c_, type DepositEntity as ca, type IntentFulfilledEntity as cb, type IntentFulfillmentAmountsEntity as cc, type DepositPaymentMethodEntity as cd, type MethodCurrencyEntity as ce, type IntentStatus as cf, type RateManagerEntity as cg, type RateManagerRateEntity as ch, type RateManagerDelegationEntity as ci, type ManagerAggregateStatsEntity as cj, type ManagerStatsEntity as ck, type ManagerDailySnapshotEntity as cl, type RateManagerListItem as cm, type RateManagerDetail as cn, type ManualRateUpdateEntity as co, type OracleConfigUpdateEntity as cp, type DepositFundActivityEntity as cq, type DepositDailySnapshotEntity as cr, type DepositFundActivityType as cs, type DisputeProtectionIntentPage as ct, type DisputeProtectionIntentPageParams as cu, type IndexedDisputeProtectionIntent as cv, type IndexedPage as cw, type IndexedPageAsOf as cx, type IndexedRiskWindow as cy, type IndexedStakeActivity as cz, type SellerCredentialUploadPlatform as d, getCurrencyInfoFromCountryCode as d0, getCurrencyCodeFromHash as d1, isSupportedCurrencyHash as d2, mapConversionRatesToOnchainMinRate as d3, type CurrencyData as d4, getContracts as d5, getIntentGuardianContract as d6, hasIntentGuardian as d7, getRateManagerContracts as d8, getStakeVaultContract as d9, getDelegationRoute as dA, classifyDelegationState as dB, type DelegationRoute as dC, type DelegationState as dD, type DelegationDepositTarget as dE, type BatchResult as dF, type SendTransactionFn as dG, type SendBatchFn as dH, AccessPolicyOperations as dI, AccessPolicyUnsupportedError as dJ, ZERO_ADDRESS as dK, asErrorMessage as dL, assertDelegationMethodSupport as dM, getOrchestratorV3Contract as da, getDisputeProtectionPolicyContract as db, getPaymentMethodsCatalog as dc, getGatingServiceAddress as dd, ORCHESTRATOR_V3_ABI as de, DISPUTE_PROTECTION_POLICY_ABI as df, STAKE_VAULT_ABI as dg, type RuntimeEnv as dh, type V2ContractAddresses as di, type V2ContractAbis as dj, parseDepositView as dk, parseIntentView as dl, enrichPvDepositView as dm, enrichPvIntentView as dn, type PV_DepositView as dp, type PV_Deposit as dq, type PV_PaymentMethodData as dr, type PV_Currency as ds, type PV_ReferralFee as dt, type PV_IntentView as du, type PV_Intent as dv, ZERO_RATE_MANAGER_ID as dw, isZeroRateManagerId as dx, normalizeRateManagerId as dy, normalizeRegistry as dz, 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.14.
|
|
3
|
+
"version": "0.14.2-rc.2",
|
|
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",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@zkp2p/indexer-schema": "0.22.0",
|
|
78
|
-
"@zkp2p/contracts-v2": "0.4.
|
|
78
|
+
"@zkp2p/contracts-v2": "0.4.2-rc.2",
|
|
79
79
|
"@zkp2p/zkp2p-attestation": "3.1.0",
|
|
80
80
|
"ethers": "^6.0.0",
|
|
81
81
|
"ox": "^0.11.1"
|