Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

web3-errors

Package Overview
Dependencies
Maintainers
5
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-errors - npm Package Compare versions

Comparing version 1.2.1-dev.fd2982d.0 to 1.2.1

2

lib/commonjs/errors/contract_errors.js

@@ -122,3 +122,3 @@ "use strict";

let originalError;
if ('originalError' in error.data) {
if (error.data && 'originalError' in error.data) {
originalError = error.data.originalError;

@@ -125,0 +125,0 @@ }

@@ -109,3 +109,3 @@ /*

let originalError;
if ('originalError' in error.data) {
if (error.data && 'originalError' in error.data) {
originalError = error.data.originalError;

@@ -112,0 +112,0 @@ }

{
"name": "web3-errors",
"version": "1.2.1-dev.fd2982d.0+fd2982d",
"version": "1.2.1",
"description": "This package has web3 error classes",

@@ -44,3 +44,3 @@ "main": "./lib/commonjs/index.js",

"dependencies": {
"web3-types": "1.6.1-dev.fd2982d.0+fd2982d"
"web3-types": "^1.7.0"
},

@@ -61,3 +61,3 @@ "devDependencies": {

},
"gitHead": "fd2982d1afacd6bf89084324b478ec04af18052e"
"gitHead": "1b9df07da96957169182baefced34b642c4e34e4"
}

@@ -162,3 +162,3 @@ /*

let originalError: { data: string };
if ('originalError' in error.data) {
if (error.data && 'originalError' in error.data) {
originalError = error.data.originalError;

@@ -165,0 +165,0 @@ } else {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc