Socket
Socket
Sign inDemoInstall

web3-eth-iban

Package Overview
Dependencies
0
Maintainers
4
Versions
400
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.8-dev.11f20b2.0 to 4.0.8-dev.12c2515.0

20

lib/commonjs/iban.d.ts

@@ -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;

18

package.json
{
"name": "web3-eth-iban",
"version": "4.0.8-dev.11f20b2.0+11f20b2",
"version": "4.0.8-dev.12c2515.0+12c2515",
"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.11f20b2.0+11f20b2",
"web3-types": "1.3.2-dev.11f20b2.0+11f20b2",
"web3-utils": "4.0.8-dev.11f20b2.0+11f20b2",
"web3-validator": "2.0.4-dev.11f20b2.0+11f20b2"
"web3-errors": "1.1.5-dev.12c2515.0+12c2515",
"web3-types": "1.6.1-dev.12c2515.0+12c2515",
"web3-utils": "4.2.4-dev.12c2515.0+12c2515",
"web3-validator": "2.0.6-dev.12c2515.0+12c2515"
},
"gitHead": "11f20b261a5a0057e0f53020ed0e662ed032fea1"
"gitHead": "12c251589198129781d24d2327d67ead9f20b3e8"
}

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc