@onekeyfe/cross-inpage-provider-errors
Advanced tools
Comparing version 1.1.43 to 1.1.44
@@ -7,2 +7,3 @@ "use strict"; | ||
exports.Web3ProviderError = exports.Web3RpcError = void 0; | ||
// https://github.com/MetaMask/rpc-errors/blob/main/src/classes.ts | ||
const fast_safe_stringify_1 = __importDefault(require("fast-safe-stringify")); | ||
@@ -39,5 +40,6 @@ /** | ||
} | ||
if (this.stack) { | ||
serialized.stack = this.stack; | ||
} | ||
// TODO read error.stack cause RN hermes app crash | ||
// if (this.stack) { | ||
// serialized.stack = this.stack; | ||
// } | ||
return serialized; | ||
@@ -44,0 +46,0 @@ } |
@@ -0,1 +1,2 @@ | ||
// https://github.com/MetaMask/rpc-errors/blob/main/src/classes.ts | ||
import safeStringify from 'fast-safe-stringify'; | ||
@@ -32,5 +33,6 @@ /** | ||
} | ||
if (this.stack) { | ||
serialized.stack = this.stack; | ||
} | ||
// TODO read error.stack cause RN hermes app crash | ||
// if (this.stack) { | ||
// serialized.stack = this.stack; | ||
// } | ||
return serialized; | ||
@@ -37,0 +39,0 @@ } |
{ | ||
"name": "@onekeyfe/cross-inpage-provider-errors", | ||
"version": "1.1.43", | ||
"version": "1.1.44", | ||
"keywords": [ | ||
@@ -33,3 +33,3 @@ "cross-inpage-provider" | ||
}, | ||
"gitHead": "9be95a09209e5dce1aa2af3847f6f8c48d226624" | ||
"gitHead": "a6b373f9438503447b69f35c407add9d7df9fb35" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51212
1106