uvd-x402-sdk 2.13.0 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -10,36 +10,60 @@ export { A as AlgorandPaymentPayload, H as CAIP2_IDENTIFIERS, I as CAIP2_TO_CHAI
10
10
  */
11
11
  declare const FACILITATOR_ADDRESSES: {
12
12
  /**
13
- * Solana facilitator address (fee payer)
13
+ * EVM facilitator address (mainnet)
14
+ * Used for: Submitting EIP-3009 transferWithAuthorization transactions
15
+ * Note: Same address across all EVM mainnet chains
16
+ */
17
+ readonly evm: "0x103040545AC5031A11E8C03dd11324C7333a13C7";
18
+ /**
19
+ * EVM facilitator address (testnet)
20
+ * Used for: All EVM testnet chains
21
+ */
22
+ readonly 'evm-testnet': "0x34033041a5944B8F10f8E4D8496Bfb84f1A293A8";
23
+ /**
24
+ * Solana facilitator address (mainnet)
14
25
  * Used for: Paying transaction fees on Solana
15
26
  */
16
27
  readonly solana: "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq";
17
28
  /**
18
- * Algorand facilitator address (fee payer)
19
- * Used for: Signing Transaction 0 (fee tx) in atomic groups
20
- * Note: This is derived from the facilitator's Algorand mnemonic
29
+ * Solana facilitator address (devnet)
21
30
  */
22
- readonly algorand: "SXHRBXS22SKKXHXK44DTQMWN2SXK3SFJWBDAQZGF4DRPW7PNFAUM2GYFAQ";
31
+ readonly 'solana-devnet': "6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv";
23
32
  /**
24
- * Algorand testnet facilitator address
33
+ * Fogo facilitator address (mainnet)
25
34
  */
26
- readonly 'algorand-testnet': "SXHRBXS22SKKXHXK44DTQMWN2SXK3SFJWBDAQZGF4DRPW7PNFAUM2GYFAQ";
35
+ readonly fogo: "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq";
27
36
  /**
28
- * EVM facilitator address
29
- * Used for: Submitting EIP-3009 transferWithAuthorization transactions
30
- * Note: Same address across all EVM chains
37
+ * Fogo facilitator address (testnet)
38
+ */
39
+ readonly 'fogo-testnet': "6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv";
40
+ /**
41
+ * NEAR facilitator address (mainnet)
42
+ * Used for: Relaying meta-transactions
31
43
  */
32
- readonly evm: "0x7c5F3AdB0C7775968Bc7e7cF61b27fECf2e2b500";
44
+ readonly near: "uvd-facilitator.near";
45
+ /**
46
+ * NEAR facilitator address (testnet)
47
+ */
48
+ readonly 'near-testnet': "uvd-facilitator.testnet";
33
49
  /**
34
- * Stellar facilitator address
50
+ * Stellar facilitator address (mainnet)
35
51
  * Used for: Signing soroban authorization entries
36
52
  */
37
- readonly stellar: "GDUTDNV53WQPOB2JUZPO6SXH4LVT7CJSLCMLFQ7W4CNAXGIX7XYMCNP2";
53
+ readonly stellar: "GCHPGXJT2WFFRFCA5TV4G4E3PMMXLNIDUH27PKDYA4QJ2XGYZWGFZNHB";
38
54
  /**
39
- * NEAR facilitator address
40
- * Used for: Relaying meta-transactions
55
+ * Stellar facilitator address (testnet)
41
56
  */
42
- readonly near: "uvd-facilitator.near";
57
+ readonly 'stellar-testnet': "GBBFZMLUJEZVI32EN4XA2KPP445XIBTMTRBLYWFIL556RDTHS2OWFQ2Z";
58
+ /**
59
+ * Algorand facilitator address (mainnet)
60
+ * Used for: Signing Transaction 0 (fee tx) in atomic groups
61
+ */
62
+ readonly algorand: "KIMS5H6QLCUDL65L5UBTOXDPWLMTS7N3AAC3I6B2NCONEI5QIVK7LH2C2I";
63
+ /**
64
+ * Algorand facilitator address (testnet)
65
+ */
66
+ readonly 'algorand-testnet': "5DPPDQNYUPCTXRZWRYSF3WPYU6RKAUR25F3YG4EKXQRHV5AUAI62H5GXL4";
43
67
  };
44
68
  /**
45
69
  * Get the facilitator address for a specific chain
package/dist/index.d.ts CHANGED
@@ -10,36 +10,60 @@ export { A as AlgorandPaymentPayload, H as CAIP2_IDENTIFIERS, I as CAIP2_TO_CHAI
10
10
  */
11
11
  declare const FACILITATOR_ADDRESSES: {
12
12
  /**
13
- * Solana facilitator address (fee payer)
13
+ * EVM facilitator address (mainnet)
14
+ * Used for: Submitting EIP-3009 transferWithAuthorization transactions
15
+ * Note: Same address across all EVM mainnet chains
16
+ */
17
+ readonly evm: "0x103040545AC5031A11E8C03dd11324C7333a13C7";
18
+ /**
19
+ * EVM facilitator address (testnet)
20
+ * Used for: All EVM testnet chains
21
+ */
22
+ readonly 'evm-testnet': "0x34033041a5944B8F10f8E4D8496Bfb84f1A293A8";
23
+ /**
24
+ * Solana facilitator address (mainnet)
14
25
  * Used for: Paying transaction fees on Solana
15
26
  */
16
27
  readonly solana: "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq";
17
28
  /**
18
- * Algorand facilitator address (fee payer)
19
- * Used for: Signing Transaction 0 (fee tx) in atomic groups
20
- * Note: This is derived from the facilitator's Algorand mnemonic
29
+ * Solana facilitator address (devnet)
21
30
  */
22
- readonly algorand: "SXHRBXS22SKKXHXK44DTQMWN2SXK3SFJWBDAQZGF4DRPW7PNFAUM2GYFAQ";
31
+ readonly 'solana-devnet': "6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv";
23
32
  /**
24
- * Algorand testnet facilitator address
33
+ * Fogo facilitator address (mainnet)
25
34
  */
26
- readonly 'algorand-testnet': "SXHRBXS22SKKXHXK44DTQMWN2SXK3SFJWBDAQZGF4DRPW7PNFAUM2GYFAQ";
35
+ readonly fogo: "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq";
27
36
  /**
28
- * EVM facilitator address
29
- * Used for: Submitting EIP-3009 transferWithAuthorization transactions
30
- * Note: Same address across all EVM chains
37
+ * Fogo facilitator address (testnet)
38
+ */
39
+ readonly 'fogo-testnet': "6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv";
40
+ /**
41
+ * NEAR facilitator address (mainnet)
42
+ * Used for: Relaying meta-transactions
31
43
  */
32
- readonly evm: "0x7c5F3AdB0C7775968Bc7e7cF61b27fECf2e2b500";
44
+ readonly near: "uvd-facilitator.near";
45
+ /**
46
+ * NEAR facilitator address (testnet)
47
+ */
48
+ readonly 'near-testnet': "uvd-facilitator.testnet";
33
49
  /**
34
- * Stellar facilitator address
50
+ * Stellar facilitator address (mainnet)
35
51
  * Used for: Signing soroban authorization entries
36
52
  */
37
- readonly stellar: "GDUTDNV53WQPOB2JUZPO6SXH4LVT7CJSLCMLFQ7W4CNAXGIX7XYMCNP2";
53
+ readonly stellar: "GCHPGXJT2WFFRFCA5TV4G4E3PMMXLNIDUH27PKDYA4QJ2XGYZWGFZNHB";
38
54
  /**
39
- * NEAR facilitator address
40
- * Used for: Relaying meta-transactions
55
+ * Stellar facilitator address (testnet)
41
56
  */
42
- readonly near: "uvd-facilitator.near";
57
+ readonly 'stellar-testnet': "GBBFZMLUJEZVI32EN4XA2KPP445XIBTMTRBLYWFIL556RDTHS2OWFQ2Z";
58
+ /**
59
+ * Algorand facilitator address (mainnet)
60
+ * Used for: Signing Transaction 0 (fee tx) in atomic groups
61
+ */
62
+ readonly algorand: "KIMS5H6QLCUDL65L5UBTOXDPWLMTS7N3AAC3I6B2NCONEI5QIVK7LH2C2I";
63
+ /**
64
+ * Algorand facilitator address (testnet)
65
+ */
66
+ readonly 'algorand-testnet': "5DPPDQNYUPCTXRZWRYSF3WPYU6RKAUR25F3YG4EKXQRHV5AUAI62H5GXL4";
43
67
  };
44
68
  /**
45
69
  * Get the facilitator address for a specific chain
package/dist/index.js CHANGED
@@ -1532,37 +1532,79 @@ var X402Client = class {
1532
1532
 
1533
1533
  // src/facilitator.ts
1534
1534
  var FACILITATOR_ADDRESSES = {
1535
+ // ============================================
1536
+ // EVM Chains
1537
+ // ============================================
1535
1538
  /**
1536
- * Solana facilitator address (fee payer)
1539
+ * EVM facilitator address (mainnet)
1540
+ * Used for: Submitting EIP-3009 transferWithAuthorization transactions
1541
+ * Note: Same address across all EVM mainnet chains
1542
+ */
1543
+ evm: "0x103040545AC5031A11E8C03dd11324C7333a13C7",
1544
+ /**
1545
+ * EVM facilitator address (testnet)
1546
+ * Used for: All EVM testnet chains
1547
+ */
1548
+ "evm-testnet": "0x34033041a5944B8F10f8E4D8496Bfb84f1A293A8",
1549
+ // ============================================
1550
+ // Solana
1551
+ // ============================================
1552
+ /**
1553
+ * Solana facilitator address (mainnet)
1537
1554
  * Used for: Paying transaction fees on Solana
1538
1555
  */
1539
1556
  solana: "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq",
1540
1557
  /**
1541
- * Algorand facilitator address (fee payer)
1542
- * Used for: Signing Transaction 0 (fee tx) in atomic groups
1543
- * Note: This is derived from the facilitator's Algorand mnemonic
1558
+ * Solana facilitator address (devnet)
1544
1559
  */
1545
- algorand: "SXHRBXS22SKKXHXK44DTQMWN2SXK3SFJWBDAQZGF4DRPW7PNFAUM2GYFAQ",
1560
+ "solana-devnet": "6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv",
1561
+ // ============================================
1562
+ // Fogo (uses same addresses as Solana)
1563
+ // ============================================
1546
1564
  /**
1547
- * Algorand testnet facilitator address
1565
+ * Fogo facilitator address (mainnet)
1548
1566
  */
1549
- "algorand-testnet": "SXHRBXS22SKKXHXK44DTQMWN2SXK3SFJWBDAQZGF4DRPW7PNFAUM2GYFAQ",
1567
+ fogo: "F742C4VfFLQ9zRQyithoj5229ZgtX2WqKCSFKgH2EThq",
1550
1568
  /**
1551
- * EVM facilitator address
1552
- * Used for: Submitting EIP-3009 transferWithAuthorization transactions
1553
- * Note: Same address across all EVM chains
1569
+ * Fogo facilitator address (testnet)
1570
+ */
1571
+ "fogo-testnet": "6xNPewUdKRbEZDReQdpyfNUdgNg8QRc8Mt263T5GZSRv",
1572
+ // ============================================
1573
+ // NEAR
1574
+ // ============================================
1575
+ /**
1576
+ * NEAR facilitator address (mainnet)
1577
+ * Used for: Relaying meta-transactions
1554
1578
  */
1555
- evm: "0x7c5F3AdB0C7775968Bc7e7cF61b27fECf2e2b500",
1579
+ near: "uvd-facilitator.near",
1556
1580
  /**
1557
- * Stellar facilitator address
1581
+ * NEAR facilitator address (testnet)
1582
+ */
1583
+ "near-testnet": "uvd-facilitator.testnet",
1584
+ // ============================================
1585
+ // Stellar
1586
+ // ============================================
1587
+ /**
1588
+ * Stellar facilitator address (mainnet)
1558
1589
  * Used for: Signing soroban authorization entries
1559
1590
  */
1560
- stellar: "GDUTDNV53WQPOB2JUZPO6SXH4LVT7CJSLCMLFQ7W4CNAXGIX7XYMCNP2",
1591
+ stellar: "GCHPGXJT2WFFRFCA5TV4G4E3PMMXLNIDUH27PKDYA4QJ2XGYZWGFZNHB",
1561
1592
  /**
1562
- * NEAR facilitator address
1563
- * Used for: Relaying meta-transactions
1593
+ * Stellar facilitator address (testnet)
1594
+ */
1595
+ "stellar-testnet": "GBBFZMLUJEZVI32EN4XA2KPP445XIBTMTRBLYWFIL556RDTHS2OWFQ2Z",
1596
+ // ============================================
1597
+ // Algorand
1598
+ // ============================================
1599
+ /**
1600
+ * Algorand facilitator address (mainnet)
1601
+ * Used for: Signing Transaction 0 (fee tx) in atomic groups
1602
+ */
1603
+ algorand: "KIMS5H6QLCUDL65L5UBTOXDPWLMTS7N3AAC3I6B2NCONEI5QIVK7LH2C2I",
1604
+ /**
1605
+ * Algorand facilitator address (testnet)
1564
1606
  */
1565
- near: "uvd-facilitator.near"
1607
+ "algorand-testnet": "5DPPDQNYUPCTXRZWRYSF3WPYU6RKAUR25F3YG4EKXQRHV5AUAI62H5GXL4"
1566
1608
  };
1567
1609
  function getFacilitatorAddress(chainName, networkType) {
1568
1610
  const exactMatch = FACILITATOR_ADDRESSES[chainName];