web3-eth-iban
Advanced tools
Comparing version 4.0.8-dev.ef6f04e.0 to 4.0.8-dev.efac906.0
@@ -5,3 +5,21 @@ import { HexString } from 'web3-types'; | ||
* Converts Ethereum addresses to IBAN or BBAN addresses and vice versa. | ||
*/ | ||
* For using Iban package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used. | ||
* ```ts | ||
* | ||
* import { Web3 } from 'web3'; | ||
* const web3 = new Web3('https://mainnet.infura.io/v3/<YOURPROJID>'); | ||
* | ||
* const iban = new web3.eth.Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
* For using individual package install `web3-eth-iban` packages using: `npm i web3-eth-iban` or `yarn add web3-eth-iban`. | ||
* | ||
* ```ts | ||
* import {Iban} from 'web3-eth-iban'; | ||
* | ||
* const iban = new Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
*/ | ||
export declare class Iban { | ||
@@ -8,0 +26,0 @@ private readonly _iban; |
@@ -25,3 +25,21 @@ "use strict"; | ||
* Converts Ethereum addresses to IBAN or BBAN addresses and vice versa. | ||
*/ | ||
* For using Iban package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used. | ||
* ```ts | ||
* | ||
* import { Web3 } from 'web3'; | ||
* const web3 = new Web3('https://mainnet.infura.io/v3/<YOURPROJID>'); | ||
* | ||
* const iban = new web3.eth.Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
* For using individual package install `web3-eth-iban` packages using: `npm i web3-eth-iban` or `yarn add web3-eth-iban`. | ||
* | ||
* ```ts | ||
* import {Iban} from 'web3-eth-iban'; | ||
* | ||
* const iban = new Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
*/ | ||
class Iban { | ||
@@ -28,0 +46,0 @@ /** |
@@ -22,3 +22,21 @@ /* | ||
* Converts Ethereum addresses to IBAN or BBAN addresses and vice versa. | ||
*/ | ||
* For using Iban package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used. | ||
* ```ts | ||
* | ||
* import { Web3 } from 'web3'; | ||
* const web3 = new Web3('https://mainnet.infura.io/v3/<YOURPROJID>'); | ||
* | ||
* const iban = new web3.eth.Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
* For using individual package install `web3-eth-iban` packages using: `npm i web3-eth-iban` or `yarn add web3-eth-iban`. | ||
* | ||
* ```ts | ||
* import {Iban} from 'web3-eth-iban'; | ||
* | ||
* const iban = new Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
*/ | ||
export class Iban { | ||
@@ -25,0 +43,0 @@ /** |
@@ -5,3 +5,21 @@ import { HexString } from 'web3-types'; | ||
* Converts Ethereum addresses to IBAN or BBAN addresses and vice versa. | ||
*/ | ||
* For using Iban package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used. | ||
* ```ts | ||
* | ||
* import { Web3 } from 'web3'; | ||
* const web3 = new Web3('https://mainnet.infura.io/v3/<YOURPROJID>'); | ||
* | ||
* const iban = new web3.eth.Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
* For using individual package install `web3-eth-iban` packages using: `npm i web3-eth-iban` or `yarn add web3-eth-iban`. | ||
* | ||
* ```ts | ||
* import {Iban} from 'web3-eth-iban'; | ||
* | ||
* const iban = new Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
*/ | ||
export declare class Iban { | ||
@@ -8,0 +26,0 @@ private readonly _iban; |
{ | ||
"name": "web3-eth-iban", | ||
"version": "4.0.8-dev.ef6f04e.0+ef6f04e", | ||
"version": "4.0.8-dev.efac906.0+efac906", | ||
"description": "This package converts Ethereum addresses to IBAN addresses and vice versa.", | ||
@@ -33,3 +33,3 @@ "main": "./lib/commonjs/index.js", | ||
"build:check": "node -e \"require('./lib')\"", | ||
"lint": "eslint --ext .js,.ts .", | ||
"lint": "eslint --cache --cache-strategy content --ext .ts .", | ||
"lint:fix": "eslint --fix --ext .js,.ts .", | ||
@@ -53,15 +53,15 @@ "format": "prettier --write '**/*'", | ||
"eslint-plugin-import": "^2.26.0", | ||
"jest": "^28.1.3", | ||
"jest": "^29.7.0", | ||
"jest-extended": "^3.0.1", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.7", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^4.7.4" | ||
}, | ||
"dependencies": { | ||
"web3-errors": "1.1.5-dev.ef6f04e.0+ef6f04e", | ||
"web3-types": "1.3.2-dev.ef6f04e.0+ef6f04e", | ||
"web3-utils": "4.0.8-dev.ef6f04e.0+ef6f04e", | ||
"web3-validator": "2.0.4-dev.ef6f04e.0+ef6f04e" | ||
"web3-errors": "1.3.1-dev.efac906.0+efac906", | ||
"web3-types": "1.8.2-dev.efac906.0+efac906", | ||
"web3-utils": "4.3.3-dev.efac906.0+efac906", | ||
"web3-validator": "2.0.7-dev.efac906.0+efac906" | ||
}, | ||
"gitHead": "ef6f04e19f4d3c4e97bf335f5339cfeb3b6c15a2" | ||
"gitHead": "efac906a9fdcfda895aaf602c458d574645bc549" | ||
} |
@@ -26,3 +26,21 @@ /* | ||
* Converts Ethereum addresses to IBAN or BBAN addresses and vice versa. | ||
*/ | ||
* For using Iban package, first install Web3 package using: `npm i web3` or `yarn add web3` based on your package manager, after that ENS features can be used. | ||
* ```ts | ||
* | ||
* import { Web3 } from 'web3'; | ||
* const web3 = new Web3('https://mainnet.infura.io/v3/<YOURPROJID>'); | ||
* | ||
* const iban = new web3.eth.Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
* For using individual package install `web3-eth-iban` packages using: `npm i web3-eth-iban` or `yarn add web3-eth-iban`. | ||
* | ||
* ```ts | ||
* import {Iban} from 'web3-eth-iban'; | ||
* | ||
* const iban = new Iban("XE81ETHXREGGAVOFYORK"); | ||
* console.log(iban.checksum()); | ||
* ``` | ||
*/ | ||
export class Iban { | ||
@@ -29,0 +47,0 @@ private readonly _iban: string; |
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
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing 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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
81806
1832