@dynamic-labs/sdk-api-core 0.0.632 → 0.0.633

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.632",
3
+ "version": "0.0.633",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -17,8 +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
21
  'name': json['name'],
21
22
  'shortName': json['shortName'],
23
+ 'isTestnet': json['isTestnet'],
22
24
  'chain': json['chain'],
23
25
  'chainId': json['chainId'],
24
26
  'nameService': !runtime.exists(json, 'nameService') ? undefined : NameService.NameServiceFromJSON(json['nameService']),
@@ -44,8 +46,10 @@ function NetworkConfigurationToJSON(value) {
44
46
  return {
45
47
  'lcdUrl': value.lcdUrl,
46
48
  'chainName': value.chainName,
49
+ 'key': value.key,
47
50
  'name': value.name,
48
51
  'shortName': value.shortName,
52
+ 'isTestnet': value.isTestnet,
49
53
  'chain': value.chain,
50
54
  'chainId': value.chainId,
51
55
  'nameService': NameService.NameServiceToJSON(value.nameService),
@@ -29,6 +29,12 @@ export interface NetworkConfiguration {
29
29
  * @memberof NetworkConfiguration
30
30
  */
31
31
  chainName?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof NetworkConfiguration
36
+ */
37
+ key: string;
32
38
  /**
33
39
  *
34
40
  * @type {string}
@@ -41,6 +47,12 @@ export interface NetworkConfiguration {
41
47
  * @memberof NetworkConfiguration
42
48
  */
43
49
  shortName: string;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof NetworkConfiguration
54
+ */
55
+ isTestnet: boolean;
44
56
  /**
45
57
  *
46
58
  * @type {string}
@@ -13,8 +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
17
  'name': json['name'],
17
18
  'shortName': json['shortName'],
19
+ 'isTestnet': json['isTestnet'],
18
20
  'chain': json['chain'],
19
21
  'chainId': json['chainId'],
20
22
  'nameService': !exists(json, 'nameService') ? undefined : NameServiceFromJSON(json['nameService']),
@@ -40,8 +42,10 @@ function NetworkConfigurationToJSON(value) {
40
42
  return {
41
43
  'lcdUrl': value.lcdUrl,
42
44
  'chainName': value.chainName,
45
+ 'key': value.key,
43
46
  'name': value.name,
44
47
  'shortName': value.shortName,
48
+ 'isTestnet': value.isTestnet,
45
49
  'chain': value.chain,
46
50
  'chainId': value.chainId,
47
51
  'nameService': NameServiceToJSON(value.nameService),