mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 01:36:56 +01:00
Merge pull request #1 from bigchaindb/0.10-compatible-release
0.10 compatible release
This commit is contained in:
commit
f8381b760e
@ -11,6 +11,13 @@ Aimed to support usage in browsers or node and ES∞+, so
|
||||
you'll probably need a babel here and a bundler there (or use [one of the built versions](./dist)),
|
||||
of which I expect you'll know quite well ([otherwise, go check out js-reactor](https://github.com/bigchaindb/js-reactor)).
|
||||
|
||||
## Compatibility
|
||||
|
||||
| BigchainDB Server | BigchainDB Javascript Driver |
|
||||
| ----------------- |------------------------------|
|
||||
| `~=0.10.1` | `~=0.1.0` |
|
||||
|
||||
|
||||
## Contents
|
||||
|
||||
- [Getting Started](#getting-started)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "js-bigchaindb-driver",
|
||||
"version": "0.0.2",
|
||||
"version": "0.1.0",
|
||||
"description": "JavaScript driver for BigchainDB (node + browser)",
|
||||
"homepage": "https://www.bigchaindb.com/",
|
||||
"bugs": "https://github.com/bigchaindb/js-bigchaindb-driver/issues",
|
||||
|
@ -8,9 +8,9 @@
|
||||
*/
|
||||
export default function makeOutput(condition, amount = 1) {
|
||||
return {
|
||||
amount: JSON.stringify(amount),
|
||||
amount: amount,
|
||||
condition,
|
||||
'public_keys': condition.details.hasOwnProperty('public_key') ?
|
||||
[condition.details.public_key] : [],
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user