@t2000/sdk 10.30.1 → 10.30.3
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 +0 -1
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +0 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +0 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3673,7 +3673,6 @@ function jobActionsFor(job, caller, nowMs = Date.now()) {
|
|
|
3673
3673
|
const actions = [];
|
|
3674
3674
|
if (job.state === "funded") {
|
|
3675
3675
|
if (isSeller && nowMs <= job.deliverByMs) actions.push("deliver");
|
|
3676
|
-
if (isBuyer) actions.push("release");
|
|
3677
3676
|
if (nowMs > job.deliverByMs) actions.push("refund");
|
|
3678
3677
|
} else if (job.state === "delivered") {
|
|
3679
3678
|
const windowClosesMs = (job.deliveredAtMs ?? 0) + job.reviewWindowMs;
|