@coin-voyage/shared 2.4.4-beta.1 → 2.4.5-beta.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/types/api.d.ts +4 -3
- package/dist/types/model.d.ts +0 -4
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -153,7 +153,6 @@ export type SwapIntent = {
|
|
|
153
153
|
swap_mode: SwapMode;
|
|
154
154
|
receiving_address?: string;
|
|
155
155
|
crypto?: CryptoSwapInput;
|
|
156
|
-
custom_fee_bps?: number;
|
|
157
156
|
};
|
|
158
157
|
export type SwapQuoteRequest = {
|
|
159
158
|
metadata?: PayOrderMetadata;
|
|
@@ -163,15 +162,17 @@ export type SwapQuoteResponse = {
|
|
|
163
162
|
input: QuoteWithBalance;
|
|
164
163
|
output: CurrencyWithAmount;
|
|
165
164
|
price_impact: number;
|
|
165
|
+
providers?: string[];
|
|
166
166
|
slippage_bps?: number;
|
|
167
167
|
swap_mode: SwapMode;
|
|
168
168
|
};
|
|
169
169
|
export type RouteQuote = QuoteWithBalance & {
|
|
170
170
|
quote_id: string;
|
|
171
171
|
output: CurrencyWithAmount;
|
|
172
|
-
swap_mode: SwapMode;
|
|
173
|
-
slippage_bps?: number;
|
|
174
172
|
price_impact: number;
|
|
173
|
+
providers?: string[];
|
|
174
|
+
slippage_bps?: number;
|
|
175
|
+
swap_mode: SwapMode;
|
|
175
176
|
};
|
|
176
177
|
export type QuoteWithBalance = QuoteWithCurrency & {
|
|
177
178
|
balance?: CurrencyAmount;
|
package/dist/types/model.d.ts
CHANGED
|
@@ -173,9 +173,5 @@ export type PaymentStep = {
|
|
|
173
173
|
kind: StepKind;
|
|
174
174
|
data: DepositStepData | CryptoPaymentData | FiatPaymentData;
|
|
175
175
|
};
|
|
176
|
-
export type PaymentStepData = {
|
|
177
|
-
crypto?: CryptoPaymentData;
|
|
178
|
-
fiat?: FiatPaymentData;
|
|
179
|
-
};
|
|
180
176
|
export type BigIntStr = `${bigint}`;
|
|
181
177
|
export {};
|