@gardenfi/orderbook 0.1.7 → 0.1.8
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.
|
@@ -56,7 +56,7 @@ export interface CreateOrderConfig {
|
|
|
56
56
|
*/
|
|
57
57
|
secretHash: string;
|
|
58
58
|
/**
|
|
59
|
-
* The
|
|
59
|
+
* The address of the user's btc wallet. The funds will be sent to this address in case of a redeem or refund.
|
|
60
60
|
*/
|
|
61
61
|
btcInputAddress: string;
|
|
62
62
|
/**
|
|
@@ -170,7 +170,7 @@ export type DecodedAuthToken = {
|
|
|
170
170
|
exp: number;
|
|
171
171
|
iat: number;
|
|
172
172
|
};
|
|
173
|
-
export type Order = MarkNonNullable<OrderNonVerbose,
|
|
173
|
+
export type Order = MarkNonNullable<OrderNonVerbose, 'initiatorAtomicSwap' | 'followerAtomicSwap'>;
|
|
174
174
|
export type Orders = Order[];
|
|
175
175
|
export type GetOrdersOutput<T extends boolean> = (T extends true ? Order : OrderNonVerbose)[];
|
|
176
176
|
export type CreateOrderResponse = {
|