@glacislabs/stablegenie-zerodelta 4.3.0 → 4.4.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/{chunk-PMVF6A2D.js → chunk-53K3BXT5.js} +18 -8
- package/dist/{chunk-RFBNRCFB.js → chunk-NYIORRFU.js} +1 -1
- package/dist/core/index.cjs +19 -7
- package/dist/core/index.d.cts +31 -7
- package/dist/core/index.d.ts +31 -7
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +17 -7
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{mount-BX_B0fzO.d.ts → mount-Blg-caPn.d.ts} +1 -1
- package/dist/{mount-Dw3LvQZi.d.cts → mount-D8hY-a-s.d.cts} +1 -1
- package/dist/mount.cjs +17 -7
- package/dist/mount.d.cts +2 -2
- package/dist/mount.d.ts +2 -2
- package/dist/mount.js +2 -2
- package/dist/standalone.global.js +6 -6
- package/dist/{verify-CPaT8Upe.d.cts → verify-C1VaWfiy.d.cts} +9 -0
- package/dist/{verify-CPaT8Upe.d.ts → verify-C1VaWfiy.d.ts} +9 -0
- package/package.json +1 -1
|
@@ -300,6 +300,15 @@ interface Quote {
|
|
|
300
300
|
bridge?: string;
|
|
301
301
|
feeBps?: number;
|
|
302
302
|
estimatedDuration?: number;
|
|
303
|
+
/** How long the order should live, in seconds from quote time, for the lane the gateway just
|
|
304
|
+
* priced — derived server-side from this lane's `estimatedDuration`. Absent on a gateway that
|
|
305
|
+
* predates the field, in which case the widget keeps its own flat default. Advisory: the
|
|
306
|
+
* deadline is still the client's to sign, and `orderRequests[].deadline` still comes back "0".
|
|
307
|
+
* See `recommendedDeadlineSeconds` in `core/order.ts`. */
|
|
308
|
+
recommendedDeadlineSeconds?: number;
|
|
309
|
+
/** The same value as an absolute unix second (decimal string). Informational — the widget builds
|
|
310
|
+
* the deadline from the span so it is measured against the signer's own clock. */
|
|
311
|
+
recommendedDeadline?: string;
|
|
303
312
|
gasCostSource?: string;
|
|
304
313
|
gasCostDest?: string;
|
|
305
314
|
/** The gateway's compliance decision for this quote's wallet pair. Absent = gate not configured. */
|
|
@@ -300,6 +300,15 @@ interface Quote {
|
|
|
300
300
|
bridge?: string;
|
|
301
301
|
feeBps?: number;
|
|
302
302
|
estimatedDuration?: number;
|
|
303
|
+
/** How long the order should live, in seconds from quote time, for the lane the gateway just
|
|
304
|
+
* priced — derived server-side from this lane's `estimatedDuration`. Absent on a gateway that
|
|
305
|
+
* predates the field, in which case the widget keeps its own flat default. Advisory: the
|
|
306
|
+
* deadline is still the client's to sign, and `orderRequests[].deadline` still comes back "0".
|
|
307
|
+
* See `recommendedDeadlineSeconds` in `core/order.ts`. */
|
|
308
|
+
recommendedDeadlineSeconds?: number;
|
|
309
|
+
/** The same value as an absolute unix second (decimal string). Informational — the widget builds
|
|
310
|
+
* the deadline from the span so it is measured against the signer's own clock. */
|
|
311
|
+
recommendedDeadline?: string;
|
|
303
312
|
gasCostSource?: string;
|
|
304
313
|
gasCostDest?: string;
|
|
305
314
|
/** The gateway's compliance decision for this quote's wallet pair. Absent = gate not configured. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glacislabs/stablegenie-zerodelta",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "Lightweight embeddable ZeroDelta payment + swap widget (exact-receive Pay and exact-in Swap). Wallet always owns the final signature.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|