web3-eth-iban
Advanced tools
Comparing version 2.0.0-alpha.1 to 3.0.0-rc.0
{ | ||
"name": "web3-eth-iban", | ||
"namespace": "ethereum", | ||
"version": "2.0.0-alpha.1", | ||
"version": "3.0.0-rc.0", | ||
"description": "This package converts Ethereum addresses to IBAN addresses a vice versa.", | ||
"repository": "https://github.com/ethereum/web3.js/tree/1.0/packages/web3-eth-iban", | ||
"repository": "https://github.com/ethereum/web3.js/tree/1.x/packages/web3-eth-iban", | ||
"license": "LGPL-3.0", | ||
@@ -11,26 +10,17 @@ "engines": { | ||
}, | ||
"main": "dist/web3-eth-iban.cjs.js", | ||
"module": "dist/web3-eth-iban.esm.js", | ||
"browser": "dist/web3-eth-iban.umd.js", | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"test": "jest", | ||
"dtslint": "dtslint types --onlyTestTsNext" | ||
"compile": "tsc -b tsconfig.json", | ||
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types" | ||
}, | ||
"types": "types/index.d.ts", | ||
"main": "lib/index.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.3.1", | ||
"bn.js": "4.11.8", | ||
"web3-utils": "2.0.0-alpha.1" | ||
"bn.js": "^4.11.9", | ||
"web3-utils": "3.0.0-rc.0" | ||
}, | ||
"devDependencies": { | ||
"definitelytyped-header-parser": "^1.0.1", | ||
"dtslint": "0.4.2" | ||
"dtslint": "^3.4.1", | ||
"typescript": "^3.9.5" | ||
}, | ||
"files": [ | ||
"dist", | ||
"types/index.d.ts" | ||
], | ||
"gitHead": "cb266cc298150f4eb1c8cdac4f41551dd8819a81" | ||
"gitHead": "4c88fbc94d1348dfa412ebdefa1d34e50f509977" | ||
} |
# web3-eth-iban | ||
This is a sub module of [web3.js][repo] | ||
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url] | ||
This is the IBAN module to be used in the `web3-eth` module. | ||
This is a sub package of [web3.js][repo] | ||
This is the IBAN package to be used in the `web3-eth` package. | ||
Please read the [documentation][docs] for more. | ||
@@ -10,2 +13,4 @@ | ||
### Node.js | ||
```bash | ||
@@ -18,14 +23,22 @@ npm install web3-eth-iban | ||
```js | ||
import {Iban} from 'web3-eth-iban'; | ||
const Web3EthIban = require('web3-eth-iban'); | ||
new Iban('XE75JRZCTTLBSYEQBGAS7GID8DKR7QY0QA3'); | ||
const iban = new Web3EthIban('XE75JRZCTTLBSYEQBGAS7GID8DKR7QY0QA3'); | ||
iban.toAddress() > '0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B'; | ||
``` | ||
## Types | ||
[docs]: http://web3js.readthedocs.io/en/1.0/ | ||
[repo]: https://github.com/ethereum/web3.js | ||
All the typescript typings are placed in the types folder. | ||
## Types | ||
All the TypeScript typings are placed in the `types` folder. | ||
[docs]: http://web3js.readthedocs.io/en/1.0/ | ||
[repo]: https://github.com/ethereum/web3.js | ||
[npm-image]: https://img.shields.io/npm/v/web3-eth-iban.svg | ||
[npm-url]: https://npmjs.org/package/web3-eth-iban | ||
[deps-image]: https://david-dm.org/ethereum/web3.js/1.x/status.svg?path=packages/web3-eth-iban | ||
[deps-url]: https://david-dm.org/ethereum/web3.js/1.x?path=packages/web3-eth-iban | ||
[deps-dev-image]: https://david-dm.org/ethereum/web3.js/1.x/dev-status.svg?path=packages/web3-eth-iban | ||
[deps-dev-url]: https://david-dm.org/ethereum/web3.js/1.x?type=dev&path=web3-eth-iban |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
23071
2
10
686
43
1
+ Added@noble/hashes@1.5.0(transitive)
+ Addedethereum-bloom-filters@1.2.0(transitive)
+ Addedunderscore@1.9.1(transitive)
+ Addedutf8@3.0.0(transitive)
+ Addedweb3-utils@3.0.0-rc.0(transitive)
- Removed@babel/runtime@^7.3.1
- Removed@babel/runtime@7.26.0(transitive)
- Removed@types/bn.js@4.11.6(transitive)
- Removed@types/node@12.20.55(transitive)
- Removedbn.js@4.11.8(transitive)
- Removedlodash@4.17.21(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
- Removedutf8@2.1.1(transitive)
- Removedweb3-utils@2.0.0-alpha.1(transitive)
Updatedbn.js@^4.11.9
Updatedweb3-utils@3.0.0-rc.0