chain-node
Advanced tools
Comparing version 3.0.0-pre2 to 3.0.0-pre3
@@ -118,2 +118,5 @@ var bitcoin = require('bitcoinjs-lib'); | ||
Chain.prototype.sendTransaction = function(template, cb) { | ||
if (typeof template == 'string' || template instanceof String) { | ||
template = {signed_hex: template}; | ||
} | ||
this.dataApi.post('/transactions/send', template, cb); | ||
@@ -120,0 +123,0 @@ }; |
{ | ||
"name": "chain-node", | ||
"version": "3.0.0-pre2", | ||
"version": "3.0.0-pre3", | ||
"description": "The Official Node.js SDK for Chain's Bitcoin API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12727
202