@zkp2p/sdk 0.12.2-rc.2 → 0.12.2-rc.3

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.
@@ -0,0 +1,5 @@
1
+ export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-RVINERIL.mjs';
2
+ import './chunk-ZB22BZLZ.mjs';
3
+ import './chunk-FYCYFFYS.mjs';
4
+ //# sourceMappingURL=protocolViewerParsers-YYBBYCEJ.mjs.map
5
+ //# sourceMappingURL=protocolViewerParsers-YYBBYCEJ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-QE6LWS3W.mjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"protocolViewerParsers-YYBBYCEJ.mjs"}
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bO as PreparedTransaction, a2 as FulfillIntentMethodParams, dw as SendTransactionFn, dx as SendBatchFn, du as DelegationDepositTarget, dv as BatchResult, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote } from './vaultUtils-Dla_eG15.mjs';
2
- export { ds as DelegationRoute, dt as DelegationState, dM as VAULT_ZERO_ADDRESS, dl as ZERO_RATE_MANAGER_ID, dN as asErrorMessage, dO as assertDelegationMethodSupport, dr as classifyDelegationState, dq as getDelegationRoute, dm as isZeroRateManagerId, dn as normalizeRateManagerId, dp as normalizeRegistry } from './vaultUtils-Dla_eG15.mjs';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bO as PreparedTransaction, a2 as FulfillIntentMethodParams, dy as SendTransactionFn, dz as SendBatchFn, dw as DelegationDepositTarget, dx as BatchResult, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote } from './vaultUtils-CqUssXB-.mjs';
2
+ export { du as DelegationRoute, dv as DelegationState, dO as VAULT_ZERO_ADDRESS, dn as ZERO_RATE_MANAGER_ID, dP as asErrorMessage, dQ as assertDelegationMethodSupport, dt as classifyDelegationState, ds as getDelegationRoute, dp as isZeroRateManagerId, dq as normalizeRateManagerId, dr as normalizeRegistry } from './vaultUtils-CqUssXB-.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, bO as PreparedTransaction, a2 as FulfillIntentMethodParams, dw as SendTransactionFn, dx as SendBatchFn, du as DelegationDepositTarget, dv as BatchResult, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote } from './vaultUtils-Dla_eG15.js';
2
- export { ds as DelegationRoute, dt as DelegationState, dM as VAULT_ZERO_ADDRESS, dl as ZERO_RATE_MANAGER_ID, dN as asErrorMessage, dO as assertDelegationMethodSupport, dr as classifyDelegationState, dq as getDelegationRoute, dm as isZeroRateManagerId, dn as normalizeRateManagerId, dp as normalizeRegistry } from './vaultUtils-Dla_eG15.js';
1
+ import { Z as Zkp2pClient, P as PostDepositDetailsRequest, a1 as SignalIntentMethodParams, bO as PreparedTransaction, a2 as FulfillIntentMethodParams, dy as SendTransactionFn, dz as SendBatchFn, dw as DelegationDepositTarget, dx as BatchResult, af as IntentGuardianErrorCode, ab as IntentGuardianPolicy, ac as IntentGuardianQuote } from './vaultUtils-CqUssXB-.js';
2
+ export { du as DelegationRoute, dv as DelegationState, dO as VAULT_ZERO_ADDRESS, dn as ZERO_RATE_MANAGER_ID, dP as asErrorMessage, dQ as assertDelegationMethodSupport, dt as classifyDelegationState, ds as getDelegationRoute, dp as isZeroRateManagerId, dq as normalizeRateManagerId, dr as normalizeRegistry } from './vaultUtils-CqUssXB-.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-UQEKVVIN.mjs';
3
+ import './chunk-FYCYFFYS.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-UQEKVVIN.mjs';
2
+ import './chunk-FYCYFFYS.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-CQ4Y2Z4T.mjs.map
34
- //# sourceMappingURL=timeout-CQ4Y2Z4T.mjs.map
33
+ //# sourceMappingURL=timeout-TJYY2GX6.mjs.map
34
+ //# sourceMappingURL=timeout-TJYY2GX6.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-CQ4Y2Z4T.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;"]}
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-TJYY2GX6.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;"]}
@@ -1314,7 +1314,7 @@ type QuoteSingleResponse = {
1314
1314
  takerReferralFeeAmountFormatted?: string;
1315
1315
  whitelistEnabled: boolean;
1316
1316
  allowedGroupIds: string[];
1317
- disputeProtectionOptedIn: boolean;
1317
+ disputeProtectionOptedOut: boolean;
1318
1318
  disputeProtectionRequiresStake: boolean;
1319
1319
  /**
1320
1320
  * Whether the maker's seller automation is live for this quote — active
@@ -1732,7 +1732,7 @@ type OrderbookEntry = {
1732
1732
  telegramUsername?: string;
1733
1733
  whitelistEnabled: boolean;
1734
1734
  allowedGroupIds: string[];
1735
- disputeProtectionOptedIn: boolean;
1735
+ disputeProtectionOptedOut: boolean;
1736
1736
  disputeProtectionRequiresStake: boolean;
1737
1737
  };
1738
1738
  type GetOrderbookResponse = {
@@ -1777,7 +1777,7 @@ type OrderbookTableRow = {
1777
1777
  sellerAutomatedReleaseEnabled: boolean;
1778
1778
  whitelistEnabled: boolean;
1779
1779
  allowedGroupIds: string[];
1780
- disputeProtectionOptedIn: boolean;
1780
+ disputeProtectionOptedOut: boolean;
1781
1781
  disputeProtectionRequiresStake: boolean;
1782
1782
  isPrivate: boolean;
1783
1783
  updatedAt: string;
@@ -1857,7 +1857,7 @@ type UpdateReferralCodeSignatureOptions$1 = ReferralSignatureOptions$1 & {
1857
1857
  * removals are no-ops), so a partially applied plan can be retried from the
1858
1858
  * beginning without corrupting state.
1859
1859
  */
1860
- declare const MAX_GROUPS_PER_DEPOSIT = 10;
1860
+ declare const MAX_GROUPS_PER_DEPOSIT_PAYMENT_METHOD = 10;
1861
1861
  /**
1862
1862
  * Direct addresses written per transaction.
1863
1863
  *
@@ -1964,11 +1964,13 @@ declare class AccessPolicyOperations {
1964
1964
  isEnabled(params: {
1965
1965
  escrow: Address;
1966
1966
  depositId: bigint;
1967
+ paymentMethod: Hex;
1967
1968
  }): Promise<boolean>;
1968
1969
  /** Groups are enumerable onchain; direct addresses deliberately are not. */
1969
1970
  getAllowedGroups(params: {
1970
1971
  escrow: Address;
1971
1972
  depositId: bigint;
1973
+ paymentMethod: Hex;
1972
1974
  }): Promise<Hex[]>;
1973
1975
  /**
1974
1976
  * Point check for one address. There is no enumeration getter, so this can
@@ -1979,7 +1981,7 @@ declare class AccessPolicyOperations {
1979
1981
  depositId: bigint;
1980
1982
  taker: Address;
1981
1983
  }): Promise<boolean>;
1982
- maxGroupsPerDeposit(): Promise<bigint>;
1984
+ maxGroupsPerDepositPaymentMethod(): Promise<bigint>;
1983
1985
  groupExists(groupId: Hex): Promise<boolean>;
1984
1986
  /** Curated membership OR resolver. Resolver failures fail closed. */
1985
1987
  isMember(params: {
@@ -1990,6 +1992,7 @@ declare class AccessPolicyOperations {
1990
1992
  prepareConfigureDeposit(params: {
1991
1993
  escrow: Address;
1992
1994
  depositId: bigint;
1995
+ paymentMethod: Hex;
1993
1996
  enabled: boolean;
1994
1997
  groupIds: readonly Hex[];
1995
1998
  takers: readonly Address[];
@@ -1998,18 +2001,21 @@ declare class AccessPolicyOperations {
1998
2001
  prepareSetEnabled(params: {
1999
2002
  escrow: Address;
2000
2003
  depositId: bigint;
2004
+ paymentMethod: Hex;
2001
2005
  enabled: boolean;
2002
2006
  txOverrides?: TxOverrides;
2003
2007
  }): PreparedTransactionWithAbi;
2004
2008
  prepareAddAllowedGroups(params: {
2005
2009
  escrow: Address;
2006
2010
  depositId: bigint;
2011
+ paymentMethod: Hex;
2007
2012
  groupIds: readonly Hex[];
2008
2013
  txOverrides?: TxOverrides;
2009
2014
  }): PreparedTransactionWithAbi;
2010
2015
  prepareRemoveAllowedGroups(params: {
2011
2016
  escrow: Address;
2012
2017
  depositId: bigint;
2018
+ paymentMethod: Hex;
2013
2019
  groupIds: readonly Hex[];
2014
2020
  txOverrides?: TxOverrides;
2015
2021
  }): PreparedTransactionWithAbi;
@@ -2029,6 +2035,7 @@ declare class AccessPolicyOperations {
2029
2035
  preparePlanStep(params: {
2030
2036
  escrow: Address;
2031
2037
  depositId: bigint;
2038
+ paymentMethod: Hex;
2032
2039
  step: AccessPolicyPlanStep;
2033
2040
  txOverrides?: TxOverrides;
2034
2041
  }): PreparedTransactionWithAbi;
@@ -2041,6 +2048,7 @@ declare class AccessPolicyOperations {
2041
2048
  preparePlan(params: {
2042
2049
  escrow: Address;
2043
2050
  depositId: bigint;
2051
+ paymentMethod: Hex;
2044
2052
  plan: AccessPolicyPlan;
2045
2053
  txOverrides?: TxOverrides;
2046
2054
  }): PreparedTransactionWithAbi[];
@@ -2526,6 +2534,21 @@ type StakeLockPageParams = PageParams & {
2526
2534
  stakeOwner: Address;
2527
2535
  status?: StakeLockStatus;
2528
2536
  };
2537
+ /**
2538
+ * Exactly one of `stakeOwner` (owner side: the takers this stake owner has
2539
+ * authorized) or `taker` (taker side: the stake owners that have authorized
2540
+ * this taker) scopes the page.
2541
+ */
2542
+ type TakerStakeAuthorizationPageParams = PageParams & {
2543
+ vaultAddress: Address;
2544
+ authorized?: boolean;
2545
+ } & ({
2546
+ stakeOwner: Address;
2547
+ taker?: never;
2548
+ } | {
2549
+ taker: Address;
2550
+ stakeOwner?: never;
2551
+ });
2529
2552
  type StakeActivityPageParams = PageParams & {
2530
2553
  vaultAddress: Address;
2531
2554
  /** Merchant address matched against either the immutable owner or taker side. */
@@ -2551,6 +2574,13 @@ type IndexedStakeLock = {
2551
2574
  updatedAtBlockNumber: string;
2552
2575
  updatedAt: string;
2553
2576
  };
2577
+ type IndexedTakerStakeAuthorization = {
2578
+ taker: Address;
2579
+ stakeOwner: Address;
2580
+ authorized: boolean;
2581
+ updatedAtBlockNumber: string;
2582
+ updatedAt: string;
2583
+ };
2554
2584
  type IndexedStakeActivity = {
2555
2585
  stakeOwner: Address | null;
2556
2586
  taker: Address | null;
@@ -2688,6 +2718,12 @@ declare class IndexerStakingService {
2688
2718
  private readonly client;
2689
2719
  constructor(client: IndexerClient);
2690
2720
  fetchStakeLocks(params: StakeLockPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeLock>>;
2721
+ /**
2722
+ * Pages one side of the vault's authorization graph: takers a stake owner
2723
+ * has authorized, or stake owners that have authorized a taker. Exactly one
2724
+ * of `stakeOwner` or `taker` scopes the page.
2725
+ */
2726
+ fetchTakerStakeAuthorizations(params: TakerStakeAuthorizationPageParams, init?: RequestInit): Promise<IndexedPage<IndexedTakerStakeAuthorization>>;
2691
2727
  fetchStakeActivity(params: StakeActivityPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeActivity>>;
2692
2728
  fetchDisputeProtectionIntents(params: DisputeProtectionIntentPageParams, init?: RequestInit): Promise<DisputeProtectionIntentPage>;
2693
2729
  fetchStakingState(params: IndexedStakingStateParams, init?: RequestInit): Promise<IndexedStakingState>;
@@ -3425,6 +3461,13 @@ declare class Zkp2pClient {
3425
3461
  getStakeLocks: (params: StakeLockPageParams, options?: {
3426
3462
  signal?: AbortSignal;
3427
3463
  }) => Promise<IndexedPage<IndexedStakeLock>>;
3464
+ /**
3465
+ * Pages one side of the vault's authorization graph: the takers a stake
3466
+ * owner has authorized, or the stake owners that have authorized a taker.
3467
+ */
3468
+ getTakerStakeAuthorizations: (params: TakerStakeAuthorizationPageParams, options?: {
3469
+ signal?: AbortSignal;
3470
+ }) => Promise<IndexedPage<IndexedTakerStakeAuthorization>>;
3428
3471
  /** Pages append-only activity relevant to either side of a merchant's stake delegation. */
3429
3472
  getStakeActivity: (params: StakeActivityPageParams, options?: {
3430
3473
  signal?: AbortSignal;
@@ -3586,11 +3629,12 @@ declare class Zkp2pClient {
3586
3629
  */
3587
3630
  getRiskWindow(paymentMethodHash: `0x${string}`): Promise<bigint>;
3588
3631
  /** Read whether an escrow deposit has opted into dispute protection. */
3589
- isDisputeProtectionEnabled(escrow: Address, depositId: bigint): Promise<boolean>;
3632
+ isDisputeProtectionEnabled(escrow: Address, depositId: bigint, paymentMethod: Hex): Promise<boolean>;
3590
3633
  /** Enable or disable dispute protection for one deposit. */
3591
3634
  readonly setDisputeProtectionEnabled: PrepareableMethod<{
3592
3635
  escrow: Address;
3593
3636
  depositId: bigint;
3637
+ paymentMethod: Hex;
3594
3638
  enabled: boolean;
3595
3639
  disputeProtectionPolicyAddress?: Address;
3596
3640
  txOverrides?: TxOverrides;
@@ -4761,4 +4805,4 @@ type SendBatchFn = (txs: Array<{
4761
4805
  value?: bigint;
4762
4806
  }>) => Promise<string>;
4763
4807
 
4764
- 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 RegisterPayeeDetailsRequest 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, type DisputeProtectionReadinessOptions as a9, type GetNearbyQuote as aA, type GetNearbySuggestions as aB, type GetQuoteResponse as aC, type GetQuoteResponseObject as aD, type GetQuoteSingleResponse as aE, type QuoteResponseObject as aF, type QuoteSingleResponse as aG, type QuoteIntentResponse as aH, type QuoteFeesResponse as aI, type FiatResponse as aJ, type TokenResponse as aK, type NearbyQuote as aL, type NearbySuggestions as aM, type ApiDeposit as aN, type DepositVerifier as aO, type DepositVerifierCurrency as aP, type DepositStatus$1 as aQ, type GetDepositByIdRequest as aR, type GetDepositByIdResponse as aS, type Intent as aT, type ApiIntentStatus as aU, type GetOwnerIntentsRequest as aV, type GetOwnerIntentsResponse as aW, type GetIntentsByDepositRequest as aX, type GetIntentsByDepositResponse as aY, type GetIntentByHashRequest as aZ, type GetIntentByHashResponse as a_, type DisputeProtectionReadinessResult as aa, type IntentGuardianPolicy as ab, type IntentGuardianQuote as ac, type IntentGuardianWriteFunction as ad, type IntentGuardianWriteParams as ae, type IntentGuardianErrorCode as af, classifyIntentGuardianError as ag, type AuthorizationTokenProvider as ah, type TimeoutConfig as ai, type ActionCallback as aj, type ReferralRedemption as ak, type ReferralSignatureBody as al, type CreateDepositParams as am, type CreateDepositConversionRate as an, type Range as ao, type WithdrawDepositParams as ap, type SignalIntentParams as aq, type FulfillIntentParams as ar, type ReleaseFundsToPayerParams as as, type CancelIntentParams as at, type BestByPlatformResponseObject as au, type GetBestByPlatformResponse as av, type GetBestByPlatformResponseObject as aw, type GetPlatformQuote as ax, type PlatformQuote as ay, type QuotePreference as az, type AttestationServiceSellerVerifyResponse as b, buildStakingEntityIds as b$, type RegisterPayeeDetailsResponse as b0, type SellerPlatform as b1, type VenmoSessionMaterial as b2, type CashAppSessionMaterial as b3, type WiseSessionMaterial as b4, type WiseProfileInfo as b5, type WiseProfileSelectionRequired as b6, type WiseProfileNotFound as b7, type PayPalGoogleOAuthSellerCredentialUploadBody as b8, type VenmoCredentialUploadInput as b9, type RegisteredUploadSellerCredentialParams as bA, type UploadSellerCredentialOptions as bB, type GetSellerCredentialStatusParams as bC, type UploadPayPalGoogleOAuthSellerCredentialParams as bD, type UploadGoogleOAuthSellerCredentialParams as bE, type VerifySellerPaymentParams as bF, type IdentityAttestationActionType as bG, type IdentityAttestationOutput as bH, type IdentityAttestationOutputFor as bI, type IdentityAttestationParams as bJ, type MakerIdentityAttestationRequestBody as bK, type MakerIdentityPlatform as bL, type OnchainCurrency as bM, type DepositVerifierData as bN, type PreparedTransaction as bO, type OrderStats as bP, type DepositIntentStatistics as bQ, type UsdcAmount as bR, type StakeEnvironment as bS, type TakerStakeBalances as bT, type OrderbookEntry as bU, type OrderbookTableRow as bV, IndexerClient as bW, defaultIndexerEndpoint as bX, IndexerDepositService as bY, IndexerRateManagerService as bZ, compareEventCursorIdsByRecency as b_, type CashAppCredentialUploadInput as ba, type WiseCredentialUploadInput as bb, type SellerCredentialUploadInputByPlatform as bc, type SellerCiphertextBundle as bd, type SellerSignedCiphertextBundle as be, type SellerVerifyIntentDetails as bf, type SellerVerifyInput as bg, type SellerProbeInput as bh, type SellerCredentialBundleUpload as bi, type SellerCredentialStatusValue as bj, type SellerCredentialStatus as bk, type SellerVerifyProxyBody as bl, type SellerTypedDataField as bm, type SellerTypedDataSpec as bn, type SellerPaymentTypedDataValue as bo, type SellerAttestationOutput as bp, type SellerCredentialProbeResponse as bq, type FulfillIntentAttestationResponse as br, type AttestationServiceSellerCredentialProbeResponse as bs, type BuyerTeePaymentParams as bt, type BuyerTeePaymentProofInput as bu, type BuyerTeeSessionMaterial as bv, type CuratorSellerCredentialStatusResponse as bw, type CuratorSellerVerifyResponse as bx, type RegisteredSellerCredentialPlatform as by, type UploadSellerCredentialParams as bz, type SellerCredentialUploadInput as c, getStakeVaultContract as c$, IndexerStakingService as c0, fetchFulfillmentAndPayment as c1, type DepositEntity as c2, type IntentFulfilledEntity as c3, type IntentFulfillmentAmountsEntity as c4, type DepositPaymentMethodEntity as c5, type MethodCurrencyEntity as c6, type IntentStatus as c7, type RateManagerEntity as c8, type RateManagerRateEntity as c9, type DepositFilter as cA, type PaginationOptions as cB, type DepositOrderField as cC, type OrderDirection$1 as cD, type RateManagerFilter as cE, type RateManagerPaginationOptions as cF, type RateManagerDelegationPaginationOptions as cG, type RateManagerOrderField as cH, type OrderDirection as cI, type DeploymentEnv as cJ, type FulfillmentRecord as cK, type PaymentVerifiedRecord as cL, type FulfillmentAndPaymentResponse as cM, PAYMENT_PLATFORMS as cN, type PaymentPlatformType as cO, Currency as cP, currencyInfo as cQ, getCurrencyInfoFromHash as cR, getCurrencyInfoFromCountryCode as cS, getCurrencyCodeFromHash as cT, isSupportedCurrencyHash as cU, mapConversionRatesToOnchainMinRate as cV, type CurrencyData as cW, getContracts as cX, getIntentGuardianContract as cY, hasIntentGuardian as cZ, getRateManagerContracts as c_, type RateManagerDelegationEntity as ca, type ManagerAggregateStatsEntity as cb, type ManagerStatsEntity as cc, type ManagerDailySnapshotEntity as cd, type RateManagerListItem as ce, type RateManagerDetail as cf, type ManualRateUpdateEntity as cg, type OracleConfigUpdateEntity as ch, type DepositFundActivityEntity as ci, type DepositDailySnapshotEntity as cj, type DepositFundActivityType as ck, type DisputeProtectionIntentPage as cl, type DisputeProtectionIntentPageParams as cm, type IndexedDisputeProtectionIntent as cn, type IndexedPage as co, type IndexedPageAsOf as cp, type IndexedRiskWindow as cq, type IndexedStakeActivity as cr, type IndexedStakeLock as cs, type IndexedStakingRowFreshness as ct, type IndexedStakingState as cu, type IndexedStakingStateParams as cv, type IndexedTakerAuthorization as cw, type StakeActivityPageParams as cx, type StakeLockPageParams as cy, type StakingEntityIds as cz, type SellerCredentialUploadPlatform as d, getOrchestratorV3Contract as d0, getDisputeProtectionPolicyContract as d1, getPaymentMethodsCatalog as d2, getGatingServiceAddress as d3, ORCHESTRATOR_V3_ABI as d4, DISPUTE_PROTECTION_POLICY_ABI as d5, STAKE_VAULT_ABI as d6, type RuntimeEnv as d7, type V2ContractAddresses as d8, type V2ContractAbis as d9, MAX_GROUPS_PER_DEPOSIT as dA, MAX_ADDRESSES_PER_CALL as dB, MAX_WHITELISTED_ADDRESSES as dC, diffAccessPolicy as dD, normalizeAccessPolicyState as dE, planAccessPolicyUpdate as dF, type AccessPolicyDiff as dG, type AccessPolicyOrdering as dH, type AccessPolicyPlan as dI, type AccessPolicyPlanStep as dJ, type AccessPolicyState as dK, type AccessPolicyViolation as dL, ZERO_ADDRESS as dM, asErrorMessage as dN, assertDelegationMethodSupport as dO, parseDepositView as da, parseIntentView as db, enrichPvDepositView as dc, enrichPvIntentView as dd, type PV_DepositView as de, type PV_Deposit as df, type PV_PaymentMethodData as dg, type PV_Currency as dh, type PV_ReferralFee as di, type PV_IntentView as dj, type PV_Intent as dk, ZERO_RATE_MANAGER_ID as dl, isZeroRateManagerId as dm, normalizeRateManagerId as dn, normalizeRegistry as dp, getDelegationRoute as dq, classifyDelegationState as dr, type DelegationRoute as ds, type DelegationState as dt, type DelegationDepositTarget as du, type BatchResult as dv, type SendTransactionFn as dw, type SendBatchFn as dx, AccessPolicyOperations as dy, AccessPolicyUnsupportedError 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 };
4808
+ 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 RegisterPayeeDetailsRequest 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, type DisputeProtectionReadinessOptions as a9, type GetNearbyQuote as aA, type GetNearbySuggestions as aB, type GetQuoteResponse as aC, type GetQuoteResponseObject as aD, type GetQuoteSingleResponse as aE, type QuoteResponseObject as aF, type QuoteSingleResponse as aG, type QuoteIntentResponse as aH, type QuoteFeesResponse as aI, type FiatResponse as aJ, type TokenResponse as aK, type NearbyQuote as aL, type NearbySuggestions as aM, type ApiDeposit as aN, type DepositVerifier as aO, type DepositVerifierCurrency as aP, type DepositStatus$1 as aQ, type GetDepositByIdRequest as aR, type GetDepositByIdResponse as aS, type Intent as aT, type ApiIntentStatus as aU, type GetOwnerIntentsRequest as aV, type GetOwnerIntentsResponse as aW, type GetIntentsByDepositRequest as aX, type GetIntentsByDepositResponse as aY, type GetIntentByHashRequest as aZ, type GetIntentByHashResponse as a_, type DisputeProtectionReadinessResult as aa, type IntentGuardianPolicy as ab, type IntentGuardianQuote as ac, type IntentGuardianWriteFunction as ad, type IntentGuardianWriteParams as ae, type IntentGuardianErrorCode as af, classifyIntentGuardianError as ag, type AuthorizationTokenProvider as ah, type TimeoutConfig as ai, type ActionCallback as aj, type ReferralRedemption as ak, type ReferralSignatureBody as al, type CreateDepositParams as am, type CreateDepositConversionRate as an, type Range as ao, type WithdrawDepositParams as ap, type SignalIntentParams as aq, type FulfillIntentParams as ar, type ReleaseFundsToPayerParams as as, type CancelIntentParams as at, type BestByPlatformResponseObject as au, type GetBestByPlatformResponse as av, type GetBestByPlatformResponseObject as aw, type GetPlatformQuote as ax, type PlatformQuote as ay, type QuotePreference as az, type AttestationServiceSellerVerifyResponse as b, buildStakingEntityIds as b$, type RegisterPayeeDetailsResponse as b0, type SellerPlatform as b1, type VenmoSessionMaterial as b2, type CashAppSessionMaterial as b3, type WiseSessionMaterial as b4, type WiseProfileInfo as b5, type WiseProfileSelectionRequired as b6, type WiseProfileNotFound as b7, type PayPalGoogleOAuthSellerCredentialUploadBody as b8, type VenmoCredentialUploadInput as b9, type RegisteredUploadSellerCredentialParams as bA, type UploadSellerCredentialOptions as bB, type GetSellerCredentialStatusParams as bC, type UploadPayPalGoogleOAuthSellerCredentialParams as bD, type UploadGoogleOAuthSellerCredentialParams as bE, type VerifySellerPaymentParams as bF, type IdentityAttestationActionType as bG, type IdentityAttestationOutput as bH, type IdentityAttestationOutputFor as bI, type IdentityAttestationParams as bJ, type MakerIdentityAttestationRequestBody as bK, type MakerIdentityPlatform as bL, type OnchainCurrency as bM, type DepositVerifierData as bN, type PreparedTransaction as bO, type OrderStats as bP, type DepositIntentStatistics as bQ, type UsdcAmount as bR, type StakeEnvironment as bS, type TakerStakeBalances as bT, type OrderbookEntry as bU, type OrderbookTableRow as bV, IndexerClient as bW, defaultIndexerEndpoint as bX, IndexerDepositService as bY, IndexerRateManagerService as bZ, compareEventCursorIdsByRecency as b_, type CashAppCredentialUploadInput as ba, type WiseCredentialUploadInput as bb, type SellerCredentialUploadInputByPlatform as bc, type SellerCiphertextBundle as bd, type SellerSignedCiphertextBundle as be, type SellerVerifyIntentDetails as bf, type SellerVerifyInput as bg, type SellerProbeInput as bh, type SellerCredentialBundleUpload as bi, type SellerCredentialStatusValue as bj, type SellerCredentialStatus as bk, type SellerVerifyProxyBody as bl, type SellerTypedDataField as bm, type SellerTypedDataSpec as bn, type SellerPaymentTypedDataValue as bo, type SellerAttestationOutput as bp, type SellerCredentialProbeResponse as bq, type FulfillIntentAttestationResponse as br, type AttestationServiceSellerCredentialProbeResponse as bs, type BuyerTeePaymentParams as bt, type BuyerTeePaymentProofInput as bu, type BuyerTeeSessionMaterial as bv, type CuratorSellerCredentialStatusResponse as bw, type CuratorSellerVerifyResponse as bx, type RegisteredSellerCredentialPlatform as by, type UploadSellerCredentialParams as bz, type SellerCredentialUploadInput as c, hasIntentGuardian as c$, IndexerStakingService as c0, fetchFulfillmentAndPayment as c1, type DepositEntity as c2, type IntentFulfilledEntity as c3, type IntentFulfillmentAmountsEntity as c4, type DepositPaymentMethodEntity as c5, type MethodCurrencyEntity as c6, type IntentStatus as c7, type RateManagerEntity as c8, type RateManagerRateEntity as c9, type StakingEntityIds as cA, type TakerStakeAuthorizationPageParams as cB, type DepositFilter as cC, type PaginationOptions as cD, type DepositOrderField as cE, type OrderDirection$1 as cF, type RateManagerFilter as cG, type RateManagerPaginationOptions as cH, type RateManagerDelegationPaginationOptions as cI, type RateManagerOrderField as cJ, type OrderDirection as cK, type DeploymentEnv as cL, type FulfillmentRecord as cM, type PaymentVerifiedRecord as cN, type FulfillmentAndPaymentResponse as cO, PAYMENT_PLATFORMS as cP, type PaymentPlatformType as cQ, Currency as cR, currencyInfo as cS, getCurrencyInfoFromHash as cT, getCurrencyInfoFromCountryCode as cU, getCurrencyCodeFromHash as cV, isSupportedCurrencyHash as cW, mapConversionRatesToOnchainMinRate as cX, type CurrencyData as cY, getContracts as cZ, getIntentGuardianContract as c_, type RateManagerDelegationEntity as ca, type ManagerAggregateStatsEntity as cb, type ManagerStatsEntity as cc, type ManagerDailySnapshotEntity as cd, type RateManagerListItem as ce, type RateManagerDetail as cf, type ManualRateUpdateEntity as cg, type OracleConfigUpdateEntity as ch, type DepositFundActivityEntity as ci, type DepositDailySnapshotEntity as cj, type DepositFundActivityType as ck, type DisputeProtectionIntentPage as cl, type DisputeProtectionIntentPageParams as cm, type IndexedDisputeProtectionIntent as cn, type IndexedPage as co, type IndexedPageAsOf as cp, type IndexedRiskWindow as cq, type IndexedStakeActivity as cr, type IndexedStakeLock as cs, type IndexedStakingRowFreshness as ct, type IndexedStakingState as cu, type IndexedStakingStateParams as cv, type IndexedTakerAuthorization as cw, type IndexedTakerStakeAuthorization as cx, type StakeActivityPageParams as cy, type StakeLockPageParams as cz, type SellerCredentialUploadPlatform as d, getRateManagerContracts as d0, getStakeVaultContract as d1, getOrchestratorV3Contract as d2, getDisputeProtectionPolicyContract as d3, getPaymentMethodsCatalog as d4, getGatingServiceAddress as d5, ORCHESTRATOR_V3_ABI as d6, DISPUTE_PROTECTION_POLICY_ABI as d7, STAKE_VAULT_ABI as d8, type RuntimeEnv as d9, AccessPolicyOperations as dA, AccessPolicyUnsupportedError as dB, MAX_GROUPS_PER_DEPOSIT_PAYMENT_METHOD as dC, MAX_ADDRESSES_PER_CALL as dD, MAX_WHITELISTED_ADDRESSES as dE, diffAccessPolicy as dF, normalizeAccessPolicyState as dG, planAccessPolicyUpdate as dH, type AccessPolicyDiff as dI, type AccessPolicyOrdering as dJ, type AccessPolicyPlan as dK, type AccessPolicyPlanStep as dL, type AccessPolicyState as dM, type AccessPolicyViolation as dN, ZERO_ADDRESS as dO, asErrorMessage as dP, assertDelegationMethodSupport as dQ, type V2ContractAddresses as da, type V2ContractAbis as db, parseDepositView as dc, parseIntentView as dd, enrichPvDepositView as de, enrichPvIntentView as df, type PV_DepositView as dg, type PV_Deposit as dh, type PV_PaymentMethodData as di, type PV_Currency as dj, type PV_ReferralFee as dk, type PV_IntentView as dl, type PV_Intent as dm, ZERO_RATE_MANAGER_ID as dn, isZeroRateManagerId as dp, normalizeRateManagerId as dq, normalizeRegistry as dr, getDelegationRoute as ds, classifyDelegationState as dt, type DelegationRoute as du, type DelegationState as dv, type DelegationDepositTarget as dw, type BatchResult as dx, type SendTransactionFn as dy, type SendBatchFn 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 };
@@ -1314,7 +1314,7 @@ type QuoteSingleResponse = {
1314
1314
  takerReferralFeeAmountFormatted?: string;
1315
1315
  whitelistEnabled: boolean;
1316
1316
  allowedGroupIds: string[];
1317
- disputeProtectionOptedIn: boolean;
1317
+ disputeProtectionOptedOut: boolean;
1318
1318
  disputeProtectionRequiresStake: boolean;
1319
1319
  /**
1320
1320
  * Whether the maker's seller automation is live for this quote — active
@@ -1732,7 +1732,7 @@ type OrderbookEntry = {
1732
1732
  telegramUsername?: string;
1733
1733
  whitelistEnabled: boolean;
1734
1734
  allowedGroupIds: string[];
1735
- disputeProtectionOptedIn: boolean;
1735
+ disputeProtectionOptedOut: boolean;
1736
1736
  disputeProtectionRequiresStake: boolean;
1737
1737
  };
1738
1738
  type GetOrderbookResponse = {
@@ -1777,7 +1777,7 @@ type OrderbookTableRow = {
1777
1777
  sellerAutomatedReleaseEnabled: boolean;
1778
1778
  whitelistEnabled: boolean;
1779
1779
  allowedGroupIds: string[];
1780
- disputeProtectionOptedIn: boolean;
1780
+ disputeProtectionOptedOut: boolean;
1781
1781
  disputeProtectionRequiresStake: boolean;
1782
1782
  isPrivate: boolean;
1783
1783
  updatedAt: string;
@@ -1857,7 +1857,7 @@ type UpdateReferralCodeSignatureOptions$1 = ReferralSignatureOptions$1 & {
1857
1857
  * removals are no-ops), so a partially applied plan can be retried from the
1858
1858
  * beginning without corrupting state.
1859
1859
  */
1860
- declare const MAX_GROUPS_PER_DEPOSIT = 10;
1860
+ declare const MAX_GROUPS_PER_DEPOSIT_PAYMENT_METHOD = 10;
1861
1861
  /**
1862
1862
  * Direct addresses written per transaction.
1863
1863
  *
@@ -1964,11 +1964,13 @@ declare class AccessPolicyOperations {
1964
1964
  isEnabled(params: {
1965
1965
  escrow: Address;
1966
1966
  depositId: bigint;
1967
+ paymentMethod: Hex;
1967
1968
  }): Promise<boolean>;
1968
1969
  /** Groups are enumerable onchain; direct addresses deliberately are not. */
1969
1970
  getAllowedGroups(params: {
1970
1971
  escrow: Address;
1971
1972
  depositId: bigint;
1973
+ paymentMethod: Hex;
1972
1974
  }): Promise<Hex[]>;
1973
1975
  /**
1974
1976
  * Point check for one address. There is no enumeration getter, so this can
@@ -1979,7 +1981,7 @@ declare class AccessPolicyOperations {
1979
1981
  depositId: bigint;
1980
1982
  taker: Address;
1981
1983
  }): Promise<boolean>;
1982
- maxGroupsPerDeposit(): Promise<bigint>;
1984
+ maxGroupsPerDepositPaymentMethod(): Promise<bigint>;
1983
1985
  groupExists(groupId: Hex): Promise<boolean>;
1984
1986
  /** Curated membership OR resolver. Resolver failures fail closed. */
1985
1987
  isMember(params: {
@@ -1990,6 +1992,7 @@ declare class AccessPolicyOperations {
1990
1992
  prepareConfigureDeposit(params: {
1991
1993
  escrow: Address;
1992
1994
  depositId: bigint;
1995
+ paymentMethod: Hex;
1993
1996
  enabled: boolean;
1994
1997
  groupIds: readonly Hex[];
1995
1998
  takers: readonly Address[];
@@ -1998,18 +2001,21 @@ declare class AccessPolicyOperations {
1998
2001
  prepareSetEnabled(params: {
1999
2002
  escrow: Address;
2000
2003
  depositId: bigint;
2004
+ paymentMethod: Hex;
2001
2005
  enabled: boolean;
2002
2006
  txOverrides?: TxOverrides;
2003
2007
  }): PreparedTransactionWithAbi;
2004
2008
  prepareAddAllowedGroups(params: {
2005
2009
  escrow: Address;
2006
2010
  depositId: bigint;
2011
+ paymentMethod: Hex;
2007
2012
  groupIds: readonly Hex[];
2008
2013
  txOverrides?: TxOverrides;
2009
2014
  }): PreparedTransactionWithAbi;
2010
2015
  prepareRemoveAllowedGroups(params: {
2011
2016
  escrow: Address;
2012
2017
  depositId: bigint;
2018
+ paymentMethod: Hex;
2013
2019
  groupIds: readonly Hex[];
2014
2020
  txOverrides?: TxOverrides;
2015
2021
  }): PreparedTransactionWithAbi;
@@ -2029,6 +2035,7 @@ declare class AccessPolicyOperations {
2029
2035
  preparePlanStep(params: {
2030
2036
  escrow: Address;
2031
2037
  depositId: bigint;
2038
+ paymentMethod: Hex;
2032
2039
  step: AccessPolicyPlanStep;
2033
2040
  txOverrides?: TxOverrides;
2034
2041
  }): PreparedTransactionWithAbi;
@@ -2041,6 +2048,7 @@ declare class AccessPolicyOperations {
2041
2048
  preparePlan(params: {
2042
2049
  escrow: Address;
2043
2050
  depositId: bigint;
2051
+ paymentMethod: Hex;
2044
2052
  plan: AccessPolicyPlan;
2045
2053
  txOverrides?: TxOverrides;
2046
2054
  }): PreparedTransactionWithAbi[];
@@ -2526,6 +2534,21 @@ type StakeLockPageParams = PageParams & {
2526
2534
  stakeOwner: Address;
2527
2535
  status?: StakeLockStatus;
2528
2536
  };
2537
+ /**
2538
+ * Exactly one of `stakeOwner` (owner side: the takers this stake owner has
2539
+ * authorized) or `taker` (taker side: the stake owners that have authorized
2540
+ * this taker) scopes the page.
2541
+ */
2542
+ type TakerStakeAuthorizationPageParams = PageParams & {
2543
+ vaultAddress: Address;
2544
+ authorized?: boolean;
2545
+ } & ({
2546
+ stakeOwner: Address;
2547
+ taker?: never;
2548
+ } | {
2549
+ taker: Address;
2550
+ stakeOwner?: never;
2551
+ });
2529
2552
  type StakeActivityPageParams = PageParams & {
2530
2553
  vaultAddress: Address;
2531
2554
  /** Merchant address matched against either the immutable owner or taker side. */
@@ -2551,6 +2574,13 @@ type IndexedStakeLock = {
2551
2574
  updatedAtBlockNumber: string;
2552
2575
  updatedAt: string;
2553
2576
  };
2577
+ type IndexedTakerStakeAuthorization = {
2578
+ taker: Address;
2579
+ stakeOwner: Address;
2580
+ authorized: boolean;
2581
+ updatedAtBlockNumber: string;
2582
+ updatedAt: string;
2583
+ };
2554
2584
  type IndexedStakeActivity = {
2555
2585
  stakeOwner: Address | null;
2556
2586
  taker: Address | null;
@@ -2688,6 +2718,12 @@ declare class IndexerStakingService {
2688
2718
  private readonly client;
2689
2719
  constructor(client: IndexerClient);
2690
2720
  fetchStakeLocks(params: StakeLockPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeLock>>;
2721
+ /**
2722
+ * Pages one side of the vault's authorization graph: takers a stake owner
2723
+ * has authorized, or stake owners that have authorized a taker. Exactly one
2724
+ * of `stakeOwner` or `taker` scopes the page.
2725
+ */
2726
+ fetchTakerStakeAuthorizations(params: TakerStakeAuthorizationPageParams, init?: RequestInit): Promise<IndexedPage<IndexedTakerStakeAuthorization>>;
2691
2727
  fetchStakeActivity(params: StakeActivityPageParams, init?: RequestInit): Promise<IndexedPage<IndexedStakeActivity>>;
2692
2728
  fetchDisputeProtectionIntents(params: DisputeProtectionIntentPageParams, init?: RequestInit): Promise<DisputeProtectionIntentPage>;
2693
2729
  fetchStakingState(params: IndexedStakingStateParams, init?: RequestInit): Promise<IndexedStakingState>;
@@ -3425,6 +3461,13 @@ declare class Zkp2pClient {
3425
3461
  getStakeLocks: (params: StakeLockPageParams, options?: {
3426
3462
  signal?: AbortSignal;
3427
3463
  }) => Promise<IndexedPage<IndexedStakeLock>>;
3464
+ /**
3465
+ * Pages one side of the vault's authorization graph: the takers a stake
3466
+ * owner has authorized, or the stake owners that have authorized a taker.
3467
+ */
3468
+ getTakerStakeAuthorizations: (params: TakerStakeAuthorizationPageParams, options?: {
3469
+ signal?: AbortSignal;
3470
+ }) => Promise<IndexedPage<IndexedTakerStakeAuthorization>>;
3428
3471
  /** Pages append-only activity relevant to either side of a merchant's stake delegation. */
3429
3472
  getStakeActivity: (params: StakeActivityPageParams, options?: {
3430
3473
  signal?: AbortSignal;
@@ -3586,11 +3629,12 @@ declare class Zkp2pClient {
3586
3629
  */
3587
3630
  getRiskWindow(paymentMethodHash: `0x${string}`): Promise<bigint>;
3588
3631
  /** Read whether an escrow deposit has opted into dispute protection. */
3589
- isDisputeProtectionEnabled(escrow: Address, depositId: bigint): Promise<boolean>;
3632
+ isDisputeProtectionEnabled(escrow: Address, depositId: bigint, paymentMethod: Hex): Promise<boolean>;
3590
3633
  /** Enable or disable dispute protection for one deposit. */
3591
3634
  readonly setDisputeProtectionEnabled: PrepareableMethod<{
3592
3635
  escrow: Address;
3593
3636
  depositId: bigint;
3637
+ paymentMethod: Hex;
3594
3638
  enabled: boolean;
3595
3639
  disputeProtectionPolicyAddress?: Address;
3596
3640
  txOverrides?: TxOverrides;
@@ -4761,4 +4805,4 @@ type SendBatchFn = (txs: Array<{
4761
4805
  value?: bigint;
4762
4806
  }>) => Promise<string>;
4763
4807
 
4764
- 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 RegisterPayeeDetailsRequest 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, type DisputeProtectionReadinessOptions as a9, type GetNearbyQuote as aA, type GetNearbySuggestions as aB, type GetQuoteResponse as aC, type GetQuoteResponseObject as aD, type GetQuoteSingleResponse as aE, type QuoteResponseObject as aF, type QuoteSingleResponse as aG, type QuoteIntentResponse as aH, type QuoteFeesResponse as aI, type FiatResponse as aJ, type TokenResponse as aK, type NearbyQuote as aL, type NearbySuggestions as aM, type ApiDeposit as aN, type DepositVerifier as aO, type DepositVerifierCurrency as aP, type DepositStatus$1 as aQ, type GetDepositByIdRequest as aR, type GetDepositByIdResponse as aS, type Intent as aT, type ApiIntentStatus as aU, type GetOwnerIntentsRequest as aV, type GetOwnerIntentsResponse as aW, type GetIntentsByDepositRequest as aX, type GetIntentsByDepositResponse as aY, type GetIntentByHashRequest as aZ, type GetIntentByHashResponse as a_, type DisputeProtectionReadinessResult as aa, type IntentGuardianPolicy as ab, type IntentGuardianQuote as ac, type IntentGuardianWriteFunction as ad, type IntentGuardianWriteParams as ae, type IntentGuardianErrorCode as af, classifyIntentGuardianError as ag, type AuthorizationTokenProvider as ah, type TimeoutConfig as ai, type ActionCallback as aj, type ReferralRedemption as ak, type ReferralSignatureBody as al, type CreateDepositParams as am, type CreateDepositConversionRate as an, type Range as ao, type WithdrawDepositParams as ap, type SignalIntentParams as aq, type FulfillIntentParams as ar, type ReleaseFundsToPayerParams as as, type CancelIntentParams as at, type BestByPlatformResponseObject as au, type GetBestByPlatformResponse as av, type GetBestByPlatformResponseObject as aw, type GetPlatformQuote as ax, type PlatformQuote as ay, type QuotePreference as az, type AttestationServiceSellerVerifyResponse as b, buildStakingEntityIds as b$, type RegisterPayeeDetailsResponse as b0, type SellerPlatform as b1, type VenmoSessionMaterial as b2, type CashAppSessionMaterial as b3, type WiseSessionMaterial as b4, type WiseProfileInfo as b5, type WiseProfileSelectionRequired as b6, type WiseProfileNotFound as b7, type PayPalGoogleOAuthSellerCredentialUploadBody as b8, type VenmoCredentialUploadInput as b9, type RegisteredUploadSellerCredentialParams as bA, type UploadSellerCredentialOptions as bB, type GetSellerCredentialStatusParams as bC, type UploadPayPalGoogleOAuthSellerCredentialParams as bD, type UploadGoogleOAuthSellerCredentialParams as bE, type VerifySellerPaymentParams as bF, type IdentityAttestationActionType as bG, type IdentityAttestationOutput as bH, type IdentityAttestationOutputFor as bI, type IdentityAttestationParams as bJ, type MakerIdentityAttestationRequestBody as bK, type MakerIdentityPlatform as bL, type OnchainCurrency as bM, type DepositVerifierData as bN, type PreparedTransaction as bO, type OrderStats as bP, type DepositIntentStatistics as bQ, type UsdcAmount as bR, type StakeEnvironment as bS, type TakerStakeBalances as bT, type OrderbookEntry as bU, type OrderbookTableRow as bV, IndexerClient as bW, defaultIndexerEndpoint as bX, IndexerDepositService as bY, IndexerRateManagerService as bZ, compareEventCursorIdsByRecency as b_, type CashAppCredentialUploadInput as ba, type WiseCredentialUploadInput as bb, type SellerCredentialUploadInputByPlatform as bc, type SellerCiphertextBundle as bd, type SellerSignedCiphertextBundle as be, type SellerVerifyIntentDetails as bf, type SellerVerifyInput as bg, type SellerProbeInput as bh, type SellerCredentialBundleUpload as bi, type SellerCredentialStatusValue as bj, type SellerCredentialStatus as bk, type SellerVerifyProxyBody as bl, type SellerTypedDataField as bm, type SellerTypedDataSpec as bn, type SellerPaymentTypedDataValue as bo, type SellerAttestationOutput as bp, type SellerCredentialProbeResponse as bq, type FulfillIntentAttestationResponse as br, type AttestationServiceSellerCredentialProbeResponse as bs, type BuyerTeePaymentParams as bt, type BuyerTeePaymentProofInput as bu, type BuyerTeeSessionMaterial as bv, type CuratorSellerCredentialStatusResponse as bw, type CuratorSellerVerifyResponse as bx, type RegisteredSellerCredentialPlatform as by, type UploadSellerCredentialParams as bz, type SellerCredentialUploadInput as c, getStakeVaultContract as c$, IndexerStakingService as c0, fetchFulfillmentAndPayment as c1, type DepositEntity as c2, type IntentFulfilledEntity as c3, type IntentFulfillmentAmountsEntity as c4, type DepositPaymentMethodEntity as c5, type MethodCurrencyEntity as c6, type IntentStatus as c7, type RateManagerEntity as c8, type RateManagerRateEntity as c9, type DepositFilter as cA, type PaginationOptions as cB, type DepositOrderField as cC, type OrderDirection$1 as cD, type RateManagerFilter as cE, type RateManagerPaginationOptions as cF, type RateManagerDelegationPaginationOptions as cG, type RateManagerOrderField as cH, type OrderDirection as cI, type DeploymentEnv as cJ, type FulfillmentRecord as cK, type PaymentVerifiedRecord as cL, type FulfillmentAndPaymentResponse as cM, PAYMENT_PLATFORMS as cN, type PaymentPlatformType as cO, Currency as cP, currencyInfo as cQ, getCurrencyInfoFromHash as cR, getCurrencyInfoFromCountryCode as cS, getCurrencyCodeFromHash as cT, isSupportedCurrencyHash as cU, mapConversionRatesToOnchainMinRate as cV, type CurrencyData as cW, getContracts as cX, getIntentGuardianContract as cY, hasIntentGuardian as cZ, getRateManagerContracts as c_, type RateManagerDelegationEntity as ca, type ManagerAggregateStatsEntity as cb, type ManagerStatsEntity as cc, type ManagerDailySnapshotEntity as cd, type RateManagerListItem as ce, type RateManagerDetail as cf, type ManualRateUpdateEntity as cg, type OracleConfigUpdateEntity as ch, type DepositFundActivityEntity as ci, type DepositDailySnapshotEntity as cj, type DepositFundActivityType as ck, type DisputeProtectionIntentPage as cl, type DisputeProtectionIntentPageParams as cm, type IndexedDisputeProtectionIntent as cn, type IndexedPage as co, type IndexedPageAsOf as cp, type IndexedRiskWindow as cq, type IndexedStakeActivity as cr, type IndexedStakeLock as cs, type IndexedStakingRowFreshness as ct, type IndexedStakingState as cu, type IndexedStakingStateParams as cv, type IndexedTakerAuthorization as cw, type StakeActivityPageParams as cx, type StakeLockPageParams as cy, type StakingEntityIds as cz, type SellerCredentialUploadPlatform as d, getOrchestratorV3Contract as d0, getDisputeProtectionPolicyContract as d1, getPaymentMethodsCatalog as d2, getGatingServiceAddress as d3, ORCHESTRATOR_V3_ABI as d4, DISPUTE_PROTECTION_POLICY_ABI as d5, STAKE_VAULT_ABI as d6, type RuntimeEnv as d7, type V2ContractAddresses as d8, type V2ContractAbis as d9, MAX_GROUPS_PER_DEPOSIT as dA, MAX_ADDRESSES_PER_CALL as dB, MAX_WHITELISTED_ADDRESSES as dC, diffAccessPolicy as dD, normalizeAccessPolicyState as dE, planAccessPolicyUpdate as dF, type AccessPolicyDiff as dG, type AccessPolicyOrdering as dH, type AccessPolicyPlan as dI, type AccessPolicyPlanStep as dJ, type AccessPolicyState as dK, type AccessPolicyViolation as dL, ZERO_ADDRESS as dM, asErrorMessage as dN, assertDelegationMethodSupport as dO, parseDepositView as da, parseIntentView as db, enrichPvDepositView as dc, enrichPvIntentView as dd, type PV_DepositView as de, type PV_Deposit as df, type PV_PaymentMethodData as dg, type PV_Currency as dh, type PV_ReferralFee as di, type PV_IntentView as dj, type PV_Intent as dk, ZERO_RATE_MANAGER_ID as dl, isZeroRateManagerId as dm, normalizeRateManagerId as dn, normalizeRegistry as dp, getDelegationRoute as dq, classifyDelegationState as dr, type DelegationRoute as ds, type DelegationState as dt, type DelegationDepositTarget as du, type BatchResult as dv, type SendTransactionFn as dw, type SendBatchFn as dx, AccessPolicyOperations as dy, AccessPolicyUnsupportedError 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 };
4808
+ 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 RegisterPayeeDetailsRequest 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, type DisputeProtectionReadinessOptions as a9, type GetNearbyQuote as aA, type GetNearbySuggestions as aB, type GetQuoteResponse as aC, type GetQuoteResponseObject as aD, type GetQuoteSingleResponse as aE, type QuoteResponseObject as aF, type QuoteSingleResponse as aG, type QuoteIntentResponse as aH, type QuoteFeesResponse as aI, type FiatResponse as aJ, type TokenResponse as aK, type NearbyQuote as aL, type NearbySuggestions as aM, type ApiDeposit as aN, type DepositVerifier as aO, type DepositVerifierCurrency as aP, type DepositStatus$1 as aQ, type GetDepositByIdRequest as aR, type GetDepositByIdResponse as aS, type Intent as aT, type ApiIntentStatus as aU, type GetOwnerIntentsRequest as aV, type GetOwnerIntentsResponse as aW, type GetIntentsByDepositRequest as aX, type GetIntentsByDepositResponse as aY, type GetIntentByHashRequest as aZ, type GetIntentByHashResponse as a_, type DisputeProtectionReadinessResult as aa, type IntentGuardianPolicy as ab, type IntentGuardianQuote as ac, type IntentGuardianWriteFunction as ad, type IntentGuardianWriteParams as ae, type IntentGuardianErrorCode as af, classifyIntentGuardianError as ag, type AuthorizationTokenProvider as ah, type TimeoutConfig as ai, type ActionCallback as aj, type ReferralRedemption as ak, type ReferralSignatureBody as al, type CreateDepositParams as am, type CreateDepositConversionRate as an, type Range as ao, type WithdrawDepositParams as ap, type SignalIntentParams as aq, type FulfillIntentParams as ar, type ReleaseFundsToPayerParams as as, type CancelIntentParams as at, type BestByPlatformResponseObject as au, type GetBestByPlatformResponse as av, type GetBestByPlatformResponseObject as aw, type GetPlatformQuote as ax, type PlatformQuote as ay, type QuotePreference as az, type AttestationServiceSellerVerifyResponse as b, buildStakingEntityIds as b$, type RegisterPayeeDetailsResponse as b0, type SellerPlatform as b1, type VenmoSessionMaterial as b2, type CashAppSessionMaterial as b3, type WiseSessionMaterial as b4, type WiseProfileInfo as b5, type WiseProfileSelectionRequired as b6, type WiseProfileNotFound as b7, type PayPalGoogleOAuthSellerCredentialUploadBody as b8, type VenmoCredentialUploadInput as b9, type RegisteredUploadSellerCredentialParams as bA, type UploadSellerCredentialOptions as bB, type GetSellerCredentialStatusParams as bC, type UploadPayPalGoogleOAuthSellerCredentialParams as bD, type UploadGoogleOAuthSellerCredentialParams as bE, type VerifySellerPaymentParams as bF, type IdentityAttestationActionType as bG, type IdentityAttestationOutput as bH, type IdentityAttestationOutputFor as bI, type IdentityAttestationParams as bJ, type MakerIdentityAttestationRequestBody as bK, type MakerIdentityPlatform as bL, type OnchainCurrency as bM, type DepositVerifierData as bN, type PreparedTransaction as bO, type OrderStats as bP, type DepositIntentStatistics as bQ, type UsdcAmount as bR, type StakeEnvironment as bS, type TakerStakeBalances as bT, type OrderbookEntry as bU, type OrderbookTableRow as bV, IndexerClient as bW, defaultIndexerEndpoint as bX, IndexerDepositService as bY, IndexerRateManagerService as bZ, compareEventCursorIdsByRecency as b_, type CashAppCredentialUploadInput as ba, type WiseCredentialUploadInput as bb, type SellerCredentialUploadInputByPlatform as bc, type SellerCiphertextBundle as bd, type SellerSignedCiphertextBundle as be, type SellerVerifyIntentDetails as bf, type SellerVerifyInput as bg, type SellerProbeInput as bh, type SellerCredentialBundleUpload as bi, type SellerCredentialStatusValue as bj, type SellerCredentialStatus as bk, type SellerVerifyProxyBody as bl, type SellerTypedDataField as bm, type SellerTypedDataSpec as bn, type SellerPaymentTypedDataValue as bo, type SellerAttestationOutput as bp, type SellerCredentialProbeResponse as bq, type FulfillIntentAttestationResponse as br, type AttestationServiceSellerCredentialProbeResponse as bs, type BuyerTeePaymentParams as bt, type BuyerTeePaymentProofInput as bu, type BuyerTeeSessionMaterial as bv, type CuratorSellerCredentialStatusResponse as bw, type CuratorSellerVerifyResponse as bx, type RegisteredSellerCredentialPlatform as by, type UploadSellerCredentialParams as bz, type SellerCredentialUploadInput as c, hasIntentGuardian as c$, IndexerStakingService as c0, fetchFulfillmentAndPayment as c1, type DepositEntity as c2, type IntentFulfilledEntity as c3, type IntentFulfillmentAmountsEntity as c4, type DepositPaymentMethodEntity as c5, type MethodCurrencyEntity as c6, type IntentStatus as c7, type RateManagerEntity as c8, type RateManagerRateEntity as c9, type StakingEntityIds as cA, type TakerStakeAuthorizationPageParams as cB, type DepositFilter as cC, type PaginationOptions as cD, type DepositOrderField as cE, type OrderDirection$1 as cF, type RateManagerFilter as cG, type RateManagerPaginationOptions as cH, type RateManagerDelegationPaginationOptions as cI, type RateManagerOrderField as cJ, type OrderDirection as cK, type DeploymentEnv as cL, type FulfillmentRecord as cM, type PaymentVerifiedRecord as cN, type FulfillmentAndPaymentResponse as cO, PAYMENT_PLATFORMS as cP, type PaymentPlatformType as cQ, Currency as cR, currencyInfo as cS, getCurrencyInfoFromHash as cT, getCurrencyInfoFromCountryCode as cU, getCurrencyCodeFromHash as cV, isSupportedCurrencyHash as cW, mapConversionRatesToOnchainMinRate as cX, type CurrencyData as cY, getContracts as cZ, getIntentGuardianContract as c_, type RateManagerDelegationEntity as ca, type ManagerAggregateStatsEntity as cb, type ManagerStatsEntity as cc, type ManagerDailySnapshotEntity as cd, type RateManagerListItem as ce, type RateManagerDetail as cf, type ManualRateUpdateEntity as cg, type OracleConfigUpdateEntity as ch, type DepositFundActivityEntity as ci, type DepositDailySnapshotEntity as cj, type DepositFundActivityType as ck, type DisputeProtectionIntentPage as cl, type DisputeProtectionIntentPageParams as cm, type IndexedDisputeProtectionIntent as cn, type IndexedPage as co, type IndexedPageAsOf as cp, type IndexedRiskWindow as cq, type IndexedStakeActivity as cr, type IndexedStakeLock as cs, type IndexedStakingRowFreshness as ct, type IndexedStakingState as cu, type IndexedStakingStateParams as cv, type IndexedTakerAuthorization as cw, type IndexedTakerStakeAuthorization as cx, type StakeActivityPageParams as cy, type StakeLockPageParams as cz, type SellerCredentialUploadPlatform as d, getRateManagerContracts as d0, getStakeVaultContract as d1, getOrchestratorV3Contract as d2, getDisputeProtectionPolicyContract as d3, getPaymentMethodsCatalog as d4, getGatingServiceAddress as d5, ORCHESTRATOR_V3_ABI as d6, DISPUTE_PROTECTION_POLICY_ABI as d7, STAKE_VAULT_ABI as d8, type RuntimeEnv as d9, AccessPolicyOperations as dA, AccessPolicyUnsupportedError as dB, MAX_GROUPS_PER_DEPOSIT_PAYMENT_METHOD as dC, MAX_ADDRESSES_PER_CALL as dD, MAX_WHITELISTED_ADDRESSES as dE, diffAccessPolicy as dF, normalizeAccessPolicyState as dG, planAccessPolicyUpdate as dH, type AccessPolicyDiff as dI, type AccessPolicyOrdering as dJ, type AccessPolicyPlan as dK, type AccessPolicyPlanStep as dL, type AccessPolicyState as dM, type AccessPolicyViolation as dN, ZERO_ADDRESS as dO, asErrorMessage as dP, assertDelegationMethodSupport as dQ, type V2ContractAddresses as da, type V2ContractAbis as db, parseDepositView as dc, parseIntentView as dd, enrichPvDepositView as de, enrichPvIntentView as df, type PV_DepositView as dg, type PV_Deposit as dh, type PV_PaymentMethodData as di, type PV_Currency as dj, type PV_ReferralFee as dk, type PV_IntentView as dl, type PV_Intent as dm, ZERO_RATE_MANAGER_ID as dn, isZeroRateManagerId as dp, normalizeRateManagerId as dq, normalizeRegistry as dr, getDelegationRoute as ds, classifyDelegationState as dt, type DelegationRoute as du, type DelegationState as dv, type DelegationDepositTarget as dw, type BatchResult as dx, type SendTransactionFn as dy, type SendBatchFn 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.12.2-rc.2",
3
+ "version": "0.12.2-rc.3",
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",
@@ -74,8 +74,8 @@
74
74
  "node": ">=22"
75
75
  },
76
76
  "dependencies": {
77
- "@zkp2p/indexer-schema": "0.22.0-rc.1",
78
- "@zkp2p/contracts-v2": "0.4.1-rc.6",
77
+ "@zkp2p/indexer-schema": "0.22.0-rc.3",
78
+ "@zkp2p/contracts-v2": "0.4.1-rc.9",
79
79
  "@zkp2p/zkp2p-attestation": "3.0.1",
80
80
  "ethers": "^6.0.0",
81
81
  "ox": "^0.11.1"
@@ -1,12 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
- // <define:__ZKP2P_SDK_BUILD_METADATA__>
8
- var define_ZKP2P_SDK_BUILD_METADATA_default = { schemaVersion: 1, source: { repository: "zkp2p/zkp2p-clients", commitSha: "cd5bc55d4e764b20785c7d0c444ef03faddbf111", kind: "github", distributable: true }, sdkPackageVersion: "0.12.2-rc.2", contractsPackageVersion: "0.4.1-rc.6", indexerSchemaPackageVersion: "0.22.0-rc.1", activeDisputeStack: { base: { version: 1, selectionHash: "a4f17ae7c1620ecfe7d036f0b9cc7b39c50e1382dc8dc14d2e5f7f21061cd5ad" }, baseStaging: { version: 1, selectionHash: "586c90f9de3d10b6d48f4286c709aa7f870fc2fdcfb0af1da947c1da76132dd0" } } };
9
-
10
- export { __export, define_ZKP2P_SDK_BUILD_METADATA_default };
11
- //# sourceMappingURL=chunk-UQEKVVIN.mjs.map
12
- //# sourceMappingURL=chunk-UQEKVVIN.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["%3Cdefine:__ZKP2P_SDK_BUILD_METADATA__%3E"],"names":[],"mappings":";;;;;;;AAAA,IAAA,uCAAA,GAAA,EAAC,aAAA,EAAgB,CAAA,EAAE,MAAA,EAAS,EAAC,YAAa,qBAAA,EAAsB,SAAA,EAAY,0CAAA,EAA2C,IAAA,EAAO,UAAS,aAAA,EAAgB,IAAA,EAAI,EAAE,iBAAA,EAAoB,eAAc,uBAAA,EAA0B,YAAA,EAAa,2BAAA,EAA8B,aAAA,EAAc,oBAAqB,EAAC,IAAA,EAAO,EAAC,OAAA,EAAU,GAAE,aAAA,EAAgB,kEAAA,EAAkE,EAAE,WAAA,EAAc,EAAC,OAAA,EAAU,CAAA,EAAE,aAAA,EAAgB,kEAAA,IAAmE","file":"chunk-UQEKVVIN.mjs","sourcesContent":["{\"schemaVersion\":1,\"source\":{\"repository\":\"zkp2p/zkp2p-clients\",\"commitSha\":\"cd5bc55d4e764b20785c7d0c444ef03faddbf111\",\"kind\":\"github\",\"distributable\":true},\"sdkPackageVersion\":\"0.12.2-rc.2\",\"contractsPackageVersion\":\"0.4.1-rc.6\",\"indexerSchemaPackageVersion\":\"0.22.0-rc.1\",\"activeDisputeStack\":{\"base\":{\"version\":1,\"selectionHash\":\"a4f17ae7c1620ecfe7d036f0b9cc7b39c50e1382dc8dc14d2e5f7f21061cd5ad\"},\"baseStaging\":{\"version\":1,\"selectionHash\":\"586c90f9de3d10b6d48f4286c709aa7f870fc2fdcfb0af1da947c1da76132dd0\"}}}"]}
@@ -1,5 +0,0 @@
1
- export { enrichPvDepositView, enrichPvIntentView, parseDepositView, parseIntentView } from './chunk-67JSDBUL.mjs';
2
- import './chunk-ZB22BZLZ.mjs';
3
- import './chunk-UQEKVVIN.mjs';
4
- //# sourceMappingURL=protocolViewerParsers-QE6LWS3W.mjs.map
5
- //# sourceMappingURL=protocolViewerParsers-QE6LWS3W.mjs.map