@cryptorubic/web3 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -1 +1 @@
1
- # web3
1
+ # web3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptorubic/web3",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "dependencies": {
5
5
  "@ethersproject/bignumber": "^5.8.0",
6
6
  "@mysten/sui": "^1.24.0",
@@ -3,5 +3,5 @@ import { RubicSdkError } from '../rubic-sdk.error';
3
3
  * Thrown, when user cancels transaction.
4
4
  */
5
5
  export declare class UserRejectError extends RubicSdkError {
6
- constructor();
6
+ constructor(message?: string);
7
7
  }
@@ -6,8 +6,8 @@ const rubic_sdk_error_1 = require("../rubic-sdk.error");
6
6
  * Thrown, when user cancels transaction.
7
7
  */
8
8
  class UserRejectError extends rubic_sdk_error_1.RubicSdkError {
9
- constructor() {
10
- super();
9
+ constructor(message) {
10
+ super(message);
11
11
  Object.setPrototypeOf(this, UserRejectError.prototype);
12
12
  }
13
13
  }