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

web3-plugin-example

Package Overview
Dependencies
Maintainers
4
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.0.0-rc.1 to 1.0.0

2

lib/contract_method_wrappers.js

@@ -58,3 +58,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
return (0, web3_utils_1.format)({ eth: 'unit' }, yield this._contract.methods.balanceOf(address).call(), returnFormat);
return (0, web3_utils_1.format)({ format: 'unit' }, yield this._contract.methods.balanceOf(address).call(), returnFormat);
});

@@ -61,0 +61,0 @@ }

{
"name": "web3-plugin-example",
"version": "1.0.0-rc.1",
"version": "1.0.0",
"description": "Example implementations of Web3.js' 4.x plugin system",

@@ -48,17 +48,17 @@ "repository": "https://github.com/ChainSafe/web3.js",

"typescript": "^4.7.4",
"web3": "^4.0.1-rc.1",
"web3-core": "^4.0.1-rc.1",
"web3-eth-abi": "^4.0.1-rc.1",
"web3-eth-contract": "^4.0.1-rc.1",
"web3-types": "^1.0.0-rc.1",
"web3-utils": "^4.0.1-rc.1"
"web3": "^4.0.1",
"web3-core": "^4.0.1",
"web3-eth-abi": "^4.0.1",
"web3-eth-contract": "^4.0.1",
"web3-types": "^1.0.0",
"web3-utils": "^4.0.1"
},
"peerDependencies": {
"web3-core": ">= 4.0.1-rc.1 < 5",
"web3-eth-abi": ">= 4.0.1-rc.1 < 5",
"web3-eth-contract": ">= 4.0.1-rc.1 < 5",
"web3-types": ">= 1.0.0-rc.1 < 5",
"web3-utils": ">= ^4.0.1-rc.1 < 5"
"web3-core": ">= 4.0.1 < 5",
"web3-eth-abi": ">= 4.0.1 < 5",
"web3-eth-contract": ">= 4.0.1 < 5",
"web3-types": ">= 1.0.0 < 5",
"web3-utils": ">= ^4.0.1 < 5"
},
"gitHead": "8bd3de3f1dece95a0f026aa226a7dfe0dad55541"
"gitHead": "5b5bf8765ab01946d8af215e5ecd343f321fbe2a"
}

@@ -55,3 +55,3 @@ /*

return format(
{ eth: 'unit' },
{ format: 'unit' },
await this._contract.methods.balanceOf(address).call(),

@@ -58,0 +58,0 @@ returnFormat,

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