Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web3-plugin-example

Package Overview
Dependencies
Maintainers
0
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-plugin-example - npm Package Compare versions

Comparing version 1.1.2-dev.32c8cc8.0 to 1.1.2-dev.331aa9c.0

8

lib/contract_method_wrappers.d.ts

@@ -23,13 +23,13 @@ import { Web3PluginBase } from 'web3-core';

address: string;
balance: import("web3-types").NumberTypes[(ReturnFormat | {
balance: import("web3-types").NumberTypes[({
readonly number: import("web3-types").FMT_NUMBER.BIGINT;
readonly bytes: import("web3-types").FMT_BYTES.HEX;
})["number"]];
} | NonNullable<ReturnFormat>)["number"]];
};
recipient: {
address: string;
balance: import("web3-types").NumberTypes[(ReturnFormat | {
balance: import("web3-types").NumberTypes[({
readonly number: import("web3-types").FMT_NUMBER.BIGINT;
readonly bytes: import("web3-types").FMT_BYTES.HEX;
})["number"]];
} | NonNullable<ReturnFormat>)["number"]];
};

@@ -36,0 +36,0 @@ }>;

import { Web3PluginBase } from 'web3-core';
import { Web3Context } from './reexported_web3_context';
import { Web3Middleware } from './request_manager_middleware';
type CustomRpcApi = {
declare 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.32c8cc8.0+32c8cc8",
"version": "1.1.2-dev.331aa9c.0+331aa9c",
"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": "^5.5.4",
"web3": "4.13.1-dev.32c8cc8.0+32c8cc8",
"web3-core": "4.6.1-dev.32c8cc8.0+32c8cc8",
"web3-eth-abi": "4.2.5-dev.32c8cc8.0+32c8cc8",
"web3-eth-contract": "4.7.1-dev.32c8cc8.0+32c8cc8",
"web3-types": "1.8.1-dev.32c8cc8.0+32c8cc8",
"web3-utils": "4.3.2-dev.32c8cc8.0+32c8cc8"
"typescript": "^4.7.4",
"web3": "4.14.1-dev.331aa9c.0+331aa9c",
"web3-core": "4.7.1-dev.331aa9c.0+331aa9c",
"web3-eth-abi": "4.3.1-dev.331aa9c.0+331aa9c",
"web3-eth-contract": "4.7.1-dev.331aa9c.0+331aa9c",
"web3-types": "1.8.2-dev.331aa9c.0+331aa9c",
"web3-utils": "4.3.3-dev.331aa9c.0+331aa9c"
},

@@ -64,3 +64,3 @@ "peerDependencies": {

},
"gitHead": "32c8cc8cc8cdf0dc6c2e331b6463bccef37c3ce6"
"gitHead": "331aa9c4a9d59bf1f8fc7dc64870f8fb8b799b1a"
}

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

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