UNPKG

nanocurrency-rpc-bindings

Version:

JavaScript and TypeScript bindings for Nano currency RPC calls

29 lines 1.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ActionResponse = exports.Action = exports.Topic = void 0; var Topic; (function (Topic) { Topic["Confirmation"] = "confirmation"; Topic["Votes"] = "votes"; Topic["StoppedElections"] = "stopped_election"; Topic["ActiveDifficulty"] = "active_difficulty"; Topic["Work"] = "work"; Topic["Telemetry"] = "telemetry"; Topic["NewUnconfirmedBlock"] = "new_unconfirmed_block"; Topic["Bootstrap"] = "bootstrap"; })(Topic = exports.Topic || (exports.Topic = {})); var Action; (function (Action) { Action["Subscribe"] = "subscribe"; Action["Unsubscribe"] = "unsubscribe"; Action["Update"] = "update"; Action["Ping"] = "ping"; })(Action = exports.Action || (exports.Action = {})); var ActionResponse; (function (ActionResponse) { ActionResponse["Subscribe"] = "subscribe"; ActionResponse["Unsubscribe"] = "unsubscribe"; ActionResponse["Update"] = "update"; ActionResponse["Pong"] = "pong"; })(ActionResponse = exports.ActionResponse || (exports.ActionResponse = {})); //# sourceMappingURL=websocket.js.map