@dynamic-labs/sdk-api-core 0.0.560 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.560",
3
+ "version": "0.0.561",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -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
  }
@@ -39,7 +39,7 @@ export interface SimulateSVMTransactionRequest {
39
39
  * @type {string}
40
40
  * @memberof SimulateSVMTransactionRequest
41
41
  */
42
- domain: string;
42
+ domain?: string;
43
43
  /**
44
44
  *
45
45
  * @type {string}
@@ -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
  }