@dynamic-labs/sdk-api-core 0.0.610 → 0.0.612

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.610",
3
+ "version": "0.0.612",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -30,6 +30,7 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'blockExplorerUrls': json['blockExplorerUrls'],
31
31
  'vanityName': !runtime.exists(json, 'vanityName') ? undefined : json['vanityName'],
32
32
  'bech32Prefix': !runtime.exists(json, 'bech32Prefix') ? undefined : json['bech32Prefix'],
33
+ 'genesisHash': !runtime.exists(json, 'genesisHash') ? undefined : json['genesisHash'],
33
34
  };
34
35
  }
35
36
  function NetworkConfigurationToJSON(value) {
@@ -55,6 +56,7 @@ function NetworkConfigurationToJSON(value) {
55
56
  'blockExplorerUrls': value.blockExplorerUrls,
56
57
  'vanityName': value.vanityName,
57
58
  'bech32Prefix': value.bech32Prefix,
59
+ 'genesisHash': value.genesisHash,
58
60
  };
59
61
  }
60
62
 
@@ -107,6 +107,12 @@ export interface NetworkConfiguration {
107
107
  * @memberof NetworkConfiguration
108
108
  */
109
109
  bech32Prefix?: string;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof NetworkConfiguration
114
+ */
115
+ genesisHash?: string;
110
116
  }
111
117
  export declare function NetworkConfigurationFromJSON(json: any): NetworkConfiguration;
112
118
  export declare function NetworkConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkConfiguration;
@@ -26,6 +26,7 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
26
26
  'blockExplorerUrls': json['blockExplorerUrls'],
27
27
  'vanityName': !exists(json, 'vanityName') ? undefined : json['vanityName'],
28
28
  'bech32Prefix': !exists(json, 'bech32Prefix') ? undefined : json['bech32Prefix'],
29
+ 'genesisHash': !exists(json, 'genesisHash') ? undefined : json['genesisHash'],
29
30
  };
30
31
  }
31
32
  function NetworkConfigurationToJSON(value) {
@@ -51,6 +52,7 @@ function NetworkConfigurationToJSON(value) {
51
52
  'blockExplorerUrls': value.blockExplorerUrls,
52
53
  'vanityName': value.vanityName,
53
54
  'bech32Prefix': value.bech32Prefix,
55
+ 'genesisHash': value.genesisHash,
54
56
  };
55
57
  }
56
58
 
@@ -15,6 +15,7 @@ function OpenRoomResponseFromJSONTyped(json, ignoreDiscriminator) {
15
15
  return {
16
16
  'roomId': json['roomId'],
17
17
  'serverKeygenIds': !runtime.exists(json, 'serverKeygenIds') ? undefined : json['serverKeygenIds'],
18
+ 'walletId': !runtime.exists(json, 'walletId') ? undefined : json['walletId'],
18
19
  };
19
20
  }
20
21
  function OpenRoomResponseToJSON(value) {
@@ -27,6 +28,7 @@ function OpenRoomResponseToJSON(value) {
27
28
  return {
28
29
  'roomId': value.roomId,
29
30
  'serverKeygenIds': value.serverKeygenIds,
31
+ 'walletId': value.walletId,
30
32
  };
31
33
  }
32
34
 
@@ -27,6 +27,12 @@ export interface OpenRoomResponse {
27
27
  * @memberof OpenRoomResponse
28
28
  */
29
29
  serverKeygenIds?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof OpenRoomResponse
34
+ */
35
+ walletId?: string;
30
36
  }
31
37
  export declare function OpenRoomResponseFromJSON(json: any): OpenRoomResponse;
32
38
  export declare function OpenRoomResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpenRoomResponse;
@@ -11,6 +11,7 @@ function OpenRoomResponseFromJSONTyped(json, ignoreDiscriminator) {
11
11
  return {
12
12
  'roomId': json['roomId'],
13
13
  'serverKeygenIds': !exists(json, 'serverKeygenIds') ? undefined : json['serverKeygenIds'],
14
+ 'walletId': !exists(json, 'walletId') ? undefined : json['walletId'],
14
15
  };
15
16
  }
16
17
  function OpenRoomResponseToJSON(value) {
@@ -23,6 +24,7 @@ function OpenRoomResponseToJSON(value) {
23
24
  return {
24
25
  'roomId': value.roomId,
25
26
  'serverKeygenIds': value.serverKeygenIds,
27
+ 'walletId': value.walletId,
26
28
  };
27
29
  }
28
30
 
@@ -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 OpenRoomResponseWithServerKeygenIdsFromJSON(json) {
19
9
  return OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json);
20
10
  }
@@ -25,6 +15,7 @@ function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscrimina
25
15
  return {
26
16
  'roomId': json['roomId'],
27
17
  'serverKeygenIds': json['serverKeygenIds'],
18
+ 'walletId': !runtime.exists(json, 'walletId') ? undefined : json['walletId'],
28
19
  };
29
20
  }
30
21
  function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
@@ -37,6 +28,7 @@ function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
37
28
  return {
38
29
  'roomId': value.roomId,
39
30
  'serverKeygenIds': value.serverKeygenIds,
31
+ 'walletId': value.walletId,
40
32
  };
41
33
  }
42
34
 
@@ -27,6 +27,12 @@ export interface OpenRoomResponseWithServerKeygenIds {
27
27
  * @memberof OpenRoomResponseWithServerKeygenIds
28
28
  */
29
29
  serverKeygenIds: Array<string>;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof OpenRoomResponseWithServerKeygenIds
34
+ */
35
+ walletId?: string;
30
36
  }
31
37
  export declare function OpenRoomResponseWithServerKeygenIdsFromJSON(json: any): OpenRoomResponseWithServerKeygenIds;
32
38
  export declare function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpenRoomResponseWithServerKeygenIds;
@@ -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 OpenRoomResponseWithServerKeygenIdsFromJSON(json) {
15
5
  return OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json);
16
6
  }
@@ -21,6 +11,7 @@ function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscrimina
21
11
  return {
22
12
  'roomId': json['roomId'],
23
13
  'serverKeygenIds': json['serverKeygenIds'],
14
+ 'walletId': !exists(json, 'walletId') ? undefined : json['walletId'],
24
15
  };
25
16
  }
26
17
  function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
@@ -33,6 +24,7 @@ function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
33
24
  return {
34
25
  'roomId': value.roomId,
35
26
  'serverKeygenIds': value.serverKeygenIds,
27
+ 'walletId': value.walletId,
36
28
  };
37
29
  }
38
30