starknet 3.17.0 → 3.18.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # [3.18.0](https://github.com/0xs34n/starknet.js/compare/v3.17.0...v3.18.0) (2022-07-23)
2
+
3
+ ### Features
4
+
5
+ - **cairo-0.9.1:** starknet_version in block response ([e88154d](https://github.com/0xs34n/starknet.js/commit/e88154d5f6fcd6695dca5d29da04d18d0a65cdf6))
6
+
1
7
  # [3.17.0](https://github.com/0xs34n/starknet.js/compare/v3.16.3...v3.17.0) (2022-07-15)
2
8
 
3
9
  ### Features
@@ -167,6 +167,7 @@ export declare type GetBlockResponse = {
167
167
  parent_block_hash: string;
168
168
  status: Status;
169
169
  gas_price: string;
170
+ starknet_version?: string;
170
171
  };
171
172
  export declare type GetCodeResponse = {
172
173
  bytecode: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starknet",
3
- "version": "3.17.0",
3
+ "version": "3.18.0",
4
4
  "description": "JavaScript library for StarkNet",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types/api.ts CHANGED
@@ -195,6 +195,7 @@ export type GetBlockResponse = {
195
195
  parent_block_hash: string;
196
196
  status: Status;
197
197
  gas_price: string;
198
+ starknet_version?: string;
198
199
  };
199
200
 
200
201
  export type GetCodeResponse = {
package/types/api.d.ts CHANGED
@@ -186,6 +186,7 @@ export declare type GetBlockResponse = {
186
186
  parent_block_hash: string;
187
187
  status: Status;
188
188
  gas_price: string;
189
+ starknet_version?: string;
189
190
  };
190
191
  export declare type GetCodeResponse = {
191
192
  bytecode: string[];
@@ -85,6 +85,7 @@ Gets the block information.
85
85
  transation: Transaction[];
86
86
  timestamp: number;
87
87
  transaction_receipts: [];
88
+ starknet_version: string;
88
89
  }
89
90
  ```
90
91