@t2000/sdk 10.32.0 → 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 -3
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +1 -3
- 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 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -3
- package/package.json +5 -2
- package/dist/browser.cjs.map +0 -1
- package/dist/browser.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/browser.cjs
CHANGED
|
@@ -1351,7 +1351,7 @@ function feeConfigArg(tx) {
|
|
|
1351
1351
|
});
|
|
1352
1352
|
}
|
|
1353
1353
|
var MAX_JOB_USDC = 50;
|
|
1354
|
-
var MIN_JOB_USDC = 0.
|
|
1354
|
+
var MIN_JOB_USDC = 0.01;
|
|
1355
1355
|
var MAX_REVIEW_WINDOW_MS = 2592e6;
|
|
1356
1356
|
var MAX_DELIVER_HORIZON_MS = 31536e6;
|
|
1357
1357
|
var JOB_STATES = [
|
|
@@ -1720,5 +1720,3 @@ exports.truncateAddress = truncateAddress;
|
|
|
1720
1720
|
exports.usdcToRaw = usdcToRaw;
|
|
1721
1721
|
exports.validateAddress = validateAddress;
|
|
1722
1722
|
exports.verifyJobForSeller = verifyJobForSeller;
|
|
1723
|
-
//# sourceMappingURL=browser.cjs.map
|
|
1724
|
-
//# sourceMappingURL=browser.cjs.map
|
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
|
@@ -1349,7 +1349,7 @@ function feeConfigArg(tx) {
|
|
|
1349
1349
|
});
|
|
1350
1350
|
}
|
|
1351
1351
|
var MAX_JOB_USDC = 50;
|
|
1352
|
-
var MIN_JOB_USDC = 0.
|
|
1352
|
+
var MIN_JOB_USDC = 0.01;
|
|
1353
1353
|
var MAX_REVIEW_WINDOW_MS = 2592e6;
|
|
1354
1354
|
var MAX_DELIVER_HORIZON_MS = 31536e6;
|
|
1355
1355
|
var JOB_STATES = [
|
|
@@ -1638,5 +1638,3 @@ async function getJobSpec(base, hash) {
|
|
|
1638
1638
|
init_token_registry();
|
|
1639
1639
|
|
|
1640
1640
|
export { A2A_ESCROW_FEE_CONFIG_ID, A2A_ESCROW_PACKAGE_ID, CLOCK_ID, COIN_REGISTRY, DEFAULT_ACTIVITY_REPORT_URL, DEFAULT_COMMERCE_API_BASE, DEFAULT_NETWORK, ETH_TYPE, GAS_RESERVE_MIN, IKA_TYPE, JOB_STATES, KNOWN_TARGETS, KeypairSigner, LABEL_PATTERNS, LOFI_TYPE, MANIFEST_TYPE, MAX_DELIVER_HORIZON_MS, MAX_JOB_USDC, MAX_REVIEW_WINDOW_MS, MIN_JOB_USDC, MIST_PER_SUI, NAVX_TYPE, OVERLAY_FEE_RATE, PREFLIGHT_MAX_AMOUNT, PREFLIGHT_OK, STABLE_ASSETS, SUI_DECIMALS, SUI_TYPE, SUPPORTED_ASSETS, T2000Error, T2000_OVERLAY_FEE_WALLET, TOKEN_MAP, USDC_DECIMALS, USDC_TYPE, USDE_TYPE, USDSUI_TYPE, USDT_TYPE, WAL_TYPE, WBTC_TYPE, ZkLoginSigner, buildCreateJobTx, buildDeliverJobTx, buildRefundJobTx, buildRejectJobTx, buildReleaseJobTx, buildSendTx, buildSwapTx, checkPositiveAmount, checkSuiAddress, classifyAction, classifyLabel, classifySendAsset, classifyTransaction, executeTx, extractAllUserLegs, extractTransferDetails, extractTxCommands, extractTxSender, fallbackLabel, fetchService, findSwapRoute, formatAssetAmount, formatSui, formatUsd, fromBase642 as fromBase64, getDecimals, getDecimalsForCoinType, getJob, getJobSpec, invalidSendAssetMessage, jobActionsFor, listServices, mapMoveAbortCode, mapWalletError, mistToSui, parseSuiRpcTx, payWithX402, preflightCreateJob, preflightFail, preflightPay, preflightSend, preflightSwap, putJobSpec, rawToStable, rawToUsdc, refineLendingLabel, reportX402Activity, resolveSymbol, resolveTokenType, stableToRaw, suiToMist, toBase64, truncateAddress, usdcToRaw, validateAddress, verifyJobForSeller };
|
|
1641
|
-
//# sourceMappingURL=browser.js.map
|
|
1642
|
-
//# sourceMappingURL=browser.js.map
|
|
@@ -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
|
@@ -3497,7 +3497,7 @@ function feeConfigArg2(tx) {
|
|
|
3497
3497
|
});
|
|
3498
3498
|
}
|
|
3499
3499
|
var MAX_JOB_USDC = 50;
|
|
3500
|
-
var MIN_JOB_USDC = 0.
|
|
3500
|
+
var MIN_JOB_USDC = 0.01;
|
|
3501
3501
|
var MAX_REVIEW_WINDOW_MS = 2592e6;
|
|
3502
3502
|
var MAX_DELIVER_HORIZON_MS = 31536e6;
|
|
3503
3503
|
var JOB_STATES = [
|
|
@@ -4580,5 +4580,3 @@ exports.verifyJobForSeller = verifyJobForSeller;
|
|
|
4580
4580
|
exports.verifyReceipt = verifyReceipt;
|
|
4581
4581
|
exports.walletExists = walletExists;
|
|
4582
4582
|
exports.writeLimitsFile = writeLimitsFile;
|
|
4583
|
-
//# sourceMappingURL=index.cjs.map
|
|
4584
|
-
//# sourceMappingURL=index.cjs.map
|
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
|
@@ -3491,7 +3491,7 @@ function feeConfigArg2(tx) {
|
|
|
3491
3491
|
});
|
|
3492
3492
|
}
|
|
3493
3493
|
var MAX_JOB_USDC = 50;
|
|
3494
|
-
var MIN_JOB_USDC = 0.
|
|
3494
|
+
var MIN_JOB_USDC = 0.01;
|
|
3495
3495
|
var MAX_REVIEW_WINDOW_MS = 2592e6;
|
|
3496
3496
|
var MAX_DELIVER_HORIZON_MS = 31536e6;
|
|
3497
3497
|
var JOB_STATES = [
|
|
@@ -4390,5 +4390,3 @@ function displayHandle(label, parentName = AUDRIC_PARENT_NAME) {
|
|
|
4390
4390
|
init_preflight();
|
|
4391
4391
|
|
|
4392
4392
|
export { A2A_ESCROW_FEE_CONFIG_ID, A2A_ESCROW_LATEST_PACKAGE_ID, A2A_ESCROW_OPENING_PACKAGE_ID, A2A_ESCROW_PACKAGE_ID, A2A_ESCROW_PACKAGE_V2_ID, A2A_ESCROW_PACKAGE_V3_ID, AUDRIC_PARENT, AUDRIC_PARENT_NAME, AUDRIC_PARENT_NFT_ID, CETUS_USDC_SUI_POOL, CLOCK_ID, COIN_REGISTRY, DEFAULT_ACTIVITY_REPORT_URL, DEFAULT_API_BASE, DEFAULT_COMMERCE_API_BASE, DEFAULT_GRPC_URL, DEFAULT_NETWORK, ESCROW_JOB_TYPE_MARKER, ETH_TYPE, GASLESS_MIN_STABLE_AMOUNT, GASLESS_STABLE_TYPES, GAS_RESERVE_MIN, IKA_TYPE, InvalidAddressError, JOB_STATES, KNOWN_TARGETS, KeypairSigner, LABEL_PATTERNS, LOFI_TYPE, LimitEnforcer, LimitExceededError, MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID, MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID, MAINNET_A2A_ESCROW_PACKAGE_ID, MANIFEST_TYPE, MAX_DELIVER_HORIZON_MS, MAX_JOB_USDC, MAX_OPEN_WINDOW_MS, MAX_REVIEW_WINDOW_MS, MIN_JOB_USDC, MIST_PER_SUI, NAVX_TYPE, OPENING_CLAIM_POLICY_ANY_ACTIVE, OPENING_TYPE_MARKER, OPERATION_ASSETS, OVERLAY_FEE_RATE, PREFLIGHT_MAX_AMOUNT, PREFLIGHT_OK, SENDABLE_ASSETS, SPONSORED_PYTH_DEPENDENT_PROVIDERS, STABLE_ASSETS, SUINS_NAME_REGEX, SUI_ADDRESS_REGEX, SUI_ADDRESS_STRICT_REGEX, SUI_DECIMALS, SUI_TYPE, SUPPORTED_ASSETS, SuinsNotRegisteredError, SuinsRpcError, T2000, T2000Error, T2000_OVERLAY_FEE_WALLET, TOKEN_MAP, USDC_DECIMALS, USDC_TYPE, USDE_TYPE, USDSUI_TYPE, USDT_TYPE, WAL_TYPE, WBTC_TYPE, WRITE_APPENDER_REGISTRY, ZkLoginSigner, addSendToTx, addSwapToTx, approxUsdValue, assertAllowedAsset, assertBuyerRequirements, assertLimitConfig, buildAddLeafTx, buildCancelOpeningTx, buildClaimOpeningTx, buildCreateJobTx, buildCreateOpeningTx, buildDeclineJobTx, buildDeliverJobTx, buildRefundJobTx, buildRefundUnclaimedTx, buildRejectJobTx, buildReleaseJobTx, buildRevokeLeafTx, buildSendTx, buildSwapTx, cancelOpenJob, canonicalizeRecipientInput, chatCompletion, chatCompletionStream, checkPositiveAmount, checkSuiAddress, claimOpenJob, classifyAction, classifyLabel, classifySendAsset, classifyTransaction, clearLimits, composeTx, customHireEnvelope, dailySpentToday, deriveAllowedAddressesFromPtb, deserializeCetusRoute, displayHandle, executeTx, exportPrivateKey, extractAllUserLegs, extractTransferDetails, extractTxCommands, extractTxSender, fallbackLabel, fetchAllCoins, fetchService, findSwapRoute, formatAssetAmount, formatSui, formatUsd, fullHandle, generateKeypair, getAddress, getCoinMeta, getDecimals, getDecimalsForCoinType, getJob, getJobSpec, getLimits, getOpenJob, getOpening, getSponsoredSwapProviders, getSuiClient, getSuiGrpcClient, getSwapQuote, hasLimits, invalidSendAssetMessage, isAllowedAsset, isCetusRouteFresh, isCustomHireEnvelope, isInRegistry, jobActionsFor, keypairFromPrivateKey, listModels, listOpenJobs, listServices, loadKey, looksLikeSuiNs, mapMoveAbortCode, mapWalletError, mistToSui, normalizeAddressInput, normalizeAsset, normalizeCoinType, parseSuiRpcTx, payWithX402, postOpenJob, preflightCreateJob, preflightCreateOpening, preflightFail, preflightPay, preflightSend, preflightSwap, probeX402, putJobSpec, queryBalance, queryHistory, queryTransaction, rawToStable, rawToUsdc, readLimitsFile, recordDailySpend, refineLendingLabel, refundOpenJob, reportX402Activity, resolveAddressToSuinsViaRpc, resolveCreatedObjectId, resolveSuinsViaRpc, resolveSymbol, resolveTokenType, saveBech32, saveKey, selectAndSplitCoin, selectSuiCoin, serializeCetusRoute, setLimits, setSponsoredTxGuard, simulateTransaction, stableToRaw, suiToMist, throwIfSimulationFailed, truncateAddress, usdcToRaw, validateAddress, validateLabel, verifyCetusRouteCoinMatch, verifyJobForSeller, verifyReceipt, walletExists, writeLimitsFile };
|
|
4393
|
-
//# sourceMappingURL=index.js.map
|
|
4394
|
-
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2000/sdk",
|
|
3
|
-
"version": "10.32.
|
|
3
|
+
"version": "10.32.2",
|
|
4
|
+
"engines": {
|
|
5
|
+
"node": ">=20"
|
|
6
|
+
},
|
|
4
7
|
"description": "TypeScript SDK for Agent Wallets on Sui — gasless USDC + USDsui transfers, Cetus swap routing, NAVI lending (programmatic), MPP paid API access, zkLogin compatible.",
|
|
5
8
|
"type": "module",
|
|
6
9
|
"main": "./dist/index.cjs",
|
|
@@ -52,7 +55,7 @@
|
|
|
52
55
|
"@phala/dcap-qvl": "^0.5.2",
|
|
53
56
|
"bn.js": "^5.2.1",
|
|
54
57
|
"eventemitter3": "^5",
|
|
55
|
-
"@t2000/sui-x402": "10.32.
|
|
58
|
+
"@t2000/sui-x402": "10.32.2"
|
|
56
59
|
},
|
|
57
60
|
"devDependencies": {
|
|
58
61
|
"@types/bn.js": "^5.1.5",
|