starknet 5.9.0 → 5.9.2

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,17 @@
1
+ ## [5.9.2](https://github.com/0xs34n/starknet.js/compare/v5.9.1...v5.9.2) (2023-05-03)
2
+
3
+ ### Bug Fixes
4
+
5
+ - revert doc changes ([356b04d](https://github.com/0xs34n/starknet.js/commit/356b04d94a398ba7642cae6bffa8961213dda33c))
6
+
7
+ ## [5.9.1](https://github.com/0xs34n/starknet.js/compare/v5.9.0...v5.9.1) (2023-05-02)
8
+
9
+ ### Bug Fixes
10
+
11
+ - add tests for uint256 ([5914170](https://github.com/0xs34n/starknet.js/commit/5914170770fd75909779a6b7e7b3cb2c6b1b2a9f))
12
+ - correct test ([a35548e](https://github.com/0xs34n/starknet.js/commit/a35548e4d9892630645645bb43737ea2e2ae79a5))
13
+ - uint256 in contract call ([0cc05e0](https://github.com/0xs34n/starknet.js/commit/0cc05e073bc025c2afdc5105b5b87e5d23c1d487))
14
+
1
15
  # [5.9.0](https://github.com/0xs34n/starknet.js/compare/v5.8.0...v5.9.0) (2023-04-28)
2
16
 
3
17
  ### Features
package/dist/index.d.ts CHANGED
@@ -775,10 +775,10 @@ declare type STATE_UPDATE = {
775
775
  };
776
776
  declare type STORAGE_KEY = string;
777
777
  declare type EVENT_FILTER = {
778
- from_block?: BLOCK_ID;
779
- to_block?: BLOCK_ID;
780
- address?: ADDRESS;
781
- keys?: Array<FELT>;
778
+ from_block: BLOCK_ID;
779
+ to_block: BLOCK_ID;
780
+ address: ADDRESS;
781
+ keys: Array<FELT>;
782
782
  };
783
783
  declare type RESULT_PAGE_REQUEST = {
784
784
  continuation_token?: string;
@@ -1814,7 +1814,7 @@ declare abstract class ProviderInterface {
1814
1814
  * Gets the transaction information from a tx id.
1815
1815
  *
1816
1816
  * @param txHash
1817
- * @returns the transaction object { transaction_id, status, transaction, block_number?, block_number?, transaction_index?, transaction_failure_reason? }
1817
+ * @returns the transaction object \{ transaction_id, status, transaction, block_number?, block_number?, transaction_index?, transaction_failure_reason? \}
1818
1818
  */
1819
1819
  abstract getTransaction(transactionHash: BigNumberish): Promise<GetTransactionResponse>;
1820
1820
  /**
@@ -2119,7 +2119,7 @@ declare class SequencerProvider implements ProviderInterface {
2119
2119
  * [Reference](https://github.com/starkware-libs/cairo-lang/blob/f464ec4797361b6be8989e36e02ec690e74ef285/src/starkware/starknet/services/api/feeder_gateway/feeder_gateway_client.py#L48-L52)
2120
2120
  *
2121
2121
  * @param txHash
2122
- * @returns the transaction status object { block_number, tx_status: NOT_RECEIVED | RECEIVED | PENDING | REJECTED | ACCEPTED_ONCHAIN }
2122
+ * @returns the transaction status object \{ block_number, tx_status: NOT_RECEIVED | RECEIVED | PENDING | REJECTED | ACCEPTED_ONCHAIN \}
2123
2123
  */
2124
2124
  getTransactionStatus(txHash: BigNumberish): Promise<GetTransactionStatusResponse>;
2125
2125
  /**