sf-x402x 0.7.2 → 0.7.4
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/cjs/client/index.d.ts +4 -4
- package/dist/cjs/client/index.js +44 -1
- package/dist/cjs/client/index.js.map +1 -1
- package/dist/{esm/config-BvHe6TfM.d.mts → cjs/config-DQqZLArn.d.ts} +1 -0
- package/dist/cjs/facilitator/index.d.ts +3 -3
- package/dist/cjs/facilitator/index.js +44 -1
- package/dist/cjs/facilitator/index.js.map +1 -1
- package/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.js +44 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/{esm/middleware-meOELdk2.d.mts → cjs/middleware-DbSgn0Ml.d.ts} +3 -3
- package/dist/{esm/network-C6C2pEEd.d.mts → cjs/network-CyrdLXOd.d.ts} +2 -2
- package/dist/cjs/paywall/index.d.ts +1 -1
- package/dist/cjs/paywall/index.js +6 -1
- package/dist/cjs/paywall/index.js.map +1 -1
- package/dist/{esm/rpc-CFPA2oz6.d.mts → cjs/rpc-Bnu3X-oO.d.ts} +1 -1
- package/dist/cjs/schemes/index.d.ts +4 -4
- package/dist/cjs/schemes/index.js +44 -1
- package/dist/cjs/schemes/index.js.map +1 -1
- package/dist/cjs/shared/evm/index.d.ts +2 -2
- package/dist/cjs/shared/evm/index.js +6 -1
- package/dist/cjs/shared/evm/index.js.map +1 -1
- package/dist/cjs/shared/index.d.ts +6 -6
- package/dist/cjs/shared/index.js +46 -2
- package/dist/cjs/shared/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +15 -12
- package/dist/cjs/types/index.js +57 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/verify/index.d.ts +4 -4
- package/dist/cjs/verify/index.js +38 -0
- package/dist/cjs/verify/index.js.map +1 -1
- package/dist/cjs/wallet-BzdwL5Ga.d.ts +48 -0
- package/dist/{esm/wallet-BReyvAJs.d.mts → cjs/wallet-DCeIaUzf.d.ts} +115 -1
- package/dist/{esm/x402Specs-CVJIfBRW.d.mts → cjs/x402Specs-D-jpKgOf.d.ts} +58 -58
- package/dist/esm/{chunk-6DG3Q4WQ.mjs → chunk-44TQ5MM2.mjs} +2 -2
- package/dist/esm/{chunk-JHFSMMLZ.mjs → chunk-ERV4RZ7U.mjs} +7 -2
- package/dist/esm/chunk-ERV4RZ7U.mjs.map +1 -0
- package/dist/esm/{chunk-EDHXRYU2.mjs → chunk-FPANDHG5.mjs} +4 -4
- package/dist/esm/{chunk-VBHDFLZZ.mjs → chunk-KDH3FCUK.mjs} +5 -5
- package/dist/esm/{chunk-NOKHWFZC.mjs → chunk-OHC6VJA3.mjs} +3 -3
- package/dist/esm/{chunk-L52JEGJ6.mjs → chunk-TIZQRIY5.mjs} +62 -8
- package/dist/esm/chunk-TIZQRIY5.mjs.map +1 -0
- package/dist/esm/{chunk-Y3EZA3GQ.mjs → chunk-TQCKDRIL.mjs} +3 -3
- package/dist/esm/client/index.d.mts +4 -4
- package/dist/esm/client/index.mjs +5 -5
- package/dist/esm/config-DQqZLArn.d.mts +23 -0
- package/dist/esm/facilitator/index.d.mts +3 -3
- package/dist/esm/facilitator/index.mjs +6 -6
- package/dist/esm/index.d.mts +4 -4
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/middleware-DfreTyXz.d.mts +93 -0
- package/dist/esm/network-CyrdLXOd.d.mts +11 -0
- package/dist/esm/paywall/index.d.mts +1 -1
- package/dist/esm/paywall/index.mjs +1 -1
- package/dist/esm/rpc-CzbFK6es.d.mts +35 -0
- package/dist/esm/schemes/index.d.mts +4 -4
- package/dist/esm/schemes/index.mjs +5 -5
- package/dist/esm/shared/evm/index.d.mts +2 -2
- package/dist/esm/shared/evm/index.mjs +2 -2
- package/dist/esm/shared/index.d.mts +6 -6
- package/dist/esm/shared/index.mjs +3 -3
- package/dist/esm/types/index.d.mts +15 -12
- package/dist/esm/types/index.mjs +3 -3
- package/dist/esm/verify/index.d.mts +4 -4
- package/dist/esm/verify/index.mjs +3 -3
- package/dist/esm/{wallet-C9iHSQbd.d.mts → wallet-C1nMdb77.d.mts} +1 -1
- package/dist/esm/wallet-DCeIaUzf.d.mts +265 -0
- package/dist/esm/x402Specs-D-jpKgOf.d.mts +1306 -0
- package/package.json +1 -1
- package/dist/esm/chunk-JHFSMMLZ.mjs.map +0 -1
- package/dist/esm/chunk-L52JEGJ6.mjs.map +0 -1
- /package/dist/esm/{chunk-6DG3Q4WQ.mjs.map → chunk-44TQ5MM2.mjs.map} +0 -0
- /package/dist/esm/{chunk-EDHXRYU2.mjs.map → chunk-FPANDHG5.mjs.map} +0 -0
- /package/dist/esm/{chunk-VBHDFLZZ.mjs.map → chunk-KDH3FCUK.mjs.map} +0 -0
- /package/dist/esm/{chunk-NOKHWFZC.mjs.map → chunk-OHC6VJA3.mjs.map} +0 -0
- /package/dist/esm/{chunk-Y3EZA3GQ.mjs.map → chunk-TQCKDRIL.mjs.map} +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { RpcDevnet, SolanaRpcApiDevnet, RpcMainnet, SolanaRpcApiMainnet, RpcSubscriptionsFromTransport, SolanaRpcSubscriptionsApi, RpcSubscriptionsTransportFromClusterUrl, ClusterUrl } from '@solana/kit';
|
|
2
|
+
import { N as Network } from './network-CyrdLXOd.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Creates a Solana RPC client for the devnet network.
|
|
6
|
+
*
|
|
7
|
+
* @param url - Optional URL of the devnet network.
|
|
8
|
+
* @returns A Solana RPC client.
|
|
9
|
+
*/
|
|
10
|
+
declare function createDevnetRpcClient(url?: string): RpcDevnet<SolanaRpcApiDevnet>;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a Solana RPC client for the mainnet network.
|
|
13
|
+
*
|
|
14
|
+
* @param url - Optional URL of the mainnet network.
|
|
15
|
+
* @returns A Solana RPC client.
|
|
16
|
+
*/
|
|
17
|
+
declare function createMainnetRpcClient(url?: string): RpcMainnet<SolanaRpcApiMainnet>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets the RPC client for the given network.
|
|
20
|
+
*
|
|
21
|
+
* @param network - The network to get the RPC client for
|
|
22
|
+
* @param url - Optional URL of the network. If not provided, the default URL will be used.
|
|
23
|
+
* @returns The RPC client for the given network
|
|
24
|
+
*/
|
|
25
|
+
declare function getRpcClient(network: Network, url?: string): RpcDevnet<SolanaRpcApiDevnet> | RpcMainnet<SolanaRpcApiMainnet>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the RPC subscriptions for the given network.
|
|
28
|
+
*
|
|
29
|
+
* @param network - The network to get the RPC subscriptions for
|
|
30
|
+
* @param url - Optional URL of the network. If not provided, the default URL will be used.
|
|
31
|
+
* @returns The RPC subscriptions for the given network
|
|
32
|
+
*/
|
|
33
|
+
declare function getRpcSubscriptions(network: Network, url?: string): RpcSubscriptionsFromTransport<SolanaRpcSubscriptionsApi, RpcSubscriptionsTransportFromClusterUrl<ClusterUrl>>;
|
|
34
|
+
|
|
35
|
+
export { createMainnetRpcClient as a, getRpcSubscriptions as b, createDevnetRpcClient as c, getRpcClient as g };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Address, Transport, Chain, LocalAccount, Account } from 'viem';
|
|
2
|
-
import { S as SignerWallet, C as ConnectedClient } from '../wallet-
|
|
3
|
-
import { P as PaymentRequirements, U as UnsignedPaymentPayload, a as PaymentPayload, u as VerifyResponse, S as SettleResponse, b as ErrorReasons, E as ExactSvmPayload } from '../x402Specs-
|
|
2
|
+
import { S as SignerWallet, C as ConnectedClient } from '../wallet-DCeIaUzf.mjs';
|
|
3
|
+
import { P as PaymentRequirements, U as UnsignedPaymentPayload, a as PaymentPayload, u as VerifyResponse, S as SettleResponse, b as ErrorReasons, E as ExactSvmPayload } from '../x402Specs-D-jpKgOf.mjs';
|
|
4
4
|
import { X as X402Config } from '../config-Dfuvno71.mjs';
|
|
5
5
|
import { KeyPairSigner, signTransaction, RpcDevnet, SolanaRpcApiDevnet, RpcMainnet, SolanaRpcApiMainnet, SendTransactionApi, CompilableTransactionMessage, Instruction, AccountLookupMeta, AccountMeta } from '@solana/kit';
|
|
6
|
-
import { b as getRpcSubscriptions } from '../rpc-
|
|
6
|
+
import { b as getRpcSubscriptions } from '../rpc-CzbFK6es.mjs';
|
|
7
7
|
import * as _solana_program_token from '@solana-program/token';
|
|
8
8
|
import { parseTransferCheckedInstruction } from '@solana-program/token-2022';
|
|
9
9
|
import 'viem/chains';
|
|
10
10
|
import 'zod';
|
|
11
|
-
import '../network-
|
|
11
|
+
import '../network-CyrdLXOd.mjs';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Prepares an unsigned payment header with the given sender address and payment requirements.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exact_exports
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-KDH3FCUK.mjs";
|
|
4
4
|
import {
|
|
5
5
|
decodePayment,
|
|
6
6
|
encodePayment
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-OHC6VJA3.mjs";
|
|
8
|
+
import "../chunk-TIZQRIY5.mjs";
|
|
9
|
+
import "../chunk-44TQ5MM2.mjs";
|
|
10
|
+
import "../chunk-ERV4RZ7U.mjs";
|
|
11
11
|
export {
|
|
12
12
|
decodePayment,
|
|
13
13
|
encodePayment,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Transport, Chain, Account, Client, Address } from 'viem';
|
|
2
|
-
import { C as ChainConfig } from '../../config-
|
|
3
|
-
import { C as ConnectedClient } from '../../wallet-
|
|
2
|
+
import { C as ChainConfig } from '../../config-DQqZLArn.mjs';
|
|
3
|
+
import { C as ConnectedClient } from '../../wallet-DCeIaUzf.mjs';
|
|
4
4
|
import '@solana/kit';
|
|
5
5
|
import 'viem/chains';
|
|
6
6
|
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
getUsdcAddressForChain,
|
|
6
6
|
getUsdcChainConfigForChain,
|
|
7
7
|
getVersion
|
|
8
|
-
} from "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
8
|
+
} from "../../chunk-44TQ5MM2.mjs";
|
|
9
|
+
import "../../chunk-ERV4RZ7U.mjs";
|
|
10
10
|
export {
|
|
11
11
|
getERC20Balance,
|
|
12
12
|
getUSDCBalance,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { N as Network } from '../network-
|
|
1
|
+
import { N as Network } from '../network-CyrdLXOd.mjs';
|
|
2
2
|
import * as _solana_kit from '@solana/kit';
|
|
3
3
|
import { Transaction, KeyPairSigner, RpcDevnet, SolanaRpcApiDevnet, RpcMainnet, SolanaRpcApiMainnet } from '@solana/kit';
|
|
4
4
|
import { Hex, Address } from 'viem';
|
|
5
|
-
import { R as RoutesConfig, a as RoutePattern, P as Price, E as ERC20TokenAmount, S as SPLTokenAmount } from '../middleware-
|
|
6
|
-
import { P as PaymentRequirements, a as PaymentPayload, E as ExactSvmPayload } from '../x402Specs-
|
|
7
|
-
import { c as createDevnetRpcClient, a as createMainnetRpcClient, g as getRpcClient, b as getRpcSubscriptions } from '../rpc-
|
|
5
|
+
import { R as RoutesConfig, a as RoutePattern, P as Price, E as ERC20TokenAmount, S as SPLTokenAmount } from '../middleware-DfreTyXz.mjs';
|
|
6
|
+
import { P as PaymentRequirements, a as PaymentPayload, E as ExactSvmPayload } from '../x402Specs-D-jpKgOf.mjs';
|
|
7
|
+
import { c as createDevnetRpcClient, a as createMainnetRpcClient, g as getRpcClient, b as getRpcSubscriptions } from '../rpc-CzbFK6es.mjs';
|
|
8
8
|
import { a as SvmConnectedClient, S as SvmSigner, c as createSignerFromBase58, b as createSvmConnectedClient, i as isSignerWallet } from '../wallet-BTqCm9Zp.mjs';
|
|
9
9
|
import 'zod';
|
|
10
|
-
import '../wallet-
|
|
10
|
+
import '../wallet-DCeIaUzf.mjs';
|
|
11
11
|
import 'viem/chains';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -99,7 +99,7 @@ declare function findMatchingPaymentRequirements(paymentRequirements: PaymentReq
|
|
|
99
99
|
description: string;
|
|
100
100
|
asset: string;
|
|
101
101
|
maxAmountRequired: string;
|
|
102
|
-
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "
|
|
102
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "sepolia" | "ethereum" | "filecoin" | "filecoin-calibration" | "skale-base-sepolia" | "solana-devnet" | "solana";
|
|
103
103
|
resource: string;
|
|
104
104
|
mimeType: string;
|
|
105
105
|
payTo: string;
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
safeBase64Encode,
|
|
12
12
|
svm_exports2 as svm_exports,
|
|
13
13
|
toJsonSafe
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-TIZQRIY5.mjs";
|
|
15
|
+
import "../chunk-44TQ5MM2.mjs";
|
|
16
|
+
import "../chunk-ERV4RZ7U.mjs";
|
|
17
17
|
export {
|
|
18
18
|
Base64EncodedRegex,
|
|
19
19
|
computeRoutePatterns,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { S as SvmConfig, X as X402Config } from '../config-Dfuvno71.mjs';
|
|
2
|
-
export { E as ERC20TokenAmount, F as FacilitatorConfig, M as Money, d as PaymentMiddlewareConfig, c as PaywallConfig, P as Price, b as Resource, e as RouteConfig, a as RoutePattern, R as RoutesConfig, S as SPLTokenAmount, W as Wallet, m as moneySchema } from '../middleware-
|
|
3
|
-
export { C as ChainIdToNetwork, E as EvmNetworkToChainId, N as Network, a as NetworkSchema, S as SupportedEVMNetworks, b as SupportedSVMNetworks, c as SvmNetworkToChainId } from '../network-
|
|
4
|
-
export { C as ConnectedClient, M as MultiNetworkSigner, S as Signer, c as createConnectedClient, a as createSigner, i as isEvmSignerWallet, d as isMultiNetworkSigner, b as isSvmSignerWallet } from '../wallet-
|
|
5
|
-
import { C as ChainConfig, T as TokenConfig, c as config } from '../config-
|
|
6
|
-
import { C as ConnectedClient, E as EvmSigner, S as SignerWallet, c as createClientAvalancheFuji, a as createClientSepolia, b as createConnectedClient, d as createSigner, e as createSignerAvalancheFuji, f as createSignerSepolia, g as
|
|
7
|
-
import { S as SettleResponse } from '../x402Specs-
|
|
8
|
-
export { o as DiscoveredResource, D as DiscoveredResourceSchema, b as ErrorReasons, g as ExactEvmPayload, e as ExactEvmPayloadAuthorization, d as ExactEvmPayloadAuthorizationSchema, f as ExactEvmPayloadSchema, E as ExactSvmPayload, h as ExactSvmPayloadSchema, m as HTTPRequestStructure, l as HTTPRequestStructureSchema, H as HTTPVerbs, w as ListDiscoveryResourcesRequest, L as ListDiscoveryResourcesRequestSchema, z as ListDiscoveryResourcesResponse, y as ListDiscoveryResourcesResponseSchema, a as PaymentPayload, i as PaymentPayloadSchema, P as PaymentRequirements, c as PaymentRequirementsSchema, n as RequestStructure, R as RequestStructureSchema, q as SettleRequest, p as SettleRequestSchema, v as SettleResponseSchema, B as SupportedPaymentKind, A as SupportedPaymentKindSchema, F as SupportedPaymentKindsResponse, C as SupportedPaymentKindsResponseSchema, U as UnsignedPaymentPayload, r as VerifyRequest, V as VerifyRequestSchema, u as VerifyResponse, t as VerifyResponseSchema, s as schemes, k as x402Response, j as x402ResponseSchema, x as x402Versions } from '../x402Specs-
|
|
2
|
+
export { E as ERC20TokenAmount, F as FacilitatorConfig, M as Money, d as PaymentMiddlewareConfig, c as PaywallConfig, P as Price, b as Resource, e as RouteConfig, a as RoutePattern, R as RoutesConfig, S as SPLTokenAmount, W as Wallet, m as moneySchema } from '../middleware-DfreTyXz.mjs';
|
|
3
|
+
export { C as ChainIdToNetwork, E as EvmNetworkToChainId, N as Network, a as NetworkSchema, S as SupportedEVMNetworks, b as SupportedSVMNetworks, c as SvmNetworkToChainId } from '../network-CyrdLXOd.mjs';
|
|
4
|
+
export { C as ConnectedClient, M as MultiNetworkSigner, S as Signer, c as createConnectedClient, a as createSigner, i as isEvmSignerWallet, d as isMultiNetworkSigner, b as isSvmSignerWallet } from '../wallet-C1nMdb77.mjs';
|
|
5
|
+
import { C as ChainConfig, T as TokenConfig, c as config } from '../config-DQqZLArn.mjs';
|
|
6
|
+
import { C as ConnectedClient, E as EvmSigner, S as SignerWallet, c as createClientAvalancheFuji, a as createClientSepolia, b as createConnectedClient, d as createSigner, e as createSignerAvalancheFuji, f as createSignerSepolia, g as filecoin, h as filecoinCalibration, i as getChainFromNetwork, j as isAccount, k as isSignerWallet, s as skaleBaseSepolia, x as xLayer, l as xLayerTestnet } from '../wallet-DCeIaUzf.mjs';
|
|
7
|
+
import { S as SettleResponse } from '../x402Specs-D-jpKgOf.mjs';
|
|
8
|
+
export { o as DiscoveredResource, D as DiscoveredResourceSchema, b as ErrorReasons, g as ExactEvmPayload, e as ExactEvmPayloadAuthorization, d as ExactEvmPayloadAuthorizationSchema, f as ExactEvmPayloadSchema, E as ExactSvmPayload, h as ExactSvmPayloadSchema, m as HTTPRequestStructure, l as HTTPRequestStructureSchema, H as HTTPVerbs, w as ListDiscoveryResourcesRequest, L as ListDiscoveryResourcesRequestSchema, z as ListDiscoveryResourcesResponse, y as ListDiscoveryResourcesResponseSchema, a as PaymentPayload, i as PaymentPayloadSchema, P as PaymentRequirements, c as PaymentRequirementsSchema, n as RequestStructure, R as RequestStructureSchema, q as SettleRequest, p as SettleRequestSchema, v as SettleResponseSchema, B as SupportedPaymentKind, A as SupportedPaymentKindSchema, F as SupportedPaymentKindsResponse, C as SupportedPaymentKindsResponseSchema, U as UnsignedPaymentPayload, r as VerifyRequest, V as VerifyRequestSchema, u as VerifyResponse, t as VerifyResponseSchema, s as schemes, k as x402Response, j as x402ResponseSchema, x as x402Versions } from '../x402Specs-D-jpKgOf.mjs';
|
|
9
9
|
import { z } from 'zod';
|
|
10
10
|
import '../wallet-BTqCm9Zp.mjs';
|
|
11
11
|
import '@solana/kit';
|
|
@@ -31,7 +31,7 @@ declare const facilitatorRequestSchema: z.ZodObject<{
|
|
|
31
31
|
description: string;
|
|
32
32
|
asset: string;
|
|
33
33
|
maxAmountRequired: string;
|
|
34
|
-
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "
|
|
34
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "sepolia" | "ethereum" | "filecoin" | "filecoin-calibration" | "skale-base-sepolia" | "solana-devnet" | "solana";
|
|
35
35
|
resource: string;
|
|
36
36
|
mimeType: string;
|
|
37
37
|
payTo: string;
|
|
@@ -43,7 +43,7 @@ declare const facilitatorRequestSchema: z.ZodObject<{
|
|
|
43
43
|
description: string;
|
|
44
44
|
asset: string;
|
|
45
45
|
maxAmountRequired: string;
|
|
46
|
-
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "
|
|
46
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "sepolia" | "ethereum" | "filecoin" | "filecoin-calibration" | "skale-base-sepolia" | "solana-devnet" | "solana";
|
|
47
47
|
resource: string;
|
|
48
48
|
mimeType: string;
|
|
49
49
|
payTo: string;
|
|
@@ -57,7 +57,7 @@ declare const facilitatorRequestSchema: z.ZodObject<{
|
|
|
57
57
|
description: string;
|
|
58
58
|
asset: string;
|
|
59
59
|
maxAmountRequired: string;
|
|
60
|
-
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "
|
|
60
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "sepolia" | "ethereum" | "filecoin" | "filecoin-calibration" | "skale-base-sepolia" | "solana-devnet" | "solana";
|
|
61
61
|
resource: string;
|
|
62
62
|
mimeType: string;
|
|
63
63
|
payTo: string;
|
|
@@ -72,7 +72,7 @@ declare const facilitatorRequestSchema: z.ZodObject<{
|
|
|
72
72
|
description: string;
|
|
73
73
|
asset: string;
|
|
74
74
|
maxAmountRequired: string;
|
|
75
|
-
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "
|
|
75
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "x-layer" | "x-layer-testnet" | "sepolia" | "ethereum" | "filecoin" | "filecoin-calibration" | "skale-base-sepolia" | "solana-devnet" | "solana";
|
|
76
76
|
resource: string;
|
|
77
77
|
mimeType: string;
|
|
78
78
|
payTo: string;
|
|
@@ -1195,14 +1195,17 @@ declare const index$1_createConnectedClient: typeof createConnectedClient;
|
|
|
1195
1195
|
declare const index$1_createSigner: typeof createSigner;
|
|
1196
1196
|
declare const index$1_createSignerAvalancheFuji: typeof createSignerAvalancheFuji;
|
|
1197
1197
|
declare const index$1_createSignerSepolia: typeof createSignerSepolia;
|
|
1198
|
+
declare const index$1_filecoin: typeof filecoin;
|
|
1199
|
+
declare const index$1_filecoinCalibration: typeof filecoinCalibration;
|
|
1198
1200
|
declare const index$1_getChainFromNetwork: typeof getChainFromNetwork;
|
|
1199
1201
|
declare const index$1_isAccount: typeof isAccount;
|
|
1200
1202
|
declare const index$1_isSignerWallet: typeof isSignerWallet;
|
|
1203
|
+
declare const index$1_skaleBaseSepolia: typeof skaleBaseSepolia;
|
|
1201
1204
|
declare const index$1_usdcABI: typeof usdcABI;
|
|
1202
1205
|
declare const index$1_xLayer: typeof xLayer;
|
|
1203
1206
|
declare const index$1_xLayerTestnet: typeof xLayerTestnet;
|
|
1204
1207
|
declare namespace index$1 {
|
|
1205
|
-
export { index$1_ChainConfig as ChainConfig, index$1_ConnectedClient as ConnectedClient, index$1_EvmSigner as EvmSigner, index$1_SignerWallet as SignerWallet, index$1_TokenConfig as TokenConfig, index$1_authorizationPrimaryType as authorizationPrimaryType, index$1_authorizationTypes as authorizationTypes, index$1_config as config, index$1_createClientAvalancheFuji as createClientAvalancheFuji, index$1_createClientSepolia as createClientSepolia, index$1_createConnectedClient as createConnectedClient, index$1_createSigner as createSigner, index$1_createSignerAvalancheFuji as createSignerAvalancheFuji, index$1_createSignerSepolia as createSignerSepolia, index$1_getChainFromNetwork as getChainFromNetwork, index$1_isAccount as isAccount, index$1_isSignerWallet as isSignerWallet, index$1_usdcABI as usdcABI, index$1_xLayer as xLayer, index$1_xLayerTestnet as xLayerTestnet };
|
|
1208
|
+
export { index$1_ChainConfig as ChainConfig, index$1_ConnectedClient as ConnectedClient, index$1_EvmSigner as EvmSigner, index$1_SignerWallet as SignerWallet, index$1_TokenConfig as TokenConfig, index$1_authorizationPrimaryType as authorizationPrimaryType, index$1_authorizationTypes as authorizationTypes, index$1_config as config, index$1_createClientAvalancheFuji as createClientAvalancheFuji, index$1_createClientSepolia as createClientSepolia, index$1_createConnectedClient as createConnectedClient, index$1_createSigner as createSigner, index$1_createSignerAvalancheFuji as createSignerAvalancheFuji, index$1_createSignerSepolia as createSignerSepolia, index$1_filecoin as filecoin, index$1_filecoinCalibration as filecoinCalibration, index$1_getChainFromNetwork as getChainFromNetwork, index$1_isAccount as isAccount, index$1_isSignerWallet as isSignerWallet, index$1_skaleBaseSepolia as skaleBaseSepolia, index$1_usdcABI as usdcABI, index$1_xLayer as xLayer, index$1_xLayerTestnet as xLayerTestnet };
|
|
1206
1209
|
}
|
|
1207
1210
|
|
|
1208
1211
|
declare const SvmAddressRegex: RegExp;
|
package/dist/esm/types/index.mjs
CHANGED
|
@@ -36,9 +36,9 @@ import {
|
|
|
36
36
|
svm_exports,
|
|
37
37
|
x402ResponseSchema,
|
|
38
38
|
x402Versions
|
|
39
|
-
} from "../chunk-
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
39
|
+
} from "../chunk-TIZQRIY5.mjs";
|
|
40
|
+
import "../chunk-44TQ5MM2.mjs";
|
|
41
|
+
import "../chunk-ERV4RZ7U.mjs";
|
|
42
42
|
export {
|
|
43
43
|
ChainIdToNetwork,
|
|
44
44
|
DiscoveredResourceSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { C as CreateHeaders, l as list, s as settle, f as supported, u as useFacilitator, v as verify } from '../middleware-
|
|
1
|
+
export { C as CreateHeaders, l as list, s as settle, f as supported, u as useFacilitator, v as verify } from '../middleware-DfreTyXz.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../network-
|
|
4
|
-
import '../wallet-
|
|
3
|
+
import '../network-CyrdLXOd.mjs';
|
|
4
|
+
import '../wallet-DCeIaUzf.mjs';
|
|
5
5
|
import 'viem';
|
|
6
6
|
import 'viem/chains';
|
|
7
|
-
import '../x402Specs-
|
|
7
|
+
import '../x402Specs-D-jpKgOf.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toJsonSafe
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-TIZQRIY5.mjs";
|
|
4
|
+
import "../chunk-44TQ5MM2.mjs";
|
|
5
|
+
import "../chunk-ERV4RZ7U.mjs";
|
|
6
6
|
|
|
7
7
|
// src/verify/useFacilitator.ts
|
|
8
8
|
var DEFAULT_FACILITATOR_URL = "https://x402.org/facilitator";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as EvmSigner, C as ConnectedClient$1 } from './wallet-
|
|
1
|
+
import { E as EvmSigner, C as ConnectedClient$1 } from './wallet-DCeIaUzf.mjs';
|
|
2
2
|
import { S as SvmSigner, a as SvmConnectedClient } from './wallet-BTqCm9Zp.mjs';
|
|
3
3
|
import { Hex } from 'viem';
|
|
4
4
|
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import * as viem from 'viem';
|
|
2
|
+
import { Chain, Transport, Account, Client, RpcSchema, PublicActions, WalletActions, LocalAccount, PublicClient, Hex } from 'viem';
|
|
3
|
+
import { baseSepolia, avalancheFuji } from 'viem/chains';
|
|
4
|
+
|
|
5
|
+
declare const xLayer: {
|
|
6
|
+
blockExplorers: {
|
|
7
|
+
readonly default: {
|
|
8
|
+
readonly name: "OKLink";
|
|
9
|
+
readonly url: "https://www.oklink.com/xlayer";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
blockTime?: number | undefined | undefined;
|
|
13
|
+
contracts?: {
|
|
14
|
+
[x: string]: viem.ChainContract | {
|
|
15
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
18
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
19
|
+
multicall3?: viem.ChainContract | undefined;
|
|
20
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
21
|
+
} | undefined;
|
|
22
|
+
ensTlds?: readonly string[] | undefined;
|
|
23
|
+
id: 196;
|
|
24
|
+
name: "X Layer";
|
|
25
|
+
nativeCurrency: {
|
|
26
|
+
readonly name: "OKB";
|
|
27
|
+
readonly symbol: "OKB";
|
|
28
|
+
readonly decimals: 18;
|
|
29
|
+
};
|
|
30
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
31
|
+
rpcUrls: {
|
|
32
|
+
readonly default: {
|
|
33
|
+
readonly http: readonly ["https://rpc.xlayer.tech"];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
sourceId?: number | undefined | undefined;
|
|
37
|
+
testnet?: boolean | undefined | undefined;
|
|
38
|
+
custom?: Record<string, unknown> | undefined;
|
|
39
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
40
|
+
formatters?: undefined;
|
|
41
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
42
|
+
};
|
|
43
|
+
declare const xLayerTestnet: {
|
|
44
|
+
blockExplorers: {
|
|
45
|
+
readonly default: {
|
|
46
|
+
readonly name: "OKLink";
|
|
47
|
+
readonly url: "https://www.oklink.com/xlayer-test";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
blockTime?: number | undefined | undefined;
|
|
51
|
+
contracts?: {
|
|
52
|
+
[x: string]: viem.ChainContract | {
|
|
53
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
56
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
57
|
+
multicall3?: viem.ChainContract | undefined;
|
|
58
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
ensTlds?: readonly string[] | undefined;
|
|
61
|
+
id: 1952;
|
|
62
|
+
name: "X Layer Testnet";
|
|
63
|
+
nativeCurrency: {
|
|
64
|
+
readonly name: "OKB";
|
|
65
|
+
readonly symbol: "OKB";
|
|
66
|
+
readonly decimals: 18;
|
|
67
|
+
};
|
|
68
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
69
|
+
rpcUrls: {
|
|
70
|
+
readonly default: {
|
|
71
|
+
readonly http: readonly ["https://testrpc.xlayer.tech/terigon"];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
sourceId?: number | undefined | undefined;
|
|
75
|
+
testnet: true;
|
|
76
|
+
custom?: Record<string, unknown> | undefined;
|
|
77
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
78
|
+
formatters?: undefined;
|
|
79
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
80
|
+
};
|
|
81
|
+
declare const filecoin: {
|
|
82
|
+
blockExplorers: {
|
|
83
|
+
readonly default: {
|
|
84
|
+
readonly name: "Filfox";
|
|
85
|
+
readonly url: "https://filfox.info";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
blockTime?: number | undefined | undefined;
|
|
89
|
+
contracts?: {
|
|
90
|
+
[x: string]: viem.ChainContract | {
|
|
91
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
94
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
95
|
+
multicall3?: viem.ChainContract | undefined;
|
|
96
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
ensTlds?: readonly string[] | undefined;
|
|
99
|
+
id: 314;
|
|
100
|
+
name: "Filecoin";
|
|
101
|
+
nativeCurrency: {
|
|
102
|
+
readonly name: "Filecoin";
|
|
103
|
+
readonly symbol: "FIL";
|
|
104
|
+
readonly decimals: 18;
|
|
105
|
+
};
|
|
106
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
107
|
+
rpcUrls: {
|
|
108
|
+
readonly default: {
|
|
109
|
+
readonly http: readonly ["https://api.node.glif.io/rpc/v1"];
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
sourceId?: number | undefined | undefined;
|
|
113
|
+
testnet?: boolean | undefined | undefined;
|
|
114
|
+
custom?: Record<string, unknown> | undefined;
|
|
115
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
116
|
+
formatters?: undefined;
|
|
117
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
118
|
+
};
|
|
119
|
+
declare const filecoinCalibration: {
|
|
120
|
+
blockExplorers: {
|
|
121
|
+
readonly default: {
|
|
122
|
+
readonly name: "Filfox";
|
|
123
|
+
readonly url: "https://calibration.filfox.info";
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
blockTime?: number | undefined | undefined;
|
|
127
|
+
contracts?: {
|
|
128
|
+
[x: string]: viem.ChainContract | {
|
|
129
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
132
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
133
|
+
multicall3?: viem.ChainContract | undefined;
|
|
134
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
ensTlds?: readonly string[] | undefined;
|
|
137
|
+
id: 314159;
|
|
138
|
+
name: "Filecoin Calibration";
|
|
139
|
+
nativeCurrency: {
|
|
140
|
+
readonly name: "Filecoin";
|
|
141
|
+
readonly symbol: "FIL";
|
|
142
|
+
readonly decimals: 18;
|
|
143
|
+
};
|
|
144
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
145
|
+
rpcUrls: {
|
|
146
|
+
readonly default: {
|
|
147
|
+
readonly http: readonly ["https://api.calibration.node.glif.io/rpc/v1"];
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
sourceId?: number | undefined | undefined;
|
|
151
|
+
testnet: true;
|
|
152
|
+
custom?: Record<string, unknown> | undefined;
|
|
153
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
154
|
+
formatters?: undefined;
|
|
155
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
156
|
+
};
|
|
157
|
+
declare const skaleBaseSepolia: {
|
|
158
|
+
blockExplorers: {
|
|
159
|
+
readonly default: {
|
|
160
|
+
readonly name: "SKALE Explorer";
|
|
161
|
+
readonly url: "https://elated-tan-skat.explorer.mainnet.skalenodes.com";
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
blockTime?: number | undefined | undefined;
|
|
165
|
+
contracts?: {
|
|
166
|
+
[x: string]: viem.ChainContract | {
|
|
167
|
+
[sourceId: number]: viem.ChainContract | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
ensRegistry?: viem.ChainContract | undefined;
|
|
170
|
+
ensUniversalResolver?: viem.ChainContract | undefined;
|
|
171
|
+
multicall3?: viem.ChainContract | undefined;
|
|
172
|
+
erc6492Verifier?: viem.ChainContract | undefined;
|
|
173
|
+
} | undefined;
|
|
174
|
+
ensTlds?: readonly string[] | undefined;
|
|
175
|
+
id: 324705682;
|
|
176
|
+
name: "SKALE Base Sepolia";
|
|
177
|
+
nativeCurrency: {
|
|
178
|
+
readonly name: "Ether";
|
|
179
|
+
readonly symbol: "ETH";
|
|
180
|
+
readonly decimals: 18;
|
|
181
|
+
};
|
|
182
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
183
|
+
rpcUrls: {
|
|
184
|
+
readonly default: {
|
|
185
|
+
readonly http: readonly ["https://mainnet.skalenodes.com/v1/elated-tan-skat"];
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
sourceId?: number | undefined | undefined;
|
|
189
|
+
testnet: true;
|
|
190
|
+
custom?: Record<string, unknown> | undefined;
|
|
191
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
192
|
+
formatters?: undefined;
|
|
193
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
194
|
+
};
|
|
195
|
+
type SignerWallet<chain extends Chain = Chain, transport extends Transport = Transport, account extends Account = Account> = Client<transport, chain, account, RpcSchema, PublicActions<transport, chain, account> & WalletActions<chain, account>>;
|
|
196
|
+
type ConnectedClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain, account extends Account | undefined = undefined> = PublicClient<transport, chain, account>;
|
|
197
|
+
type EvmSigner = SignerWallet<Chain, Transport, Account> | LocalAccount;
|
|
198
|
+
/**
|
|
199
|
+
* Creates a public client configured for the specified network
|
|
200
|
+
*
|
|
201
|
+
* @param network - The network to connect to
|
|
202
|
+
* @returns A public client instance connected to the specified chain
|
|
203
|
+
*/
|
|
204
|
+
declare function createConnectedClient(network: string): ConnectedClient<Transport, Chain, undefined>;
|
|
205
|
+
/**
|
|
206
|
+
* Creates a public client configured for the Base Sepolia testnet
|
|
207
|
+
*
|
|
208
|
+
* @deprecated Use `createConnectedClient("base-sepolia")` instead
|
|
209
|
+
* @returns A public client instance connected to Base Sepolia
|
|
210
|
+
*/
|
|
211
|
+
declare function createClientSepolia(): ConnectedClient<Transport, typeof baseSepolia, undefined>;
|
|
212
|
+
/**
|
|
213
|
+
* Creates a public client configured for the Avalanche Fuji testnet
|
|
214
|
+
*
|
|
215
|
+
* @deprecated Use `createConnectedClient("avalanche-fuji")` instead
|
|
216
|
+
* @returns A public client instance connected to Avalanche Fuji
|
|
217
|
+
*/
|
|
218
|
+
declare function createClientAvalancheFuji(): ConnectedClient<Transport, typeof avalancheFuji, undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* Creates a wallet client configured for the specified chain with a private key
|
|
221
|
+
*
|
|
222
|
+
* @param network - The network to connect to
|
|
223
|
+
* @param privateKey - The private key to use for signing transactions
|
|
224
|
+
* @returns A wallet client instance connected to the specified chain with the provided private key
|
|
225
|
+
*/
|
|
226
|
+
declare function createSigner(network: string, privateKey: Hex): SignerWallet<Chain>;
|
|
227
|
+
/**
|
|
228
|
+
* Creates a wallet client configured for the Base Sepolia testnet with a private key
|
|
229
|
+
*
|
|
230
|
+
* @deprecated Use `createSigner("base-sepolia", privateKey)` instead
|
|
231
|
+
* @param privateKey - The private key to use for signing transactions
|
|
232
|
+
* @returns A wallet client instance connected to Base Sepolia with the provided private key
|
|
233
|
+
*/
|
|
234
|
+
declare function createSignerSepolia(privateKey: Hex): SignerWallet<typeof baseSepolia>;
|
|
235
|
+
/**
|
|
236
|
+
* Creates a wallet client configured for the Avalanche Fuji testnet with a private key
|
|
237
|
+
*
|
|
238
|
+
* @deprecated Use `createSigner("avalanche-fuji", privateKey)` instead
|
|
239
|
+
* @param privateKey - The private key to use for signing transactions
|
|
240
|
+
* @returns A wallet client instance connected to Avalanche Fuji with the provided private key
|
|
241
|
+
*/
|
|
242
|
+
declare function createSignerAvalancheFuji(privateKey: Hex): SignerWallet<typeof avalancheFuji>;
|
|
243
|
+
/**
|
|
244
|
+
* Checks if a wallet is a signer wallet
|
|
245
|
+
*
|
|
246
|
+
* @param wallet - The wallet to check
|
|
247
|
+
* @returns True if the wallet is a signer wallet, false otherwise
|
|
248
|
+
*/
|
|
249
|
+
declare function isSignerWallet<TChain extends Chain = Chain, TTransport extends Transport = Transport, TAccount extends Account = Account>(wallet: SignerWallet<TChain, TTransport, TAccount> | LocalAccount): wallet is SignerWallet<TChain, TTransport, TAccount>;
|
|
250
|
+
/**
|
|
251
|
+
* Checks if a wallet is an account
|
|
252
|
+
*
|
|
253
|
+
* @param wallet - The wallet to check
|
|
254
|
+
* @returns True if the wallet is an account, false otherwise
|
|
255
|
+
*/
|
|
256
|
+
declare function isAccount<TChain extends Chain = Chain, TTransport extends Transport = Transport, TAccount extends Account = Account>(wallet: SignerWallet<TChain, TTransport, TAccount> | LocalAccount): wallet is LocalAccount;
|
|
257
|
+
/**
|
|
258
|
+
* Maps network strings to Chain objects
|
|
259
|
+
*
|
|
260
|
+
* @param network - The network string to convert to a Chain object
|
|
261
|
+
* @returns The corresponding Chain object
|
|
262
|
+
*/
|
|
263
|
+
declare function getChainFromNetwork(network: string | undefined): Chain;
|
|
264
|
+
|
|
265
|
+
export { type ConnectedClient as C, type EvmSigner as E, type SignerWallet as S, createClientSepolia as a, createConnectedClient as b, createClientAvalancheFuji as c, createSigner as d, createSignerAvalancheFuji as e, createSignerSepolia as f, filecoin as g, filecoinCalibration as h, getChainFromNetwork as i, isAccount as j, isSignerWallet as k, xLayerTestnet as l, skaleBaseSepolia as s, xLayer as x };
|