@t2000/sdk 10.32.1 → 10.32.2
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/browser.cjs +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -1
- package/dist/{commerce-DCLIDCx5.d.cts → commerce-CiewZ7vq.d.cts} +8 -5
- package/dist/{commerce-DCLIDCx5.d.ts → commerce-CiewZ7vq.d.ts} +8 -5
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/browser.cjs
CHANGED
package/dist/browser.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, B as BalanceResponse, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, h as DEFAULT_NETWORK, i as DepositInfo, E as ETH_TYPE, j as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, O as OVERLAY_FEE_RATE, v as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, x as PayOptions, y as PayResult, z as PreflightResult, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, R as SendAssetClass, T as SendResult, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, Z as SupportedAsset, _ as SwapRouteResult, $ as T2000Error, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a5 as TransactionRecord, a6 as TransactionSigner, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ag as ZkLoginProof, ah as ZkLoginSigner, ai as buildCreateJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, aK as invalidSendAssetMessage, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, aX as putJobSpec, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, b2 as stableToRaw, b3 as suiToMist, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, b7 as verifyJobForSeller } from './commerce-
|
|
1
|
+
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, B as BalanceResponse, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, h as DEFAULT_NETWORK, i as DepositInfo, E as ETH_TYPE, j as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, O as OVERLAY_FEE_RATE, v as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, x as PayOptions, y as PayResult, z as PreflightResult, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, R as SendAssetClass, T as SendResult, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, Z as SupportedAsset, _ as SwapRouteResult, $ as T2000Error, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a5 as TransactionRecord, a6 as TransactionSigner, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ag as ZkLoginProof, ah as ZkLoginSigner, ai as buildCreateJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, aK as invalidSendAssetMessage, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, aX as putJobSpec, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, b2 as stableToRaw, b3 as suiToMist, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, b7 as verifyJobForSeller } from './commerce-CiewZ7vq.cjs';
|
|
2
2
|
import '@mysten/sui/keypairs/ed25519';
|
|
3
3
|
import '@mysten/sui/grpc';
|
|
4
4
|
import '@mysten/sui/client';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, B as BalanceResponse, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, h as DEFAULT_NETWORK, i as DepositInfo, E as ETH_TYPE, j as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, O as OVERLAY_FEE_RATE, v as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, x as PayOptions, y as PayResult, z as PreflightResult, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, R as SendAssetClass, T as SendResult, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, Z as SupportedAsset, _ as SwapRouteResult, $ as T2000Error, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a5 as TransactionRecord, a6 as TransactionSigner, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ag as ZkLoginProof, ah as ZkLoginSigner, ai as buildCreateJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, aK as invalidSendAssetMessage, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, aX as putJobSpec, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, b2 as stableToRaw, b3 as suiToMist, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, b7 as verifyJobForSeller } from './commerce-
|
|
1
|
+
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, B as BalanceResponse, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, h as DEFAULT_NETWORK, i as DepositInfo, E as ETH_TYPE, j as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, O as OVERLAY_FEE_RATE, v as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, x as PayOptions, y as PayResult, z as PreflightResult, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, R as SendAssetClass, T as SendResult, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, Z as SupportedAsset, _ as SwapRouteResult, $ as T2000Error, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a5 as TransactionRecord, a6 as TransactionSigner, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ag as ZkLoginProof, ah as ZkLoginSigner, ai as buildCreateJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, aK as invalidSendAssetMessage, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, aX as putJobSpec, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, b2 as stableToRaw, b3 as suiToMist, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, b7 as verifyJobForSeller } from './commerce-CiewZ7vq.js';
|
|
2
2
|
import '@mysten/sui/keypairs/ed25519';
|
|
3
3
|
import '@mysten/sui/grpc';
|
|
4
4
|
import '@mysten/sui/client';
|
package/dist/browser.js
CHANGED
|
@@ -1496,11 +1496,14 @@ declare const A2A_ESCROW_FEE_CONFIG_ID: string;
|
|
|
1496
1496
|
* incentivized to game it (SPEC_A2A_ESCROW §2). On-chain since the S.981
|
|
1497
1497
|
* v4 upgrade (`MAX_JOB_AMOUNT_DEFAULT`, AdminCap-tunable ≤ 100 USDC). */
|
|
1498
1498
|
declare const MAX_JOB_USDC = 50;
|
|
1499
|
-
/** Job-value floor in USDC
|
|
1500
|
-
*
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1503
|
-
|
|
1499
|
+
/** Job-value floor in USDC — the CURRENT contract-configured minimum, not an
|
|
1500
|
+
* immutable code fact (S.1053, founder 2026-08-15: one-cent micro-work).
|
|
1501
|
+
* On-chain SSOT is the live `FeeConfig` min-amount DF (AdminCap
|
|
1502
|
+
* `set_min_job_amount`, package hard floor 0.01); this mirror is the
|
|
1503
|
+
* preflight's human error, and an admin retune between releases surfaces
|
|
1504
|
+
* as the on-chain abort instead. Every consumer (CLI, console, Connect)
|
|
1505
|
+
* must import this — never copy the number. */
|
|
1506
|
+
declare const MIN_JOB_USDC = 0.01;
|
|
1504
1507
|
/** Contract-enforced create bounds (mirror `escrow.move` — the caps that
|
|
1505
1508
|
* close the v1 unbounded-window overflow lock). */
|
|
1506
1509
|
declare const MAX_REVIEW_WINDOW_MS = 2592000000;
|
|
@@ -1496,11 +1496,14 @@ declare const A2A_ESCROW_FEE_CONFIG_ID: string;
|
|
|
1496
1496
|
* incentivized to game it (SPEC_A2A_ESCROW §2). On-chain since the S.981
|
|
1497
1497
|
* v4 upgrade (`MAX_JOB_AMOUNT_DEFAULT`, AdminCap-tunable ≤ 100 USDC). */
|
|
1498
1498
|
declare const MAX_JOB_USDC = 50;
|
|
1499
|
-
/** Job-value floor in USDC
|
|
1500
|
-
*
|
|
1501
|
-
*
|
|
1502
|
-
*
|
|
1503
|
-
|
|
1499
|
+
/** Job-value floor in USDC — the CURRENT contract-configured minimum, not an
|
|
1500
|
+
* immutable code fact (S.1053, founder 2026-08-15: one-cent micro-work).
|
|
1501
|
+
* On-chain SSOT is the live `FeeConfig` min-amount DF (AdminCap
|
|
1502
|
+
* `set_min_job_amount`, package hard floor 0.01); this mirror is the
|
|
1503
|
+
* preflight's human error, and an admin retune between releases surfaces
|
|
1504
|
+
* as the on-chain abort instead. Every consumer (CLI, console, Connect)
|
|
1505
|
+
* must import this — never copy the number. */
|
|
1506
|
+
declare const MIN_JOB_USDC = 0.01;
|
|
1504
1507
|
/** Contract-enforced create bounds (mirror `escrow.move` — the caps that
|
|
1505
1508
|
* close the v1 unbounded-window overflow lock). */
|
|
1506
1509
|
declare const MAX_REVIEW_WINDOW_MS = 2592000000;
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from 'eventemitter3';
|
|
2
2
|
import { SuiGrpcClient } from '@mysten/sui/grpc';
|
|
3
3
|
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519';
|
|
4
|
-
import { $ as T2000Error, b8 as T2000Options, a6 as TransactionSigner, x as PayOptions, b9 as X402Probe, y as PayResult, ba as SerializedCetusRoute, bb as SwapResult, bc as SwapQuoteResult, T as SendResult, B as BalanceResponse, a5 as TransactionRecord, i as DepositInfo, bd as PaymentRequest, ag as ZkLoginProof, be as SuiCoreClient, v as OverlayFeeConfig, bf as SponsoredCoinMergeCache, Z as SupportedAsset, _ as SwapRouteResult, bg as SendableAsset } from './commerce-
|
|
5
|
-
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, bh as CETUS_USDC_SUI_POOL, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, bi as CoinPage, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, bj as DEFAULT_GRPC_URL, h as DEFAULT_NETWORK, E as ETH_TYPE, j as ExtractedTransfer, bk as GASLESS_MIN_STABLE_AMOUNT, bl as GASLESS_STABLE_TYPES, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, bm as MAINNET_A2A_ESCROW_PACKAGE_ID, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, bn as OPERATION_ASSETS, O as OVERLAY_FEE_RATE, bo as Operation, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, z as PreflightResult, bp as SENDABLE_ASSETS, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, bq as SelectAndSplitResult, R as SendAssetClass, br as SerializedCetusRoutePath, bs as SerializedRouterDataV3, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ah as ZkLoginSigner, bt as addSendToTx, bu as addSwapToTx, bv as assertAllowedAsset, bw as assertBuyerRequirements, ai as buildCreateJobTx, bx as buildDeclineJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, by as deserializeCetusRoute, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, bz as fetchAllCoins, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, bA as getCoinMeta, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, bB as getSuiClient, bC as getSuiGrpcClient, aK as invalidSendAssetMessage, bD as isAllowedAsset, bE as isCetusRouteFresh, bF as isInRegistry, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, bG as normalizeAsset, bH as normalizeCoinType, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, bI as probeX402, aX as putJobSpec, bJ as queryHistory, bK as queryTransaction, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, bL as selectAndSplitCoin, bM as selectSuiCoin, bN as serializeCetusRoute, bO as simulateTransaction, b2 as stableToRaw, b3 as suiToMist, bP as throwIfSimulationFailed, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, bQ as verifyCetusRouteCoinMatch, b7 as verifyJobForSeller } from './commerce-
|
|
4
|
+
import { $ as T2000Error, b8 as T2000Options, a6 as TransactionSigner, x as PayOptions, b9 as X402Probe, y as PayResult, ba as SerializedCetusRoute, bb as SwapResult, bc as SwapQuoteResult, T as SendResult, B as BalanceResponse, a5 as TransactionRecord, i as DepositInfo, bd as PaymentRequest, ag as ZkLoginProof, be as SuiCoreClient, v as OverlayFeeConfig, bf as SponsoredCoinMergeCache, Z as SupportedAsset, _ as SwapRouteResult, bg as SendableAsset } from './commerce-CiewZ7vq.cjs';
|
|
5
|
+
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, bh as CETUS_USDC_SUI_POOL, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, bi as CoinPage, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, bj as DEFAULT_GRPC_URL, h as DEFAULT_NETWORK, E as ETH_TYPE, j as ExtractedTransfer, bk as GASLESS_MIN_STABLE_AMOUNT, bl as GASLESS_STABLE_TYPES, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, bm as MAINNET_A2A_ESCROW_PACKAGE_ID, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, bn as OPERATION_ASSETS, O as OVERLAY_FEE_RATE, bo as Operation, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, z as PreflightResult, bp as SENDABLE_ASSETS, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, bq as SelectAndSplitResult, R as SendAssetClass, br as SerializedCetusRoutePath, bs as SerializedRouterDataV3, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ah as ZkLoginSigner, bt as addSendToTx, bu as addSwapToTx, bv as assertAllowedAsset, bw as assertBuyerRequirements, ai as buildCreateJobTx, bx as buildDeclineJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, by as deserializeCetusRoute, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, bz as fetchAllCoins, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, bA as getCoinMeta, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, bB as getSuiClient, bC as getSuiGrpcClient, aK as invalidSendAssetMessage, bD as isAllowedAsset, bE as isCetusRouteFresh, bF as isInRegistry, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, bG as normalizeAsset, bH as normalizeCoinType, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, bI as probeX402, aX as putJobSpec, bJ as queryHistory, bK as queryTransaction, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, bL as selectAndSplitCoin, bM as selectSuiCoin, bN as serializeCetusRoute, bO as simulateTransaction, b2 as stableToRaw, b3 as suiToMist, bP as throwIfSimulationFailed, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, bQ as verifyCetusRouteCoinMatch, b7 as verifyJobForSeller } from './commerce-CiewZ7vq.cjs';
|
|
6
6
|
import { Transaction, TransactionObjectArgument } from '@mysten/sui/transactions';
|
|
7
7
|
import { SuinsClient } from '@mysten/suins';
|
|
8
8
|
import '@mysten/sui/client';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from 'eventemitter3';
|
|
2
2
|
import { SuiGrpcClient } from '@mysten/sui/grpc';
|
|
3
3
|
import { Ed25519Keypair } from '@mysten/sui/keypairs/ed25519';
|
|
4
|
-
import { $ as T2000Error, b8 as T2000Options, a6 as TransactionSigner, x as PayOptions, b9 as X402Probe, y as PayResult, ba as SerializedCetusRoute, bb as SwapResult, bc as SwapQuoteResult, T as SendResult, B as BalanceResponse, a5 as TransactionRecord, i as DepositInfo, bd as PaymentRequest, ag as ZkLoginProof, be as SuiCoreClient, v as OverlayFeeConfig, bf as SponsoredCoinMergeCache, Z as SupportedAsset, _ as SwapRouteResult, bg as SendableAsset } from './commerce-
|
|
5
|
-
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, bh as CETUS_USDC_SUI_POOL, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, bi as CoinPage, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, bj as DEFAULT_GRPC_URL, h as DEFAULT_NETWORK, E as ETH_TYPE, j as ExtractedTransfer, bk as GASLESS_MIN_STABLE_AMOUNT, bl as GASLESS_STABLE_TYPES, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, bm as MAINNET_A2A_ESCROW_PACKAGE_ID, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, bn as OPERATION_ASSETS, O as OVERLAY_FEE_RATE, bo as Operation, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, z as PreflightResult, bp as SENDABLE_ASSETS, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, bq as SelectAndSplitResult, R as SendAssetClass, br as SerializedCetusRoutePath, bs as SerializedRouterDataV3, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ah as ZkLoginSigner, bt as addSendToTx, bu as addSwapToTx, bv as assertAllowedAsset, bw as assertBuyerRequirements, ai as buildCreateJobTx, bx as buildDeclineJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, by as deserializeCetusRoute, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, bz as fetchAllCoins, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, bA as getCoinMeta, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, bB as getSuiClient, bC as getSuiGrpcClient, aK as invalidSendAssetMessage, bD as isAllowedAsset, bE as isCetusRouteFresh, bF as isInRegistry, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, bG as normalizeAsset, bH as normalizeCoinType, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, bI as probeX402, aX as putJobSpec, bJ as queryHistory, bK as queryTransaction, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, bL as selectAndSplitCoin, bM as selectSuiCoin, bN as serializeCetusRoute, bO as simulateTransaction, b2 as stableToRaw, b3 as suiToMist, bP as throwIfSimulationFailed, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, bQ as verifyCetusRouteCoinMatch, b7 as verifyJobForSeller } from './commerce-
|
|
4
|
+
import { $ as T2000Error, b8 as T2000Options, a6 as TransactionSigner, x as PayOptions, b9 as X402Probe, y as PayResult, ba as SerializedCetusRoute, bb as SwapResult, bc as SwapQuoteResult, T as SendResult, B as BalanceResponse, a5 as TransactionRecord, i as DepositInfo, bd as PaymentRequest, ag as ZkLoginProof, be as SuiCoreClient, v as OverlayFeeConfig, bf as SponsoredCoinMergeCache, Z as SupportedAsset, _ as SwapRouteResult, bg as SendableAsset } from './commerce-CiewZ7vq.js';
|
|
5
|
+
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, bh as CETUS_USDC_SUI_POOL, C as CLOCK_ID, c as COIN_REGISTRY, d as ClassifyBalanceChange, e as ClassifyResult, f as CoinMeta, bi as CoinPage, D as DEFAULT_ACTIVITY_REPORT_URL, g as DEFAULT_COMMERCE_API_BASE, bj as DEFAULT_GRPC_URL, h as DEFAULT_NETWORK, E as ETH_TYPE, j as ExtractedTransfer, bk as GASLESS_MIN_STABLE_AMOUNT, bl as GASLESS_STABLE_TYPES, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, k as Job, l as JobState, m as JobTerms, n as JobVerification, K as KNOWN_TARGETS, o as KeypairSigner, L as LABEL_PATTERNS, p as LOFI_TYPE, bm as MAINNET_A2A_ESCROW_PACKAGE_ID, M as MANIFEST_TYPE, q as MAX_DELIVER_HORIZON_MS, r as MAX_JOB_USDC, s as MAX_REVIEW_WINDOW_MS, t as MIN_JOB_USDC, u as MIST_PER_SUI, N as NAVX_TYPE, bn as OPERATION_ASSETS, O as OVERLAY_FEE_RATE, bo as Operation, P as PREFLIGHT_MAX_AMOUNT, w as PREFLIGHT_OK, z as PreflightResult, bp as SENDABLE_ASSETS, S as STABLE_ASSETS, F as SUI_DECIMALS, H as SUI_TYPE, Q as SUPPORTED_ASSETS, bq as SelectAndSplitResult, R as SendAssetClass, br as SerializedCetusRoutePath, bs as SerializedRouterDataV3, U as ServiceListing, V as SimulationResult, W as StableAsset, X as SuiHolding, Y as SuiRpcTxBlock, a0 as T2000ErrorCode, a1 as T2000ErrorData, a2 as T2000_OVERLAY_FEE_WALLET, a3 as TOKEN_MAP, a4 as TransactionLeg, a7 as TxDirection, a8 as USDC_DECIMALS, a9 as USDC_TYPE, aa as USDE_TYPE, ab as USDSUI_TYPE, ac as USDT_TYPE, ad as WAL_TYPE, ae as WBTC_TYPE, af as X402ActivityPayload, ah as ZkLoginSigner, bt as addSendToTx, bu as addSwapToTx, bv as assertAllowedAsset, bw as assertBuyerRequirements, ai as buildCreateJobTx, bx as buildDeclineJobTx, aj as buildDeliverJobTx, ak as buildRefundJobTx, al as buildRejectJobTx, am as buildReleaseJobTx, an as buildSendTx, ao as buildSwapTx, ap as checkPositiveAmount, aq as checkSuiAddress, ar as classifyAction, as as classifyLabel, at as classifySendAsset, au as classifyTransaction, by as deserializeCetusRoute, av as executeTx, aw as extractAllUserLegs, ax as extractTransferDetails, ay as extractTxCommands, az as extractTxSender, aA as fallbackLabel, bz as fetchAllCoins, aB as fetchService, aC as findSwapRoute, aD as formatAssetAmount, aE as formatSui, aF as formatUsd, bA as getCoinMeta, aG as getDecimals, aH as getDecimalsForCoinType, aI as getJob, aJ as getJobSpec, bB as getSuiClient, bC as getSuiGrpcClient, aK as invalidSendAssetMessage, bD as isAllowedAsset, bE as isCetusRouteFresh, bF as isInRegistry, aL as jobActionsFor, aM as listServices, aN as mapMoveAbortCode, aO as mapWalletError, aP as mistToSui, bG as normalizeAsset, bH as normalizeCoinType, aQ as parseSuiRpcTx, aR as payWithX402, aS as preflightCreateJob, aT as preflightFail, aU as preflightPay, aV as preflightSend, aW as preflightSwap, bI as probeX402, aX as putJobSpec, bJ as queryHistory, bK as queryTransaction, aY as rawToStable, aZ as rawToUsdc, a_ as refineLendingLabel, a$ as reportX402Activity, b0 as resolveSymbol, b1 as resolveTokenType, bL as selectAndSplitCoin, bM as selectSuiCoin, bN as serializeCetusRoute, bO as simulateTransaction, b2 as stableToRaw, b3 as suiToMist, bP as throwIfSimulationFailed, b4 as truncateAddress, b5 as usdcToRaw, b6 as validateAddress, bQ as verifyCetusRouteCoinMatch, b7 as verifyJobForSeller } from './commerce-CiewZ7vq.js';
|
|
6
6
|
import { Transaction, TransactionObjectArgument } from '@mysten/sui/transactions';
|
|
7
7
|
import { SuinsClient } from '@mysten/suins';
|
|
8
8
|
import '@mysten/sui/client';
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2000/sdk",
|
|
3
|
-
"version": "10.32.
|
|
3
|
+
"version": "10.32.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20"
|
|
6
6
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@phala/dcap-qvl": "^0.5.2",
|
|
56
56
|
"bn.js": "^5.2.1",
|
|
57
57
|
"eventemitter3": "^5",
|
|
58
|
-
"@t2000/sui-x402": "10.32.
|
|
58
|
+
"@t2000/sui-x402": "10.32.2"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/bn.js": "^5.1.5",
|