@glacislabs/stablegenie-zerodelta 3.0.1 → 3.0.2
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-VL5MWEY2.js → chunk-AZPTL3KD.js} +92 -22
- package/dist/{chunk-DH7QYQG4.js → chunk-TR2XMP7X.js} +242 -48
- package/dist/core/index.cjs +92 -22
- package/dist/core/index.d.cts +11 -9
- package/dist/core/index.d.ts +11 -9
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +333 -69
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/{mount-yTJi4VdA.d.ts → mount-8nchcNbL.d.ts} +1 -1
- package/dist/{mount-yqXrDBLc.d.cts → mount-BC5gY1X6.d.cts} +1 -1
- package/dist/mount.cjs +333 -69
- 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 +8 -8
- package/dist/{verify-CaO0OD4Z.d.cts → verify-DFTuQ2g3.d.cts} +9 -1
- package/dist/{verify-CaO0OD4Z.d.ts → verify-DFTuQ2g3.d.ts} +9 -1
- package/package.json +1 -1
|
@@ -160,6 +160,14 @@ interface Plan {
|
|
|
160
160
|
expiresAt: string;
|
|
161
161
|
apiBase?: string;
|
|
162
162
|
routes: RouteResult[];
|
|
163
|
+
/** Wallet balances already read while choosing funding candidates. Payment UIs reuse these so
|
|
164
|
+
* route rendering does not trigger the same RPC scan a second time. */
|
|
165
|
+
fundingBalances?: Record<string, {
|
|
166
|
+
raw: string;
|
|
167
|
+
formatted: string;
|
|
168
|
+
}>;
|
|
169
|
+
/** Normalized account that `fundingBalances` belongs to. */
|
|
170
|
+
fundingAccount?: string;
|
|
163
171
|
destination: {
|
|
164
172
|
asset: string;
|
|
165
173
|
chainId: number;
|
|
@@ -348,4 +356,4 @@ interface Verifier {
|
|
|
348
356
|
}
|
|
349
357
|
declare function createVerifier(api: ApiClient, fetchImpl: typeof fetch, rpcOverrides?: Record<number, string>): Verifier;
|
|
350
358
|
|
|
351
|
-
export { type ApiClient as A, type
|
|
359
|
+
export { type ApiClient as A, type BalanceTarget as B, type Chain as C, type Destination as D, type EngineConfig as E, type FetchQuoteFn as F, type Hex as H, type NormalizedOrder as N, type OrderRequest as O, type Plan as P, type Quote as Q, type RouteResult as R, type SanitizedTxEntry as S, type TxHistoryEntry as T, type VerifyResult as V, type Token as a, type PayOption as b, type Route as c, type SolveResult as d, type BalanceEntry as e, type SwapInput as f, type PlannedTx as g, type Verifier as h, type Address as i, type ApiError as j, type PlannedTxKind as k, type QuoteBlock as l, type ResolvedConfig as m, type TxPlan as n, apiError as o, canAttachApiKey as p, classifyQuoteError as q, createApiClient as r, createVerifier as s, parseAllowedApiBase as t, registryRpc as u, resolveApiBase as v, resolveConfig as w, txMatchesPlan as x };
|
|
@@ -160,6 +160,14 @@ interface Plan {
|
|
|
160
160
|
expiresAt: string;
|
|
161
161
|
apiBase?: string;
|
|
162
162
|
routes: RouteResult[];
|
|
163
|
+
/** Wallet balances already read while choosing funding candidates. Payment UIs reuse these so
|
|
164
|
+
* route rendering does not trigger the same RPC scan a second time. */
|
|
165
|
+
fundingBalances?: Record<string, {
|
|
166
|
+
raw: string;
|
|
167
|
+
formatted: string;
|
|
168
|
+
}>;
|
|
169
|
+
/** Normalized account that `fundingBalances` belongs to. */
|
|
170
|
+
fundingAccount?: string;
|
|
163
171
|
destination: {
|
|
164
172
|
asset: string;
|
|
165
173
|
chainId: number;
|
|
@@ -348,4 +356,4 @@ interface Verifier {
|
|
|
348
356
|
}
|
|
349
357
|
declare function createVerifier(api: ApiClient, fetchImpl: typeof fetch, rpcOverrides?: Record<number, string>): Verifier;
|
|
350
358
|
|
|
351
|
-
export { type ApiClient as A, type
|
|
359
|
+
export { type ApiClient as A, type BalanceTarget as B, type Chain as C, type Destination as D, type EngineConfig as E, type FetchQuoteFn as F, type Hex as H, type NormalizedOrder as N, type OrderRequest as O, type Plan as P, type Quote as Q, type RouteResult as R, type SanitizedTxEntry as S, type TxHistoryEntry as T, type VerifyResult as V, type Token as a, type PayOption as b, type Route as c, type SolveResult as d, type BalanceEntry as e, type SwapInput as f, type PlannedTx as g, type Verifier as h, type Address as i, type ApiError as j, type PlannedTxKind as k, type QuoteBlock as l, type ResolvedConfig as m, type TxPlan as n, apiError as o, canAttachApiKey as p, classifyQuoteError as q, createApiClient as r, createVerifier as s, parseAllowedApiBase as t, registryRpc as u, resolveApiBase as v, resolveConfig as w, txMatchesPlan as x };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glacislabs/stablegenie-zerodelta",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
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",
|