@streamflow/stream 5.9.6 → 5.9.7
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/dist/common/types.js +2 -6
- package/package.json +2 -2
package/dist/common/types.js
CHANGED
|
@@ -150,14 +150,10 @@ var ContractError = /** @class */ (function (_super) {
|
|
|
150
150
|
*/
|
|
151
151
|
function ContractError(error, code) {
|
|
152
152
|
var _this = _super.call(this, error.message) || this;
|
|
153
|
-
_this.name = "ContractError"; // Set the name property
|
|
154
153
|
_this.contractErrorCode = code !== null && code !== void 0 ? code : null;
|
|
155
154
|
// Copy properties from the original error
|
|
156
|
-
Object.
|
|
157
|
-
|
|
158
|
-
});
|
|
159
|
-
// If you want to capture the stack trace:
|
|
160
|
-
_this.stack = error.stack;
|
|
155
|
+
Object.setPrototypeOf(_this, ContractError.prototype);
|
|
156
|
+
_this.name = "ContractError"; // Set the name property
|
|
161
157
|
return _this;
|
|
162
158
|
}
|
|
163
159
|
return ContractError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamflow/stream",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.7",
|
|
4
4
|
"description": "JavaScript SDK to interact with Streamflow protocol.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"homepage": "https://github.com/streamflow-finance/js-sdk/",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"lint": "eslint .",
|
|
12
12
|
"prepublishOnly": "npm run lint && npm test && npm run build"
|
|
13
13
|
},
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "441cd7b06358e430ea6c22a506b7a66cc8768ed6",
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/bn.js": "5.1.1",
|
|
17
17
|
"@types/ethereum-checksum-address": "^0.0.0",
|