stellar-sdk
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -16,15 +16,4 @@ "use strict"; | ||
// expose classes from stellar-base | ||
// expose classes and functions from stellar-base | ||
var _stellarBase = require("stellar-base"); | ||
exports.Account = _stellarBase.Account; | ||
exports.Transaction = _stellarBase.Transaction; | ||
exports.TransactionBuilder = _stellarBase.TransactionBuilder; | ||
exports.Asset = _stellarBase.Asset; | ||
exports.Operation = _stellarBase.Operation; | ||
exports.Keypair = _stellarBase.Keypair; | ||
exports.Memo = _stellarBase.Memo; | ||
exports.Network = _stellarBase.Network; | ||
exports.Networks = _stellarBase.Networks; | ||
exports.xdr = _stellarBase.xdr; | ||
_defaults(exports, _interopRequireWildcard(require("stellar-base"))); |
"use strict"; | ||
var _createClass = (function () { function defineProperties(target, props) { for (var key in props) { var prop = props[key]; prop.configurable = true; if (prop.value) prop.writable = true; } Object.defineProperties(target, props); } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
var _get = function get(object, property, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if ("value" in desc && desc.writable) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } }; | ||
@@ -47,3 +49,12 @@ | ||
_createClass(OrderbookCallBuilder, { | ||
trades: { | ||
value: function trades() { | ||
this.filter.push(["order_book", "trades"]); | ||
return this; | ||
} | ||
} | ||
}); | ||
return OrderbookCallBuilder; | ||
})(CallBuilder); |
{ | ||
"name": "stellar-sdk", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "stellar-sdk is a library for working with the Stellar Horizon server.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -5,11 +5,3 @@ // stellar-sdk classes to expose | ||
// expose classes from stellar-base | ||
export {Account} from "stellar-base"; | ||
export {Transaction} from "stellar-base"; | ||
export {TransactionBuilder} from "stellar-base"; | ||
export {Asset} from "stellar-base"; | ||
export {Operation} from "stellar-base"; | ||
export {Keypair} from "stellar-base"; | ||
export {Memo} from "stellar-base"; | ||
export {Network, Networks} from "stellar-base"; | ||
export {xdr} from "stellar-base"; | ||
// expose classes and functions from stellar-base | ||
export * from "stellar-base"; |
@@ -29,3 +29,8 @@ import {CallBuilder} from "./call_builder"; | ||
trades() { | ||
this.filter.push(['order_book', 'trades']); | ||
return this; | ||
} | ||
} | ||
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2268907
66
48599