Comparing version 0.0.3 to 1.1.0
107
package.json
{ | ||
"name": "aion-web3", | ||
"namespace": "aion", | ||
"version": "0.0.3", | ||
"description": "aion js api", | ||
"main": "./index.js", | ||
"directories": { | ||
"lib": "./lib" | ||
}, | ||
"browser": { | ||
"xmlhttprequest": "./lib/utils/browser-xhr.js" | ||
}, | ||
"dependencies": { | ||
"bignumber.js": "git+https://github.com/MikeMcl/bignumber.js.git", | ||
"crypto-js": "*", | ||
"utf8": "*", | ||
"xhr2": "*", | ||
"xmlhttprequest": "*", | ||
"request": "*", | ||
"moment": "*" | ||
}, | ||
"devDependencies": { | ||
"browserify": "*", | ||
"exorcist": "*", | ||
"del": "*", | ||
"gulp": "*", | ||
"gulp-jshint": "*", | ||
"gulp-rename": "*", | ||
"gulp-streamify": "*", | ||
"gulp-uglify": "*", | ||
"gulp-replace": "*", | ||
"jshint": "*", | ||
"vinyl-source-stream": "*", | ||
"colors": "*", | ||
"repl": "*", | ||
"chai": "*", | ||
"mocha": "*", | ||
"gulp-tar": "*", | ||
"gulp-gzip": "*" | ||
}, | ||
"scripts": { | ||
"build": "gulp build", | ||
"watch": "gulp watch", | ||
"lint": "jshint *.js lib" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/aionnetwork/aion_web3.git" | ||
}, | ||
"homepage": "https://github.com/aionnetwork/aion_web3", | ||
"version": "1.1.0", | ||
"description": "Aion JavaScript API", | ||
"repository": "https://github.com/aionnetwork/aion_web3/tree/master/packages/web3", | ||
"license": "LGPL-3.0", | ||
"main": "src/index.js", | ||
"bugs": { | ||
@@ -55,15 +13,52 @@ "url": "https://github.com/aionnetwork/aion_web3/issues" | ||
"keywords": [ | ||
"aion", | ||
"javascript", | ||
"api" | ||
"Aion", | ||
"JavaScript", | ||
"API" | ||
], | ||
"author": "aionnetwork", | ||
"authors": [ | ||
"author": { | ||
"name:": "Aion Network", | ||
"url": "https://aion.network/" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "chris", | ||
"email": "aion.6368726973@gmail.com", | ||
"url": "https://github.com/aion-6368726973" | ||
"name": "Kelvin Lam", | ||
"email": "kelvin@aion.network" | ||
}, | ||
{ | ||
"name": "Tony Crowe", | ||
"email": "github@tonycrowe.com" | ||
}, | ||
{ | ||
"name": "Fabian Vogelsteller", | ||
"email": "fabian@ethereum.org", | ||
"homepage": "http://frozeman.de" | ||
}, | ||
{ | ||
"name": "Marek Kotewicz", | ||
"email": "marek@parity.io", | ||
"url": "https://github.com/debris" | ||
}, | ||
{ | ||
"name": "Marian Oancea", | ||
"url": "https://github.com/cubedro" | ||
}, | ||
{ | ||
"name": "Gav Wood", | ||
"email": "g@parity.io", | ||
"homepage": "http://gavwood.com" | ||
}, | ||
{ | ||
"name": "Jeffery Wilcke", | ||
"email": "jeffrey.wilcke@ethereum.org", | ||
"url": "https://github.com/obscuren" | ||
} | ||
], | ||
"license": "LGPL-3.0" | ||
"dependencies": { | ||
"aion-web3-core": "1.1.0", | ||
"aion-web3-eth": "1.1.0", | ||
"aion-web3-eth-personal": "1.1.0", | ||
"aion-web3-net": "1.1.0", | ||
"aion-web3-utils": "1.1.0" | ||
}, | ||
"gitHead": "b9adc81c487ef3be6e4a1cac9827b6224b61a95e" | ||
} |
@@ -1,55 +0,15 @@ | ||
# Aion Compatible Web3 | ||
# aion-web3 | ||
## About | ||
This project contains tools for using the Web3 application programming interface on top of the Aion network. | ||
This is a main package of [aion_web3][repo] | ||
## Requirements | ||
Please read the [documentation](https://docs.aion.network/docs/web3) for more information. | ||
* **Node.js** version 8.9.1 <br/> | ||
Download: https://nodejs.org/en/download/ <br/> | ||
Check version by running `node -v` in a terminal. | ||
## Installation | ||
* **npm** version 5.5.1 <br/> | ||
Typically included with node installation. <br/> | ||
Check version by running `npm -v` in a terminal. | ||
### Node.js | ||
* **gulp** version 3.9.1 <br/> | ||
Installation: https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md <br/> | ||
Check version by running `gulp -v` in a terminal. | ||
**Note:** Other versions may work, but have not been thoroughly tested at present. | ||
## Setup | ||
```bash | ||
git clone https://github.com/aionnetwork/aion_web3 | ||
cd aion_web3 | ||
npm install | ||
gulp build | ||
npm install aion-web3 | ||
``` | ||
or | ||
```bash | ||
npm install --save aion-web3 | ||
``` | ||
## API Use | ||
This application programming interface can be used to perform different operation on the Aion blockchain. | ||
Some example uses cases are available in the project [wiki](https://github.com/aionnetwork/aion_web3/wiki). | ||
* Web use:<br> | ||
include `dist/web3.min.js` in your html file | ||
* Node use: | ||
``` | ||
var Web3 = require('aion-web3') | ||
var web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); | ||
``` | ||
## Application Development | ||
```js | ||
var coinbase = web3.eth.coinbase; | ||
var balance = web3.eth.getBalance(coinbase); | ||
``` | ||
[repo]: https://github.com/aionnetwork/aion_web3 |
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
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
No website
QualityPackage does not have a website.
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 6 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
5
0
1
1
0
1
38867
4
58
16
+ Addedaion-web3-core@1.1.0
+ Addedaion-web3-eth@1.1.0
+ Addedaion-web3-eth-personal@1.1.0
+ Addedaion-web3-net@1.1.0
+ Addedaion-web3-utils@1.1.0
+ Addedaion-lib@1.1.0(transitive)
+ Addedaion-rlp@0.0.1(transitive)
+ Addedaion-web3-core@1.1.0(transitive)
+ Addedaion-web3-core-helpers@1.1.0(transitive)
+ Addedaion-web3-core-method@1.1.0(transitive)
+ Addedaion-web3-core-promievent@1.1.0(transitive)
+ Addedaion-web3-core-requestmanager@1.1.0(transitive)
+ Addedaion-web3-core-subscriptions@1.1.0(transitive)
+ Addedaion-web3-eth@1.1.0(transitive)
+ Addedaion-web3-eth-abi@1.1.0(transitive)
+ Addedaion-web3-eth-accounts@1.1.0(transitive)
+ Addedaion-web3-eth-contract@1.1.0(transitive)
+ Addedaion-web3-eth-personal@1.1.0(transitive)
+ Addedaion-web3-net@1.1.0(transitive)
+ Addedaion-web3-providers-http@1.1.0(transitive)
+ Addedaion-web3-providers-ipc@1.1.0(transitive)
+ Addedaion-web3-providers-ws@1.1.0(transitive)
+ Addedaion-web3-utils@1.1.0(transitive)
+ Addedany-promise@1.3.0(transitive)
+ Addedasn1.js@4.10.1(transitive)
+ Addedb4a@1.6.7(transitive)
+ Addedblake2b@2.1.4(transitive)
+ Addedblake2b-wasm@2.4.0(transitive)
+ Addedbn.js@4.11.64.12.05.2.1(transitive)
+ Addedbrorand@1.1.0(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)
+ Addedcookiejar@2.1.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.7(transitive)
+ Addedethjs-unit@0.1.6(transitive)
+ Addedeventemitter3@1.1.1(transitive)
+ Addedevp_bytestokey@1.0.3(transitive)
+ Addedhash-base@3.0.4(transitive)
+ Addedhash.js@1.1.7(transitive)
+ Addedhmac-drbg@1.0.1(transitive)
+ Addedhttp-https@1.0.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-hex-prefixed@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedjs-sha3@0.7.0(transitive)
+ Addedlodash.padend@4.6.1(transitive)
+ Addedlodash.padstart@4.6.1(transitive)
+ Addedmd5.js@1.3.5(transitive)
+ Addedmiller-rabin@4.0.1(transitive)
+ Addedminimalistic-assert@1.0.1(transitive)
+ Addedminimalistic-crypto-utils@1.0.1(transitive)
+ Addednanoassert@2.0.0(transitive)
+ Addednumber-to-bn@1.7.0(transitive)
+ Addedoboe@2.1.3(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)
+ Addedrandombytes@2.1.0(transitive)
+ Addedrandomfill@1.0.4(transitive)
+ Addedrandomhex@0.1.5(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedripemd160@2.0.2(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedscryptsy@2.1.0(transitive)
+ Addedsha.js@2.4.11(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-hex-prefix@1.0.0(transitive)
+ Addedtweetnacl@1.0.3(transitive)
+ Addedunderscore@1.8.3(transitive)
+ Addedutf8@2.1.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@2.0.1(transitive)
+ Addedxhr2-cookies@1.1.0(transitive)
- Removedbignumber.js@git+https://github.com/MikeMcl/bignumber.js.git
- Removedcrypto-js@*
- Removedmoment@*
- Removedrequest@*
- Removedutf8@*
- Removedxhr2@*
- Removedxmlhttprequest@*
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removedcrypto-js@4.2.0(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedecc-jsbn@0.1.2(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)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(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)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedmoment@2.30.1(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.9.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedutf8@3.0.0(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
- Removedxhr2@0.2.1(transitive)
- Removedxmlhttprequest@1.8.0(transitive)