Comparing version 4.1.1-dev.bde1316.0 to 4.1.1-dev.bf16917.0
@@ -87,4 +87,4 @@ "use strict"; | ||
*/ | ||
getId(returnFormat = this.defaultReturnFormat) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
getId() { | ||
return __awaiter(this, arguments, void 0, function* (returnFormat = this.defaultReturnFormat) { | ||
return rpcMethodsWrappers.getId(this, returnFormat); | ||
@@ -105,4 +105,4 @@ }); | ||
*/ | ||
getPeerCount(returnFormat = this.defaultReturnFormat) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
getPeerCount() { | ||
return __awaiter(this, arguments, void 0, function* (returnFormat = this.defaultReturnFormat) { | ||
return rpcMethodsWrappers.getPeerCount(this, returnFormat); | ||
@@ -109,0 +109,0 @@ }); |
@@ -28,3 +28,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isListening = exports.getPeerCount = exports.getId = void 0; | ||
exports.isListening = void 0; | ||
exports.getId = getId; | ||
exports.getPeerCount = getPeerCount; | ||
const web3_utils_1 = require("web3-utils"); | ||
@@ -38,3 +40,2 @@ const web3_rpc_methods_1 = require("web3-rpc-methods"); | ||
} | ||
exports.getId = getId; | ||
function getPeerCount(web3Context, returnFormat) { | ||
@@ -47,5 +48,4 @@ return __awaiter(this, void 0, void 0, function* () { | ||
} | ||
exports.getPeerCount = getPeerCount; | ||
const isListening = (web3Context) => __awaiter(void 0, void 0, void 0, function* () { return web3_rpc_methods_1.netRpcMethods.isListening(web3Context.requestManager); }); | ||
exports.isListening = isListening; | ||
//# sourceMappingURL=rpc_method_wrappers.js.map |
@@ -61,4 +61,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
*/ | ||
getId(returnFormat = this.defaultReturnFormat) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
getId() { | ||
return __awaiter(this, arguments, void 0, function* (returnFormat = this.defaultReturnFormat) { | ||
return rpcMethodsWrappers.getId(this, returnFormat); | ||
@@ -79,4 +79,4 @@ }); | ||
*/ | ||
getPeerCount(returnFormat = this.defaultReturnFormat) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
getPeerCount() { | ||
return __awaiter(this, arguments, void 0, function* (returnFormat = this.defaultReturnFormat) { | ||
return rpcMethodsWrappers.getPeerCount(this, returnFormat); | ||
@@ -83,0 +83,0 @@ }); |
{ | ||
"name": "web3-net", | ||
"version": "4.1.1-dev.bde1316.0+bde1316", | ||
"version": "4.1.1-dev.bf16917.0+bf16917", | ||
"description": "Web3 module to interact with the Ethereum nodes networking properties.", | ||
@@ -56,11 +56,11 @@ "main": "./lib/commonjs/index.js", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.7.4" | ||
"typescript": "^5.5.4" | ||
}, | ||
"dependencies": { | ||
"web3-core": "4.7.1-dev.bde1316.0+bde1316", | ||
"web3-rpc-methods": "1.3.1-dev.bde1316.0+bde1316", | ||
"web3-types": "1.9.1-dev.bde1316.0+bde1316", | ||
"web3-utils": "4.3.3-dev.bde1316.0+bde1316" | ||
"web3-core": "4.7.2-dev.bf16917.0+bf16917", | ||
"web3-rpc-methods": "1.3.1-dev.bf16917.0+bf16917", | ||
"web3-types": "1.10.1-dev.bf16917.0+bf16917", | ||
"web3-utils": "4.3.4-dev.bf16917.0+bf16917" | ||
}, | ||
"gitHead": "bde13161e76e99841c6d8901c03901ce739174f2" | ||
"gitHead": "bf1691765bd9d4b0f7a4479e915207707d69226d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
40809
31