@dynamic-labs/sdk-api-core 0.0.637 → 0.0.638

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.637",
3
+ "version": "0.0.638",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -17,10 +17,10 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
17
17
  return {
18
18
  'lcdUrl': !runtime.exists(json, 'lcdUrl') ? undefined : json['lcdUrl'],
19
19
  'chainName': !runtime.exists(json, 'chainName') ? undefined : json['chainName'],
20
- 'key': json['key'],
20
+ 'key': !runtime.exists(json, 'key') ? undefined : json['key'],
21
21
  'name': json['name'],
22
22
  'shortName': json['shortName'],
23
- 'isTestnet': json['isTestnet'],
23
+ 'isTestnet': !runtime.exists(json, 'isTestnet') ? undefined : json['isTestnet'],
24
24
  'chain': json['chain'],
25
25
  'chainId': json['chainId'],
26
26
  'nameService': !runtime.exists(json, 'nameService') ? undefined : NameService.NameServiceFromJSON(json['nameService']),
@@ -34,7 +34,7 @@ export interface NetworkConfiguration {
34
34
  * @type {string}
35
35
  * @memberof NetworkConfiguration
36
36
  */
37
- key: string;
37
+ key?: string;
38
38
  /**
39
39
  *
40
40
  * @type {string}
@@ -52,7 +52,7 @@ export interface NetworkConfiguration {
52
52
  * @type {boolean}
53
53
  * @memberof NetworkConfiguration
54
54
  */
55
- isTestnet: boolean;
55
+ isTestnet?: boolean;
56
56
  /**
57
57
  *
58
58
  * @type {string}
@@ -13,10 +13,10 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
13
13
  return {
14
14
  'lcdUrl': !exists(json, 'lcdUrl') ? undefined : json['lcdUrl'],
15
15
  'chainName': !exists(json, 'chainName') ? undefined : json['chainName'],
16
- 'key': json['key'],
16
+ 'key': !exists(json, 'key') ? undefined : json['key'],
17
17
  'name': json['name'],
18
18
  'shortName': json['shortName'],
19
- 'isTestnet': json['isTestnet'],
19
+ 'isTestnet': !exists(json, 'isTestnet') ? undefined : json['isTestnet'],
20
20
  'chain': json['chain'],
21
21
  'chainId': json['chainId'],
22
22
  'nameService': !exists(json, 'nameService') ? undefined : NameServiceFromJSON(json['nameService']),