@machinemode/cryptopia
Version:
Node wrapper for Cryptopia's CLient API
39 lines • 1.49 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
var MarketOrders_1 = require("./MarketOrders");
var MarketOrderGroup = (function (_super) {
__extends(MarketOrderGroup, _super);
function MarketOrderGroup(marketOrderGroup) {
var _this = _super.call(this, marketOrderGroup) || this;
_this.TradePairId = marketOrderGroup.TradePairId;
_this.Market = marketOrderGroup.Market;
return _this;
}
Object.defineProperty(MarketOrderGroup.prototype, "tradePairId", {
get: function () {
return this.TradePairId;
},
enumerable: true,
configurable: true
});
Object.defineProperty(MarketOrderGroup.prototype, "market", {
get: function () {
return this.Market;
},
enumerable: true,
configurable: true
});
return MarketOrderGroup;
}(MarketOrders_1.default));
exports.default = MarketOrderGroup;
//# sourceMappingURL=MarketOrderGroup.js.map