@dynamic-labs/sdk-api 0.0.1120 → 0.0.1121
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/package.json
CHANGED
|
@@ -24,6 +24,7 @@ function SwapStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
return json;
|
|
25
25
|
}
|
|
26
26
|
return {
|
|
27
|
+
'destinationTxHash': !runtime.exists(json, 'destinationTxHash') ? undefined : json['destinationTxHash'],
|
|
27
28
|
'error': !runtime.exists(json, 'error') ? undefined : json['error'],
|
|
28
29
|
'explorerLink': !runtime.exists(json, 'explorerLink') ? undefined : json['explorerLink'],
|
|
29
30
|
'message': !runtime.exists(json, 'message') ? undefined : json['message'],
|
|
@@ -41,6 +42,7 @@ function SwapStatusResponseToJSON(value) {
|
|
|
41
42
|
return null;
|
|
42
43
|
}
|
|
43
44
|
return {
|
|
45
|
+
'destinationTxHash': value.destinationTxHash,
|
|
44
46
|
'error': value.error,
|
|
45
47
|
'explorerLink': value.explorerLink,
|
|
46
48
|
'message': value.message,
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface SwapStatusResponse
|
|
16
16
|
*/
|
|
17
17
|
export interface SwapStatusResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Transaction hash on the destination chain, once the swap or bridge completes
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SwapStatusResponse
|
|
22
|
+
*/
|
|
23
|
+
destinationTxHash?: string;
|
|
18
24
|
/**
|
|
19
25
|
* Error message if the swap failed
|
|
20
26
|
* @type {string}
|
|
@@ -20,6 +20,7 @@ function SwapStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'destinationTxHash': !exists(json, 'destinationTxHash') ? undefined : json['destinationTxHash'],
|
|
23
24
|
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
24
25
|
'explorerLink': !exists(json, 'explorerLink') ? undefined : json['explorerLink'],
|
|
25
26
|
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
@@ -37,6 +38,7 @@ function SwapStatusResponseToJSON(value) {
|
|
|
37
38
|
return null;
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
41
|
+
'destinationTxHash': value.destinationTxHash,
|
|
40
42
|
'error': value.error,
|
|
41
43
|
'explorerLink': value.explorerLink,
|
|
42
44
|
'message': value.message,
|