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.04da324.0 to 1.1.2-dev.0681f97.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.04da324.0+04da324",
"version": "1.1.2-dev.0681f97.0+0681f97",
"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.04da324.0+04da324",
"web3-core": "4.6.1-dev.04da324.0+04da324",
"web3-eth-abi": "4.2.5-dev.04da324.0+04da324",
"web3-eth-contract": "4.7.1-dev.04da324.0+04da324",
"web3-types": "1.8.1-dev.04da324.0+04da324",
"web3-utils": "4.3.2-dev.04da324.0+04da324"
"typescript": "^4.7.4",
"web3": "4.14.1-dev.0681f97.0+0681f97",
"web3-core": "4.7.1-dev.0681f97.0+0681f97",
"web3-eth-abi": "4.3.1-dev.0681f97.0+0681f97",
"web3-eth-contract": "4.7.1-dev.0681f97.0+0681f97",
"web3-types": "1.8.2-dev.0681f97.0+0681f97",
"web3-utils": "4.3.3-dev.0681f97.0+0681f97"
},

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

},
"gitHead": "04da324744d2e8d8b358cd4ccf0e97c08d635be3"
"gitHead": "0681f97ed9daa592f86c8d8100d8802f706d046d"
}

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