@glacislabs/stablegenie-zerodelta 4.6.0 → 4.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/{chunk-GBV2QVCH.js → chunk-L7ZEFAZ4.js} +1 -1
- package/dist/{chunk-CEBEMZHZ.js → chunk-MZCS5TL2.js} +10 -4
- package/dist/core/index.cjs +10 -3
- package/dist/core/index.d.cts +22 -6
- package/dist/core/index.d.ts +22 -6
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +9 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{mount-DjeyxZcy.d.cts → mount-D4mbJwdc.d.cts} +1 -1
- package/dist/{mount-qV6l3ZuG.d.ts → mount-D5TIOkMe.d.ts} +1 -1
- package/dist/mount.cjs +9 -3
- 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 +4 -4
- package/dist/{verify-DSCljQtK.d.cts → verify-BEQ8DMvJ.d.cts} +8 -0
- package/dist/{verify-DSCljQtK.d.ts → verify-BEQ8DMvJ.d.ts} +8 -0
- package/package.json +1 -1
|
@@ -323,6 +323,11 @@ interface Quote {
|
|
|
323
323
|
orderRequests?: OrderRequest[] | null;
|
|
324
324
|
/** Legacy single-leg shape, accepted for backward compatibility. */
|
|
325
325
|
orderRequest?: OrderRequest | null;
|
|
326
|
+
/** Present only when the calling API key gets special rates. A 32-byte hex STRING is the marker
|
|
327
|
+
* to pass verbatim as `submitOrder`'s `partnerId` — it is bound to this quote's wallets and
|
|
328
|
+
* amounts. An OBJECT (`{ error }`) means the quote was priced without both wallets and carries
|
|
329
|
+
* no marker; it must be re-quoted with them before it is submitted. Check the type. */
|
|
330
|
+
partnerId?: unknown;
|
|
326
331
|
[k: string]: unknown;
|
|
327
332
|
}
|
|
328
333
|
interface PayOption {
|
|
@@ -440,6 +445,9 @@ interface RouteResult {
|
|
|
440
445
|
gasCostSource?: string;
|
|
441
446
|
msgValue?: string;
|
|
442
447
|
deadline?: string;
|
|
448
|
+
/** The quote's special-rate marker, when it carried one: the `partnerId` word the
|
|
449
|
+
* `submitOrder` calldata was encoded with. Absent = the zero word. */
|
|
450
|
+
partnerId?: string;
|
|
443
451
|
iterations: number;
|
|
444
452
|
/**
|
|
445
453
|
* The gateway's compliance decision for THIS route's wallet pair.
|
|
@@ -323,6 +323,11 @@ interface Quote {
|
|
|
323
323
|
orderRequests?: OrderRequest[] | null;
|
|
324
324
|
/** Legacy single-leg shape, accepted for backward compatibility. */
|
|
325
325
|
orderRequest?: OrderRequest | null;
|
|
326
|
+
/** Present only when the calling API key gets special rates. A 32-byte hex STRING is the marker
|
|
327
|
+
* to pass verbatim as `submitOrder`'s `partnerId` — it is bound to this quote's wallets and
|
|
328
|
+
* amounts. An OBJECT (`{ error }`) means the quote was priced without both wallets and carries
|
|
329
|
+
* no marker; it must be re-quoted with them before it is submitted. Check the type. */
|
|
330
|
+
partnerId?: unknown;
|
|
326
331
|
[k: string]: unknown;
|
|
327
332
|
}
|
|
328
333
|
interface PayOption {
|
|
@@ -440,6 +445,9 @@ interface RouteResult {
|
|
|
440
445
|
gasCostSource?: string;
|
|
441
446
|
msgValue?: string;
|
|
442
447
|
deadline?: string;
|
|
448
|
+
/** The quote's special-rate marker, when it carried one: the `partnerId` word the
|
|
449
|
+
* `submitOrder` calldata was encoded with. Absent = the zero word. */
|
|
450
|
+
partnerId?: string;
|
|
443
451
|
iterations: number;
|
|
444
452
|
/**
|
|
445
453
|
* The gateway's compliance decision for THIS route's wallet pair.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glacislabs/stablegenie-zerodelta",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.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",
|