@zkp2p/sdk 0.0.6 → 0.0.7

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.
Files changed (36) hide show
  1. package/README.md +80 -1
  2. package/dist/{Zkp2pClient-D-eU4dxy.d.mts → Zkp2pClient-w5Pzlea6.d.mts} +102 -36
  3. package/dist/{Zkp2pClient-D-eU4dxy.d.ts → Zkp2pClient-w5Pzlea6.d.ts} +102 -36
  4. package/dist/chunk-3QS3WKRC.mjs +29 -0
  5. package/dist/chunk-3QS3WKRC.mjs.map +1 -0
  6. package/dist/{chunk-ARFGMPYS.mjs → chunk-GYYD6SSA.mjs} +2 -2
  7. package/dist/chunk-GYYD6SSA.mjs.map +1 -0
  8. package/dist/{chunk-CM3RH5VZ.mjs → chunk-NZ53KYLT.mjs} +42 -2
  9. package/dist/chunk-NZ53KYLT.mjs.map +1 -0
  10. package/dist/{chunk-PYEJ4L76.mjs → chunk-W247BDNW.mjs} +3 -3
  11. package/dist/{chunk-PYEJ4L76.mjs.map → chunk-W247BDNW.mjs.map} +1 -1
  12. package/dist/constants-ZICRSYZM.mjs +5 -0
  13. package/dist/{constants-MQB4AQDD.mjs.map → constants-ZICRSYZM.mjs.map} +1 -1
  14. package/dist/{currency-RSSHQOM3.mjs → currency-UVK4OKUR.mjs} +4 -3
  15. package/dist/{currency-RSSHQOM3.mjs.map → currency-UVK4OKUR.mjs.map} +1 -1
  16. package/dist/index.cjs +904 -362
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.d.mts +68 -4
  19. package/dist/index.d.ts +68 -4
  20. package/dist/index.mjs +633 -345
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/{paymentResolution-4AAJVIIC.mjs → paymentResolution-2FP3NLM3.mjs} +3 -2
  23. package/dist/{paymentResolution-4AAJVIIC.mjs.map → paymentResolution-2FP3NLM3.mjs.map} +1 -1
  24. package/dist/protocolViewerParsers-EH5DGVSU.mjs +6 -0
  25. package/dist/{protocolViewerParsers-3QIR3XMT.mjs.map → protocolViewerParsers-EH5DGVSU.mjs.map} +1 -1
  26. package/dist/react.d.mts +1 -1
  27. package/dist/react.d.ts +1 -1
  28. package/dist/react.mjs +1 -1
  29. package/dist/{timeout-QB7K5SOB.mjs → timeout-7HCFGU6P.mjs} +3 -2
  30. package/dist/timeout-7HCFGU6P.mjs.map +1 -0
  31. package/package.json +4 -3
  32. package/dist/chunk-ARFGMPYS.mjs.map +0 -1
  33. package/dist/chunk-CM3RH5VZ.mjs.map +0 -1
  34. package/dist/constants-MQB4AQDD.mjs +0 -4
  35. package/dist/protocolViewerParsers-3QIR3XMT.mjs +0 -5
  36. package/dist/timeout-QB7K5SOB.mjs.map +0 -1
package/README.md CHANGED
@@ -44,6 +44,70 @@ The SDK also includes supporting functionality for the broader ZKP2P ecosystem:
44
44
  - **Quote API**: `getQuote()` (used by frontends to display available liquidity)
45
45
  - **Indexer Queries**: Historical data, pagination, and advanced filtering via `client.indexer.*`
46
46
 
47
+ ## Peer Extension SDK
48
+
49
+ If your app integrates with the Peer browser extension, you can use the SDK wrappers around `window.peer`:
50
+
51
+ ```typescript
52
+ import { peerExtensionSdk } from '@zkp2p/sdk';
53
+
54
+ const state = await peerExtensionSdk.getState();
55
+ if (state === 'needs_install') {
56
+ peerExtensionSdk.openInstallPage();
57
+ } else if (state === 'needs_connection') {
58
+ await peerExtensionSdk.requestConnection();
59
+ } else {
60
+ const version = await peerExtensionSdk.getVersion();
61
+ peerExtensionSdk.openSidebar('/buy');
62
+ peerExtensionSdk.onramp({
63
+ referrer: 'Polymarket',
64
+ inputCurrency: 'USD',
65
+ inputAmount: 25,
66
+ paymentPlatform: 'venmo',
67
+ amountUsdc: '100000000',
68
+ recipientAddress: '0x1111111111111111111111111111111111111111',
69
+ });
70
+ }
71
+ ```
72
+
73
+ ### Intent Hash Deeplink
74
+
75
+ Open the extension directly to a specific intent (skips quote flow):
76
+
77
+ ```typescript
78
+ peerExtensionSdk.onramp({
79
+ intentHash: '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
80
+ });
81
+ ```
82
+
83
+ ### Proof Completion Callbacks
84
+
85
+ Subscribe to proof completion events to know when a proof succeeds, fails, or is cancelled:
86
+
87
+ ```typescript
88
+ const unsubscribe = peerExtensionSdk.onProofComplete((result) => {
89
+ switch (result.status) {
90
+ case 'success':
91
+ console.log('Proof completed!', result.proof);
92
+ // result.proof: { attestation, signature, timestamp, platform }
93
+ break;
94
+ case 'failure':
95
+ console.error('Proof failed:', result.error);
96
+ // result.error: { code, message }
97
+ break;
98
+ case 'cancelled':
99
+ console.log('User cancelled');
100
+ break;
101
+ case 'timeout':
102
+ console.log('Proof timed out');
103
+ break;
104
+ }
105
+ });
106
+
107
+ // Clean up when done
108
+ unsubscribe();
109
+ ```
110
+
47
111
  ## Installation
48
112
 
49
113
  ```bash
@@ -392,7 +456,7 @@ const catalog = getPaymentMethodsCatalog(8453, 'production');
392
456
  - `setIntentRange(params)` - Set min/max intent amounts
393
457
  - `setCurrencyMinRate(params)` - Set minimum conversion rate
394
458
  - `setDelegate(params)` / `removeDelegate(params)` - Manage delegates
395
- - `addPaymentMethods(params)` - Add payment platforms
459
+ - `addPaymentMethods(params)` - Add payment platforms (requires `currencies` array per method)
396
460
  - `setPaymentMethodActive(params)` - Enable/disable payment methods
397
461
  - `addCurrencies(params)` / `deactivateCurrency(params)` - Manage currencies
398
462
 
@@ -446,6 +510,21 @@ if (result.hadAllowance) {
446
510
  For methods that interact directly with on-chain data, parameters use bytes32 hex strings:
447
511
 
448
512
  ```typescript
513
+ // addPaymentMethods - Add payment methods with required currency lists
514
+ await client.addPaymentMethods({
515
+ depositId: 1n,
516
+ paymentMethods: ['0x...'], // bytes32 payment method hashes
517
+ paymentMethodData: [
518
+ { intentGatingService: '0x...', payeeDetails: '0x...', data: '0x' },
519
+ ],
520
+ // currencies is required and must align with paymentMethods by index
521
+ currencies: [
522
+ [
523
+ { code: '0x...', minConversionRate: 1020000000000000000n },
524
+ ],
525
+ ],
526
+ });
527
+
449
528
  // addCurrencies - Add currencies to a payment method
450
529
  await client.addCurrencies({
451
530
  depositId: 1n,
@@ -741,6 +741,8 @@ type TokenResponse = {
741
741
  type QuoteIntentResponse = {
742
742
  /** Deposit ID */
743
743
  depositId: string;
744
+ /** Escrow contract address */
745
+ escrowAddress: string;
744
746
  /** Payment processor name */
745
747
  processorName: string;
746
748
  /** Amount to transfer */
@@ -880,6 +882,12 @@ type CreateDepositParams = {
880
882
  depositData: {
881
883
  [key: string]: string;
882
884
  }[];
885
+ paymentMethodsOverride?: `0x${string}`[];
886
+ paymentMethodDataOverride?: DepositVerifierData[];
887
+ currenciesOverride?: {
888
+ code: `0x${string}`;
889
+ minConversionRate: bigint;
890
+ }[][];
883
891
  onSuccess?: ActionCallback;
884
892
  onError?: (error: Error) => void;
885
893
  onMined?: ActionCallback;
@@ -1071,7 +1079,7 @@ type GetTakerTierResponse = {
1071
1079
  };
1072
1080
 
1073
1081
  declare const PAYMENT_PLATFORMS: readonly ["wise", "venmo", "revolut", "cashapp", "mercadopago", "zelle", "paypal", "monzo"];
1074
- type PaymentPlatformType = typeof PAYMENT_PLATFORMS[number];
1082
+ type PaymentPlatformType = (typeof PAYMENT_PLATFORMS)[number];
1075
1083
 
1076
1084
  /**
1077
1085
  * Configuration options for creating a Zkp2pClient instance.
@@ -1299,6 +1307,10 @@ declare class Zkp2pClient {
1299
1307
  * Used internally by prepareable methods after preparation.
1300
1308
  */
1301
1309
  private executePreparedTransaction;
1310
+ private prepareEscrowTransaction;
1311
+ private prepareOrchestratorTransaction;
1312
+ private buildEscrowMethod;
1313
+ private buildOrchestratorMethod;
1302
1314
  /**
1303
1315
  * Fetches all deposits owned by the connected wallet from on-chain.
1304
1316
  *
@@ -1584,6 +1596,16 @@ declare class Zkp2pClient {
1584
1596
  currency: string;
1585
1597
  conversionRate: string;
1586
1598
  }[][];
1599
+ paymentMethodsOverride?: `0x${string}`[];
1600
+ paymentMethodDataOverride?: {
1601
+ intentGatingService: Address;
1602
+ payeeDetails: string;
1603
+ data: `0x${string}`;
1604
+ }[];
1605
+ currenciesOverride?: {
1606
+ code: `0x${string}`;
1607
+ minConversionRate: bigint;
1608
+ }[][];
1587
1609
  delegate?: Address;
1588
1610
  intentGuardian?: Address;
1589
1611
  retainOnEmpty?: boolean;
@@ -1592,6 +1614,46 @@ declare class Zkp2pClient {
1592
1614
  depositDetails: PostDepositDetailsRequest[];
1593
1615
  hash: Hash;
1594
1616
  }>;
1617
+ /**
1618
+ * Prepares a createDeposit transaction without sending it.
1619
+ *
1620
+ * Returns both the prepared transaction calldata and the posted deposit details
1621
+ * (including hashed on-chain IDs) needed for tracking.
1622
+ */
1623
+ prepareCreateDeposit(params: {
1624
+ token: Address;
1625
+ amount: bigint;
1626
+ intentAmountRange: {
1627
+ min: bigint;
1628
+ max: bigint;
1629
+ };
1630
+ processorNames: string[];
1631
+ depositData: {
1632
+ [key: string]: string;
1633
+ }[];
1634
+ conversionRates: {
1635
+ currency: string;
1636
+ conversionRate: string;
1637
+ }[][];
1638
+ paymentMethodsOverride?: `0x${string}`[];
1639
+ paymentMethodDataOverride?: {
1640
+ intentGatingService: Address;
1641
+ payeeDetails: string;
1642
+ data: `0x${string}`;
1643
+ }[];
1644
+ currenciesOverride?: {
1645
+ code: `0x${string}`;
1646
+ minConversionRate: bigint;
1647
+ }[][];
1648
+ delegate?: Address;
1649
+ intentGuardian?: Address;
1650
+ retainOnEmpty?: boolean;
1651
+ txOverrides?: TxOverrides;
1652
+ }): Promise<{
1653
+ depositDetails: PostDepositDetailsRequest[];
1654
+ prepared: PreparedTransaction;
1655
+ }>;
1656
+ private prepareCreateDepositInternal;
1595
1657
  /**
1596
1658
  * Enables or disables a deposit from accepting new intents.
1597
1659
  *
@@ -1600,11 +1662,11 @@ declare class Zkp2pClient {
1600
1662
  * @param params.txOverrides - Optional viem transaction overrides
1601
1663
  * @returns Transaction hash
1602
1664
  */
1603
- setAcceptingIntents(params: {
1665
+ readonly setAcceptingIntents: PrepareableMethod<{
1604
1666
  depositId: bigint;
1605
1667
  accepting: boolean;
1606
1668
  txOverrides?: TxOverrides;
1607
- }): Promise<Hash>;
1669
+ }, `0x${string}`>;
1608
1670
  /**
1609
1671
  * Updates the min/max intent amount range for a deposit.
1610
1672
  *
@@ -1614,12 +1676,12 @@ declare class Zkp2pClient {
1614
1676
  * @param params.txOverrides - Optional viem transaction overrides
1615
1677
  * @returns Transaction hash
1616
1678
  */
1617
- setIntentRange(params: {
1679
+ readonly setIntentRange: PrepareableMethod<{
1618
1680
  depositId: bigint;
1619
1681
  min: bigint;
1620
1682
  max: bigint;
1621
1683
  txOverrides?: TxOverrides;
1622
- }): Promise<Hash>;
1684
+ }, `0x${string}`>;
1623
1685
  /**
1624
1686
  * Updates the minimum conversion rate for a specific currency on a payment method.
1625
1687
  *
@@ -1630,13 +1692,13 @@ declare class Zkp2pClient {
1630
1692
  * @param params.txOverrides - Optional viem transaction overrides
1631
1693
  * @returns Transaction hash
1632
1694
  */
1633
- setCurrencyMinRate(params: {
1695
+ readonly setCurrencyMinRate: PrepareableMethod<{
1634
1696
  depositId: bigint;
1635
1697
  paymentMethod: `0x${string}`;
1636
1698
  fiatCurrency: `0x${string}`;
1637
1699
  minConversionRate: bigint;
1638
1700
  txOverrides?: TxOverrides;
1639
- }): Promise<Hash>;
1701
+ }, `0x${string}`>;
1640
1702
  /**
1641
1703
  * Adds additional funds to an existing deposit.
1642
1704
  * Requires prior approval of the token amount.
@@ -1646,11 +1708,11 @@ declare class Zkp2pClient {
1646
1708
  * @param params.txOverrides - Optional viem transaction overrides
1647
1709
  * @returns Transaction hash
1648
1710
  */
1649
- addFunds(params: {
1711
+ readonly addFunds: PrepareableMethod<{
1650
1712
  depositId: bigint;
1651
1713
  amount: bigint;
1652
1714
  txOverrides?: TxOverrides;
1653
- }): Promise<Hash>;
1715
+ }, `0x${string}`>;
1654
1716
  /**
1655
1717
  * Removes funds from a deposit (partial withdrawal).
1656
1718
  * Can only withdraw available (non-locked) funds.
@@ -1660,11 +1722,11 @@ declare class Zkp2pClient {
1660
1722
  * @param params.txOverrides - Optional viem transaction overrides
1661
1723
  * @returns Transaction hash
1662
1724
  */
1663
- removeFunds(params: {
1725
+ readonly removeFunds: PrepareableMethod<{
1664
1726
  depositId: bigint;
1665
1727
  amount: bigint;
1666
1728
  txOverrides?: TxOverrides;
1667
- }): Promise<Hash>;
1729
+ }, `0x${string}`>;
1668
1730
  /**
1669
1731
  * Fully withdraws a deposit, returning all available funds to the owner.
1670
1732
  * The deposit must have no active intents.
@@ -1673,10 +1735,10 @@ declare class Zkp2pClient {
1673
1735
  * @param params.txOverrides - Optional viem transaction overrides
1674
1736
  * @returns Transaction hash
1675
1737
  */
1676
- withdrawDeposit(params: {
1738
+ readonly withdrawDeposit: PrepareableMethod<{
1677
1739
  depositId: bigint;
1678
1740
  txOverrides?: TxOverrides;
1679
- }): Promise<Hash>;
1741
+ }, `0x${string}`>;
1680
1742
  /**
1681
1743
  * Sets whether a deposit should remain active when its balance reaches zero.
1682
1744
  *
@@ -1685,11 +1747,11 @@ declare class Zkp2pClient {
1685
1747
  * @param params.txOverrides - Optional viem transaction overrides
1686
1748
  * @returns Transaction hash
1687
1749
  */
1688
- setRetainOnEmpty(params: {
1750
+ readonly setRetainOnEmpty: PrepareableMethod<{
1689
1751
  depositId: bigint;
1690
1752
  retain: boolean;
1691
1753
  txOverrides?: TxOverrides;
1692
- }): Promise<Hash>;
1754
+ }, `0x${string}`>;
1693
1755
  /**
1694
1756
  * Assigns a delegate address that can manage the deposit on behalf of the owner.
1695
1757
  *
@@ -1698,11 +1760,11 @@ declare class Zkp2pClient {
1698
1760
  * @param params.txOverrides - Optional viem transaction overrides
1699
1761
  * @returns Transaction hash
1700
1762
  */
1701
- setDelegate(params: {
1763
+ readonly setDelegate: PrepareableMethod<{
1702
1764
  depositId: bigint;
1703
1765
  delegate: Address;
1704
1766
  txOverrides?: TxOverrides;
1705
- }): Promise<Hash>;
1767
+ }, `0x${string}`>;
1706
1768
  /**
1707
1769
  * Removes the delegate from a deposit.
1708
1770
  *
@@ -1710,10 +1772,10 @@ declare class Zkp2pClient {
1710
1772
  * @param params.txOverrides - Optional viem transaction overrides
1711
1773
  * @returns Transaction hash
1712
1774
  */
1713
- removeDelegate(params: {
1775
+ readonly removeDelegate: PrepareableMethod<{
1714
1776
  depositId: bigint;
1715
1777
  txOverrides?: TxOverrides;
1716
- }): Promise<Hash>;
1778
+ }, `0x${string}`>;
1717
1779
  /**
1718
1780
  * Adds new payment methods to an existing deposit.
1719
1781
  *
@@ -1723,7 +1785,7 @@ declare class Zkp2pClient {
1723
1785
  * @param params.txOverrides - Optional viem transaction overrides
1724
1786
  * @returns Transaction hash
1725
1787
  */
1726
- addPaymentMethods(params: {
1788
+ readonly addPaymentMethods: PrepareableMethod<{
1727
1789
  depositId: bigint;
1728
1790
  paymentMethods: `0x${string}`[];
1729
1791
  paymentMethodData: {
@@ -1731,8 +1793,12 @@ declare class Zkp2pClient {
1731
1793
  payeeDetails: string;
1732
1794
  data: `0x${string}`;
1733
1795
  }[];
1796
+ currencies: {
1797
+ code: `0x${string}`;
1798
+ minConversionRate: bigint;
1799
+ }[][];
1734
1800
  txOverrides?: TxOverrides;
1735
- }): Promise<Hash>;
1801
+ }, `0x${string}`>;
1736
1802
  /**
1737
1803
  * Activates or deactivates a payment method on a deposit.
1738
1804
  *
@@ -1742,12 +1808,12 @@ declare class Zkp2pClient {
1742
1808
  * @param params.txOverrides - Optional viem transaction overrides
1743
1809
  * @returns Transaction hash
1744
1810
  */
1745
- setPaymentMethodActive(params: {
1811
+ readonly setPaymentMethodActive: PrepareableMethod<{
1746
1812
  depositId: bigint;
1747
1813
  paymentMethod: `0x${string}`;
1748
1814
  isActive: boolean;
1749
1815
  txOverrides?: TxOverrides;
1750
- }): Promise<Hash>;
1816
+ }, `0x${string}`>;
1751
1817
  /**
1752
1818
  * Deactivates a payment method on a deposit (convenience alias for setPaymentMethodActive).
1753
1819
  *
@@ -1756,11 +1822,11 @@ declare class Zkp2pClient {
1756
1822
  * @param params.txOverrides - Optional viem transaction overrides
1757
1823
  * @returns Transaction hash
1758
1824
  */
1759
- removePaymentMethod(params: {
1825
+ readonly removePaymentMethod: PrepareableMethod<{
1760
1826
  depositId: bigint;
1761
1827
  paymentMethod: `0x${string}`;
1762
1828
  txOverrides?: TxOverrides;
1763
- }): Promise<Hash>;
1829
+ }, `0x${string}`>;
1764
1830
  /**
1765
1831
  * Adds new currencies to a payment method on a deposit.
1766
1832
  *
@@ -1770,7 +1836,7 @@ declare class Zkp2pClient {
1770
1836
  * @param params.txOverrides - Optional viem transaction overrides
1771
1837
  * @returns Transaction hash
1772
1838
  */
1773
- addCurrencies(params: {
1839
+ readonly addCurrencies: PrepareableMethod<{
1774
1840
  depositId: bigint;
1775
1841
  paymentMethod: `0x${string}`;
1776
1842
  currencies: {
@@ -1778,7 +1844,7 @@ declare class Zkp2pClient {
1778
1844
  minConversionRate: bigint;
1779
1845
  }[];
1780
1846
  txOverrides?: TxOverrides;
1781
- }): Promise<Hash>;
1847
+ }, `0x${string}`>;
1782
1848
  /**
1783
1849
  * Deactivates a currency for a payment method on a deposit.
1784
1850
  *
@@ -1788,12 +1854,12 @@ declare class Zkp2pClient {
1788
1854
  * @param params.txOverrides - Optional viem transaction overrides
1789
1855
  * @returns Transaction hash
1790
1856
  */
1791
- deactivateCurrency(params: {
1857
+ readonly deactivateCurrency: PrepareableMethod<{
1792
1858
  depositId: bigint;
1793
1859
  paymentMethod: `0x${string}`;
1794
1860
  currencyCode: `0x${string}`;
1795
1861
  txOverrides?: TxOverrides;
1796
- }): Promise<Hash>;
1862
+ }, `0x${string}`>;
1797
1863
  /**
1798
1864
  * Removes (deactivates) a currency from a payment method.
1799
1865
  * Alias for deactivateCurrency.
@@ -1804,12 +1870,12 @@ declare class Zkp2pClient {
1804
1870
  * @param params.txOverrides - Optional viem transaction overrides
1805
1871
  * @returns Transaction hash
1806
1872
  */
1807
- removeCurrency(params: {
1873
+ readonly removeCurrency: PrepareableMethod<{
1808
1874
  depositId: bigint;
1809
1875
  paymentMethod: `0x${string}`;
1810
1876
  currencyCode: `0x${string}`;
1811
1877
  txOverrides?: TxOverrides;
1812
- }): Promise<Hash>;
1878
+ }, `0x${string}`>;
1813
1879
  /**
1814
1880
  * Removes expired intents from a deposit, freeing up locked funds.
1815
1881
  * Can be called by anyone (permissionless cleanup).
@@ -1818,10 +1884,10 @@ declare class Zkp2pClient {
1818
1884
  * @param params.txOverrides - Optional viem transaction overrides
1819
1885
  * @returns Transaction hash
1820
1886
  */
1821
- pruneExpiredIntents(params: {
1887
+ readonly pruneExpiredIntents: PrepareableMethod<{
1822
1888
  depositId: bigint;
1823
1889
  txOverrides?: TxOverrides;
1824
- }): Promise<Hash>;
1890
+ }, `0x${string}`>;
1825
1891
  /**
1826
1892
  * **Supporting Method** - Signals intent to use a deposit.
1827
1893
  *
@@ -1930,10 +1996,10 @@ declare class Zkp2pClient {
1930
1996
  * @param params.txOverrides - Optional viem transaction overrides
1931
1997
  * @returns Transaction hash
1932
1998
  */
1933
- releaseFundsToPayer(params: {
1999
+ readonly releaseFundsToPayer: PrepareableMethod<{
1934
2000
  intentHash: `0x${string}`;
1935
2001
  txOverrides?: TxOverrides;
1936
- }): Promise<Hash>;
2002
+ }, `0x${string}`>;
1937
2003
  /**
1938
2004
  * **Supporting Method** - Fulfills an intent by submitting a payment proof.
1939
2005
  *
@@ -2127,4 +2193,4 @@ declare class Zkp2pClient {
2127
2193
  }>;
2128
2194
  }
2129
2195
 
2130
- export { type RegisterPayeeDetailsRequest as $, type ActionCallback as A, type GetOwnerDepositsRequest as B, type CancelIntentMethodParams as C, type DepositWithRelations as D, type GetOwnerDepositsResponse as E, type FulfillIntentMethodParams as F, type GetPayeeDetailsRequest as G, type GetDepositByIdRequest as H, type IntentEntity as I, type GetDepositByIdResponse as J, type Intent as K, type ApiIntentStatus as L, type GetOwnerIntentsRequest as M, type NearbyQuote as N, type GetOwnerIntentsResponse as O, type PostDepositDetailsRequest as P, type QuoteRequest as Q, type Range as R, type SignalIntentMethodParams as S, type TxOverrides as T, type GetIntentsByDepositRequest as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type GetIntentsByDepositResponse as X, type GetIntentByHashRequest as Y, Zkp2pClient as Z, type GetIntentByHashResponse as _, type ValidatePayeeDetailsResponse as a, type RegisterPayeeDetailsResponse as a0, type OnchainCurrency as a1, type DepositVerifierData as a2, type PreparedTransaction as a3, type OrderStats as a4, type DepositIntentStatistics as a5, type TakerTier as a6, type TakerTierStats as a7, type TakerTierLevel as a8, type PlatformLimit as a9, mapConversionRatesToOnchainMinRate as aA, type CurrencyType as aB, type CurrencyData as aC, getContracts as aD, getPaymentMethodsCatalog as aE, getGatingServiceAddress as aF, type RuntimeEnv as aG, parseDepositView as aH, parseIntentView as aI, enrichPvDepositView as aJ, enrichPvIntentView as aK, type PV_DepositView as aL, type PV_Deposit as aM, type PV_PaymentMethodData as aN, type PV_Currency as aO, type PV_IntentView as aP, type PV_Intent as aQ, type PlatformRiskLevel as aa, IndexerClient as ab, defaultIndexerEndpoint as ac, IndexerDepositService as ad, fetchFulfillmentAndPayment as ae, type DepositEntity as af, type IntentFulfilledEntity as ag, type DepositPaymentMethodEntity as ah, type MethodCurrencyEntity as ai, type IntentStatus as aj, type DepositFilter as ak, type PaginationOptions as al, type DepositOrderField as am, type OrderDirection as an, type DeploymentEnv as ao, type FulfillmentRecord as ap, type PaymentVerifiedRecord as aq, type FulfillmentAndPaymentResponse as ar, PAYMENT_PLATFORMS as as, type PaymentPlatformType as at, Currency as au, currencyInfo as av, getCurrencyInfoFromHash as aw, getCurrencyInfoFromCountryCode as ax, getCurrencyCodeFromHash as ay, isSupportedCurrencyHash as az, type PostDepositDetailsResponse as b, type GetPayeeDetailsResponse as c, type GetTakerTierRequest as d, type GetTakerTierResponse as e, type PaymentMethodCatalog as f, type Zkp2pClientOptions as g, type TimeoutConfig as h, type CreateDepositParams as i, type CreateDepositConversionRate as j, type SignalIntentParams as k, type FulfillIntentParams as l, type ReleaseFundsToPayerParams as m, type CancelIntentParams as n, type QuoteResponse as o, type QuoteResponseObject as p, type QuoteSingleResponse as q, type QuoteIntentResponse as r, type QuoteFeesResponse as s, type FiatResponse as t, type TokenResponse as u, type NearbySuggestions as v, type ApiDeposit as w, type DepositVerifier as x, type DepositVerifierCurrency as y, type DepositStatus as z };
2196
+ export { type RegisterPayeeDetailsRequest as $, type ActionCallback as A, type DepositVerifierCurrency as B, type CancelIntentMethodParams as C, type DepositWithRelations as D, type DepositStatus as E, type FulfillIntentMethodParams as F, type GetPayeeDetailsRequest as G, type GetDepositByIdRequest as H, type IntentEntity as I, type GetDepositByIdResponse as J, type Intent as K, type ApiIntentStatus as L, type GetOwnerIntentsRequest as M, type NearbyQuote as N, type GetOwnerIntentsResponse as O, type PostDepositDetailsRequest as P, type QuoteRequest as Q, type Range as R, type SignalIntentMethodParams as S, type TxOverrides as T, type GetIntentsByDepositRequest as U, type ValidatePayeeDetailsRequest as V, type WithdrawDepositParams as W, type GetIntentsByDepositResponse as X, type GetIntentByHashRequest as Y, Zkp2pClient as Z, type GetIntentByHashResponse as _, type ValidatePayeeDetailsResponse as a, type RegisterPayeeDetailsResponse as a0, type OnchainCurrency as a1, type DepositVerifierData as a2, type PreparedTransaction as a3, type OrderStats as a4, type DepositIntentStatistics as a5, type TakerTier as a6, type TakerTierStats as a7, type TakerTierLevel as a8, type PlatformLimit as a9, mapConversionRatesToOnchainMinRate as aA, type CurrencyType as aB, type CurrencyData as aC, getContracts as aD, getPaymentMethodsCatalog as aE, getGatingServiceAddress as aF, type RuntimeEnv as aG, parseDepositView as aH, parseIntentView as aI, enrichPvDepositView as aJ, enrichPvIntentView as aK, type PV_DepositView as aL, type PV_Deposit as aM, type PV_PaymentMethodData as aN, type PV_Currency as aO, type PV_IntentView as aP, type PV_Intent as aQ, type PlatformRiskLevel as aa, IndexerClient as ab, defaultIndexerEndpoint as ac, IndexerDepositService as ad, fetchFulfillmentAndPayment as ae, type DepositEntity as af, type IntentFulfilledEntity as ag, type DepositPaymentMethodEntity as ah, type MethodCurrencyEntity as ai, type IntentStatus as aj, type DepositFilter as ak, type PaginationOptions as al, type DepositOrderField as am, type OrderDirection as an, type DeploymentEnv as ao, type FulfillmentRecord as ap, type PaymentVerifiedRecord as aq, type FulfillmentAndPaymentResponse as ar, PAYMENT_PLATFORMS as as, type PaymentPlatformType as at, Currency as au, currencyInfo as av, getCurrencyInfoFromHash as aw, getCurrencyInfoFromCountryCode as ax, getCurrencyCodeFromHash as ay, isSupportedCurrencyHash as az, type PostDepositDetailsResponse as b, type GetPayeeDetailsResponse as c, type GetOwnerDepositsRequest as d, type GetOwnerDepositsResponse as e, type GetTakerTierRequest as f, type GetTakerTierResponse as g, type PaymentMethodCatalog as h, type Zkp2pClientOptions as i, type TimeoutConfig as j, type CreateDepositParams as k, type CreateDepositConversionRate as l, type SignalIntentParams as m, type FulfillIntentParams as n, type ReleaseFundsToPayerParams as o, type CancelIntentParams as p, type QuoteResponse as q, type QuoteResponseObject as r, type QuoteSingleResponse as s, type QuoteIntentResponse as t, type QuoteFeesResponse as u, type FiatResponse as v, type TokenResponse as w, type NearbySuggestions as x, type ApiDeposit as y, type DepositVerifier as z };