Comparing version 1.2.5 to 1.2.6
{ | ||
"name": "eosjs-api", | ||
"version": "1.2.5", | ||
"version": "1.2.6", | ||
"description": "Application programming interface to EOS blockchain nodes.", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "mocha src/**/*.test.js", | ||
"coverage": "istanbul cover _mocha -- -R spec src/**/*.test.js", | ||
"coveralls": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" | ||
"coveralls": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", | ||
"build": "node_modules/babel-cli/bin/babel.js src --out-dir lib", | ||
"prepublish": "npm run build" | ||
}, | ||
@@ -26,2 +29,5 @@ "repository": { | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-core": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.1", | ||
"bluebird": "^3.5.0", | ||
@@ -36,3 +42,8 @@ "coveralls": "^2.13.1", | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"es2015" | ||
] | ||
} | ||
} |
@@ -17,5 +17,5 @@ [](https://travis-ci.org/EOSIO/eosjs-api) | ||
```javascript | ||
Testnet = require('eosjs-api/testnet') // Or Testnet = require('./testnet') | ||
api = require('eosjs-api') // Or api = require('./src') | ||
testnet = Testnet() // See ./testnet.js for configuration | ||
testnet = api.Testnet() // See ./src/testnet.js for configuration | ||
@@ -22,0 +22,0 @@ // Any API call without a callback parameter will print documentation: description, |
Sorry, the diff of this file is not supported yet
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
1
16411
7
12