Comparing version 16.0.3 to 16.0.5
{ | ||
"name": "eosjs", | ||
"version": "16.0.3", | ||
"version": "16.0.5", | ||
"description": "General purpose library for the EOS blockchain.", | ||
@@ -16,3 +16,3 @@ "main": "lib/index.js", | ||
"coveralls": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", | ||
"build": "npm run build_lib && npm run build_browser", | ||
"build": "rm -fr lib && npm run build_lib && npm run build_browser", | ||
"build_lib": "babel --copy-files src --out-dir lib", | ||
@@ -23,3 +23,3 @@ "build_browser": "browserify -o lib/eos.js -s Eos lib/index.js", | ||
"docs": "jsdoc2md src/format.js > docs/format.md", | ||
"srisum": "npx srisum lib/eos.*", | ||
"srisum": "srisum lib/eos.*", | ||
"prepublishOnly": "npm run build && npm run test_lib && npm run minimize && npm run docs && npm run srisum" | ||
@@ -49,3 +49,2 @@ }, | ||
"browserify": "14.4.0", | ||
"uglify-js": "3.4.1", | ||
"camel-case": "^3.0.0", | ||
@@ -56,3 +55,5 @@ "coveralls": "^3.0.0", | ||
"mocha": "^5.2.0", | ||
"nyc": "^11.4.1" | ||
"nyc": "^13.0.1", | ||
"srisum": "^2.0.0", | ||
"uglify-js": "3.4.1" | ||
}, | ||
@@ -65,3 +66,3 @@ "dependencies": { | ||
"eosjs-ecc": "4.0.3", | ||
"fcbuffer": "2.2.0" | ||
"fcbuffer": "^2.2.1" | ||
}, | ||
@@ -68,0 +69,0 @@ "babel": { |
@@ -12,3 +12,3 @@ [](https://travis-ci.org/EOSIO/eosjs) | ||
| --- | --- | --- | --- | | ||
| tags: 16.0.0 - 16.0.3 | `npm install eosjs` | tags: v1.1.n - v1.2.1 | eosio/eos:v1.2.1 | | ||
| tags: 16.0.0 - 16.0.5 | `npm install eosjs` | tags: v1.1.n - v1.2.1 | eosio/eos:v1.2.1 | | ||
@@ -24,5 +24,5 @@ Prior [version](./docs/prior_versions.md) matrix. | ||
<!-- | ||
sha512-IROKp40AWkXmwbin81GOCaYvLeQ/x9PUlf+knUmUNGCCeJtElb/sRQ2W1H12AwohAUV3iFzubCuFxsq9fJVuIg== lib/eos.js | ||
sha512-Lb1HeEaUSTxg0Y1KqlKOKeZCRi8XrEat+my3sWdg1lNE81sUZNWogpfC9GSIwPvON1Bqj5nQk2PyTE56lBR8ag== lib/eos.min.js | ||
sha512-MZTqzlynbFpY5Nl/6/MOEAHgX5PtSvHWketq0sgm5OqHxZCein2sYwZOfCv4wrX0Mx2mAzC6nIOsVixcxW4Dnw== lib/eos.min.js.map | ||
sha512-xslf8D0zCBxeneFGpc6bnd6HwYfzXrHB8YGU1CTobwdsiS0CmKckyZakN+lUmj0sG8cRTCo2QTM96iOcKCwLdg== lib/eos.js | ||
sha512-QlAXZdFmjggnrHXtSlf2fnbIky248RTIHC5Oa3yZKnRBuLXDYxiGjZYJQc4+0dzHxQ1LJoP3cb7xiG/xCXNe0A== lib/eos.min.js | ||
sha512-WxYb9ZNPsCsu9DYPUpRssJFcmMLj2xCTe1rnG7gEHWkXxq7rrlcWDcGhqbeVY/Hc1AVV0MbbPX9JpD3XK8bQEA== lib/eos.min.js.map | ||
--> | ||
@@ -32,13 +32,14 @@ <html> | ||
<meta charset="utf-8"> | ||
<script src="https://cdn.jsdelivr.net/npm/eosjs@16.0.3/lib/eos.min.js" | ||
integrity="sha512-Lb1HeEaUSTxg0Y1KqlKOKeZCRi8XrEat+my3sWdg1lNE81sUZNWogpfC9GSIwPvON1Bqj5nQk2PyTE56lBR8ag==" | ||
<script src="https://cdn.jsdelivr.net/npm/eosjs@16.0.5/lib/eos.min.js" | ||
integrity="sha512-QlAXZdFmjggnrHXtSlf2fnbIky248RTIHC5Oa3yZKnRBuLXDYxiGjZYJQc4+0dzHxQ1LJoP3cb7xiG/xCXNe0A==" | ||
crossorigin="anonymous"></script> | ||
<script> | ||
/** Transactions are only valid on the selected chain. */ | ||
chain = { | ||
mainnet: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906', | ||
testnet: '038f4b0fc8ff18a4f0842a8f0564611f6e96e8535901dd45e43ac8691a1c4dca', | ||
sysnet: 'cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f' | ||
main: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906', // main network | ||
jungle: '038f4b0fc8ff18a4f0842a8f0564611f6e96e8535901dd45e43ac8691a1c4dca', // jungle testnet | ||
sys: 'cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f' // local developer | ||
} | ||
/** | ||
@@ -48,11 +49,18 @@ Other httpEndpoint's: https://www.eosdocs.io/resources/apiendpoints | ||
eos = Eos({ | ||
keyProvider: '5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3',// private key | ||
httpEndpoint: 'http://127.0.0.1:8888', | ||
chainId: chain.sysnet, | ||
verbose: true | ||
}) | ||
chainId: chain.sys, | ||
}); | ||
/** | ||
Sign and broadcast a transaction. | ||
@example updateProducerVote('myaccount', 'proxyaccount', ['respectedbp']) | ||
*/ | ||
async function updateProducerVote(voter, proxy = '', producers = []) { | ||
return eos.voteproducer(voter, proxy, producers) | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
See console object: Eos | ||
</body> | ||
</html> | ||
@@ -59,0 +67,0 @@ ``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
641
2170367
15
23
31557
+ Addedfcbuffer@2.2.2(transitive)
- Removedfcbuffer@2.2.0(transitive)
Updatedfcbuffer@^2.2.1