@glacislabs/stablegenie-zerodelta 3.4.0 → 4.1.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.
@@ -1,3 +1,206 @@
1
+ /** The engine's decision on the wallet pair. `ALLOW` still permits `flaggedCategories`. */
2
+ type ComplianceDecision = "ALLOW" | "DENY" | "REVIEW" | "REMEDIATE";
3
+ /**
4
+ * The compliance object the gateway attaches to a quote (domain.Compliance in
5
+ * zd-bebop-lite `api/internal/domain/quote.go`).
6
+ *
7
+ * ⚠️ `riskCategories` / `flaggedCategories` / `blockingCategories` / `reasons` are
8
+ * DISCLOSURE-GATED upstream: the gateway withholds them unless its reason-disclosure mode is
9
+ * "all", because naming a sanctions category back to the subject can amount to tipping off. Their
10
+ * absence therefore means "not disclosed to this key", NEVER "none found" — no surface may render
11
+ * an empty list as an all-clear.
12
+ */
13
+ interface Compliance {
14
+ status?: "SCREENED" | "UNSCREENED" | string;
15
+ decision?: ComplianceDecision | string;
16
+ screenedWallets?: string[];
17
+ sourceJurisdiction?: string;
18
+ appliedPolicyIds?: string[];
19
+ appliedPolicyNames?: string[];
20
+ appliedLegislation?: string[];
21
+ riskCategories?: string[];
22
+ flaggedCategories?: string[];
23
+ blockingCategories?: string[];
24
+ reasons?: string[];
25
+ policyVersion?: string;
26
+ checkId?: string;
27
+ expiresAt?: string;
28
+ }
29
+ /** One screening source's contribution. The vendor is never named — reason about `tier`. */
30
+ interface ScreenProvider {
31
+ providerId?: string;
32
+ tier?: string;
33
+ categories?: string[];
34
+ riskScore?: number;
35
+ }
36
+ /** A standalone /screen/wallet verdict — the direct-settlement path's gate. */
37
+ interface WalletScreen {
38
+ address: string;
39
+ network?: string;
40
+ riskScore?: number;
41
+ riskCategories?: string[];
42
+ blocked: boolean;
43
+ blockingCategories?: string[];
44
+ flaggedCategories?: string[];
45
+ providers?: ScreenProvider[];
46
+ checkedAt?: string;
47
+ }
48
+ type ComplianceTone = "ok" | "warn" | "blocked" | "neutral";
49
+ /** THE copy for a DENY, in one place — shared by the chip and the panel headline. */
50
+ declare const COMPLIANCE_DENY_LABEL = "Compliance check failed";
51
+ interface ComplianceView {
52
+ tone: ComplianceTone;
53
+ /** Short line for the chip. */
54
+ label: string;
55
+ /** Headline for the detail panel. */
56
+ headline: string;
57
+ /** True only for an explicit DENY — never inferred from an absence. */
58
+ blocked: boolean;
59
+ /** REVIEW / REMEDIATE: allowed to proceed, but the payer should know. */
60
+ needsAction: boolean;
61
+ /** The engine actually screened wallets for this payment. */
62
+ screened: boolean;
63
+ }
64
+ /**
65
+ * What the decision means, in the words a payer can act on.
66
+ *
67
+ * The four-way split exists because an ABSENT decision and a FAILED one are different facts and
68
+ * used to be rendered the same. A gateway with no compliance gate configured returns no
69
+ * `compliance` object at all; calling that "checks failed" is alarmist and calling it "checks
70
+ * passed" is a lie. It is stated as absent.
71
+ */
72
+ declare function complianceView(compliance: Compliance | null | undefined, hasQuote?: boolean): ComplianceView;
73
+ /** Display name of one engine risk category. */
74
+ declare function categoryLabel(code: string): string;
75
+ /** The bare reason "head" — everything before the first ':', bundle prefix removed. */
76
+ declare function complianceReasonHead(raw: string): string;
77
+ /**
78
+ * A machine reason code as a sentence a payer can act on.
79
+ *
80
+ * Unknown heads degrade to a lightly cleaned form of the raw code rather than being dropped: a
81
+ * blocked payer with a blank reason is the worst outcome this function can produce.
82
+ */
83
+ declare function humanizeComplianceReason(raw: string): string;
84
+ type ComplianceCheckId = "location" | "screening" | "risk" | "asset" | "limits";
85
+ interface ComplianceCheck {
86
+ id: ComplianceCheckId;
87
+ label: string;
88
+ ok: boolean;
89
+ /** Raw engine reason codes attributed to this control. Humanize for display. */
90
+ reasons: string[];
91
+ /** Evidence sub-line, e.g. "2 wallets screened" or the single screened address. */
92
+ note?: string;
93
+ }
94
+ /** The row order the panel renders. */
95
+ declare const COMPLIANCE_CHECK_ORDER: readonly ComplianceCheckId[];
96
+ /**
97
+ * The DISTINCT wallets the engine screened, in the order it listed them.
98
+ *
99
+ * The engine reports the order's owner and its destination receiver, so a payment that settles
100
+ * back to the sender arrives as the SAME address twice — counting the array would print "2 wallets
101
+ * screened" for a payment with one party in it. Folding is family-dependent: hex compares
102
+ * case-insensitively (EIP-55 casing is a checksum, not an identity), anything else — a base58
103
+ * Solana key — compares EXACTLY, because lowercasing base58 merges genuinely different wallets.
104
+ */
105
+ declare function distinctScreenedWallets(compliance: Compliance | null | undefined): string[];
106
+ /**
107
+ * The 5-control checklist, derived from evidence only.
108
+ *
109
+ * Returns `[]` when no decision was issued (`tone === "neutral"`). That is the non-negotiable
110
+ * part: five green ticks for a verdict nobody issued is exactly the failure this module exists to
111
+ * prevent, and an unconfigured gate is not a set of passed checks — the caller renders the
112
+ * headline alone in that case.
113
+ *
114
+ * ► Documented reading of an ambiguous case. When a decision IS issued, a control that no reason
115
+ * names is reported as passed: the engine accumulates `reasons` as a plural SET (the list of
116
+ * causes, not the first cause), so an unnamed control is one that ran without firing. The one
117
+ * place we refuse to infer is `screening`, asserted from the status field alone.
118
+ */
119
+ declare function complianceChecks(compliance: Compliance | null | undefined, cv?: ComplianceView): ComplianceCheck[];
120
+ /** Reasons the checklist did not claim, so a reason is never silently dropped. */
121
+ declare function unattributedComplianceReasons(compliance: Compliance | null | undefined, cv?: ComplianceView): string[];
122
+ /**
123
+ * How many controls this decision actually evidences.
124
+ *
125
+ * Nothing on the payload carries a control count, so a literal number would be fabricated in the
126
+ * one panel a payer reads as reassurance. What we CAN count is the checklist controls we are
127
+ * willing to assert plus every named overlay the decision reports it applied. Deduped
128
+ * case-insensitively so an overlay listed twice is not counted twice.
129
+ */
130
+ declare function complianceControlsEvaluated(compliance: Compliance | null | undefined, cv?: ComplianceView): number;
131
+ /** The summary sentence the chip and the panel share, so they cannot word the same fact differently. */
132
+ declare function complianceControlsLine(compliance: Compliance | null | undefined, cv?: ComplianceView): string;
133
+ /**
134
+ * Synthesize the quote-shaped compliance object for a DIRECT settlement, from the standalone
135
+ * wallet screens of the two parties.
136
+ *
137
+ * A direct transfer never touches /quote — it is a plain ERC-20 `transfer` from payer to merchant
138
+ * — so the gateway's own pre-quote gate cannot run on it and the payment would otherwise settle
139
+ * with NO screening whatsoever. `plan.ts` screens both parties explicitly and passes the verdicts
140
+ * here so the panel states the truth about what ran.
141
+ *
142
+ * ⚠️ It reports `decision: "ALLOW"` ONLY when every screen came back not-blocked, and the caller
143
+ * must have already refused to build the route otherwise. Note what this decision is NOT: a
144
+ * standalone wallet screen answers "is this address on a list", so `location`, `asset` and
145
+ * `limits` were NOT evaluated — the jurisdiction/corridor/amount controls live in the quote gate,
146
+ * which a direct transfer never reaches. Those rows are reported as not-evaluated rather than
147
+ * passed, because claiming a control ran when it did not is the one failure mode this whole module
148
+ * is built to avoid.
149
+ */
150
+ declare function directComplianceFromScreens(screens: WalletScreen[]): Compliance;
151
+ /**
152
+ * The controls a DIRECT settlement can evidence.
153
+ *
154
+ * `complianceChecks` reports an unnamed control as passed, which is the right reading for a quote
155
+ * decision (the engine ran every control and named the ones that fired) and the WRONG one here:
156
+ * a wallet screen evaluated neither jurisdiction, nor the asset pair, nor the amount. This narrows
157
+ * the list to the two rows a screen genuinely evidences rather than printing five green ticks for
158
+ * three controls that never ran.
159
+ */
160
+ declare const DIRECT_CHECK_IDS: readonly ComplianceCheckId[];
161
+ /** The sub-line explaining what a direct settlement did NOT evaluate. Stated, never omitted. */
162
+ declare const DIRECT_SCOPE_NOTE = "Direct settlement moves your funds straight to the recipient, so wallet screening applies. Jurisdiction, corridor and amount policy are evaluated on routed payments.";
163
+ declare const BLOCK_LABEL_DEFAULT = "flagged by compliance screening";
164
+ /**
165
+ * The phrase for a block, from whichever categories the engine disclosed.
166
+ *
167
+ * An empty list is the NORMAL case, not an error: categories are disclosure-gated upstream and are
168
+ * withheld from most keys precisely because naming a sanctions hit back to its subject can amount
169
+ * to tipping off. The generic default is therefore the designed outcome, never a fallback that
170
+ * signals something went wrong.
171
+ */
172
+ declare function blockLabelFor(categories: readonly string[]): string;
173
+ /**
174
+ * Short tag for a reason code — "Restricted country" where `humanizeComplianceReason` returns
175
+ * "Your region (CU) isn't supported." Same head grammar, different register: this is for the
176
+ * compact sub-line, the humanizer wherever there is room for a sentence.
177
+ */
178
+ declare function complianceReasonTag(raw: string): string;
179
+ /** The tag for a decision — the first reason that has one. Empty when there is nothing to say. */
180
+ declare function complianceTagOf(compliance: Compliance | null | undefined): string;
181
+ /** `always-blocked` is the floor; `blocked` and `flagged` are the two settings a tunable may hold. */
182
+ type ScreeningOutcome = "always-blocked" | "blocked" | "flagged";
183
+ /**
184
+ * The four NON-WEAKENABLE categories. The engine answers 422 `MATRIX_NOT_WEAKENABLE` to any policy
185
+ * that tries to soften one, so "always blocked" is a guarantee of the engine rather than a property
186
+ * of whichever policy happens to be active — which is why this half is derived, not transcribed.
187
+ */
188
+ declare const FLOOR_CATEGORIES: readonly string[];
189
+ /** Categories a policy MAY tune between BLOCK and FLAG. */
190
+ declare const TUNABLE_CATEGORIES: readonly string[];
191
+ /** The outcome one category carries, or `null` when this build cannot say — dropped, never guessed. */
192
+ declare function screeningOutcomeOf(category: string): ScreeningOutcome | null;
193
+ interface ScreeningBucket {
194
+ outcome: ScreeningOutcome;
195
+ /** The card heading. */
196
+ title: string;
197
+ /** One line saying what the outcome does to an order. */
198
+ detail: string;
199
+ categories: readonly string[];
200
+ }
201
+ /** The three groups, in escalating-permissiveness order. Mirrors the dApp's `SCREENING_BUCKETS`. */
202
+ declare const SCREENING_BUCKETS: readonly ScreeningBucket[];
203
+
1
204
  type Hex = `0x${string}`;
2
205
  type Address = `0x${string}`;
3
206
  interface Chain {
@@ -35,6 +238,16 @@ interface Token {
35
238
  isChainedDestination?: boolean;
36
239
  [k: string]: unknown;
37
240
  }
241
+ /** One row of `GET /rwa/vaults`. Only the artwork fields are read — the widget does not render the
242
+ * vault catalogue, it borrows the icons the token registry does not serve. */
243
+ interface RwaVault {
244
+ symbol?: string;
245
+ /** Card-sized artwork, as a root-relative gateway path (`/api/v1/rwa/icons/…`). */
246
+ iconUrl?: string;
247
+ /** The round badge — what a token glyph wants. */
248
+ iconMiniUrl?: string;
249
+ [k: string]: unknown;
250
+ }
38
251
  interface Route {
39
252
  tokenId?: string;
40
253
  tokenName?: string;
@@ -85,6 +298,8 @@ interface Quote {
85
298
  estimatedDuration?: number;
86
299
  gasCostSource?: string;
87
300
  gasCostDest?: string;
301
+ /** The gateway's compliance decision for this quote's wallet pair. Absent = gate not configured. */
302
+ compliance?: Compliance;
88
303
  escrowAddress?: string;
89
304
  /** Escrow on the execution chain. Informational: approve/submitOrder go to the SOURCE-chain
90
305
  * escrow, which is what checkEscrow binds. */
@@ -135,6 +350,39 @@ interface PlannedTx {
135
350
  amountRaw?: string;
136
351
  mock?: boolean;
137
352
  }
353
+ /**
354
+ * ONE ORDER of a route, in display terms.
355
+ *
356
+ * A stable transfer or swap is a single order. A CHAINED quote — how every real-world asset is
357
+ * delivered — is **one signature and several orders**: leg 1 moves the payer's stable to the chain
358
+ * the vault executes on, leg 2 buys the share there. The payer signs once and is shown one
359
+ * "from → to", so the middle hop is invisible — and an invisible hop is what makes a CORRECT
360
+ * delivery look like a wrong one (the dapp shipped exactly that confusion). Recording the legs is
361
+ * what lets a transaction history answer "did my money take one hop or two, and through where".
362
+ *
363
+ * Every field is display-safe by construction — symbols, chain ids and formatted amounts, never a
364
+ * token address — so a leg can be persisted to history as-is.
365
+ */
366
+ interface RouteLeg {
367
+ /** 1-based position in the quote's `orderRequests`. */
368
+ index: number;
369
+ /** Symbol bid on this leg, or "" when the registry does not list that deployment. */
370
+ fromAsset: string;
371
+ fromChainId: number;
372
+ fromChainName: string;
373
+ /** Formatted bid amount, or "" when the bid token's decimals are unknown. */
374
+ fromAmount: string;
375
+ /** Symbol asked on this leg, or "" when the registry does not list that deployment. */
376
+ toAsset: string;
377
+ toChainId: number;
378
+ toChainName: string;
379
+ /** Formatted ask amount, or "" when the ask token's decimals are unknown. */
380
+ toAmount: string;
381
+ /** Where the escrow FILLS this leg — frequently neither end of it (an Arbitrum→Plume leg can
382
+ * execute on Ethereum), which is the detail that makes a two-leg order legible. */
383
+ executionChainId: number;
384
+ executionChainName: string;
385
+ }
138
386
  interface RouteResult {
139
387
  id: string;
140
388
  recommended: boolean;
@@ -158,6 +406,9 @@ interface RouteResult {
158
406
  };
159
407
  routeLabel: string;
160
408
  deltaLabel: string;
409
+ /** Every order this route submits, first to last. Length 1 for a direct transfer or a plain swap,
410
+ * >= 2 for a chained (RWA) quote. Never empty. */
411
+ legs: RouteLeg[];
161
412
  transactions: PlannedTx[];
162
413
  quote: {
163
414
  bridge?: string;
@@ -167,6 +418,17 @@ interface RouteResult {
167
418
  msgValue?: string;
168
419
  deadline?: string;
169
420
  iterations: number;
421
+ /**
422
+ * The gateway's compliance decision for THIS route's wallet pair.
423
+ *
424
+ * ⚠️ This projection used to drop it, which is why the widget could not say anything about a
425
+ * control that had already run: the payer saw a price and no evidence. It is carried verbatim
426
+ * — the panel derives, it never invents (see core/compliance.ts).
427
+ *
428
+ * Absent when the gateway has no compliance gate configured. Absent is NOT "passed": the view
429
+ * renders that case as "no decision returned" rather than as green ticks.
430
+ */
431
+ compliance?: Compliance;
170
432
  };
171
433
  }
172
434
  interface Destination {
@@ -225,6 +487,8 @@ interface TxHistoryEntry {
225
487
  recipient?: string;
226
488
  settlement?: "direct" | "escrow";
227
489
  status?: "confirmed" | "unconfirmed" | "error" | "submitted";
490
+ /** The route's orders, so history can show a chained (two-leg) trade as the two orders it was. */
491
+ legs?: RouteLeg[];
228
492
  }
229
493
  /** A display-safe, sanitized history entry (no keys/calldata/secrets). */
230
494
  interface SanitizedTxEntry {
@@ -245,6 +509,9 @@ interface SanitizedTxEntry {
245
509
  settlement: "direct" | "escrow";
246
510
  status: "confirmed" | "unconfirmed" | "error" | "submitted";
247
511
  at: string;
512
+ /** The orders this transaction submitted, first to last. Absent on entries persisted before legs
513
+ * were recorded (2026-09-09); the UI falls back to the single from → to summary for those. */
514
+ legs?: RouteLeg[];
248
515
  }
249
516
  /** Config injected into the engine by the host application. */
250
517
  interface EngineConfig {
@@ -442,6 +709,8 @@ interface CatalogueInput {
442
709
  supportedChainIds: ReadonlySet<number>;
443
710
  /** Measured refusals; omit or pass an empty map to suppress nothing. */
444
711
  brokenLanes?: ReadonlyMap<string, BrokenLane>;
712
+ /** Vault artwork by symbol key (see `core/rwa-icons.ts`). Carried through untouched. */
713
+ vaultIcons?: ReadonlyMap<string, string>;
445
714
  }
446
715
  interface Catalogue extends CatalogueContext {
447
716
  /** The product this catalogue was built for. */
@@ -465,6 +734,16 @@ interface Catalogue extends CatalogueContext {
465
734
  * is something we failed to learn, not something we learned.
466
735
  */
467
736
  ready: boolean;
737
+ /**
738
+ * Vault-share artwork by symbol key, from `GET /rwa/vaults`.
739
+ *
740
+ * It is on the catalogue and not merely merged into `tokens` because a surface can need the icon
741
+ * of an asset this catalogue does NOT carry: transaction history on the STABLE exchange shows past
742
+ * RWA trades, and the stable catalogue has no vault deployment to hang a `logoUrl` on. Present
743
+ * whatever the product — the vault read runs on every catalogue build — and empty when the gateway
744
+ * published none.
745
+ */
746
+ vaultIcons: ReadonlyMap<string, string>;
468
747
  }
469
748
  /**
470
749
  * Build the selectable catalogue from the live registry.
@@ -574,7 +853,17 @@ interface ApiClient {
574
853
  fetchRoutes: () => Promise<Route[]>;
575
854
  /** Measured lane health. NEVER rejects — see the implementation. */
576
855
  fetchRouteHealth: () => Promise<RouteHealth | null>;
856
+ /** The RWA vault catalogue, read ONLY for its artwork. NEVER rejects — see the implementation. */
857
+ fetchRwaVaults: () => Promise<RwaVault[]>;
577
858
  fetchQuote: (body: Record<string, unknown>, retries?: number) => Promise<Quote>;
859
+ /**
860
+ * Standalone KYW screen of ONE address — the direct-settlement gate.
861
+ *
862
+ * ⚠️ Rejects rather than resolving to a benign verdict. The caller MUST fail closed: a screen
863
+ * that could not complete is not a clean wallet, and this is the only control standing between a
864
+ * direct ERC-20 transfer and a sanctioned counterparty.
865
+ */
866
+ screenWallet: (address: string, chainId?: number) => Promise<WalletScreen>;
578
867
  apiBase: string;
579
868
  }
580
869
  /** Build an API client bound to a resolved config. The 60s resource cache is per-instance. */
@@ -628,4 +917,4 @@ interface Verifier {
628
917
  }
629
918
  declare function createVerifier(api: ApiClient, fetchImpl: typeof fetch, rpcOverrides?: Record<number, string>): Verifier;
630
919
 
631
- export { isExecutableBridge as $, type Availability as A, type BrokenLane as B, type Catalogue as C, type Destination as D, type EngineConfig as E, type FetchQuoteFn as F, apiError as G, type Hex as H, brokenLaneFor as I, buildCatalogue as J, canAttachApiKey as K, classifyQuoteError as L, createApiClient as M, type NormalizedOrder as N, type OrderRequest as O, type Plan as P, type Quote as Q, type Route as R, type SanitizedTxEntry as S, type Token as T, createVerifier as U, type VerifyResult as V, destinationKeys as W, executableRoutes as X, executionChainIds as Y, hasReachableDestination as Z, hubDeliverableSymbols as _, type Chain as a, isKnownUnbridgeable as a0, isSourceToken as a1, laneKey as a2, laneKeys as a3, parseAllowedApiBase as a4, productAssets as a5, registryRpc as a6, resolveApiBase as a7, resolveConfig as a8, sourceKeys as a9, suppressedLanes as aa, tokenKey as ab, txMatchesPlan as ac, type ExchangeProduct as b, type RouteResult as c, type TxHistoryEntry as d, assetClassOf as e, brokenLaneReason as f, counterpartTokens as g, destinationAvailability as h, type PayOption as i, type SolveResult as j, type BalanceTarget as k, type BalanceEntry as l, type ApiClient as m, type SwapInput as n, type PlannedTx as o, type Verifier as p, type Address as q, type ApiError as r, type CatalogueContext as s, type CatalogueInput as t, type PlannedTxKind as u, type QuoteBlock as v, type ResolvedConfig as w, type RouteHealth as x, type RouteHealthLane as y, type TxPlan as z };
920
+ export { type Hex as $, type Availability as A, type BrokenLane as B, type Compliance as C, type Address as D, type EngineConfig as E, type FetchQuoteFn as F, type ApiError as G, BLOCK_LABEL_DEFAULT as H, COMPLIANCE_CHECK_ORDER as I, COMPLIANCE_DENY_LABEL as J, type CatalogueContext as K, type CatalogueInput as L, type ComplianceCheckId as M, type NormalizedOrder as N, type OrderRequest as O, type Plan as P, type Quote as Q, type Route as R, type SanitizedTxEntry as S, type Token as T, type ComplianceDecision as U, type VerifyResult as V, type WalletScreen as W, DIRECT_CHECK_IDS as X, DIRECT_SCOPE_NOTE as Y, type Destination as Z, FLOOR_CATEGORIES as _, type Catalogue as a, type PlannedTxKind as a0, type QuoteBlock as a1, type ResolvedConfig as a2, type RouteHealth as a3, type RouteHealthLane as a4, SCREENING_BUCKETS as a5, type ScreenProvider as a6, type ScreeningBucket as a7, type ScreeningOutcome as a8, TUNABLE_CATEGORIES as a9, parseAllowedApiBase as aA, productAssets as aB, registryRpc as aC, resolveApiBase as aD, resolveConfig as aE, screeningOutcomeOf as aF, sourceKeys as aG, suppressedLanes as aH, tokenKey as aI, txMatchesPlan as aJ, unattributedComplianceReasons as aK, type TxPlan as aa, apiError as ab, blockLabelFor as ac, brokenLaneFor as ad, buildCatalogue as ae, canAttachApiKey as af, categoryLabel as ag, classifyQuoteError as ah, complianceControlsEvaluated as ai, complianceReasonHead as aj, complianceReasonTag as ak, complianceTagOf as al, createApiClient as am, createVerifier as an, destinationKeys as ao, directComplianceFromScreens as ap, distinctScreenedWallets as aq, executableRoutes as ar, executionChainIds as as, hasReachableDestination as at, hubDeliverableSymbols as au, isExecutableBridge as av, isKnownUnbridgeable as aw, isSourceToken as ax, laneKey as ay, laneKeys as az, type Chain as b, type ComplianceCheck as c, type ComplianceTone as d, type ComplianceView as e, type ExchangeProduct as f, type RouteLeg as g, type RouteResult as h, type TxHistoryEntry as i, assetClassOf as j, brokenLaneReason as k, complianceChecks as l, complianceControlsLine as m, complianceView as n, counterpartTokens as o, destinationAvailability as p, humanizeComplianceReason as q, type PayOption as r, type RwaVault as s, type SolveResult as t, type BalanceTarget as u, type BalanceEntry as v, type ApiClient as w, type SwapInput as x, type PlannedTx as y, type Verifier as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glacislabs/stablegenie-zerodelta",
3
- "version": "3.4.0",
3
+ "version": "4.1.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",