web3-plugin-example
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0
@@ -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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
80558