Comparing version 4.1.1-dev.f351e00.0 to 4.1.1-dev.f41ca32.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.f351e00.0+f351e00", | ||
"version": "4.1.1-dev.f41ca32.0+f41ca32", | ||
"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.5.2-dev.f351e00.0+f351e00", | ||
"web3-rpc-methods": "1.3.1-dev.f351e00.0+f351e00", | ||
"web3-types": "1.7.1-dev.f351e00.0+f351e00", | ||
"web3-utils": "4.3.2-dev.f351e00.0+f351e00" | ||
"web3-core": "4.7.2-dev.f41ca32.0+f41ca32", | ||
"web3-rpc-methods": "1.3.1-dev.f41ca32.0+f41ca32", | ||
"web3-types": "1.10.1-dev.f41ca32.0+f41ca32", | ||
"web3-utils": "4.3.4-dev.f41ca32.0+f41ca32" | ||
}, | ||
"gitHead": "f351e003f0649aeccee467f0a4dbcb124d0a90df" | ||
"gitHead": "f41ca32aabdc5169ea85f990a6ff5b1317650364" | ||
} |
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
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
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
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
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