@t2000/sdk 10.30.2 → 10.30.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.cjs +1 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +1 -2
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/browser.cjs
CHANGED
|
@@ -1331,7 +1331,7 @@ init_coinSelection();
|
|
|
1331
1331
|
init_errors();
|
|
1332
1332
|
init_token_registry();
|
|
1333
1333
|
init_coinSelection();
|
|
1334
|
-
var MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID = "
|
|
1334
|
+
var MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID = "0xc84fc8a6d7e8766e36abb16acf5f0c0d15444797137274bbbe027ac7972c56a7";
|
|
1335
1335
|
var A2A_ESCROW_LATEST_PACKAGE_ID = process.env.A2A_ESCROW_OPENING_PACKAGE_ID ?? process.env.A2A_ESCROW_PACKAGE_ID ?? MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID;
|
|
1336
1336
|
|
|
1337
1337
|
// src/wallet/job.ts
|
|
@@ -1526,7 +1526,6 @@ function jobActionsFor(job, caller, nowMs = Date.now()) {
|
|
|
1526
1526
|
const actions = [];
|
|
1527
1527
|
if (job.state === "funded") {
|
|
1528
1528
|
if (isSeller && nowMs <= job.deliverByMs) actions.push("deliver");
|
|
1529
|
-
if (isBuyer) actions.push("release");
|
|
1530
1529
|
if (nowMs > job.deliverByMs) actions.push("refund");
|
|
1531
1530
|
} else if (job.state === "delivered") {
|
|
1532
1531
|
const windowClosesMs = (job.deliveredAtMs ?? 0) + job.reviewWindowMs;
|