uvd-x402-sdk 2.32.2 → 2.33.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/backend/index.d.mts +3 -3
- package/dist/backend/index.d.ts +3 -3
- package/dist/backend/index.js +11 -2
- package/dist/backend/index.js.map +1 -1
- package/dist/backend/index.mjs +11 -2
- package/dist/backend/index.mjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/backend/index.ts +15 -6
package/dist/backend/index.d.mts
CHANGED
|
@@ -1249,7 +1249,7 @@ declare const ERC8004_EXTENSION_ID = "8004-reputation";
|
|
|
1249
1249
|
*/
|
|
1250
1250
|
type AgentId = number | string;
|
|
1251
1251
|
/**
|
|
1252
|
-
* ERC-8004 contract addresses per network (
|
|
1252
|
+
* ERC-8004 contract addresses per network (20 networks: 18 EVM + 2 Solana)
|
|
1253
1253
|
*/
|
|
1254
1254
|
declare const ERC8004_CONTRACTS: Record<string, {
|
|
1255
1255
|
identityRegistry?: string;
|
|
@@ -1259,9 +1259,9 @@ declare const ERC8004_CONTRACTS: Record<string, {
|
|
|
1259
1259
|
atomEngineProgram?: string;
|
|
1260
1260
|
}>;
|
|
1261
1261
|
/**
|
|
1262
|
-
* Network type for ERC-8004 operations (
|
|
1262
|
+
* Network type for ERC-8004 operations (20 networks: 18 EVM + 2 Solana)
|
|
1263
1263
|
*/
|
|
1264
|
-
type Erc8004Network = 'ethereum' | 'base-mainnet' | 'polygon' | 'arbitrum' | 'optimism' | 'celo' | 'bsc' | 'monad' | 'avalanche' | 'ethereum-sepolia' | 'base-sepolia' | 'polygon-amoy' | 'arbitrum-sepolia' | 'optimism-sepolia' | 'celo-sepolia' | 'avalanche-fuji' | 'solana' | 'solana-devnet';
|
|
1264
|
+
type Erc8004Network = 'ethereum' | 'base-mainnet' | 'polygon' | 'arbitrum' | 'optimism' | 'celo' | 'bsc' | 'monad' | 'avalanche' | 'skale-base' | 'ethereum-sepolia' | 'base-sepolia' | 'polygon-amoy' | 'arbitrum-sepolia' | 'optimism-sepolia' | 'celo-sepolia' | 'avalanche-fuji' | 'skale-base-sepolia' | 'solana' | 'solana-devnet';
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Proof of payment returned when settling with ERC-8004 extension
|
|
1267
1267
|
*/
|
package/dist/backend/index.d.ts
CHANGED
|
@@ -1249,7 +1249,7 @@ declare const ERC8004_EXTENSION_ID = "8004-reputation";
|
|
|
1249
1249
|
*/
|
|
1250
1250
|
type AgentId = number | string;
|
|
1251
1251
|
/**
|
|
1252
|
-
* ERC-8004 contract addresses per network (
|
|
1252
|
+
* ERC-8004 contract addresses per network (20 networks: 18 EVM + 2 Solana)
|
|
1253
1253
|
*/
|
|
1254
1254
|
declare const ERC8004_CONTRACTS: Record<string, {
|
|
1255
1255
|
identityRegistry?: string;
|
|
@@ -1259,9 +1259,9 @@ declare const ERC8004_CONTRACTS: Record<string, {
|
|
|
1259
1259
|
atomEngineProgram?: string;
|
|
1260
1260
|
}>;
|
|
1261
1261
|
/**
|
|
1262
|
-
* Network type for ERC-8004 operations (
|
|
1262
|
+
* Network type for ERC-8004 operations (20 networks: 18 EVM + 2 Solana)
|
|
1263
1263
|
*/
|
|
1264
|
-
type Erc8004Network = 'ethereum' | 'base-mainnet' | 'polygon' | 'arbitrum' | 'optimism' | 'celo' | 'bsc' | 'monad' | 'avalanche' | 'ethereum-sepolia' | 'base-sepolia' | 'polygon-amoy' | 'arbitrum-sepolia' | 'optimism-sepolia' | 'celo-sepolia' | 'avalanche-fuji' | 'solana' | 'solana-devnet';
|
|
1264
|
+
type Erc8004Network = 'ethereum' | 'base-mainnet' | 'polygon' | 'arbitrum' | 'optimism' | 'celo' | 'bsc' | 'monad' | 'avalanche' | 'skale-base' | 'ethereum-sepolia' | 'base-sepolia' | 'polygon-amoy' | 'arbitrum-sepolia' | 'optimism-sepolia' | 'celo-sepolia' | 'avalanche-fuji' | 'skale-base-sepolia' | 'solana' | 'solana-devnet';
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Proof of payment returned when settling with ERC-8004 extension
|
|
1267
1267
|
*/
|
package/dist/backend/index.js
CHANGED
|
@@ -2394,7 +2394,7 @@ var TESTNET_VALIDATION = "0x8004Cb1BF31DAf7788923b405b754f57acEB4272";
|
|
|
2394
2394
|
var SOLANA_AGENT_REGISTRY = "8oo4dC4JvBLwy5tGgiH3WwK4B9PWxL9Z4XjA2jzkQMbQ";
|
|
2395
2395
|
var SOLANA_ATOM_ENGINE = "AToMw53aiPQ8j7iHVb4fGt6nzUNxUhcPc3tbPBZuzVVb";
|
|
2396
2396
|
var ERC8004_CONTRACTS = {
|
|
2397
|
-
// Mainnets (
|
|
2397
|
+
// Mainnets (10)
|
|
2398
2398
|
ethereum: {
|
|
2399
2399
|
identityRegistry: MAINNET_IDENTITY,
|
|
2400
2400
|
reputationRegistry: MAINNET_REPUTATION
|
|
@@ -2431,7 +2431,11 @@ var ERC8004_CONTRACTS = {
|
|
|
2431
2431
|
identityRegistry: MAINNET_IDENTITY,
|
|
2432
2432
|
reputationRegistry: MAINNET_REPUTATION
|
|
2433
2433
|
},
|
|
2434
|
-
|
|
2434
|
+
"skale-base": {
|
|
2435
|
+
identityRegistry: MAINNET_IDENTITY,
|
|
2436
|
+
reputationRegistry: MAINNET_REPUTATION
|
|
2437
|
+
},
|
|
2438
|
+
// Testnets (8)
|
|
2435
2439
|
"ethereum-sepolia": {
|
|
2436
2440
|
identityRegistry: TESTNET_IDENTITY,
|
|
2437
2441
|
reputationRegistry: TESTNET_REPUTATION,
|
|
@@ -2467,6 +2471,11 @@ var ERC8004_CONTRACTS = {
|
|
|
2467
2471
|
reputationRegistry: TESTNET_REPUTATION,
|
|
2468
2472
|
validationRegistry: TESTNET_VALIDATION
|
|
2469
2473
|
},
|
|
2474
|
+
"skale-base-sepolia": {
|
|
2475
|
+
identityRegistry: TESTNET_IDENTITY,
|
|
2476
|
+
reputationRegistry: TESTNET_REPUTATION,
|
|
2477
|
+
validationRegistry: TESTNET_VALIDATION
|
|
2478
|
+
},
|
|
2470
2479
|
// Solana (2) - uses QuantuLabs 8004-solana Anchor program + ATOM Engine
|
|
2471
2480
|
solana: {
|
|
2472
2481
|
agentRegistryProgram: SOLANA_AGENT_REGISTRY,
|