@cityofzion/blockchain-service 1.10.1 → 1.10.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/interfaces.d.ts +3 -2
- package/package.json +1 -1
package/dist/interfaces.d.ts
CHANGED
|
@@ -259,14 +259,15 @@ export type SwapServiceEvents<BSName extends string = string> = {
|
|
|
259
259
|
availableTokensToReceive: (tokens: SwapServiceLoadableValue<SwapServiceToken<BSName>[]>) => void | Promise<void>;
|
|
260
260
|
};
|
|
261
261
|
export type SwapServiceSwapResult = {
|
|
262
|
-
transactionHash: string;
|
|
263
|
-
numberOfTransactions: number;
|
|
264
262
|
id: string;
|
|
263
|
+
txFrom?: string;
|
|
264
|
+
log?: string;
|
|
265
265
|
};
|
|
266
266
|
export type SwapServiceStatusResponse = {
|
|
267
267
|
status: 'finished' | 'confirming' | 'exchanging' | 'failed' | 'refunded';
|
|
268
268
|
txFrom?: string;
|
|
269
269
|
txTo?: string;
|
|
270
|
+
log?: string;
|
|
270
271
|
};
|
|
271
272
|
export interface SwapServiceHelper {
|
|
272
273
|
getStatus(id: string): Promise<SwapServiceStatusResponse>;
|