@crypdex/hydro-sdk
Version:
Javascript SDK for the Hydro API
23 lines (22 loc) • 635 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Description of a websocket channel you are listening for updates on.
*/
var Channel = /** @class */ (function () {
function Channel(json) {
this.name = json.name;
this.marketIds = json.marketIds;
}
return Channel;
}());
exports.Channel = Channel;
/**
* See https://docs.ddex.io/#websocket
*/
var ChannelName;
(function (ChannelName) {
ChannelName["TICKER"] = "ticker";
ChannelName["ORDERBOOK"] = "orderbook";
ChannelName["FULL"] = "full";
})(ChannelName = exports.ChannelName || (exports.ChannelName = {}));