@glacislabs/stablegenie-zerodelta 4.5.0 → 4.6.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.
@@ -1057,6 +1057,12 @@ interface ApiClient {
1057
1057
  fetchRouteHealth: () => Promise<RouteHealth | null>;
1058
1058
  /** The RWA vault catalogue, read ONLY for its artwork. NEVER rejects — see the implementation. */
1059
1059
  fetchRwaVaults: () => Promise<RwaVault[]>;
1060
+ /**
1061
+ * USD prices keyed by upper-cased symbol, read ONLY to print a dollar line under an amount.
1062
+ * NEVER rejects — see the implementation. Optional on the type for the same reason
1063
+ * `reportSubmission` is: a host may hold an engine built before it existed.
1064
+ */
1065
+ fetchPrices?: (symbols: readonly string[]) => Promise<Record<string, number>>;
1060
1066
  fetchQuote: (body: Record<string, unknown>, retries?: number) => Promise<Quote>;
1061
1067
  /**
1062
1068
  * Standalone KYW screen of ONE address — the direct-settlement gate.
@@ -1057,6 +1057,12 @@ interface ApiClient {
1057
1057
  fetchRouteHealth: () => Promise<RouteHealth | null>;
1058
1058
  /** The RWA vault catalogue, read ONLY for its artwork. NEVER rejects — see the implementation. */
1059
1059
  fetchRwaVaults: () => Promise<RwaVault[]>;
1060
+ /**
1061
+ * USD prices keyed by upper-cased symbol, read ONLY to print a dollar line under an amount.
1062
+ * NEVER rejects — see the implementation. Optional on the type for the same reason
1063
+ * `reportSubmission` is: a host may hold an engine built before it existed.
1064
+ */
1065
+ fetchPrices?: (symbols: readonly string[]) => Promise<Record<string, number>>;
1060
1066
  fetchQuote: (body: Record<string, unknown>, retries?: number) => Promise<Quote>;
1061
1067
  /**
1062
1068
  * Standalone KYW screen of ONE address — the direct-settlement gate.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glacislabs/stablegenie-zerodelta",
3
- "version": "4.5.0",
3
+ "version": "4.6.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",