@glacislabs/stablegenie-zerodelta 4.6.0 → 4.8.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.
@@ -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.6.0",
3
+ "version": "4.8.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",