@xoxno/sdk-js 1.0.222 → 1.0.223
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/cjs/sdk/stellar/admin.d.ts +0 -12
- package/dist/cjs/sdk/stellar/governance.d.ts +0 -4
- package/dist/cjs/sdk/stellar/quote.d.ts +0 -8
- package/dist/cjs/sdk/stellar/scval-encode.d.ts +0 -4
- package/dist/cjs/sdk/stellar/swap.d.ts +0 -10
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/sdk/stellar/admin.d.ts +0 -12
- package/dist/sdk/stellar/governance.d.ts +0 -4
- package/dist/sdk/stellar/index.cjs +1 -1
- package/dist/sdk/stellar/index.esm.js +1 -1
- package/dist/sdk/stellar/quote.d.ts +0 -8
- package/dist/sdk/stellar/scval-encode.d.ts +0 -4
- package/dist/sdk/stellar/swap.d.ts +0 -10
- package/package.json +1 -1
|
@@ -53,9 +53,6 @@ export interface StellarExecuteStrategyBuilderOptions extends StellarBuilderOpti
|
|
|
53
53
|
*/
|
|
54
54
|
referralId?: number | string;
|
|
55
55
|
}
|
|
56
|
-
/** @deprecated Use `StellarExecuteStrategyBuilderOptions`. */
|
|
57
|
-
export interface StellarBatchSwapBuilderOptions extends StellarExecuteStrategyBuilderOptions {
|
|
58
|
-
}
|
|
59
56
|
export declare const encodeStrategyPayloadToRouteXdr: (payload: StellarStrategyPayloadInput) => string;
|
|
60
57
|
/**
|
|
61
58
|
* Build an unsigned XDR for a direct user -> aggregator router swap.
|
|
@@ -65,11 +62,6 @@ export declare const encodeStrategyPayloadToRouteXdr: (payload: StellarStrategyP
|
|
|
65
62
|
* custom route builders.
|
|
66
63
|
*/
|
|
67
64
|
export declare function buildStellarExecuteStrategyTx(opts: StellarExecuteStrategyBuilderOptions, swap: StellarStrategySwapInput): BuiltStellarTx;
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated The router no longer exposes `batch_execute`; this wrapper now
|
|
70
|
-
* builds `execute_strategy(sender, total_in, swap_xdr)`.
|
|
71
|
-
*/
|
|
72
|
-
export declare function buildStellarBatchSwapTx(opts: StellarBatchSwapBuilderOptions, swap: StellarStrategySwapInput): BuiltStellarTx;
|
|
73
65
|
/**
|
|
74
66
|
* Translate a quote-server response into the decoded `StrategyPayload` shape.
|
|
75
67
|
* Prefer `mapQuoteResponseToStrategySwap` when the quote includes `routeXdr`.
|
|
@@ -85,5 +77,3 @@ export declare function mapQuoteResponseToStrategyPayload(quote: StellarAggregat
|
|
|
85
77
|
* @throws StellarRouteVerificationError — never sign a quote that throws here.
|
|
86
78
|
*/
|
|
87
79
|
export declare function mapQuoteResponseToStrategySwap(quote: StellarAggregatorQuoteResponseDto, opts?: StellarQuoteMapOptions): StellarStrategySwapInput;
|
|
88
|
-
/** @deprecated Use `mapQuoteResponseToStrategyPayload`. */
|
|
89
|
-
export declare const mapQuoteResponseToAggregatorSwap: typeof mapQuoteResponseToStrategyPayload;
|