@dynamic-labs/sdk-api-core 0.0.559 → 0.0.561
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/Asset.cjs +3 -13
- package/src/models/Asset.d.ts +1 -1
- package/src/models/Asset.js +3 -13
- package/src/models/SimulateSVMTransactionRequest.cjs +2 -1
- package/src/models/SimulateSVMTransactionRequest.d.ts +1 -1
- package/src/models/SimulateSVMTransactionRequest.js +2 -1
package/package.json
CHANGED
package/src/models/Asset.cjs
CHANGED
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* 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
|
-
*/
|
|
18
8
|
function AssetFromJSON(json) {
|
|
19
9
|
return AssetFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,7 +14,7 @@ function AssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'address': json['address'],
|
|
27
|
-
'chainId': json['chainId'],
|
|
17
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
28
18
|
'chainName': json['chainName'],
|
|
29
19
|
'decimals': json['decimals'],
|
|
30
20
|
'logoUrl': json['logoUrl'],
|
package/src/models/Asset.d.ts
CHANGED
package/src/models/Asset.js
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* 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
|
-
*/
|
|
14
4
|
function AssetFromJSON(json) {
|
|
15
5
|
return AssetFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,7 +10,7 @@ function AssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'address': json['address'],
|
|
23
|
-
'chainId': json['chainId'],
|
|
13
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
24
14
|
'chainName': json['chainName'],
|
|
25
15
|
'decimals': json['decimals'],
|
|
26
16
|
'logoUrl': json['logoUrl'],
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
5
6
|
var SolanaChainType = require('./SolanaChainType.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
@@ -16,7 +17,7 @@ function SimulateSVMTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
'chain': SolanaChainType.SolanaChainTypeFromJSON(json['chain']),
|
|
17
18
|
'transactions': json['transactions'],
|
|
18
19
|
'accountAddress': json['accountAddress'],
|
|
19
|
-
'domain': json['domain'],
|
|
20
|
+
'domain': !runtime.exists(json, 'domain') ? undefined : json['domain'],
|
|
20
21
|
'method': json['method'],
|
|
21
22
|
};
|
|
22
23
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
1
2
|
import { SolanaChainTypeFromJSON, SolanaChainTypeToJSON } from './SolanaChainType.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
@@ -12,7 +13,7 @@ function SimulateSVMTransactionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
'chain': SolanaChainTypeFromJSON(json['chain']),
|
|
13
14
|
'transactions': json['transactions'],
|
|
14
15
|
'accountAddress': json['accountAddress'],
|
|
15
|
-
'domain': json['domain'],
|
|
16
|
+
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
16
17
|
'method': json['method'],
|
|
17
18
|
};
|
|
18
19
|
}
|