@dynamic-labs/sdk-api 0.0.901 → 0.0.902
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 +1 -1
- package/src/models/CheckoutTransaction.cjs +0 -2
- package/src/models/CheckoutTransaction.d.ts +0 -6
- package/src/models/CheckoutTransaction.js +0 -2
- package/src/models/RecordBroadcastRequest.cjs +12 -4
- package/src/models/RecordBroadcastRequest.d.ts +0 -6
- package/src/models/RecordBroadcastRequest.js +12 -4
package/package.json
CHANGED
|
@@ -47,7 +47,6 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'quoteExpiresAt': !runtime.exists(json, 'quoteExpiresAt') ? undefined : (new Date(json['quoteExpiresAt'])),
|
|
48
48
|
'signingPayload': !runtime.exists(json, 'signingPayload') ? undefined : CheckoutSigningPayload.CheckoutSigningPayloadFromJSON(json['signingPayload']),
|
|
49
49
|
'txHash': !runtime.exists(json, 'txHash') ? undefined : json['txHash'],
|
|
50
|
-
'txHashes': !runtime.exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
51
50
|
'broadcastedAt': !runtime.exists(json, 'broadcastedAt') ? undefined : (new Date(json['broadcastedAt'])),
|
|
52
51
|
'sourceConfirmedAt': !runtime.exists(json, 'sourceConfirmedAt') ? undefined : (new Date(json['sourceConfirmedAt'])),
|
|
53
52
|
'confirmations': !runtime.exists(json, 'confirmations') ? undefined : json['confirmations'],
|
|
@@ -91,7 +90,6 @@ function CheckoutTransactionToJSON(value) {
|
|
|
91
90
|
'quoteExpiresAt': value.quoteExpiresAt === undefined ? undefined : (value.quoteExpiresAt.toISOString()),
|
|
92
91
|
'signingPayload': CheckoutSigningPayload.CheckoutSigningPayloadToJSON(value.signingPayload),
|
|
93
92
|
'txHash': value.txHash,
|
|
94
|
-
'txHashes': value.txHashes,
|
|
95
93
|
'broadcastedAt': value.broadcastedAt === undefined ? undefined : (value.broadcastedAt.toISOString()),
|
|
96
94
|
'sourceConfirmedAt': value.sourceConfirmedAt === undefined ? undefined : (value.sourceConfirmedAt.toISOString()),
|
|
97
95
|
'confirmations': value.confirmations,
|
|
@@ -169,12 +169,6 @@ export interface CheckoutTransaction {
|
|
|
169
169
|
* @memberof CheckoutTransaction
|
|
170
170
|
*/
|
|
171
171
|
txHash?: string;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {Array<string>}
|
|
175
|
-
* @memberof CheckoutTransaction
|
|
176
|
-
*/
|
|
177
|
-
txHashes?: Array<string>;
|
|
178
172
|
/**
|
|
179
173
|
*
|
|
180
174
|
* @type {Date}
|
|
@@ -43,7 +43,6 @@ function CheckoutTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'quoteExpiresAt': !exists(json, 'quoteExpiresAt') ? undefined : (new Date(json['quoteExpiresAt'])),
|
|
44
44
|
'signingPayload': !exists(json, 'signingPayload') ? undefined : CheckoutSigningPayloadFromJSON(json['signingPayload']),
|
|
45
45
|
'txHash': !exists(json, 'txHash') ? undefined : json['txHash'],
|
|
46
|
-
'txHashes': !exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
47
46
|
'broadcastedAt': !exists(json, 'broadcastedAt') ? undefined : (new Date(json['broadcastedAt'])),
|
|
48
47
|
'sourceConfirmedAt': !exists(json, 'sourceConfirmedAt') ? undefined : (new Date(json['sourceConfirmedAt'])),
|
|
49
48
|
'confirmations': !exists(json, 'confirmations') ? undefined : json['confirmations'],
|
|
@@ -87,7 +86,6 @@ function CheckoutTransactionToJSON(value) {
|
|
|
87
86
|
'quoteExpiresAt': value.quoteExpiresAt === undefined ? undefined : (value.quoteExpiresAt.toISOString()),
|
|
88
87
|
'signingPayload': CheckoutSigningPayloadToJSON(value.signingPayload),
|
|
89
88
|
'txHash': value.txHash,
|
|
90
|
-
'txHashes': value.txHashes,
|
|
91
89
|
'broadcastedAt': value.broadcastedAt === undefined ? undefined : (value.broadcastedAt.toISOString()),
|
|
92
90
|
'sourceConfirmedAt': value.sourceConfirmedAt === undefined ? undefined : (value.sourceConfirmedAt.toISOString()),
|
|
93
91
|
'confirmations': value.confirmations,
|
|
@@ -2,9 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var runtime = require('../runtime.cjs');
|
|
6
|
-
|
|
7
5
|
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
8
18
|
function RecordBroadcastRequestFromJSON(json) {
|
|
9
19
|
return RecordBroadcastRequestFromJSONTyped(json);
|
|
10
20
|
}
|
|
@@ -14,7 +24,6 @@ function RecordBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
24
|
}
|
|
15
25
|
return {
|
|
16
26
|
'txHash': json['txHash'],
|
|
17
|
-
'txHashes': !runtime.exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
18
27
|
};
|
|
19
28
|
}
|
|
20
29
|
function RecordBroadcastRequestToJSON(value) {
|
|
@@ -26,7 +35,6 @@ function RecordBroadcastRequestToJSON(value) {
|
|
|
26
35
|
}
|
|
27
36
|
return {
|
|
28
37
|
'txHash': value.txHash,
|
|
29
|
-
'txHashes': value.txHashes,
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
|
|
@@ -21,12 +21,6 @@ export interface RecordBroadcastRequest {
|
|
|
21
21
|
* @memberof RecordBroadcastRequest
|
|
22
22
|
*/
|
|
23
23
|
txHash: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof RecordBroadcastRequest
|
|
28
|
-
*/
|
|
29
|
-
txHashes?: Array<string>;
|
|
30
24
|
}
|
|
31
25
|
export declare function RecordBroadcastRequestFromJSON(json: any): RecordBroadcastRequest;
|
|
32
26
|
export declare function RecordBroadcastRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordBroadcastRequest;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { exists } from '../runtime.js';
|
|
2
|
-
|
|
3
1
|
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
4
14
|
function RecordBroadcastRequestFromJSON(json) {
|
|
5
15
|
return RecordBroadcastRequestFromJSONTyped(json);
|
|
6
16
|
}
|
|
@@ -10,7 +20,6 @@ function RecordBroadcastRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
20
|
}
|
|
11
21
|
return {
|
|
12
22
|
'txHash': json['txHash'],
|
|
13
|
-
'txHashes': !exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
14
23
|
};
|
|
15
24
|
}
|
|
16
25
|
function RecordBroadcastRequestToJSON(value) {
|
|
@@ -22,7 +31,6 @@ function RecordBroadcastRequestToJSON(value) {
|
|
|
22
31
|
}
|
|
23
32
|
return {
|
|
24
33
|
'txHash': value.txHash,
|
|
25
|
-
'txHashes': value.txHashes,
|
|
26
34
|
};
|
|
27
35
|
}
|
|
28
36
|
|