Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhar-shubhendu committed Oct 23, 2018
2 parents b55907f + 1708937 commit a0f807c
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.amd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.amd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs2.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.cjs2.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.window.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/bigchaindb-orm.window.min.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion dist/node/ormobject.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ var OrmObject = function () {
value: function create(inputs) {
var _this2 = this;

var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (0, _v2.default)();

if (inputs === undefined) {
console.error('inputs missing');
}
var assetPayload = {
'schema': this._schema,
'id': 'id:' + this._appId + ':' + this._name + ':' + (0, _v2.default)()
'id': 'id:' + this._appId + ':' + this._name + ':' + id
};
return this._connection.createTransaction(inputs.keypair.publicKey, inputs.keypair.privateKey, assetPayload, inputs.data).then(function (tx) {
return Promise.resolve(_this2._connection.getSortedTransactions(tx.id).then(function (txList) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bigchaindb-orm",
"version": "3.0.1",
"version": "3.0.3",
"description": "A CRAB-based ORM for BigchainDB",
"homepage": "https://www.bigchaindb.com/",
"bugs": "https://github.com/bigchaindb/js-driver-orm/issues",
Expand Down

0 comments on commit a0f807c

Please sign in to comment.