@glacislabs/stablegenie-zerodelta 3.3.0 → 4.0.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-QKGRMRS4.js → chunk-ABI6ZH7O.js} +547 -76
- package/dist/{chunk-OOURZ5DL.js → chunk-FJQQLB2K.js} +795 -63
- package/dist/core/index.cjs +841 -62
- package/dist/core/index.d.cts +103 -7
- package/dist/core/index.d.ts +103 -7
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +1357 -145
- package/dist/index.d.cts +23 -4
- package/dist/index.d.ts +23 -4
- package/dist/index.js +2 -2
- package/dist/{mount-DNvmtX0y.d.cts → mount-D5k_u92L.d.ts} +46 -6
- package/dist/{mount-jxrT-DMe.d.ts → mount-mcyZAzZc.d.cts} +46 -6
- package/dist/mount.cjs +1322 -145
- 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 +106 -9
- package/dist/verify-C9vzpm4T.d.cts +855 -0
- package/dist/verify-C9vzpm4T.d.ts +855 -0
- package/package.json +1 -1
- package/dist/verify-7lk90Ado.d.cts +0 -367
- package/dist/verify-7lk90Ado.d.ts +0 -367
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
export { B as BankPayoutAccount, E as Eip1193Provider, a as ExchangeMode, L as LinkIdentity, M as MountConfig, P as PaymentIsland, b as PaymentIslandKind, c as PaymentIslandProps, S as SettlementMethod, d as StableGenieConfig, e as StableGenieExchange, f as StableGenieExchangeProps, g as StableGeniePay, h as StableGeniePayProps, i as StableGenieProvider, j as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export { B as BankPayoutAccount, E as Eip1193Provider, a as ExchangeMode, L as LinkIdentity, M as MountConfig, P as PaymentIsland, b as PaymentIslandKind, c as PaymentIslandProps, S as SettlementMethod, d as StableGenieConfig, e as StableGenieExchange, f as StableGenieExchangeProps, g as StableGeniePay, h as StableGeniePayProps, i as StableGenieProvider, j as StableGenieRwaExchange, k as StableGenieSwap, l as StableGenieSwapProps, m as StableGenieTheme, n as SuccessInfo, o as SupportedAsset, p as darkTheme, q as lightTheme, r as mount, s as resolveTheme } from './mount-mcyZAzZc.cjs';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { C as Compliance } from './verify-C9vzpm4T.cjs';
|
|
4
|
+
export { A as Availability, B as BrokenLane, a as Catalogue, b as Chain, c as ComplianceCheck, d as ComplianceTone, e as ComplianceView, E as EngineConfig, f as ExchangeProduct, P as Plan, R as Route, g as RouteResult, S as SanitizedTxEntry, T as Token, h as TxHistoryEntry, V as VerifyResult, W as WalletScreen, i as assetClassOf, j as brokenLaneReason, k as complianceChecks, l as complianceControlsLine, m as complianceView, n as counterpartTokens, o as destinationAvailability, p as humanizeComplianceReason } from './verify-C9vzpm4T.cjs';
|
|
5
|
+
export { EXECUTABLE_STABLE_ASSETS, Engine, STABLE_ASSETS, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, createEngine, symbolKey } from './core/index.cjs';
|
|
6
|
+
|
|
7
|
+
declare function CompliancePanel(props: {
|
|
8
|
+
compliance?: Compliance | null;
|
|
9
|
+
/**
|
|
10
|
+
* True when this route settles DIRECTLY (a plain ERC-20 transfer, no /quote).
|
|
11
|
+
*
|
|
12
|
+
* It narrows the checklist to the controls a standalone wallet screen actually evidences.
|
|
13
|
+
* `complianceChecks` reports an unnamed control as passed — the right reading for a quote
|
|
14
|
+
* decision, where the engine ran every control and named the ones that fired, and the WRONG one
|
|
15
|
+
* here: a wallet screen evaluated neither jurisdiction, nor the asset pair, nor the amount.
|
|
16
|
+
* Printing five ticks for two controls that ran is exactly the lie this panel exists to avoid.
|
|
17
|
+
*/
|
|
18
|
+
direct?: boolean;
|
|
19
|
+
/** No quote in hand at all — distinct from a quote that carries no decision. */
|
|
20
|
+
hasQuote?: boolean;
|
|
21
|
+
}): react.JSX.Element;
|
|
22
|
+
|
|
23
|
+
export { Compliance, CompliancePanel };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
|
-
export { B as BankPayoutAccount, E as Eip1193Provider, a as ExchangeMode, L as LinkIdentity, M as MountConfig, P as PaymentIsland, b as PaymentIslandKind, c as PaymentIslandProps, S as SettlementMethod, d as StableGenieConfig, e as StableGenieExchange, f as StableGenieExchangeProps, g as StableGeniePay, h as StableGeniePayProps, i as StableGenieProvider, j as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export { B as BankPayoutAccount, E as Eip1193Provider, a as ExchangeMode, L as LinkIdentity, M as MountConfig, P as PaymentIsland, b as PaymentIslandKind, c as PaymentIslandProps, S as SettlementMethod, d as StableGenieConfig, e as StableGenieExchange, f as StableGenieExchangeProps, g as StableGeniePay, h as StableGeniePayProps, i as StableGenieProvider, j as StableGenieRwaExchange, k as StableGenieSwap, l as StableGenieSwapProps, m as StableGenieTheme, n as SuccessInfo, o as SupportedAsset, p as darkTheme, q as lightTheme, r as mount, s as resolveTheme } from './mount-D5k_u92L.js';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { C as Compliance } from './verify-C9vzpm4T.js';
|
|
4
|
+
export { A as Availability, B as BrokenLane, a as Catalogue, b as Chain, c as ComplianceCheck, d as ComplianceTone, e as ComplianceView, E as EngineConfig, f as ExchangeProduct, P as Plan, R as Route, g as RouteResult, S as SanitizedTxEntry, T as Token, h as TxHistoryEntry, V as VerifyResult, W as WalletScreen, i as assetClassOf, j as brokenLaneReason, k as complianceChecks, l as complianceControlsLine, m as complianceView, n as counterpartTokens, o as destinationAvailability, p as humanizeComplianceReason } from './verify-C9vzpm4T.js';
|
|
5
|
+
export { EXECUTABLE_STABLE_ASSETS, Engine, STABLE_ASSETS, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, createEngine, symbolKey } from './core/index.js';
|
|
6
|
+
|
|
7
|
+
declare function CompliancePanel(props: {
|
|
8
|
+
compliance?: Compliance | null;
|
|
9
|
+
/**
|
|
10
|
+
* True when this route settles DIRECTLY (a plain ERC-20 transfer, no /quote).
|
|
11
|
+
*
|
|
12
|
+
* It narrows the checklist to the controls a standalone wallet screen actually evidences.
|
|
13
|
+
* `complianceChecks` reports an unnamed control as passed — the right reading for a quote
|
|
14
|
+
* decision, where the engine ran every control and named the ones that fired, and the WRONG one
|
|
15
|
+
* here: a wallet screen evaluated neither jurisdiction, nor the asset pair, nor the amount.
|
|
16
|
+
* Printing five ticks for two controls that ran is exactly the lie this panel exists to avoid.
|
|
17
|
+
*/
|
|
18
|
+
direct?: boolean;
|
|
19
|
+
/** No quote in hand at all — distinct from a quote that carries no decision. */
|
|
20
|
+
hasQuote?: boolean;
|
|
21
|
+
}): react.JSX.Element;
|
|
22
|
+
|
|
23
|
+
export { Compliance, CompliancePanel };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PaymentIsland, StableGenieExchange, StableGeniePay, StableGenieProvider, StableGenieSwap, darkTheme, lightTheme, mount, resolveTheme } from './chunk-
|
|
2
|
-
export { createEngine } from './chunk-
|
|
1
|
+
export { CompliancePanel, PaymentIsland, StableGenieExchange, StableGeniePay, StableGenieProvider, StableGenieRwaExchange, StableGenieSwap, darkTheme, lightTheme, mount, resolveTheme } from './chunk-ABI6ZH7O.js';
|
|
2
|
+
export { EXECUTABLE_STABLE_ASSETS, STABLE_ASSETS, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, assetClassOf, brokenLaneReason, complianceChecks, complianceControlsLine, complianceView, counterpartTokens, createEngine, destinationAvailability, humanizeComplianceReason, symbolKey } from './chunk-FJQQLB2K.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as Plan, V as VerifyResult,
|
|
3
|
+
import { P as Plan, V as VerifyResult, g as RouteResult, S as SanitizedTxEntry, f as ExchangeProduct } from './verify-C9vzpm4T.js';
|
|
4
4
|
|
|
5
5
|
interface Eip1193Provider {
|
|
6
6
|
request(args: {
|
|
@@ -71,11 +71,25 @@ declare function StableGenieProvider({ children, ...config }: StableGenieConfig
|
|
|
71
71
|
type ExchangeMode = "exchange" | "onramp" | "offramp";
|
|
72
72
|
interface StableGenieExchangeProps extends StableGenieConfig {
|
|
73
73
|
mode?: ExchangeMode;
|
|
74
|
+
/**
|
|
75
|
+
* Which asset universe this card trades — a SEPARATE axis from `mode` (added 2026-09-08).
|
|
76
|
+
*
|
|
77
|
+
* `"stable"` (default) is stable ⇄ stable. `"rwa"` is stable ⇄ real-world asset, where exactly one
|
|
78
|
+
* leg is the RWA and the other narrows to stables. `StableGenieRwaExchange` is this component with
|
|
79
|
+
* the prop set.
|
|
80
|
+
*
|
|
81
|
+
* The RWA form is deliberately the SAME component rather than a second one: same card, same
|
|
82
|
+
* pickers, same flow, same engine — only the catalogue and the pair rule differ, and both come
|
|
83
|
+
* from `core/availability.ts`. A parallel component would drift the moment either surface gained a
|
|
84
|
+
* feature, which is exactly how this widget and the dapp came to disagree in the first place. The
|
|
85
|
+
* dapp reaches the same conclusion with one `mode` prop on one Swap page.
|
|
86
|
+
*/
|
|
87
|
+
product?: ExchangeProduct;
|
|
74
88
|
/** "pill" → ZeroDelta Link express checkout (the shared PaymentIsland). */
|
|
75
89
|
variant?: "compact" | "wide" | "pill";
|
|
76
90
|
/** Fixed widget height in px (content scrolls). Omit for fit-content. */
|
|
77
91
|
heightPx?: number;
|
|
78
|
-
/**
|
|
92
|
+
/** Narrows the product's universe further. Omit for everything the product carries. */
|
|
79
93
|
assets?: SupportedAsset[];
|
|
80
94
|
defaultFromChainId?: number;
|
|
81
95
|
defaultFromAsset?: SupportedAsset;
|
|
@@ -88,6 +102,16 @@ interface StableGenieExchangeProps extends StableGenieConfig {
|
|
|
88
102
|
fiatCurrency?: "USD" | "EUR" | "GBP" | "CHF";
|
|
89
103
|
}
|
|
90
104
|
declare function StableGenieExchange(props: StableGenieExchangeProps): react.JSX.Element;
|
|
105
|
+
/**
|
|
106
|
+
* The RWA exchange: stable ⇄ real-world asset, exactly one leg of each.
|
|
107
|
+
*
|
|
108
|
+
* The same card as `StableGenieExchange` with `product="rwa"` — same pickers, same flow, same
|
|
109
|
+
* engine, same guarantees. What differs is the catalogue (a wider stable list plus the vault shares
|
|
110
|
+
* and the Centrifuge pair) and the pair rule that keeps one leg on each side. Orders for the vault
|
|
111
|
+
* shares are CHAINED: the gateway answers with two legs and the wallet signs them as one
|
|
112
|
+
* `submitOrder`, which the engine binds leg-to-leg before it will encode anything.
|
|
113
|
+
*/
|
|
114
|
+
declare function StableGenieRwaExchange(props: Omit<StableGenieExchangeProps, "product">): react.JSX.Element;
|
|
91
115
|
|
|
92
116
|
type PaymentIslandKind = "pay" | "swap" | "exchange";
|
|
93
117
|
/** How the merchant wants to be settled. Set by the COMPANY embedding the widget, not the payer. */
|
|
@@ -127,7 +151,10 @@ interface PaymentIslandProps extends StableGenieConfig {
|
|
|
127
151
|
* deliberately NOT a full account number — the widget never handles bank credentials. */
|
|
128
152
|
bankAccount?: BankPayoutAccount;
|
|
129
153
|
mode?: ExchangeMode;
|
|
130
|
-
/**
|
|
154
|
+
/** Which asset universe the in-card pickers trade — see `StableGenieExchange`. Pay always uses
|
|
155
|
+
* the stable catalogue: a merchant invoice is owed in dollars, never in a vault share. */
|
|
156
|
+
product?: ExchangeProduct;
|
|
157
|
+
/** Narrows the product's universe further. Omit for everything the product carries. */
|
|
131
158
|
assets?: SupportedAsset[];
|
|
132
159
|
defaultFromChainId?: number;
|
|
133
160
|
defaultFromAsset?: SupportedAsset;
|
|
@@ -146,7 +173,18 @@ interface PaymentIslandProps extends StableGenieConfig {
|
|
|
146
173
|
}
|
|
147
174
|
declare function PaymentIsland(props: PaymentIslandProps): react.JSX.Element;
|
|
148
175
|
|
|
149
|
-
|
|
176
|
+
/**
|
|
177
|
+
* Every asset the engine can price, across BOTH products.
|
|
178
|
+
*
|
|
179
|
+
* Kept in step with `SUPPORTED_ASSETS` in core/constants.ts — `test/engine/supported-assets.test.ts`
|
|
180
|
+
* pins the two together, because a type narrower than the engine silently refuses integrations for
|
|
181
|
+
* assets the gateway supports, and a type wider than it promises assets that cannot be priced.
|
|
182
|
+
*
|
|
183
|
+
* Not every symbol is valid on every surface: the stable exchange trades the first seven, a deposit
|
|
184
|
+
* settles in one of the twelve stables, and the RWA exchange pairs a stable with a real-world asset.
|
|
185
|
+
* The catalogue enforces that; this union only bounds what can be NAMED.
|
|
186
|
+
*/
|
|
187
|
+
type SupportedAsset = "USDC" | "USDT" | "USDE" | "USDTB" | "AUSD" | "PYUSD" | "USDG" | "USD1" | "WM" | "USDS" | "DAI" | "RLUSD" | "XAUT" | "NALPHA" | "NTBILL" | "NBASIS" | "NCREDIT" | "NOPAL" | "NWISDOM" | "NACRDX" | "NLCRD" | "NAXI" | "NCLOA" | "NFALCON" | "DEJAAA" | "DESPXA";
|
|
150
188
|
interface StableGeniePayProps extends StableGenieConfig {
|
|
151
189
|
/** The address that must receive the funds (the merchant / dApp deposit address). */
|
|
152
190
|
recipient: string;
|
|
@@ -197,8 +235,10 @@ type MountConfig = ({
|
|
|
197
235
|
variant: "swap";
|
|
198
236
|
} & Omit<StableGenieSwapProps, "variant">) | ({
|
|
199
237
|
variant: "exchange";
|
|
200
|
-
} & Omit<StableGenieExchangeProps, "variant">)
|
|
238
|
+
} & Omit<StableGenieExchangeProps, "variant">) | ({
|
|
239
|
+
variant: "rwa";
|
|
240
|
+
} & Omit<StableGenieExchangeProps, "variant" | "product">);
|
|
201
241
|
/** Imperatively mount a widget into an element (for non-JSX / vanilla React hosts). Returns unmount. */
|
|
202
242
|
declare function mount(el: HTMLElement, config: MountConfig): () => void;
|
|
203
243
|
|
|
204
|
-
export { type BankPayoutAccount as B, type Eip1193Provider as E, type LinkIdentity as L, type MountConfig as M, PaymentIsland as P, type SettlementMethod as S, type ExchangeMode as a, type PaymentIslandKind as b, type PaymentIslandProps as c, type StableGenieConfig as d, StableGenieExchange as e, type StableGenieExchangeProps as f, StableGeniePay as g, type StableGeniePayProps as h, StableGenieProvider as i,
|
|
244
|
+
export { type BankPayoutAccount as B, type Eip1193Provider as E, type LinkIdentity as L, type MountConfig as M, PaymentIsland as P, type SettlementMethod as S, type ExchangeMode as a, type PaymentIslandKind as b, type PaymentIslandProps as c, type StableGenieConfig as d, StableGenieExchange as e, type StableGenieExchangeProps as f, StableGeniePay as g, type StableGeniePayProps as h, StableGenieProvider as i, StableGenieRwaExchange as j, StableGenieSwap as k, type StableGenieSwapProps as l, type StableGenieTheme as m, type SuccessInfo as n, type SupportedAsset as o, darkTheme as p, lightTheme as q, mount as r, resolveTheme as s };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { P as Plan, V as VerifyResult,
|
|
3
|
+
import { P as Plan, V as VerifyResult, g as RouteResult, S as SanitizedTxEntry, f as ExchangeProduct } from './verify-C9vzpm4T.cjs';
|
|
4
4
|
|
|
5
5
|
interface Eip1193Provider {
|
|
6
6
|
request(args: {
|
|
@@ -71,11 +71,25 @@ declare function StableGenieProvider({ children, ...config }: StableGenieConfig
|
|
|
71
71
|
type ExchangeMode = "exchange" | "onramp" | "offramp";
|
|
72
72
|
interface StableGenieExchangeProps extends StableGenieConfig {
|
|
73
73
|
mode?: ExchangeMode;
|
|
74
|
+
/**
|
|
75
|
+
* Which asset universe this card trades — a SEPARATE axis from `mode` (added 2026-09-08).
|
|
76
|
+
*
|
|
77
|
+
* `"stable"` (default) is stable ⇄ stable. `"rwa"` is stable ⇄ real-world asset, where exactly one
|
|
78
|
+
* leg is the RWA and the other narrows to stables. `StableGenieRwaExchange` is this component with
|
|
79
|
+
* the prop set.
|
|
80
|
+
*
|
|
81
|
+
* The RWA form is deliberately the SAME component rather than a second one: same card, same
|
|
82
|
+
* pickers, same flow, same engine — only the catalogue and the pair rule differ, and both come
|
|
83
|
+
* from `core/availability.ts`. A parallel component would drift the moment either surface gained a
|
|
84
|
+
* feature, which is exactly how this widget and the dapp came to disagree in the first place. The
|
|
85
|
+
* dapp reaches the same conclusion with one `mode` prop on one Swap page.
|
|
86
|
+
*/
|
|
87
|
+
product?: ExchangeProduct;
|
|
74
88
|
/** "pill" → ZeroDelta Link express checkout (the shared PaymentIsland). */
|
|
75
89
|
variant?: "compact" | "wide" | "pill";
|
|
76
90
|
/** Fixed widget height in px (content scrolls). Omit for fit-content. */
|
|
77
91
|
heightPx?: number;
|
|
78
|
-
/**
|
|
92
|
+
/** Narrows the product's universe further. Omit for everything the product carries. */
|
|
79
93
|
assets?: SupportedAsset[];
|
|
80
94
|
defaultFromChainId?: number;
|
|
81
95
|
defaultFromAsset?: SupportedAsset;
|
|
@@ -88,6 +102,16 @@ interface StableGenieExchangeProps extends StableGenieConfig {
|
|
|
88
102
|
fiatCurrency?: "USD" | "EUR" | "GBP" | "CHF";
|
|
89
103
|
}
|
|
90
104
|
declare function StableGenieExchange(props: StableGenieExchangeProps): react.JSX.Element;
|
|
105
|
+
/**
|
|
106
|
+
* The RWA exchange: stable ⇄ real-world asset, exactly one leg of each.
|
|
107
|
+
*
|
|
108
|
+
* The same card as `StableGenieExchange` with `product="rwa"` — same pickers, same flow, same
|
|
109
|
+
* engine, same guarantees. What differs is the catalogue (a wider stable list plus the vault shares
|
|
110
|
+
* and the Centrifuge pair) and the pair rule that keeps one leg on each side. Orders for the vault
|
|
111
|
+
* shares are CHAINED: the gateway answers with two legs and the wallet signs them as one
|
|
112
|
+
* `submitOrder`, which the engine binds leg-to-leg before it will encode anything.
|
|
113
|
+
*/
|
|
114
|
+
declare function StableGenieRwaExchange(props: Omit<StableGenieExchangeProps, "product">): react.JSX.Element;
|
|
91
115
|
|
|
92
116
|
type PaymentIslandKind = "pay" | "swap" | "exchange";
|
|
93
117
|
/** How the merchant wants to be settled. Set by the COMPANY embedding the widget, not the payer. */
|
|
@@ -127,7 +151,10 @@ interface PaymentIslandProps extends StableGenieConfig {
|
|
|
127
151
|
* deliberately NOT a full account number — the widget never handles bank credentials. */
|
|
128
152
|
bankAccount?: BankPayoutAccount;
|
|
129
153
|
mode?: ExchangeMode;
|
|
130
|
-
/**
|
|
154
|
+
/** Which asset universe the in-card pickers trade — see `StableGenieExchange`. Pay always uses
|
|
155
|
+
* the stable catalogue: a merchant invoice is owed in dollars, never in a vault share. */
|
|
156
|
+
product?: ExchangeProduct;
|
|
157
|
+
/** Narrows the product's universe further. Omit for everything the product carries. */
|
|
131
158
|
assets?: SupportedAsset[];
|
|
132
159
|
defaultFromChainId?: number;
|
|
133
160
|
defaultFromAsset?: SupportedAsset;
|
|
@@ -146,7 +173,18 @@ interface PaymentIslandProps extends StableGenieConfig {
|
|
|
146
173
|
}
|
|
147
174
|
declare function PaymentIsland(props: PaymentIslandProps): react.JSX.Element;
|
|
148
175
|
|
|
149
|
-
|
|
176
|
+
/**
|
|
177
|
+
* Every asset the engine can price, across BOTH products.
|
|
178
|
+
*
|
|
179
|
+
* Kept in step with `SUPPORTED_ASSETS` in core/constants.ts — `test/engine/supported-assets.test.ts`
|
|
180
|
+
* pins the two together, because a type narrower than the engine silently refuses integrations for
|
|
181
|
+
* assets the gateway supports, and a type wider than it promises assets that cannot be priced.
|
|
182
|
+
*
|
|
183
|
+
* Not every symbol is valid on every surface: the stable exchange trades the first seven, a deposit
|
|
184
|
+
* settles in one of the twelve stables, and the RWA exchange pairs a stable with a real-world asset.
|
|
185
|
+
* The catalogue enforces that; this union only bounds what can be NAMED.
|
|
186
|
+
*/
|
|
187
|
+
type SupportedAsset = "USDC" | "USDT" | "USDE" | "USDTB" | "AUSD" | "PYUSD" | "USDG" | "USD1" | "WM" | "USDS" | "DAI" | "RLUSD" | "XAUT" | "NALPHA" | "NTBILL" | "NBASIS" | "NCREDIT" | "NOPAL" | "NWISDOM" | "NACRDX" | "NLCRD" | "NAXI" | "NCLOA" | "NFALCON" | "DEJAAA" | "DESPXA";
|
|
150
188
|
interface StableGeniePayProps extends StableGenieConfig {
|
|
151
189
|
/** The address that must receive the funds (the merchant / dApp deposit address). */
|
|
152
190
|
recipient: string;
|
|
@@ -197,8 +235,10 @@ type MountConfig = ({
|
|
|
197
235
|
variant: "swap";
|
|
198
236
|
} & Omit<StableGenieSwapProps, "variant">) | ({
|
|
199
237
|
variant: "exchange";
|
|
200
|
-
} & Omit<StableGenieExchangeProps, "variant">)
|
|
238
|
+
} & Omit<StableGenieExchangeProps, "variant">) | ({
|
|
239
|
+
variant: "rwa";
|
|
240
|
+
} & Omit<StableGenieExchangeProps, "variant" | "product">);
|
|
201
241
|
/** Imperatively mount a widget into an element (for non-JSX / vanilla React hosts). Returns unmount. */
|
|
202
242
|
declare function mount(el: HTMLElement, config: MountConfig): () => void;
|
|
203
243
|
|
|
204
|
-
export { type BankPayoutAccount as B, type Eip1193Provider as E, type LinkIdentity as L, type MountConfig as M, PaymentIsland as P, type SettlementMethod as S, type ExchangeMode as a, type PaymentIslandKind as b, type PaymentIslandProps as c, type StableGenieConfig as d, StableGenieExchange as e, type StableGenieExchangeProps as f, StableGeniePay as g, type StableGeniePayProps as h, StableGenieProvider as i,
|
|
244
|
+
export { type BankPayoutAccount as B, type Eip1193Provider as E, type LinkIdentity as L, type MountConfig as M, PaymentIsland as P, type SettlementMethod as S, type ExchangeMode as a, type PaymentIslandKind as b, type PaymentIslandProps as c, type StableGenieConfig as d, StableGenieExchange as e, type StableGenieExchangeProps as f, StableGeniePay as g, type StableGeniePayProps as h, StableGenieProvider as i, StableGenieRwaExchange as j, StableGenieSwap as k, type StableGenieSwapProps as l, type StableGenieTheme as m, type SuccessInfo as n, type SupportedAsset as o, darkTheme as p, lightTheme as q, mount as r, resolveTheme as s };
|