web3-eth-ens
Advanced tools
Comparing version 1.0.0-beta.37 to 1.0.0-beta.38
{ | ||
"name": "web3-eth-ens", | ||
"version": "1.0.0-beta.37", | ||
"version": "1.0.0-beta.38", | ||
"description": "ENS support for web3.", | ||
"repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-eth-ens", | ||
"license": "LGPL-3.0", | ||
"main": "src/index.js", | ||
"main": "dist/web3-eth-ens.cjs.js", | ||
"module": "dist/web3-eth-ens.esm.js", | ||
"browser": "dist/web3-eth-ens.umd.js", | ||
"types": "types", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"test": "jest", | ||
"dtslint": "dtslint types --onlyTestTsNext" | ||
}, | ||
"dependencies": { | ||
"eth-ens-namehash": "2.0.8", | ||
"underscore": "1.8.3", | ||
"web3-core": "1.0.0-beta.37", | ||
"web3-core-helpers": "1.0.0-beta.37", | ||
"web3-core-promievent": "1.0.0-beta.37", | ||
"web3-eth-abi": "1.0.0-beta.37", | ||
"web3-eth-contract": "1.0.0-beta.37", | ||
"web3-utils": "1.0.0-beta.37" | ||
} | ||
"lodash": "^4.17.11", | ||
"web3-core": "1.0.0-beta.38", | ||
"web3-core-helpers": "1.0.0-beta.38", | ||
"web3-core-method": "1.0.0-beta.38", | ||
"web3-core-promievent": "1.0.0-beta.38", | ||
"web3-eth-abi": "1.0.0-beta.38", | ||
"web3-eth-contract": "1.0.0-beta.38", | ||
"web3-net": "1.0.0-beta.38", | ||
"web3-providers": "1.0.0-beta.38", | ||
"web3-utils": "1.0.0-beta.38" | ||
}, | ||
"devDependencies": { | ||
"dtslint": "^0.4.2", | ||
"web3-eth-accounts": "1.0.0-beta.38" | ||
}, | ||
"files": [ | ||
"dist", | ||
"types/index.d.ts" | ||
] | ||
} |
@@ -5,3 +5,3 @@ # web3-eth-ens | ||
This is the contract package to be used in the `web3-eth` package. | ||
This is the Ens package and it will be used in the `web3-eth` package. | ||
Please read the [documentation][docs] for more. | ||
@@ -11,4 +11,2 @@ | ||
### Node.js | ||
```bash | ||
@@ -18,29 +16,19 @@ npm install web3-eth-ens | ||
### In the Browser | ||
Build running the following in the [web3.js][repo] repository: | ||
```bash | ||
npm run-script build-all | ||
``` | ||
Then include `dist/web3-eth-ens.js` and `dist/web3-eth.js` in your html file. | ||
This will expose the `EthEns` object on the window object. | ||
## Usage | ||
```js | ||
var eth = new Web3Eth(web3.currentProvider); | ||
var ens = new EthEns(eth); | ||
ens.getAddress('ethereum.eth').then(function (result) { | ||
console.log(result); | ||
}); | ||
import {Ens} from 'web3-eth-ens'; | ||
new Ens( | ||
'ws://localhost:8546', | ||
accounts, | ||
{} | ||
); | ||
``` | ||
## 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 | ||
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a 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
148937
3027
11
2
7
32
2
+ Addedlodash@^4.17.11
+ Addedweb3-net@1.0.0-beta.38
+ Addedweb3-providers@1.0.0-beta.38
+ Addedasn1.js@4.10.1(transitive)
+ Addedbn.js@4.11.85.2.1(transitive)
+ Addedbrowserify-aes@1.2.0(transitive)
+ Addedbrowserify-cipher@1.0.1(transitive)
+ Addedbrowserify-des@1.0.2(transitive)
+ Addedbrowserify-rsa@4.1.1(transitive)
+ Addedbrowserify-sign@4.2.3(transitive)
+ Addedbuffer-xor@1.0.3(transitive)
+ Addedcipher-base@1.0.4(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedcreate-ecdh@4.0.4(transitive)
+ Addedcreate-hash@1.2.0(transitive)
+ Addedcreate-hmac@1.1.7(transitive)
+ Addedcrypto-browserify@3.12.0(transitive)
+ Addeddes.js@1.1.0(transitive)
+ Addeddiffie-hellman@5.0.3(transitive)
+ Addedelliptic@6.5.4(transitive)
+ Addedeth-lib@0.2.8(transitive)
+ Addedethers@4.0.49(transitive)
+ Addedeventemitter3@3.1.0(transitive)
+ Addedevp_bytestokey@1.0.3(transitive)
+ Addedhash-base@3.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmd5.js@1.3.5(transitive)
+ Addedmiller-rabin@4.0.1(transitive)
+ Addednan@2.20.0(transitive)
+ Addedoboe@2.1.4(transitive)
+ Addedparse-asn1@5.1.7(transitive)
+ Addedpbkdf2@3.1.2(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpublic-encrypt@4.0.3(transitive)
+ Addedquerystringify@2.2.0(transitive)
+ Addedrandombytes@2.1.0(transitive)
+ Addedrandomfill@1.0.4(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedripemd160@2.0.2(transitive)
+ Addedscrypt@6.0.3(transitive)
+ Addedscrypt-js@2.0.4(transitive)
+ Addedscrypt.js@0.2.0(transitive)
+ Addedscryptsy@1.2.1(transitive)
+ Addedsha.js@2.4.11(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedurl-parse@1.4.4(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@3.3.2(transitive)
+ Addedweb3-core@1.0.0-beta.38(transitive)
+ Addedweb3-core-helpers@1.0.0-beta.38(transitive)
+ Addedweb3-core-method@1.0.0-beta.38(transitive)
+ Addedweb3-core-promievent@1.0.0-beta.38(transitive)
+ Addedweb3-core-subscriptions@1.0.0-beta.38(transitive)
+ Addedweb3-eth-abi@1.0.0-beta.38(transitive)
+ Addedweb3-eth-accounts@1.0.0-beta.38(transitive)
+ Addedweb3-eth-contract@1.0.0-beta.38(transitive)
+ Addedweb3-eth-iban@1.0.0-beta.38(transitive)
+ Addedweb3-net@1.0.0-beta.38(transitive)
+ Addedweb3-providers@1.0.0-beta.38(transitive)
+ Addedweb3-utils@1.0.0-beta.38(transitive)
- Removedunderscore@1.8.3
- Removed@types/node@10.17.60(transitive)
- Removedaccepts@1.3.8(transitive)
- Removedajv@6.12.6(transitive)
- Removedany-promise@1.3.0(transitive)
- Removedarray-flatten@1.1.1(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasync-limiter@1.0.1(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedbody-parser@1.20.3(transitive)
- Removedbrowserify-sha3@0.0.4(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcontent-disposition@0.5.4(transitive)
- Removedcontent-type@1.0.5(transitive)
- Removedcookie@0.6.0(transitive)
- Removedcookie-signature@1.0.6(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removedcors@2.8.5(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddepd@2.0.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedee-first@1.1.1(transitive)
- Removedelliptic@6.3.3(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedetag@1.8.1(transitive)
- Removedeth-lib@0.1.27(transitive)
- Removedethers@4.0.0-beta.1(transitive)
- Removedeventemitter3@1.1.1(transitive)
- Removedexpress@4.21.0(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfinalhandler@1.3.1(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedforwarded@0.2.0(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedipaddr.js@1.9.1(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjs-sha3@0.6.1(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedkeccakjs@0.2.3(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmerge-descriptors@1.0.3(transitive)
- Removedmethods@1.1.2(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedms@2.0.02.1.3(transitive)
- Removednan@2.13.2(transitive)
- Removednano-json-stream-parser@0.1.2(transitive)
- Removednegotiator@0.6.3(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedobject-inspect@1.13.2(transitive)
- Removedoboe@2.1.3(transitive)
- Removedon-finished@2.4.1(transitive)
- Removedparseurl@1.3.3(transitive)
- Removedpath-to-regexp@0.1.10(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedproxy-addr@2.0.7(transitive)
- Removedpsl@1.9.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.13.06.5.3(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedscrypt-js@2.0.3(transitive)
- Removedsend@0.19.0(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedservify@0.1.12(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedsha3@1.2.6(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removedtype-is@1.6.18(transitive)
- Removedultron@1.1.1(transitive)
- Removedunderscore@1.8.3(transitive)
- Removedunpipe@1.0.0(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedvary@1.1.2(transitive)
- Removedverror@1.10.0(transitive)
- Removedweb3-core@1.0.0-beta.37(transitive)
- Removedweb3-core-helpers@1.0.0-beta.37(transitive)
- Removedweb3-core-method@1.0.0-beta.37(transitive)
- Removedweb3-core-promievent@1.0.0-beta.37(transitive)
- Removedweb3-core-requestmanager@1.0.0-beta.37(transitive)
- Removedweb3-core-subscriptions@1.0.0-beta.37(transitive)
- Removedweb3-eth-abi@1.0.0-beta.37(transitive)
- Removedweb3-eth-contract@1.0.0-beta.37(transitive)
- Removedweb3-eth-iban@1.0.0-beta.37(transitive)
- Removedweb3-providers-http@1.0.0-beta.37(transitive)
- Removedweb3-providers-ipc@1.0.0-beta.37(transitive)
- Removedweb3-providers-ws@1.0.0-beta.37(transitive)
- Removedweb3-utils@1.0.0-beta.37(transitive)
- Removedws@3.3.3(transitive)
Updatedweb3-core@1.0.0-beta.38
Updatedweb3-eth-abi@1.0.0-beta.38
Updatedweb3-utils@1.0.0-beta.38