@dynamic-labs/sdk-api-core 0.0.752 → 0.0.753

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.752",
3
+ "version": "0.0.753",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -13,8 +13,8 @@ function SignMessageEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
13
13
  return json;
14
14
  }
15
15
  return {
16
- 'to': !runtime.exists(json, 'to') ? undefined : json['to'],
17
- 'chain': !runtime.exists(json, 'chain') ? undefined : json['chain'],
16
+ 'to': json['to'],
17
+ 'chainId': json['chainId'],
18
18
  'data': !runtime.exists(json, 'data') ? undefined : json['data'],
19
19
  'gas': !runtime.exists(json, 'gas') ? undefined : json['gas'],
20
20
  'gasPrice': !runtime.exists(json, 'gasPrice') ? undefined : json['gasPrice'],
@@ -33,7 +33,7 @@ function SignMessageEvmTransactionToJSON(value) {
33
33
  }
34
34
  return {
35
35
  'to': value.to,
36
- 'chain': value.chain,
36
+ 'chainId': value.chainId,
37
37
  'data': value.data,
38
38
  'gas': value.gas,
39
39
  'gasPrice': value.gasPrice,
@@ -20,13 +20,13 @@ export interface SignMessageEvmTransaction {
20
20
  * @type {string}
21
21
  * @memberof SignMessageEvmTransaction
22
22
  */
23
- to?: string;
23
+ to: string;
24
24
  /**
25
- * Chain identifier
26
- * @type {string}
25
+ * Chain ID
26
+ * @type {number}
27
27
  * @memberof SignMessageEvmTransaction
28
28
  */
29
- chain?: string;
29
+ chainId: number;
30
30
  /**
31
31
  * Transaction data as hex string
32
32
  * @type {string}
@@ -9,8 +9,8 @@ function SignMessageEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
9
9
  return json;
10
10
  }
11
11
  return {
12
- 'to': !exists(json, 'to') ? undefined : json['to'],
13
- 'chain': !exists(json, 'chain') ? undefined : json['chain'],
12
+ 'to': json['to'],
13
+ 'chainId': json['chainId'],
14
14
  'data': !exists(json, 'data') ? undefined : json['data'],
15
15
  'gas': !exists(json, 'gas') ? undefined : json['gas'],
16
16
  'gasPrice': !exists(json, 'gasPrice') ? undefined : json['gasPrice'],
@@ -29,7 +29,7 @@ function SignMessageEvmTransactionToJSON(value) {
29
29
  }
30
30
  return {
31
31
  'to': value.to,
32
- 'chain': value.chain,
32
+ 'chainId': value.chainId,
33
33
  'data': value.data,
34
34
  'gas': value.gas,
35
35
  'gasPrice': value.gasPrice,