@stacks/blockchain-api-client 7.1.7 → 7.1.8

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": "@stacks/blockchain-api-client",
3
- "version": "7.1.7",
3
+ "version": "7.1.8",
4
4
  "access": "public",
5
5
  "description": "Client for the Stacks Blockchain API",
6
6
  "homepage": "https://github.com/hirosystems/stacks-blockchain-api/tree/master/client#readme",
@@ -44,6 +44,12 @@ export interface ServerStatusResponse {
44
44
  * @memberof ServerStatusResponse
45
45
  */
46
46
  pox_v1_unlock_height?: number | null;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof ServerStatusResponse
51
+ */
52
+ pox_v2_unlock_height?: number | null;
47
53
  /**
48
54
  *
49
55
  * @type {ChainTip}
@@ -65,6 +71,7 @@ export function ServerStatusResponseFromJSONTyped(json: any, ignoreDiscriminator
65
71
  'server_version': !exists(json, 'server_version') ? undefined : json['server_version'],
66
72
  'status': json['status'],
67
73
  'pox_v1_unlock_height': !exists(json, 'pox_v1_unlock_height') ? undefined : json['pox_v1_unlock_height'],
74
+ 'pox_v2_unlock_height': !exists(json, 'pox_v2_unlock_height') ? undefined : json['pox_v2_unlock_height'],
68
75
  'chain_tip': !exists(json, 'chain_tip') ? undefined : ChainTipFromJSON(json['chain_tip']),
69
76
  };
70
77
  }
@@ -81,6 +88,7 @@ export function ServerStatusResponseToJSON(value?: ServerStatusResponse | null):
81
88
  'server_version': value.server_version,
82
89
  'status': value.status,
83
90
  'pox_v1_unlock_height': value.pox_v1_unlock_height,
91
+ 'pox_v2_unlock_height': value.pox_v2_unlock_height,
84
92
  'chain_tip': ChainTipToJSON(value.chain_tip),
85
93
  };
86
94
  }