@relai-fi/x402 0.6.3 → 0.6.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/README.md +276 -0
- package/dist/index.cjs +26057 -2270
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +26002 -2222
- package/dist/index.js.map +1 -1
- package/dist/mpp/evm-client.cjs +23686 -0
- package/dist/mpp/evm-client.cjs.map +1 -0
- package/dist/mpp/evm-client.d.cts +38 -0
- package/dist/mpp/evm-client.d.ts +38 -0
- package/dist/mpp/evm-client.js +23656 -0
- package/dist/mpp/evm-client.js.map +1 -0
- package/dist/mpp/evm-method.cjs +13184 -0
- package/dist/mpp/evm-method.cjs.map +1 -0
- package/dist/mpp/evm-method.d.cts +50 -0
- package/dist/mpp/evm-method.d.ts +50 -0
- package/dist/mpp/evm-method.js +13163 -0
- package/dist/mpp/evm-method.js.map +1 -0
- package/dist/mpp/evm-server.cjs +13708 -0
- package/dist/mpp/evm-server.cjs.map +1 -0
- package/dist/mpp/evm-server.d.cts +52 -0
- package/dist/mpp/evm-server.d.ts +52 -0
- package/dist/mpp/evm-server.js +13687 -0
- package/dist/mpp/evm-server.js.map +1 -0
- package/package.json +18 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,13 @@ export { RelayFeedbackConfig, submitRelayFeedback } from './relay-feedback.cjs';
|
|
|
4
4
|
export { A as AcceptsExtra, B as BASE_MAINNET_NETWORK, C as CAIP2_TO_NETWORK, b as CHAIN_IDS, E as EXPLORER_TX_URL, l as EvmWallet, N as NETWORK_CAIP2, e as NETWORK_LABELS, d as NETWORK_TOKENS, c as NetworkToken, P as PaymentAccept, o as PaymentRequired, R as RELAI_FACILITATOR_URL, h as RELAI_NETWORKS, a as RelaiNetwork, m as ResourceInfo, S as SOLANA_MAINNET_NETWORK, k as SolanaWallet, U as USDC_ADDRESSES, g as USDC_BASE, f as USDC_SOLANA, W as WalletSet, j as isEvm, i as isSolana, n as normalizeNetwork, r as resolveToken } from './types-Y9ni5XwY.cjs';
|
|
5
5
|
export { BridgeBalances, BridgeQuoteResult, BridgeResult } from './management.cjs';
|
|
6
6
|
export { NETWORK_V1_TO_V2, NETWORK_V2_TO_V1, convertPayloadToVersion, convertV1ToV2, convertV2ToV1, detectPayloadVersion, formatUsd, fromAtomicUnits, isEvmNetwork, isSolanaNetwork, networkV1ToV2, networkV2ToV1, normalizePaymentHeader, toAtomicUnits } from './utils/index.cjs';
|
|
7
|
+
export { charge as evmChargeMethod } from './mpp/evm-method.cjs';
|
|
8
|
+
export { EvmChargeConfig, evmCharge as evmChargeServer } from './mpp/evm-server.cjs';
|
|
9
|
+
export { EvmChargeClientConfig, evmCharge as evmChargeClient } from './mpp/evm-client.cjs';
|
|
10
|
+
import 'mppx';
|
|
11
|
+
import 'zod/v4/core';
|
|
12
|
+
import 'zod/mini';
|
|
13
|
+
import 'viem';
|
|
7
14
|
|
|
8
15
|
/**
|
|
9
16
|
* Payment Code API — BLIK-style x402 payment codes
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,13 @@ export { RelayFeedbackConfig, submitRelayFeedback } from './relay-feedback.js';
|
|
|
4
4
|
export { A as AcceptsExtra, B as BASE_MAINNET_NETWORK, C as CAIP2_TO_NETWORK, b as CHAIN_IDS, E as EXPLORER_TX_URL, l as EvmWallet, N as NETWORK_CAIP2, e as NETWORK_LABELS, d as NETWORK_TOKENS, c as NetworkToken, P as PaymentAccept, o as PaymentRequired, R as RELAI_FACILITATOR_URL, h as RELAI_NETWORKS, a as RelaiNetwork, m as ResourceInfo, S as SOLANA_MAINNET_NETWORK, k as SolanaWallet, U as USDC_ADDRESSES, g as USDC_BASE, f as USDC_SOLANA, W as WalletSet, j as isEvm, i as isSolana, n as normalizeNetwork, r as resolveToken } from './types-Y9ni5XwY.js';
|
|
5
5
|
export { BridgeBalances, BridgeQuoteResult, BridgeResult } from './management.js';
|
|
6
6
|
export { NETWORK_V1_TO_V2, NETWORK_V2_TO_V1, convertPayloadToVersion, convertV1ToV2, convertV2ToV1, detectPayloadVersion, formatUsd, fromAtomicUnits, isEvmNetwork, isSolanaNetwork, networkV1ToV2, networkV2ToV1, normalizePaymentHeader, toAtomicUnits } from './utils/index.js';
|
|
7
|
+
export { charge as evmChargeMethod } from './mpp/evm-method.js';
|
|
8
|
+
export { EvmChargeConfig, evmCharge as evmChargeServer } from './mpp/evm-server.js';
|
|
9
|
+
export { EvmChargeClientConfig, evmCharge as evmChargeClient } from './mpp/evm-client.js';
|
|
10
|
+
import 'mppx';
|
|
11
|
+
import 'zod/v4/core';
|
|
12
|
+
import 'zod/mini';
|
|
13
|
+
import 'viem';
|
|
7
14
|
|
|
8
15
|
/**
|
|
9
16
|
* Payment Code API — BLIK-style x402 payment codes
|