Comparing version 12.0.3 to 13.0.0
@@ -75,3 +75,3 @@ 'use strict'; | ||
if (!config.chainId) { | ||
config.chainId = '00'.repeat(32); | ||
config.chainId = '706a7ddd808de9fc2b8879904f3b392256c83104c1d544b38302cc07d9fca477'; | ||
} | ||
@@ -78,0 +78,0 @@ |
@@ -10,2 +10,3 @@ { | ||
"symbol": "uint64", | ||
"symbol_code": "uint64", | ||
"field_name": "string", | ||
@@ -21,2 +22,4 @@ "account_name": "name", | ||
"time_point_sec": "time", | ||
"timestamp": "uint32", | ||
"block_timestamp_type": "timestamp", | ||
"block_id": "fixed_bytes32", | ||
@@ -177,3 +180,3 @@ "checksum_type": "fixed_bytes32", | ||
"previous": "checksum256", | ||
"timestamp": "uint32", | ||
"timestamp": "timestamp", | ||
"transaction_mroot": "checksum256", | ||
@@ -180,0 +183,0 @@ "action_mroot": "checksum256", |
@@ -13,2 +13,14 @@ { | ||
}, | ||
"bidname": { | ||
"base": "", | ||
"action": { | ||
"name": "bidname", | ||
"account": "eosio" | ||
}, | ||
"fields": { | ||
"bidder": "account_name", | ||
"newname": "account_name", | ||
"bid": "asset" | ||
} | ||
}, | ||
"blockchain_parameters": { | ||
@@ -33,4 +45,3 @@ "base": "", | ||
"max_inline_action_depth": "uint16", | ||
"max_authority_depth": "uint16", | ||
"max_generated_transaction_count": "uint32" | ||
"max_authority_depth": "uint16" | ||
} | ||
@@ -129,4 +140,6 @@ }, | ||
"total_activated_stake": "int64", | ||
"thresh_activated_stake_time": "uint64", | ||
"last_producer_schedule_id": "checksum160", | ||
"total_producer_vote_weight": "float64" | ||
"total_producer_vote_weight": "float64", | ||
"last_name_close": "block_timestamp_type" | ||
} | ||
@@ -235,3 +248,4 @@ }, | ||
"request_time": "time_point_sec", | ||
"amount": "uint64" | ||
"net_amount": "asset", | ||
"cpu_amount": "asset" | ||
} | ||
@@ -238,0 +252,0 @@ }, |
@@ -137,3 +137,3 @@ 'use strict'; | ||
if (errors.length !== 0) { | ||
throw new Error(JSON.stringify(errors, null, 4) + '\nin\n' + JSON.stringify(schema, null, 4)); | ||
throw new Error(JSON.stringify(errors, null, 4)); | ||
} | ||
@@ -140,0 +140,0 @@ |
{ | ||
"name": "eosjs", | ||
"version": "12.0.3", | ||
"version": "13.0.0", | ||
"description": "General purpose library for the EOS blockchain.", | ||
@@ -49,3 +49,3 @@ "main": "lib/index.js", | ||
"create-hash": "^1.1.3", | ||
"eosjs-api": "6.0.1", | ||
"eosjs-api": "6.0.2", | ||
"eosjs-ecc": "4.0.1", | ||
@@ -52,0 +52,0 @@ "fcbuffer": "2.2.0" |
@@ -6,2 +6,3 @@ [](https://travis-ci.org/EOSIO/eosjs) | ||
| --- | --- | --- | --- | --- | --- | | ||
| dawn4.2 | tag: 13.x.x | `npm install eosjs` (version 13) | tag: dawn-v4.2.0 | eosio/eos:20180526 | [local docker](https://github.com/EOSIO/eosjs/tree/master/docker) | | ||
| dawn4.1 | tag: 12.x.x | `npm install eosjs` (version 12) | tag: dawn-v4.1.0 | eosio/eos:20180519 | [local docker](https://github.com/EOSIO/eosjs/tree/master/docker) | | ||
@@ -221,5 +222,4 @@ | dawn4 | tag: 11.x.x | `npm install eosjs@dawn4` (version 11) | tag: dawn-v4.0.0 | eosio/eos:dawn-v4.0.0 | [local docker](https://github.com/EOSIO/eosjs/tree/master/docker) | | ||
// eos.contract(account<string>, [options], [callback]) | ||
// Error reading contract; https://github.com/EOSIO/eos/issues/3159 | ||
eos.contract('inita').then(c => inita = c) | ||
inita.create('inita', '1000.0000 CUR', {authorization: 'inita'}) | ||
@@ -226,0 +226,0 @@ ``` |
154030
3861
+ Addedeosjs-api@6.0.2(transitive)
- Removedeosjs-api@6.0.1(transitive)
Updatedeosjs-api@6.0.2