@atomiqlabs/base 13.2.0 → 13.3.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/swaps/SwapData.d.ts
CHANGED
|
@@ -176,4 +176,9 @@ export declare abstract class SwapData implements StorageObject {
|
|
|
176
176
|
* Checks whether the escrow contains an execution action (swap+)
|
|
177
177
|
*/
|
|
178
178
|
hasSuccessAction(): boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Returns the JSON-serialization safe representation of the underlying swap escrow struct committed (or
|
|
181
|
+
* to-be-committed) on-chain
|
|
182
|
+
*/
|
|
183
|
+
getEscrowStruct(): any;
|
|
179
184
|
}
|
package/dist/swaps/SwapData.js
CHANGED
|
@@ -32,6 +32,13 @@ class SwapData {
|
|
|
32
32
|
hasSuccessAction() {
|
|
33
33
|
return false;
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Returns the JSON-serialization safe representation of the underlying swap escrow struct committed (or
|
|
37
|
+
* to-be-committed) on-chain
|
|
38
|
+
*/
|
|
39
|
+
getEscrowStruct() {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
35
42
|
}
|
|
36
43
|
exports.SwapData = SwapData;
|
|
37
44
|
/**
|
package/package.json
CHANGED
package/src/swaps/SwapData.ts
CHANGED
|
@@ -221,5 +221,13 @@ export abstract class SwapData implements StorageObject {
|
|
|
221
221
|
return false;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
/**
|
|
225
|
+
* Returns the JSON-serialization safe representation of the underlying swap escrow struct committed (or
|
|
226
|
+
* to-be-committed) on-chain
|
|
227
|
+
*/
|
|
228
|
+
getEscrowStruct(): any {
|
|
229
|
+
return null;
|
|
230
|
+
}
|
|
231
|
+
|
|
224
232
|
}
|
|
225
233
|
|