web3-plugin-example
Advanced tools
Comparing version 1.1.2-dev.bbde6ea.0 to 1.1.2-dev.bc4a34b.0
@@ -23,13 +23,13 @@ import { Web3PluginBase } from 'web3-core'; | ||
address: string; | ||
balance: import("web3-types").NumberTypes[({ | ||
balance: import("web3-types").NumberTypes[(ReturnFormat | { | ||
readonly number: import("web3-types").FMT_NUMBER.BIGINT; | ||
readonly bytes: import("web3-types").FMT_BYTES.HEX; | ||
} | NonNullable<ReturnFormat>)["number"]]; | ||
})["number"]]; | ||
}; | ||
recipient: { | ||
address: string; | ||
balance: import("web3-types").NumberTypes[({ | ||
balance: import("web3-types").NumberTypes[(ReturnFormat | { | ||
readonly number: import("web3-types").FMT_NUMBER.BIGINT; | ||
readonly bytes: import("web3-types").FMT_BYTES.HEX; | ||
} | NonNullable<ReturnFormat>)["number"]]; | ||
})["number"]]; | ||
}; | ||
@@ -36,0 +36,0 @@ }>; |
import { Web3PluginBase } from 'web3-core'; | ||
import { Web3Context } from './reexported_web3_context'; | ||
import { Web3Middleware } from './request_manager_middleware'; | ||
declare type CustomRpcApi = { | ||
type CustomRpcApi = { | ||
custom_rpc_method: () => string; | ||
@@ -6,0 +6,0 @@ custom_rpc_method_with_parameters: (parameter1: string, parameter2: number) => string; |
@@ -17,4 +17,4 @@ "use strict"; | ||
processRequest(request) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
// add your custom logic here for processing requests | ||
@@ -21,0 +21,0 @@ let reqObj = Object.assign({}, request); |
{ | ||
"name": "web3-plugin-example", | ||
"version": "1.1.2-dev.bbde6ea.0+bbde6ea", | ||
"version": "1.1.2-dev.bc4a34b.0+bc4a34b", | ||
"description": "Example implementations of Web3.js' 4.x plugin system", | ||
@@ -47,9 +47,9 @@ "repository": "https://github.com/ChainSafe/web3.js", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.7.4", | ||
"web3": "4.13.1-dev.bbde6ea.0+bbde6ea", | ||
"web3-core": "4.6.1-dev.bbde6ea.0+bbde6ea", | ||
"web3-eth-abi": "4.2.5-dev.bbde6ea.0+bbde6ea", | ||
"web3-eth-contract": "4.7.1-dev.bbde6ea.0+bbde6ea", | ||
"web3-types": "1.8.1-dev.bbde6ea.0+bbde6ea", | ||
"web3-utils": "4.3.2-dev.bbde6ea.0+bbde6ea" | ||
"typescript": "^5.5.4", | ||
"web3": "4.16.1-dev.bc4a34b.0+bc4a34b", | ||
"web3-core": "4.7.2-dev.bc4a34b.0+bc4a34b", | ||
"web3-eth-abi": "4.4.2-dev.bc4a34b.0+bc4a34b", | ||
"web3-eth-contract": "4.7.3-dev.bc4a34b.0+bc4a34b", | ||
"web3-types": "1.10.1-dev.bc4a34b.0+bc4a34b", | ||
"web3-utils": "4.3.4-dev.bc4a34b.0+bc4a34b" | ||
}, | ||
@@ -64,3 +64,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "bbde6ea45b3fdf4c6d790952844e1160d7c3e3b1" | ||
"gitHead": "bc4a34beb6a1e4e77265daad326cb6093684303d" | ||
} |
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
100217
39