New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

conflux-web-providers

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conflux-web-providers - npm Package Compare versions

Comparing version 0.1.15-alpha.0 to 0.1.29-alpha.0

93

dist/conflux-web-providers.cjs.js

@@ -52,7 +52,7 @@ 'use strict';

}
if (typeof global.mist !== 'undefined' && provider.constructor.name === 'EthereumProvider') {
return this.providersModuleFactory.createMistEthereumProvider(provider);
if (typeof global.mist !== 'undefined' && provider.constructor.name === 'CfxProvider') {
return this.providersModuleFactory.createMistConfluxProvider(provider);
}
if (provider.isEIP1193) {
return this.providersModuleFactory.createWeb3EthereumProvider(provider);
return this.providersModuleFactory.createConfluxWebCfxProvider(provider);
}

@@ -244,3 +244,3 @@ if (this.isMetamaskInpageProvider(provider)) {

_regeneratorRuntime.mark(function _callee2() {
var subscriptionKeys, subscriptionId, _arr, _i, key;
var subscriptionKeys, subscriptionId, _i, _subscriptionKeys, key;
return _regeneratorRuntime.wrap(function _callee2$(_context2) {

@@ -252,27 +252,26 @@ while (1) {

if (!(subscriptionKeys.length > 0)) {
_context2.next = 14;
_context2.next = 13;
break;
}
_arr = subscriptionKeys;
_i = 0;
case 4:
if (!(_i < _arr.length)) {
_context2.next = 14;
_i = 0, _subscriptionKeys = subscriptionKeys;
case 3:
if (!(_i < _subscriptionKeys.length)) {
_context2.next = 13;
break;
}
key = _arr[_i];
_context2.next = 8;
key = _subscriptionKeys[_i];
_context2.next = 7;
return this.subscribe(this.subscriptions[key].subscribeMethod, this.subscriptions[key].parameters[0], this.subscriptions[key].parameters.slice(1));
case 8:
case 7:
subscriptionId = _context2.sent;
delete this.subscriptions[subscriptionId];
this.subscriptions[key].id = subscriptionId;
case 11:
case 10:
_i++;
_context2.next = 4;
_context2.next = 3;
break;
case 14:
case 13:
this.emit(this.SOCKET_CONNECT);
this.emit(this.CONNECT);
case 16:
case 15:
case "end":

@@ -328,3 +327,3 @@ return _context2.stop();

return subscriptionId;
}).catch(function (error) {
})["catch"](function (error) {
throw new Error("Provider error: ".concat(error));

@@ -519,3 +518,3 @@ });

_this3.once('connect', function () {
_this3.sendPayload(payload).then(resolve).catch(reject);
_this3.sendPayload(payload).then(resolve)["catch"](reject);
});

@@ -841,13 +840,13 @@ });

var Web3EthereumProvider =
var ConfluxWebCfxProvider =
function (_AbstractSocketProvid) {
_inherits(Web3EthereumProvider, _AbstractSocketProvid);
function Web3EthereumProvider(connection) {
_inherits(ConfluxWebCfxProvider, _AbstractSocketProvid);
function ConfluxWebCfxProvider(connection) {
var _this;
_classCallCheck(this, Web3EthereumProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(Web3EthereumProvider).call(this, connection, null));
_this.host = 'Web3EthereumProvider';
_classCallCheck(this, ConfluxWebCfxProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(ConfluxWebCfxProvider).call(this, connection, null));
_this.host = 'ConfluxWebCfxProvider';
return _this;
}
_createClass(Web3EthereumProvider, [{
_createClass(ConfluxWebCfxProvider, [{
key: "registerEventListeners",

@@ -888,3 +887,3 @@ value: function registerEventListeners() {

}
_get(_getPrototypeOf(Web3EthereumProvider.prototype), "removeAllListeners", this).call(this, event);
_get(_getPrototypeOf(ConfluxWebCfxProvider.prototype), "removeAllListeners", this).call(this, event);
}

@@ -954,3 +953,3 @@ }, {

}]);
return Web3EthereumProvider;
return ConfluxWebCfxProvider;
}(AbstractSocketProvider);

@@ -1046,13 +1045,13 @@

var MistEthereumProvider =
var MistConfluxProvider =
function (_AbstractSocketProvid) {
_inherits(MistEthereumProvider, _AbstractSocketProvid);
function MistEthereumProvider(connection) {
_inherits(MistConfluxProvider, _AbstractSocketProvid);
function MistConfluxProvider(connection) {
var _this;
_classCallCheck(this, MistEthereumProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MistEthereumProvider).call(this, connection, null));
_classCallCheck(this, MistConfluxProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MistConfluxProvider).call(this, connection, null));
_this.host = 'mist';
return _this;
}
_createClass(MistEthereumProvider, [{
_createClass(MistConfluxProvider, [{
key: "registerEventListeners",

@@ -1086,3 +1085,3 @@ value: function registerEventListeners() {

}
_get(_getPrototypeOf(MistEthereumProvider.prototype), "removeAllListeners", this).call(this, event);
_get(_getPrototypeOf(MistConfluxProvider.prototype), "removeAllListeners", this).call(this, event);
}

@@ -1114,3 +1113,3 @@ }, {

}]);
return MistEthereumProvider;
return MistConfluxProvider;
}(AbstractSocketProvider);

@@ -1287,5 +1286,5 @@

}, {
key: "createWeb3EthereumProvider",
value: function createWeb3EthereumProvider(connection) {
return new Web3EthereumProvider(connection);
key: "createConfluxWebCfxProvider",
value: function createConfluxWebCfxProvider(connection) {
return new ConfluxWebCfxProvider(connection);
}

@@ -1298,5 +1297,5 @@ }, {

}, {
key: "createMistEthereumProvider",
value: function createMistEthereumProvider(mistEthereumProvider) {
return new MistEthereumProvider(mistEthereumProvider);
key: "createMistConfluxProvider",
value: function createMistConfluxProvider(mistConfluxProvider) {
return new MistConfluxProvider(mistConfluxProvider);
}

@@ -1323,7 +1322,7 @@ }, {

value: function detect() {
if (typeof global$1.ethereumProvider !== 'undefined' && global$1.ethereumProvider.constructor.name === 'EthereumProvider') {
return global$1.ethereumProvider;
if (typeof global$1.confluxProvider !== 'undefined' && global$1.confluxProvider.constructor.name === 'CfxProvider') {
return global$1.confluxProvider;
}
if (typeof global$1.web3 !== 'undefined' && global$1.web3.currentProvider) {
return global$1.web3.currentProvider;
if (typeof global$1.confluxWeb !== 'undefined' && global$1.confluxWeb.currentProvider) {
return global$1.confluxWeb.currentProvider;
}

@@ -1355,2 +1354,3 @@ return null;

exports.BatchRequest = BatchRequest$1;
exports.ConfluxWebCfxProvider = ConfluxWebCfxProvider;
exports.HttpProvider = HttpProvider$1;

@@ -1361,3 +1361,2 @@ exports.IpcProvider = IpcProvider$1;

exports.ProvidersModuleFactory = ProvidersModuleFactory;
exports.Web3EthereumProvider = Web3EthereumProvider;
exports.WebsocketProvider = WebsocketProvider$1;

@@ -186,7 +186,7 @@ import { w3cwebsocket } from 'websocket';

}
if (typeof global.mist !== 'undefined' && provider.constructor.name === 'EthereumProvider') {
return this.providersModuleFactory.createMistEthereumProvider(provider);
if (typeof global.mist !== 'undefined' && provider.constructor.name === 'CfxProvider') {
return this.providersModuleFactory.createMistConfluxProvider(provider);
}
if (provider.isEIP1193) {
return this.providersModuleFactory.createWeb3EthereumProvider(provider);
return this.providersModuleFactory.createConfluxWebCfxProvider(provider);
}

@@ -378,3 +378,3 @@ if (this.isMetamaskInpageProvider(provider)) {

regeneratorRuntime.mark(function _callee2() {
var subscriptionKeys, subscriptionId, _arr, _i, key;
var subscriptionKeys, subscriptionId, _i, _subscriptionKeys, key;
return regeneratorRuntime.wrap(function _callee2$(_context2) {

@@ -386,27 +386,26 @@ while (1) {

if (!(subscriptionKeys.length > 0)) {
_context2.next = 14;
_context2.next = 13;
break;
}
_arr = subscriptionKeys;
_i = 0;
case 4:
if (!(_i < _arr.length)) {
_context2.next = 14;
_i = 0, _subscriptionKeys = subscriptionKeys;
case 3:
if (!(_i < _subscriptionKeys.length)) {
_context2.next = 13;
break;
}
key = _arr[_i];
_context2.next = 8;
key = _subscriptionKeys[_i];
_context2.next = 7;
return this.subscribe(this.subscriptions[key].subscribeMethod, this.subscriptions[key].parameters[0], this.subscriptions[key].parameters.slice(1));
case 8:
case 7:
subscriptionId = _context2.sent;
delete this.subscriptions[subscriptionId];
this.subscriptions[key].id = subscriptionId;
case 11:
case 10:
_i++;
_context2.next = 4;
_context2.next = 3;
break;
case 14:
case 13:
this.emit(this.SOCKET_CONNECT);
this.emit(this.CONNECT);
case 16:
case 15:
case "end":

@@ -462,3 +461,3 @@ return _context2.stop();

return subscriptionId;
}).catch(function (error) {
})["catch"](function (error) {
throw new Error("Provider error: ".concat(error));

@@ -653,3 +652,3 @@ });

_this3.once('connect', function () {
_this3.sendPayload(payload).then(resolve).catch(reject);
_this3.sendPayload(payload).then(resolve)["catch"](reject);
});

@@ -975,13 +974,13 @@ });

var Web3EthereumProvider =
var ConfluxWebCfxProvider =
function (_AbstractSocketProvid) {
_inherits(Web3EthereumProvider, _AbstractSocketProvid);
function Web3EthereumProvider(connection) {
_inherits(ConfluxWebCfxProvider, _AbstractSocketProvid);
function ConfluxWebCfxProvider(connection) {
var _this;
_classCallCheck(this, Web3EthereumProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(Web3EthereumProvider).call(this, connection, null));
_this.host = 'Web3EthereumProvider';
_classCallCheck(this, ConfluxWebCfxProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(ConfluxWebCfxProvider).call(this, connection, null));
_this.host = 'ConfluxWebCfxProvider';
return _this;
}
_createClass(Web3EthereumProvider, [{
_createClass(ConfluxWebCfxProvider, [{
key: "registerEventListeners",

@@ -1022,3 +1021,3 @@ value: function registerEventListeners() {

}
_get(_getPrototypeOf(Web3EthereumProvider.prototype), "removeAllListeners", this).call(this, event);
_get(_getPrototypeOf(ConfluxWebCfxProvider.prototype), "removeAllListeners", this).call(this, event);
}

@@ -1088,3 +1087,3 @@ }, {

}]);
return Web3EthereumProvider;
return ConfluxWebCfxProvider;
}(AbstractSocketProvider);

@@ -1180,13 +1179,13 @@

var MistEthereumProvider =
var MistConfluxProvider =
function (_AbstractSocketProvid) {
_inherits(MistEthereumProvider, _AbstractSocketProvid);
function MistEthereumProvider(connection) {
_inherits(MistConfluxProvider, _AbstractSocketProvid);
function MistConfluxProvider(connection) {
var _this;
_classCallCheck(this, MistEthereumProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MistEthereumProvider).call(this, connection, null));
_classCallCheck(this, MistConfluxProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MistConfluxProvider).call(this, connection, null));
_this.host = 'mist';
return _this;
}
_createClass(MistEthereumProvider, [{
_createClass(MistConfluxProvider, [{
key: "registerEventListeners",

@@ -1220,3 +1219,3 @@ value: function registerEventListeners() {

}
_get(_getPrototypeOf(MistEthereumProvider.prototype), "removeAllListeners", this).call(this, event);
_get(_getPrototypeOf(MistConfluxProvider.prototype), "removeAllListeners", this).call(this, event);
}

@@ -1248,3 +1247,3 @@ }, {

}]);
return MistEthereumProvider;
return MistConfluxProvider;
}(AbstractSocketProvider);

@@ -1421,5 +1420,5 @@

}, {
key: "createWeb3EthereumProvider",
value: function createWeb3EthereumProvider(connection) {
return new Web3EthereumProvider(connection);
key: "createConfluxWebCfxProvider",
value: function createConfluxWebCfxProvider(connection) {
return new ConfluxWebCfxProvider(connection);
}

@@ -1432,5 +1431,5 @@ }, {

}, {
key: "createMistEthereumProvider",
value: function createMistEthereumProvider(mistEthereumProvider) {
return new MistEthereumProvider(mistEthereumProvider);
key: "createMistConfluxProvider",
value: function createMistConfluxProvider(mistConfluxProvider) {
return new MistConfluxProvider(mistConfluxProvider);
}

@@ -1457,7 +1456,7 @@ }, {

value: function detect() {
if (typeof global$1.ethereumProvider !== 'undefined' && global$1.ethereumProvider.constructor.name === 'EthereumProvider') {
return global$1.ethereumProvider;
if (typeof global$1.confluxProvider !== 'undefined' && global$1.confluxProvider.constructor.name === 'CfxProvider') {
return global$1.confluxProvider;
}
if (typeof global$1.web3 !== 'undefined' && global$1.web3.currentProvider) {
return global$1.web3.currentProvider;
if (typeof global$1.confluxWeb !== 'undefined' && global$1.confluxWeb.currentProvider) {
return global$1.confluxWeb.currentProvider;
}

@@ -1488,2 +1487,2 @@ return null;

export { BatchRequest$1 as BatchRequest, HttpProvider$1 as HttpProvider, IpcProvider$1 as IpcProvider, ProviderDetector, ProviderResolver$1 as ProviderResolver, ProvidersModuleFactory, Web3EthereumProvider, WebsocketProvider$1 as WebsocketProvider };
export { BatchRequest$1 as BatchRequest, ConfluxWebCfxProvider, HttpProvider$1 as HttpProvider, IpcProvider$1 as IpcProvider, ProviderDetector, ProviderResolver$1 as ProviderResolver, ProvidersModuleFactory, WebsocketProvider$1 as WebsocketProvider };

@@ -50,7 +50,7 @@ (function (global, factory) {

}
if (typeof global.mist !== 'undefined' && provider.constructor.name === 'EthereumProvider') {
return this.providersModuleFactory.createMistEthereumProvider(provider);
if (typeof global.mist !== 'undefined' && provider.constructor.name === 'CfxProvider') {
return this.providersModuleFactory.createMistConfluxProvider(provider);
}
if (provider.isEIP1193) {
return this.providersModuleFactory.createWeb3EthereumProvider(provider);
return this.providersModuleFactory.createConfluxWebCfxProvider(provider);
}

@@ -242,3 +242,3 @@ if (this.isMetamaskInpageProvider(provider)) {

_regeneratorRuntime.mark(function _callee2() {
var subscriptionKeys, subscriptionId, _arr, _i, key;
var subscriptionKeys, subscriptionId, _i, _subscriptionKeys, key;
return _regeneratorRuntime.wrap(function _callee2$(_context2) {

@@ -250,27 +250,26 @@ while (1) {

if (!(subscriptionKeys.length > 0)) {
_context2.next = 14;
_context2.next = 13;
break;
}
_arr = subscriptionKeys;
_i = 0;
case 4:
if (!(_i < _arr.length)) {
_context2.next = 14;
_i = 0, _subscriptionKeys = subscriptionKeys;
case 3:
if (!(_i < _subscriptionKeys.length)) {
_context2.next = 13;
break;
}
key = _arr[_i];
_context2.next = 8;
key = _subscriptionKeys[_i];
_context2.next = 7;
return this.subscribe(this.subscriptions[key].subscribeMethod, this.subscriptions[key].parameters[0], this.subscriptions[key].parameters.slice(1));
case 8:
case 7:
subscriptionId = _context2.sent;
delete this.subscriptions[subscriptionId];
this.subscriptions[key].id = subscriptionId;
case 11:
case 10:
_i++;
_context2.next = 4;
_context2.next = 3;
break;
case 14:
case 13:
this.emit(this.SOCKET_CONNECT);
this.emit(this.CONNECT);
case 16:
case 15:
case "end":

@@ -326,3 +325,3 @@ return _context2.stop();

return subscriptionId;
}).catch(function (error) {
})["catch"](function (error) {
throw new Error("Provider error: ".concat(error));

@@ -517,3 +516,3 @@ });

_this3.once('connect', function () {
_this3.sendPayload(payload).then(resolve).catch(reject);
_this3.sendPayload(payload).then(resolve)["catch"](reject);
});

@@ -839,13 +838,13 @@ });

var Web3EthereumProvider =
var ConfluxWebCfxProvider =
function (_AbstractSocketProvid) {
_inherits(Web3EthereumProvider, _AbstractSocketProvid);
function Web3EthereumProvider(connection) {
_inherits(ConfluxWebCfxProvider, _AbstractSocketProvid);
function ConfluxWebCfxProvider(connection) {
var _this;
_classCallCheck(this, Web3EthereumProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(Web3EthereumProvider).call(this, connection, null));
_this.host = 'Web3EthereumProvider';
_classCallCheck(this, ConfluxWebCfxProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(ConfluxWebCfxProvider).call(this, connection, null));
_this.host = 'ConfluxWebCfxProvider';
return _this;
}
_createClass(Web3EthereumProvider, [{
_createClass(ConfluxWebCfxProvider, [{
key: "registerEventListeners",

@@ -886,3 +885,3 @@ value: function registerEventListeners() {

}
_get(_getPrototypeOf(Web3EthereumProvider.prototype), "removeAllListeners", this).call(this, event);
_get(_getPrototypeOf(ConfluxWebCfxProvider.prototype), "removeAllListeners", this).call(this, event);
}

@@ -952,3 +951,3 @@ }, {

}]);
return Web3EthereumProvider;
return ConfluxWebCfxProvider;
}(AbstractSocketProvider);

@@ -1044,13 +1043,13 @@

var MistEthereumProvider =
var MistConfluxProvider =
function (_AbstractSocketProvid) {
_inherits(MistEthereumProvider, _AbstractSocketProvid);
function MistEthereumProvider(connection) {
_inherits(MistConfluxProvider, _AbstractSocketProvid);
function MistConfluxProvider(connection) {
var _this;
_classCallCheck(this, MistEthereumProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MistEthereumProvider).call(this, connection, null));
_classCallCheck(this, MistConfluxProvider);
_this = _possibleConstructorReturn(this, _getPrototypeOf(MistConfluxProvider).call(this, connection, null));
_this.host = 'mist';
return _this;
}
_createClass(MistEthereumProvider, [{
_createClass(MistConfluxProvider, [{
key: "registerEventListeners",

@@ -1084,3 +1083,3 @@ value: function registerEventListeners() {

}
_get(_getPrototypeOf(MistEthereumProvider.prototype), "removeAllListeners", this).call(this, event);
_get(_getPrototypeOf(MistConfluxProvider.prototype), "removeAllListeners", this).call(this, event);
}

@@ -1112,3 +1111,3 @@ }, {

}]);
return MistEthereumProvider;
return MistConfluxProvider;
}(AbstractSocketProvider);

@@ -1285,5 +1284,5 @@

}, {
key: "createWeb3EthereumProvider",
value: function createWeb3EthereumProvider(connection) {
return new Web3EthereumProvider(connection);
key: "createConfluxWebCfxProvider",
value: function createConfluxWebCfxProvider(connection) {
return new ConfluxWebCfxProvider(connection);
}

@@ -1296,5 +1295,5 @@ }, {

}, {
key: "createMistEthereumProvider",
value: function createMistEthereumProvider(mistEthereumProvider) {
return new MistEthereumProvider(mistEthereumProvider);
key: "createMistConfluxProvider",
value: function createMistConfluxProvider(mistConfluxProvider) {
return new MistConfluxProvider(mistConfluxProvider);
}

@@ -1321,7 +1320,7 @@ }, {

value: function detect() {
if (typeof global$1.ethereumProvider !== 'undefined' && global$1.ethereumProvider.constructor.name === 'EthereumProvider') {
return global$1.ethereumProvider;
if (typeof global$1.confluxProvider !== 'undefined' && global$1.confluxProvider.constructor.name === 'CfxProvider') {
return global$1.confluxProvider;
}
if (typeof global$1.web3 !== 'undefined' && global$1.web3.currentProvider) {
return global$1.web3.currentProvider;
if (typeof global$1.confluxWeb !== 'undefined' && global$1.confluxWeb.currentProvider) {
return global$1.confluxWeb.currentProvider;
}

@@ -1353,2 +1352,3 @@ return null;

exports.BatchRequest = BatchRequest$1;
exports.ConfluxWebCfxProvider = ConfluxWebCfxProvider;
exports.HttpProvider = HttpProvider$1;

@@ -1359,3 +1359,2 @@ exports.IpcProvider = IpcProvider$1;

exports.ProvidersModuleFactory = ProvidersModuleFactory;
exports.Web3EthereumProvider = Web3EthereumProvider;
exports.WebsocketProvider = WebsocketProvider$1;

@@ -1362,0 +1361,0 @@

{
"name": "conflux-web-providers",
"version": "0.1.15-alpha.0",
"version": "0.1.29-alpha.0",
"description": "ConfluxWeb module to handle requests to external providers.",

@@ -28,5 +28,5 @@ "repository": "https://github.com/Conflux-Chain/ConfluxWeb/tree/master/packages/conflux-web-providers",

"conflux-web-core": "0.1.10-alpha.0",
"conflux-web-core-helpers": "0.1.15-alpha.0",
"conflux-web-core-helpers": "0.1.29-alpha.0",
"conflux-web-core-method": "0.1.10-alpha.0",
"conflux-web-utils": "0.1.15-alpha.0",
"conflux-web-utils": "0.1.29-alpha.0",
"definitelytyped-header-parser": "^1.0.1",

@@ -39,3 +39,3 @@ "dtslint": "0.4.2"

],
"gitHead": "321bbe5fcd40edebce07b544836bb5f201947a94"
"gitHead": "9fcbaa03f4ba9904f58d1db301357f86ee7806bd"
}

@@ -54,3 +54,3 @@ # conflux-web-providers

const ipcProvider = new IpcProvider('/Users/me/Library/Ethereum/geth.ipc', net);
const ipcProvider = new IpcProvider('/Users/me/Library/Conflux/geth.ipc', net);
```

@@ -57,0 +57,0 @@

/*
This file is part of web3.js.
This file is part of confluxWeb.
web3.js is free software: you can redistribute it and/or modify
confluxWeb is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by

@@ -9,3 +9,3 @@ the Free Software Foundation, either version 3 of the License, or

web3.js is distributed in the hope that it will be useful,
confluxWeb is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of

@@ -16,9 +16,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
along with confluxWeb. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file index.d.ts
* @author Josh Stevens <joshstevens19@hotmail.co.uk>, Samuel Furter <samuel@ethereum.org>
* @date 2018
*/

@@ -52,3 +47,3 @@ import * as net from 'net';

createWeb3EthereumProvider(connection: object): Web3EthereumProvider;
createConfluxWebCfxProvider(connection: object): ConfluxWebCfxProvider;
}

@@ -126,4 +121,4 @@

export class Web3EthereumProvider extends AbstractSocketProvider {
constructor(ethereumProvider: any);
export class ConfluxWebCfxProvider extends AbstractSocketProvider {
constructor(confluxProvider: any);
}

@@ -145,3 +140,3 @@

export type provider = HttpProvider | IpcProvider | WebsocketProvider | Web3EthereumProvider | CustomProvider | string;
export type provider = HttpProvider | IpcProvider | WebsocketProvider | ConfluxWebCfxProvider | CustomProvider | string;

@@ -148,0 +143,0 @@ export interface JsonRpcPayload {

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