web3-providers-ipc
Advanced tools
Comparing version 4.0.1-alpha.0 to 4.0.1-alpha.1
@@ -113,2 +113,7 @@ "use strict"; | ||
} | ||
if (!this._socket.writable) { | ||
console.error('Can not send a request. The internal socket is not `writable`. Request data: ', request); | ||
const dummyPromise = new web3_utils_1.Web3DeferredPromise(); | ||
return dummyPromise; | ||
} | ||
try { | ||
@@ -115,0 +120,0 @@ const defPromise = new web3_utils_1.Web3DeferredPromise(); |
{ | ||
"name": "web3-providers-ipc", | ||
"version": "4.0.1-alpha.0", | ||
"version": "4.0.1-alpha.1", | ||
"description": "IPC provider for Web3 4.x.x", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
"test:unit": "jest --config=./test/unit/jest.config.js", | ||
"test:integration": "jest --config=./test/integration/jest.config.js --runInBand --passWithNoTests" | ||
"test:integration": "jest --config=./test/integration/jest.config.js --passWithNoTests" | ||
}, | ||
@@ -43,7 +43,7 @@ "devDependencies": { | ||
"dependencies": { | ||
"web3-errors": "^0.1.1-alpha.0", | ||
"web3-types": "^0.1.1-alpha.0", | ||
"web3-utils": "^4.0.1-alpha.0" | ||
"web3-errors": "^0.1.1-alpha.1", | ||
"web3-types": "^0.1.1-alpha.1", | ||
"web3-utils": "^4.0.1-alpha.1" | ||
}, | ||
"gitHead": "766ebd976ef71458eaebf7a6108b268881e30552" | ||
"gitHead": "a754e3a965c30f42a6e639df27462650062833ee" | ||
} |
@@ -17,5 +17,15 @@ <p align="center"> | ||
###### Get it from the NPM Registry | ||
## Installation | ||
You can install the package either using [NPM](https://www.npmjs.com/package/web3-providers-ipc) or using [Yarn](https://yarnpkg.com/package/web3-providers-ipc) | ||
### Using NPM | ||
```bash | ||
npm install web3-providers-ipc | ||
``` | ||
### Using Yarn | ||
```bash | ||
yarn add web3-providers-ipc | ||
@@ -22,0 +32,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
21942
228
64
Updatedweb3-errors@^0.1.1-alpha.1
Updatedweb3-types@^0.1.1-alpha.1
Updatedweb3-utils@^4.0.1-alpha.1