UNPKG

@machinemode/cryptopia

Version:

Node wrapper for Cryptopia's CLient API

65 lines 1.95 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var MarketHistory = (function () { function MarketHistory(marketHistory) { this.TradePairId = marketHistory.TradePairId; this.Label = marketHistory.Label; this.Type = marketHistory.Type; this.Price = marketHistory.Price; this.Amount = marketHistory.Amount; this.Total = marketHistory.Total; this.Timestamp = marketHistory.Timestamp; } Object.defineProperty(MarketHistory.prototype, "tradePairId", { get: function () { return this.TradePairId; }, enumerable: true, configurable: true }); Object.defineProperty(MarketHistory.prototype, "label", { get: function () { return this.Label; }, enumerable: true, configurable: true }); Object.defineProperty(MarketHistory.prototype, "type", { get: function () { return this.Type; }, enumerable: true, configurable: true }); Object.defineProperty(MarketHistory.prototype, "price", { get: function () { return this.Price; }, enumerable: true, configurable: true }); Object.defineProperty(MarketHistory.prototype, "amount", { get: function () { return this.Amount; }, enumerable: true, configurable: true }); Object.defineProperty(MarketHistory.prototype, "total", { get: function () { return this.Total; }, enumerable: true, configurable: true }); Object.defineProperty(MarketHistory.prototype, "timestamp", { get: function () { return this.Timestamp; }, enumerable: true, configurable: true }); return MarketHistory; }()); exports.default = MarketHistory; //# sourceMappingURL=MarketHistory.js.map