graphenejs-lib
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -28,2 +28,3 @@ "use strict"; | ||
var ChainTypes = require('./ChainTypes'); | ||
var head_block_time_string; | ||
@@ -180,5 +181,5 @@ var TransactionBuilder = function () { | ||
if (_this2.expiration === 0) _this2.expiration = base_expiration_sec() + ChainConfig.expire_in_secs; | ||
resolve(Apis.instance().db_api().exec("get_objects", [["2.1.0"]]).then(function (r) { | ||
head_block_time_string = r[0].time; | ||
if (_this2.expiration === 0) _this2.expiration = base_expiration_sec() + ChainConfig.expire_in_secs; | ||
_this2.ref_block_num = r[0].head_block_number & 0xFFFF; | ||
@@ -185,0 +186,0 @@ _this2.ref_block_prefix = new Buffer(r[0].head_block_id, 'hex').readUInt32LE(4); |
{ | ||
"name": "graphenejs-lib", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "Pure JavaScript Bitshares/Graphene library for node.js and browsers.", | ||
@@ -18,2 +18,3 @@ "browser": { | ||
"build": "babel lib --presets babel-preset-es2015 --out-dir dist", | ||
"build:watch": "babel lib --presets babel-preset-es2015 --out-dir dist --watch", | ||
"prebrowserify": "rm -rf ./build/*", | ||
@@ -20,0 +21,0 @@ "browserify": "browserify --full-paths dist/browser.js --standalone steemJS -o build/graphenejs-lib.js -d", |
645000
7779