@t2000/sdk 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.cjs +212 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +201 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +215 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +204 -1
- package/dist/index.js.map +1 -1
- package/dist/{send-YAYf0YR3.d.cts → job-CSq0DRsC.d.cts} +107 -1
- package/dist/{send-YAYf0YR3.d.ts → job-CSq0DRsC.d.ts} +107 -1
- package/package.json +1 -1
|
@@ -1369,4 +1369,110 @@ declare function buildSendTx({ client, address, to, amount, asset, }: {
|
|
|
1369
1369
|
*/
|
|
1370
1370
|
declare function addSendToTx(tx: Transaction, coin: TransactionObjectArgument, recipient: string): void;
|
|
1371
1371
|
|
|
1372
|
-
|
|
1372
|
+
/**
|
|
1373
|
+
* A2A Escrow — client for the `a2a_escrow::escrow` Move package
|
|
1374
|
+
* (SPEC_A2A_ESCROW, t2 Agents Phase 3).
|
|
1375
|
+
*
|
|
1376
|
+
* One shared `Job<USDC>` object per engagement; the escrow balance lives IN
|
|
1377
|
+
* the object (no treasury, no admin key). These builders construct UNSIGNED
|
|
1378
|
+
* transactions; the caller signs (buyer for create/release/reject, seller
|
|
1379
|
+
* for deliver, ANYONE for the two timeout cranks) and may sponsor gas — the
|
|
1380
|
+
* Move calls authorize on `ctx.sender()`, so sponsorship never weakens auth.
|
|
1381
|
+
*
|
|
1382
|
+
* Browser-safe (no fs / keyManager imports) so store surfaces can build the
|
|
1383
|
+
* buyer-side legs on a zkLogin session key.
|
|
1384
|
+
*
|
|
1385
|
+
* Deployed on Sui mainnet 2026-07-17. Override via env for testnet/dev.
|
|
1386
|
+
*/
|
|
1387
|
+
/** The published `a2a_escrow` package id (mainnet). */
|
|
1388
|
+
declare const A2A_ESCROW_PACKAGE_ID: string;
|
|
1389
|
+
/** v1 job-value cap in USDC — same instinct as the catalog price cap: the
|
|
1390
|
+
* no-arbitration reject-split is only fair at sizes where neither side is
|
|
1391
|
+
* incentivized to game it (SPEC_A2A_ESCROW §2). */
|
|
1392
|
+
declare const MAX_JOB_USDC = 50;
|
|
1393
|
+
/** Job lifecycle states, mirroring the Move constants. */
|
|
1394
|
+
declare const JOB_STATES: readonly ["funded", "delivered", "released", "refunded", "rejected"];
|
|
1395
|
+
type JobState = (typeof JOB_STATES)[number];
|
|
1396
|
+
interface JobTerms {
|
|
1397
|
+
/** The seller's wallet (the listing's payTo / claimed Agent ID wallet). */
|
|
1398
|
+
seller: string;
|
|
1399
|
+
/** Job value in display USDC (e.g. `5` = 5 USDC). ≤ `MAX_JOB_USDC`. */
|
|
1400
|
+
amountUsdc: number;
|
|
1401
|
+
/** Hash/commitment of the job spec (hex string, `0x…` or bare). */
|
|
1402
|
+
specHash: string;
|
|
1403
|
+
/** Epoch-ms deadline the seller must deliver by. */
|
|
1404
|
+
deliverByMs: number;
|
|
1405
|
+
/** Buyer's accept/reject window (ms) after delivery; lapse = release. */
|
|
1406
|
+
reviewWindowMs: number;
|
|
1407
|
+
/** Buyer's share in basis points on reject (0–10000). Fixed at create. */
|
|
1408
|
+
rejectSplitBps: number;
|
|
1409
|
+
}
|
|
1410
|
+
/** Parsed on-chain `Job` object. */
|
|
1411
|
+
interface Job {
|
|
1412
|
+
id: string;
|
|
1413
|
+
buyer: string;
|
|
1414
|
+
seller: string;
|
|
1415
|
+
/** Locked amount in display USDC (immutable record). */
|
|
1416
|
+
amountUsdc: number;
|
|
1417
|
+
/** What's still in the object — 0 after settlement. */
|
|
1418
|
+
escrowUsdc: number;
|
|
1419
|
+
specHash: string;
|
|
1420
|
+
deliverByMs: number;
|
|
1421
|
+
reviewWindowMs: number;
|
|
1422
|
+
rejectSplitBps: number;
|
|
1423
|
+
state: JobState;
|
|
1424
|
+
deliveryHash: string | null;
|
|
1425
|
+
deliveredAtMs: number | null;
|
|
1426
|
+
createdAtMs: number;
|
|
1427
|
+
}
|
|
1428
|
+
/**
|
|
1429
|
+
* Synchronous, network-free preflight for `create`. Terms sanity only —
|
|
1430
|
+
* the balance read happens in `buildCreateJobTx`.
|
|
1431
|
+
*/
|
|
1432
|
+
declare function preflightCreateJob(terms: JobTerms): PreflightResult;
|
|
1433
|
+
/**
|
|
1434
|
+
* Buyer creates AND funds a job in one PTB — `escrow::create` consumes a
|
|
1435
|
+
* `Coin<USDC>` sourced from the buyer's coins + address balance.
|
|
1436
|
+
*/
|
|
1437
|
+
declare function buildCreateJobTx({ client, buyer, terms, }: {
|
|
1438
|
+
client: SuiCoreClient;
|
|
1439
|
+
buyer: string;
|
|
1440
|
+
terms: JobTerms;
|
|
1441
|
+
}): Promise<Transaction>;
|
|
1442
|
+
/** Seller posts the delivery commitment (hex hash) before the deadline. */
|
|
1443
|
+
declare function buildDeliverJobTx(jobId: string, deliveryHash: string): Transaction;
|
|
1444
|
+
/** Buyer accepts (or anyone, once the review window lapsed) → funds to seller. */
|
|
1445
|
+
declare function buildReleaseJobTx(jobId: string): Transaction;
|
|
1446
|
+
/** Buyer rejects within the review window → split per the create terms. */
|
|
1447
|
+
declare function buildRejectJobTx(jobId: string): Transaction;
|
|
1448
|
+
/** Anyone, after the deadline with no delivery → funds back to the buyer. */
|
|
1449
|
+
declare function buildRefundJobTx(jobId: string): Transaction;
|
|
1450
|
+
/** Fetch + parse a `Job` shared object. Throws `RPC_ERROR` when the id
|
|
1451
|
+
* doesn't resolve to an a2a_escrow Job. */
|
|
1452
|
+
declare function getJob(client: SuiCoreClient, jobId: string): Promise<Job>;
|
|
1453
|
+
/** What `caller` can do to `job` right now — drives `t2 job watch` (the
|
|
1454
|
+
* ACP-style "available action" readout) and any host UI. */
|
|
1455
|
+
declare function jobActionsFor(job: Job, caller: string, nowMs?: number): string[];
|
|
1456
|
+
interface JobVerification {
|
|
1457
|
+
ok: boolean;
|
|
1458
|
+
job: Job;
|
|
1459
|
+
/** Human-readable reasons when `ok` is false. */
|
|
1460
|
+
problems: string[];
|
|
1461
|
+
}
|
|
1462
|
+
/**
|
|
1463
|
+
* Seller-side escrow verification — the x402 `intent: "escrow"` credential
|
|
1464
|
+
* check. Before starting work on a job id received in an `X-PAYMENT` header,
|
|
1465
|
+
* the seller confirms ON-CHAIN (works for every buyer signer, incl. zkLogin):
|
|
1466
|
+
* funded, pays ME, covers the price, and leaves enough runway to deliver.
|
|
1467
|
+
*/
|
|
1468
|
+
declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minRunwayMs, }: {
|
|
1469
|
+
client: SuiCoreClient;
|
|
1470
|
+
jobId: string;
|
|
1471
|
+
seller: string;
|
|
1472
|
+
/** The listing's price for this job class. */
|
|
1473
|
+
minAmountUsdc: number;
|
|
1474
|
+
/** Minimum time-to-deadline to accept the job (default 60s). */
|
|
1475
|
+
minRunwayMs?: number;
|
|
1476
|
+
}): Promise<JobVerification>;
|
|
1477
|
+
|
|
1478
|
+
export { USDC_DECIMALS as $, A2A_ESCROW_PACKAGE_ID as A, type BalanceResponse as B, CLOCK_ID as C, DEFAULT_NETWORK as D, ETH_TYPE as E, type SuiRpcTxBlock as F, GAS_RESERVE_MIN as G, type SupportedAsset as H, IKA_TYPE as I, JOB_STATES as J, KNOWN_TARGETS as K, LABEL_PATTERNS as L, MANIFEST_TYPE as M, NAVX_TYPE as N, OVERLAY_FEE_RATE as O, PREFLIGHT_MAX_AMOUNT as P, type SwapRouteResult as Q, type T2000ErrorCode as R, STABLE_ASSETS as S, T2000Error as T, type T2000ErrorData as U, T2000_OVERLAY_FEE_WALLET as V, TOKEN_MAP as W, type TransactionLeg as X, type TransactionRecord as Y, type TransactionSigner as Z, type TxDirection as _, COIN_REGISTRY as a, CETUS_USDC_SUI_POOL as a$, USDC_TYPE as a0, USDE_TYPE as a1, USDSUI_TYPE as a2, USDT_TYPE as a3, WAL_TYPE as a4, WBTC_TYPE as a5, type ZkLoginProof as a6, ZkLoginSigner as a7, buildCreateJobTx as a8, buildDeliverJobTx as a9, mistToSui as aA, parseMppSuiChallenge as aB, parseSuiRpcTx as aC, payWithMpp as aD, preflightCreateJob as aE, preflightFail as aF, preflightPay as aG, preflightSend as aH, preflightSwap as aI, rawToStable as aJ, rawToUsdc as aK, refineLendingLabel as aL, resolveSymbol as aM, resolveTokenType as aN, stableToRaw as aO, suiToMist as aP, truncateAddress as aQ, usdcToRaw as aR, validateAddress as aS, verifyJobForSeller as aT, type T2000Options as aU, type SwapResult as aV, type SwapQuoteResult as aW, type PaymentRequest as aX, type SuiCoreClient as aY, type SponsoredCoinMergeCache as aZ, type SendableAsset as a_, buildRefundJobTx as aa, buildRejectJobTx as ab, buildReleaseJobTx as ac, buildSendTx as ad, buildSwapTx as ae, checkPositiveAmount as af, checkSuiAddress as ag, classifyAction as ah, classifyLabel as ai, classifyTransaction as aj, executeTx as ak, extractAllUserLegs as al, extractTransferDetails as am, extractTxCommands as an, extractTxSender as ao, fallbackLabel as ap, findSwapRoute as aq, formatAssetAmount as ar, formatSui as as, formatUsd as at, getDecimals as au, getDecimalsForCoinType as av, getJob as aw, jobActionsFor as ax, mapMoveAbortCode as ay, mapWalletError as az, type ClassifyBalanceChange as b, type CoinPage as b0, DEFAULT_GRPC_URL as b1, GASLESS_MIN_STABLE_AMOUNT as b2, GASLESS_STABLE_TYPES as b3, OPERATION_ASSETS as b4, type Operation as b5, SENDABLE_ASSETS as b6, type SelectAndSplitResult as b7, type SerializedCetusRoute as b8, type SerializedCetusRoutePath as b9, type SerializedRouterDataV3 as ba, addSendToTx as bb, addSwapToTx as bc, assertAllowedAsset as bd, deserializeCetusRoute as be, fetchAllCoins as bf, getCoinMeta as bg, getSuiClient as bh, getSuiGrpcClient as bi, isAllowedAsset as bj, isCetusRouteFresh as bk, isInRegistry as bl, normalizeAsset as bm, normalizeCoinType as bn, queryHistory as bo, queryTransaction as bp, selectAndSplitCoin as bq, selectSuiCoin as br, serializeCetusRoute as bs, simulateTransaction as bt, throwIfSimulationFailed as bu, verifyCetusRouteCoinMatch as bv, type ClassifyResult as c, type CoinMeta as d, type DepositInfo as e, type ExtractedTransfer as f, type Job as g, type JobState as h, type JobTerms as i, type JobVerification as j, KeypairSigner as k, LOFI_TYPE as l, MAX_JOB_USDC as m, MIST_PER_SUI as n, type OverlayFeeConfig as o, PREFLIGHT_OK as p, type PayOptions as q, type PayResult as r, type PreflightResult as s, SUI_DECIMALS as t, SUI_TYPE as u, SUPPORTED_ASSETS as v, type SendResult as w, type SimulationResult as x, type StableAsset as y, type SuiHolding as z };
|
|
@@ -1369,4 +1369,110 @@ declare function buildSendTx({ client, address, to, amount, asset, }: {
|
|
|
1369
1369
|
*/
|
|
1370
1370
|
declare function addSendToTx(tx: Transaction, coin: TransactionObjectArgument, recipient: string): void;
|
|
1371
1371
|
|
|
1372
|
-
|
|
1372
|
+
/**
|
|
1373
|
+
* A2A Escrow — client for the `a2a_escrow::escrow` Move package
|
|
1374
|
+
* (SPEC_A2A_ESCROW, t2 Agents Phase 3).
|
|
1375
|
+
*
|
|
1376
|
+
* One shared `Job<USDC>` object per engagement; the escrow balance lives IN
|
|
1377
|
+
* the object (no treasury, no admin key). These builders construct UNSIGNED
|
|
1378
|
+
* transactions; the caller signs (buyer for create/release/reject, seller
|
|
1379
|
+
* for deliver, ANYONE for the two timeout cranks) and may sponsor gas — the
|
|
1380
|
+
* Move calls authorize on `ctx.sender()`, so sponsorship never weakens auth.
|
|
1381
|
+
*
|
|
1382
|
+
* Browser-safe (no fs / keyManager imports) so store surfaces can build the
|
|
1383
|
+
* buyer-side legs on a zkLogin session key.
|
|
1384
|
+
*
|
|
1385
|
+
* Deployed on Sui mainnet 2026-07-17. Override via env for testnet/dev.
|
|
1386
|
+
*/
|
|
1387
|
+
/** The published `a2a_escrow` package id (mainnet). */
|
|
1388
|
+
declare const A2A_ESCROW_PACKAGE_ID: string;
|
|
1389
|
+
/** v1 job-value cap in USDC — same instinct as the catalog price cap: the
|
|
1390
|
+
* no-arbitration reject-split is only fair at sizes where neither side is
|
|
1391
|
+
* incentivized to game it (SPEC_A2A_ESCROW §2). */
|
|
1392
|
+
declare const MAX_JOB_USDC = 50;
|
|
1393
|
+
/** Job lifecycle states, mirroring the Move constants. */
|
|
1394
|
+
declare const JOB_STATES: readonly ["funded", "delivered", "released", "refunded", "rejected"];
|
|
1395
|
+
type JobState = (typeof JOB_STATES)[number];
|
|
1396
|
+
interface JobTerms {
|
|
1397
|
+
/** The seller's wallet (the listing's payTo / claimed Agent ID wallet). */
|
|
1398
|
+
seller: string;
|
|
1399
|
+
/** Job value in display USDC (e.g. `5` = 5 USDC). ≤ `MAX_JOB_USDC`. */
|
|
1400
|
+
amountUsdc: number;
|
|
1401
|
+
/** Hash/commitment of the job spec (hex string, `0x…` or bare). */
|
|
1402
|
+
specHash: string;
|
|
1403
|
+
/** Epoch-ms deadline the seller must deliver by. */
|
|
1404
|
+
deliverByMs: number;
|
|
1405
|
+
/** Buyer's accept/reject window (ms) after delivery; lapse = release. */
|
|
1406
|
+
reviewWindowMs: number;
|
|
1407
|
+
/** Buyer's share in basis points on reject (0–10000). Fixed at create. */
|
|
1408
|
+
rejectSplitBps: number;
|
|
1409
|
+
}
|
|
1410
|
+
/** Parsed on-chain `Job` object. */
|
|
1411
|
+
interface Job {
|
|
1412
|
+
id: string;
|
|
1413
|
+
buyer: string;
|
|
1414
|
+
seller: string;
|
|
1415
|
+
/** Locked amount in display USDC (immutable record). */
|
|
1416
|
+
amountUsdc: number;
|
|
1417
|
+
/** What's still in the object — 0 after settlement. */
|
|
1418
|
+
escrowUsdc: number;
|
|
1419
|
+
specHash: string;
|
|
1420
|
+
deliverByMs: number;
|
|
1421
|
+
reviewWindowMs: number;
|
|
1422
|
+
rejectSplitBps: number;
|
|
1423
|
+
state: JobState;
|
|
1424
|
+
deliveryHash: string | null;
|
|
1425
|
+
deliveredAtMs: number | null;
|
|
1426
|
+
createdAtMs: number;
|
|
1427
|
+
}
|
|
1428
|
+
/**
|
|
1429
|
+
* Synchronous, network-free preflight for `create`. Terms sanity only —
|
|
1430
|
+
* the balance read happens in `buildCreateJobTx`.
|
|
1431
|
+
*/
|
|
1432
|
+
declare function preflightCreateJob(terms: JobTerms): PreflightResult;
|
|
1433
|
+
/**
|
|
1434
|
+
* Buyer creates AND funds a job in one PTB — `escrow::create` consumes a
|
|
1435
|
+
* `Coin<USDC>` sourced from the buyer's coins + address balance.
|
|
1436
|
+
*/
|
|
1437
|
+
declare function buildCreateJobTx({ client, buyer, terms, }: {
|
|
1438
|
+
client: SuiCoreClient;
|
|
1439
|
+
buyer: string;
|
|
1440
|
+
terms: JobTerms;
|
|
1441
|
+
}): Promise<Transaction>;
|
|
1442
|
+
/** Seller posts the delivery commitment (hex hash) before the deadline. */
|
|
1443
|
+
declare function buildDeliverJobTx(jobId: string, deliveryHash: string): Transaction;
|
|
1444
|
+
/** Buyer accepts (or anyone, once the review window lapsed) → funds to seller. */
|
|
1445
|
+
declare function buildReleaseJobTx(jobId: string): Transaction;
|
|
1446
|
+
/** Buyer rejects within the review window → split per the create terms. */
|
|
1447
|
+
declare function buildRejectJobTx(jobId: string): Transaction;
|
|
1448
|
+
/** Anyone, after the deadline with no delivery → funds back to the buyer. */
|
|
1449
|
+
declare function buildRefundJobTx(jobId: string): Transaction;
|
|
1450
|
+
/** Fetch + parse a `Job` shared object. Throws `RPC_ERROR` when the id
|
|
1451
|
+
* doesn't resolve to an a2a_escrow Job. */
|
|
1452
|
+
declare function getJob(client: SuiCoreClient, jobId: string): Promise<Job>;
|
|
1453
|
+
/** What `caller` can do to `job` right now — drives `t2 job watch` (the
|
|
1454
|
+
* ACP-style "available action" readout) and any host UI. */
|
|
1455
|
+
declare function jobActionsFor(job: Job, caller: string, nowMs?: number): string[];
|
|
1456
|
+
interface JobVerification {
|
|
1457
|
+
ok: boolean;
|
|
1458
|
+
job: Job;
|
|
1459
|
+
/** Human-readable reasons when `ok` is false. */
|
|
1460
|
+
problems: string[];
|
|
1461
|
+
}
|
|
1462
|
+
/**
|
|
1463
|
+
* Seller-side escrow verification — the x402 `intent: "escrow"` credential
|
|
1464
|
+
* check. Before starting work on a job id received in an `X-PAYMENT` header,
|
|
1465
|
+
* the seller confirms ON-CHAIN (works for every buyer signer, incl. zkLogin):
|
|
1466
|
+
* funded, pays ME, covers the price, and leaves enough runway to deliver.
|
|
1467
|
+
*/
|
|
1468
|
+
declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minRunwayMs, }: {
|
|
1469
|
+
client: SuiCoreClient;
|
|
1470
|
+
jobId: string;
|
|
1471
|
+
seller: string;
|
|
1472
|
+
/** The listing's price for this job class. */
|
|
1473
|
+
minAmountUsdc: number;
|
|
1474
|
+
/** Minimum time-to-deadline to accept the job (default 60s). */
|
|
1475
|
+
minRunwayMs?: number;
|
|
1476
|
+
}): Promise<JobVerification>;
|
|
1477
|
+
|
|
1478
|
+
export { USDC_DECIMALS as $, A2A_ESCROW_PACKAGE_ID as A, type BalanceResponse as B, CLOCK_ID as C, DEFAULT_NETWORK as D, ETH_TYPE as E, type SuiRpcTxBlock as F, GAS_RESERVE_MIN as G, type SupportedAsset as H, IKA_TYPE as I, JOB_STATES as J, KNOWN_TARGETS as K, LABEL_PATTERNS as L, MANIFEST_TYPE as M, NAVX_TYPE as N, OVERLAY_FEE_RATE as O, PREFLIGHT_MAX_AMOUNT as P, type SwapRouteResult as Q, type T2000ErrorCode as R, STABLE_ASSETS as S, T2000Error as T, type T2000ErrorData as U, T2000_OVERLAY_FEE_WALLET as V, TOKEN_MAP as W, type TransactionLeg as X, type TransactionRecord as Y, type TransactionSigner as Z, type TxDirection as _, COIN_REGISTRY as a, CETUS_USDC_SUI_POOL as a$, USDC_TYPE as a0, USDE_TYPE as a1, USDSUI_TYPE as a2, USDT_TYPE as a3, WAL_TYPE as a4, WBTC_TYPE as a5, type ZkLoginProof as a6, ZkLoginSigner as a7, buildCreateJobTx as a8, buildDeliverJobTx as a9, mistToSui as aA, parseMppSuiChallenge as aB, parseSuiRpcTx as aC, payWithMpp as aD, preflightCreateJob as aE, preflightFail as aF, preflightPay as aG, preflightSend as aH, preflightSwap as aI, rawToStable as aJ, rawToUsdc as aK, refineLendingLabel as aL, resolveSymbol as aM, resolveTokenType as aN, stableToRaw as aO, suiToMist as aP, truncateAddress as aQ, usdcToRaw as aR, validateAddress as aS, verifyJobForSeller as aT, type T2000Options as aU, type SwapResult as aV, type SwapQuoteResult as aW, type PaymentRequest as aX, type SuiCoreClient as aY, type SponsoredCoinMergeCache as aZ, type SendableAsset as a_, buildRefundJobTx as aa, buildRejectJobTx as ab, buildReleaseJobTx as ac, buildSendTx as ad, buildSwapTx as ae, checkPositiveAmount as af, checkSuiAddress as ag, classifyAction as ah, classifyLabel as ai, classifyTransaction as aj, executeTx as ak, extractAllUserLegs as al, extractTransferDetails as am, extractTxCommands as an, extractTxSender as ao, fallbackLabel as ap, findSwapRoute as aq, formatAssetAmount as ar, formatSui as as, formatUsd as at, getDecimals as au, getDecimalsForCoinType as av, getJob as aw, jobActionsFor as ax, mapMoveAbortCode as ay, mapWalletError as az, type ClassifyBalanceChange as b, type CoinPage as b0, DEFAULT_GRPC_URL as b1, GASLESS_MIN_STABLE_AMOUNT as b2, GASLESS_STABLE_TYPES as b3, OPERATION_ASSETS as b4, type Operation as b5, SENDABLE_ASSETS as b6, type SelectAndSplitResult as b7, type SerializedCetusRoute as b8, type SerializedCetusRoutePath as b9, type SerializedRouterDataV3 as ba, addSendToTx as bb, addSwapToTx as bc, assertAllowedAsset as bd, deserializeCetusRoute as be, fetchAllCoins as bf, getCoinMeta as bg, getSuiClient as bh, getSuiGrpcClient as bi, isAllowedAsset as bj, isCetusRouteFresh as bk, isInRegistry as bl, normalizeAsset as bm, normalizeCoinType as bn, queryHistory as bo, queryTransaction as bp, selectAndSplitCoin as bq, selectSuiCoin as br, serializeCetusRoute as bs, simulateTransaction as bt, throwIfSimulationFailed as bu, verifyCetusRouteCoinMatch as bv, type ClassifyResult as c, type CoinMeta as d, type DepositInfo as e, type ExtractedTransfer as f, type Job as g, type JobState as h, type JobTerms as i, type JobVerification as j, KeypairSigner as k, LOFI_TYPE as l, MAX_JOB_USDC as m, MIST_PER_SUI as n, type OverlayFeeConfig as o, PREFLIGHT_OK as p, type PayOptions as q, type PayResult as r, type PreflightResult as s, SUI_DECIMALS as t, SUI_TYPE as u, SUPPORTED_ASSETS as v, type SendResult as w, type SimulationResult as x, type StableAsset as y, type SuiHolding as z };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t2000/sdk",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.0",
|
|
4
4
|
"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
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|