@glacislabs/stablegenie-zerodelta 4.19.0 → 4.20.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.
@@ -377,11 +377,14 @@ declare function pickForWait(options: readonly CompareOption[], waitSec: number)
377
377
  /** The most cards the modal draws (owner L5, Figma 3084:15345): fastest, the pick for the wait, gasless/netting. */
378
378
  declare const MAX_QUOTE_CARDS = 3;
379
379
  /**
380
- * The options the modal draws, in the gateway's order: at most three, the fastest, the one chosen
381
- * for the wait (`selectedId` when it is selectable, else what the slider would pick) and the
382
- * gasless one, then the netting one if a slot is left (best output each). One option that is several of
383
- * these is drawn once, so there can be fewer than three. The rest stay reachable by moving the
384
- * slider. When nothing can be signed, the first three are drawn so their reasons stay readable.
380
+ * The options the modal draws: at most three, the fastest, the one chosen for the wait
381
+ * (`selectedId` when it is selectable, else what the slider would pick) and the gasless one, then
382
+ * the netting one if a slot is left (best output each). One option that is several of these is
383
+ * drawn once, so there can be fewer than three. The rest stay reachable by moving the slider. When
384
+ * nothing can be signed, the first three are drawn so their reasons stay readable.
385
+ *
386
+ * Order: a netting option first, as every Figma frame draws it (3055:15990, 3082:9147, 3084:15345,
387
+ * 3086:15522, 2172:26912); the others keep the gateway's order. Mirrors zd-dapp src/lib/quoteCompare.ts.
385
388
  */
386
389
  declare function visibleOptions(options: readonly CompareOption[], waitSec: number, selectedId?: string | null): CompareOption[];
387
390
  /**
@@ -425,11 +428,12 @@ interface CornerTag {
425
428
  tone: TagTone;
426
429
  }
427
430
  /**
428
- * The tag in an option card's corner (Figma 3082:9147). In order of precedence: `Target 1:1` on
429
- * the parity option; `Potential best return` on any other netting option; `Fastest` on the option
430
- * the gateway labels so; `Gasless` on a sponsored one; otherwise the existing ranking
431
- * (`routeBadges`: Best return / Fastest / Lowest fee, or the path's shape when there is one
432
- * option). A netting option adds `Netting`. An option that cannot be signed wears none.
431
+ * The tag in an option card's corner (Figma 3082:9147). A netting option wears one green tag,
432
+ * `Best return`, at parity or not (Figma 3055:15990; owner, 2026-11-13: no `Netting` word, no
433
+ * `Potential`, no `Target 1:1` on it). Any other option, in order of precedence: `Target 1:1` on
434
+ * the parity option; `Fastest` on the option the gateway labels so; `Gasless` on a sponsored one;
435
+ * otherwise the existing ranking (`routeBadges`: Best return / Fastest / Lowest fee, or the path's
436
+ * shape when there is one option). An option that cannot be signed wears none.
433
437
  */
434
438
  declare function cornerTags(options: readonly CompareOption[], option: CompareOption, parityState: Parity): CornerTag[];
435
439
  /**
@@ -377,11 +377,14 @@ declare function pickForWait(options: readonly CompareOption[], waitSec: number)
377
377
  /** The most cards the modal draws (owner L5, Figma 3084:15345): fastest, the pick for the wait, gasless/netting. */
378
378
  declare const MAX_QUOTE_CARDS = 3;
379
379
  /**
380
- * The options the modal draws, in the gateway's order: at most three, the fastest, the one chosen
381
- * for the wait (`selectedId` when it is selectable, else what the slider would pick) and the
382
- * gasless one, then the netting one if a slot is left (best output each). One option that is several of
383
- * these is drawn once, so there can be fewer than three. The rest stay reachable by moving the
384
- * slider. When nothing can be signed, the first three are drawn so their reasons stay readable.
380
+ * The options the modal draws: at most three, the fastest, the one chosen for the wait
381
+ * (`selectedId` when it is selectable, else what the slider would pick) and the gasless one, then
382
+ * the netting one if a slot is left (best output each). One option that is several of these is
383
+ * drawn once, so there can be fewer than three. The rest stay reachable by moving the slider. When
384
+ * nothing can be signed, the first three are drawn so their reasons stay readable.
385
+ *
386
+ * Order: a netting option first, as every Figma frame draws it (3055:15990, 3082:9147, 3084:15345,
387
+ * 3086:15522, 2172:26912); the others keep the gateway's order. Mirrors zd-dapp src/lib/quoteCompare.ts.
385
388
  */
386
389
  declare function visibleOptions(options: readonly CompareOption[], waitSec: number, selectedId?: string | null): CompareOption[];
387
390
  /**
@@ -425,11 +428,12 @@ interface CornerTag {
425
428
  tone: TagTone;
426
429
  }
427
430
  /**
428
- * The tag in an option card's corner (Figma 3082:9147). In order of precedence: `Target 1:1` on
429
- * the parity option; `Potential best return` on any other netting option; `Fastest` on the option
430
- * the gateway labels so; `Gasless` on a sponsored one; otherwise the existing ranking
431
- * (`routeBadges`: Best return / Fastest / Lowest fee, or the path's shape when there is one
432
- * option). A netting option adds `Netting`. An option that cannot be signed wears none.
431
+ * The tag in an option card's corner (Figma 3082:9147). A netting option wears one green tag,
432
+ * `Best return`, at parity or not (Figma 3055:15990; owner, 2026-11-13: no `Netting` word, no
433
+ * `Potential`, no `Target 1:1` on it). Any other option, in order of precedence: `Target 1:1` on
434
+ * the parity option; `Fastest` on the option the gateway labels so; `Gasless` on a sponsored one;
435
+ * otherwise the existing ranking (`routeBadges`: Best return / Fastest / Lowest fee, or the path's
436
+ * shape when there is one option). An option that cannot be signed wears none.
433
437
  */
434
438
  declare function cornerTags(options: readonly CompareOption[], option: CompareOption, parityState: Parity): CornerTag[];
435
439
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glacislabs/stablegenie-zerodelta",
3
- "version": "4.19.0",
3
+ "version": "4.20.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",