starknet 5.24.0 → 5.24.1

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
+ ## [5.24.1](https://github.com/starknet-io/starknet.js/compare/v5.24.0...v5.24.1) (2023-11-13)
2
+
3
+ ### Bug Fixes
4
+
5
+ - stringify error handler data ([1eab2d3](https://github.com/starknet-io/starknet.js/commit/1eab2d3acd67e8a14d6e10ea24d27aa1e108cdcc))
6
+
1
7
  # [5.24.0](https://github.com/starknet-io/starknet.js/compare/v5.23.0...v5.24.0) (2023-11-13)
2
8
 
3
9
  ### Bug Fixes
@@ -10870,8 +10870,8 @@ var starknet = (() => {
10870
10870
  if (rpcError) {
10871
10871
  const { code, message, data } = rpcError;
10872
10872
  throw new LibraryError(
10873
- `RPC: ${method} with params ${JSON.stringify(params)}
10874
- ${code}: ${message}: ${data}`
10873
+ `RPC: ${method} with params ${stringify2(params)}
10874
+ ${code}: ${message}: ${stringify2(data)}`
10875
10875
  );
10876
10876
  }
10877
10877
  if (otherError instanceof LibraryError) {