Socket
Socket
Sign inDemoInstall

web3-providers-ws

Package Overview
Dependencies
Maintainers
2
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-providers-ws - npm Package Compare versions

Comparing version 1.2.11 to 1.3.0-rc.0

lib/helpers.js

11

package.json
{
"name": "web3-providers-ws",
"version": "1.2.11",
"version": "1.3.0-rc.0",
"description": "Module to handle web3 RPC connections over WebSockets.",

@@ -11,11 +11,12 @@ "repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-providers-ws",

"scripts": {
"tsc": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"types": "types/index.d.ts",
"main": "src/index.js",
"main": "lib/index.js",
"dependencies": {
"eventemitter3": "4.0.4",
"underscore": "1.9.1",
"web3-core-helpers": "1.2.11",
"websocket": "^1.0.31"
"web3-core-helpers": "1.3.0-rc.0",
"websocket": "^1.0.32"
},

@@ -26,3 +27,3 @@ "devDependencies": {

},
"gitHead": "87e668275ac7d9b8af7c909137fc0626c3866929"
"gitHead": "83c9f65c7cb3b4f4532f890ec5a3608fd1879e35"
}
var isNode = Object.prototype.toString.call(typeof process !== 'undefined' ? process : 0) === '[object process]';
var isRN = typeof navigator !== 'undefined' && navigator.product === 'ReactNative';
var _btoa = null;
var helpers = null;
if (isNode) {
if (isNode || isRN) {
_btoa = function(str) {

@@ -7,0 +8,0 @@ return Buffer.from(str).toString('base64');

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