New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@betit/orion-node-sdk

Package Overview
Dependencies
Maintainers
36
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betit/orion-node-sdk - npm Package Compare versions

Comparing version 1.0.0-beta.18 to 1.0.0-beta.19

docs/.nojekyll

2

docs/assets/js/search.js
var typedoc = typedoc || {};
typedoc.search = typedoc.search || {};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":1,"name":"\"utils/index\"","url":"modules/_utils_index_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":64,"name":"debugLog","url":"modules/_utils_index_.html#debuglog","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"utils/index\""},{"id":2,"kind":32,"name":"UIDCHARS","url":"modules/_utils_index_.html#uidchars","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"utils/index\""},{"id":3,"kind":64,"name":"generateId","url":"modules/_utils_index_.html#generateid","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"utils/index\""},{"id":4,"kind":1,"name":"\"codec/json\"","url":"modules/_codec_json_.html","classes":"tsd-kind-external-module"},{"id":5,"kind":128,"name":"JsonCodec","url":"classes/_codec_json_.jsoncodec.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"codec/json\""},{"id":6,"kind":1024,"name":"encoding","url":"classes/_codec_json_.jsoncodec.html#encoding","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":7,"kind":1024,"name":"contentType","url":"classes/_codec_json_.jsoncodec.html#contenttype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":8,"kind":2048,"name":"encode","url":"classes/_codec_json_.jsoncodec.html#encode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":9,"kind":2048,"name":"decode","url":"classes/_codec_json_.jsoncodec.html#decode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":10,"kind":32,"name":"debug","url":"modules/_codec_json_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"codec/json\""},{"id":11,"kind":1,"name":"\"codec/msgpack\"","url":"modules/_codec_msgpack_.html","classes":"tsd-kind-external-module"},{"id":12,"kind":128,"name":"MsgPackCodec","url":"classes/_codec_msgpack_.msgpackcodec.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"codec/msgpack\""},{"id":13,"kind":1024,"name":"encoding","url":"classes/_codec_msgpack_.msgpackcodec.html#encoding","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":14,"kind":1024,"name":"contentType","url":"classes/_codec_msgpack_.msgpackcodec.html#contenttype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":15,"kind":2048,"name":"encode","url":"classes/_codec_msgpack_.msgpackcodec.html#encode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":16,"kind":2048,"name":"decode","url":"classes/_codec_msgpack_.msgpackcodec.html#decode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":17,"kind":32,"name":"DEBUG","url":"modules/_codec_msgpack_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"codec/msgpack\""},{"id":18,"kind":1,"name":"\"codec/index\"","url":"modules/_codec_index_.html","classes":"tsd-kind-external-module"},{"id":19,"kind":1,"name":"\"error/error\"","url":"modules/_error_error_.html","classes":"tsd-kind-external-module"},{"id":20,"kind":128,"name":"OrionError","url":"classes/_error_error_.orionerror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"error/error\""},{"id":21,"kind":1024,"name":"uuid","url":"classes/_error_error_.orionerror.html#uuid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":22,"kind":512,"name":"constructor","url":"classes/_error_error_.orionerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":23,"kind":1024,"name":"code","url":"classes/_error_error_.orionerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":24,"kind":1024,"name":"message","url":"classes/_error_error_.orionerror.html#message","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":25,"kind":32,"name":"UUID","url":"modules/_error_error_.html#uuid","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"error/error\""},{"id":26,"kind":1,"name":"\"logger/levels\"","url":"modules/_logger_levels_.html","classes":"tsd-kind-external-module"},{"id":27,"kind":32,"name":"EMERGENCY","url":"modules/_logger_levels_.html#emergency","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":28,"kind":32,"name":"ALERT","url":"modules/_logger_levels_.html#alert","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":29,"kind":32,"name":"CRITICAL","url":"modules/_logger_levels_.html#critical","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":30,"kind":32,"name":"ERR","url":"modules/_logger_levels_.html#err","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":31,"kind":32,"name":"ERROR","url":"modules/_logger_levels_.html#error","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":32,"kind":32,"name":"WARNING","url":"modules/_logger_levels_.html#warning","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":33,"kind":32,"name":"NOTICE","url":"modules/_logger_levels_.html#notice","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":34,"kind":32,"name":"INFO","url":"modules/_logger_levels_.html#info","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":35,"kind":32,"name":"DEBUG","url":"modules/_logger_levels_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":36,"kind":64,"name":"levelToString","url":"modules/_logger_levels_.html#leveltostring","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":37,"kind":1,"name":"\"logger/colors\"","url":"modules/_logger_colors_.html","classes":"tsd-kind-external-module"},{"id":38,"kind":32,"name":"BLACK","url":"modules/_logger_colors_.html#black","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":39,"kind":32,"name":"RED","url":"modules/_logger_colors_.html#red","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":40,"kind":32,"name":"GREEN","url":"modules/_logger_colors_.html#green","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":41,"kind":32,"name":"YELLOW","url":"modules/_logger_colors_.html#yellow","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":42,"kind":32,"name":"BLUE","url":"modules/_logger_colors_.html#blue","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":43,"kind":32,"name":"MAGENTA","url":"modules/_logger_colors_.html#magenta","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":44,"kind":32,"name":"CYAN","url":"modules/_logger_colors_.html#cyan","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":45,"kind":32,"name":"WHITE","url":"modules/_logger_colors_.html#white","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":46,"kind":64,"name":"getColorForLevel","url":"modules/_logger_colors_.html#getcolorforlevel","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":47,"kind":1,"name":"\"request/request\"","url":"modules/_request_request_.html","classes":"tsd-kind-external-module"},{"id":48,"kind":128,"name":"Request","url":"classes/_request_request_.request.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"request/request\""},{"id":49,"kind":1024,"name":"tracerData","url":"classes/_request_request_.request.html#tracerdata","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":50,"kind":65536,"name":"__type","url":"classes/_request_request_.request.html#tracerdata.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"request/request\".Request.tracerData"},{"id":51,"kind":1024,"name":"timeout","url":"classes/_request_request_.request.html#timeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":52,"kind":1024,"name":"meta","url":"classes/_request_request_.request.html#meta","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":53,"kind":65536,"name":"__type","url":"classes/_request_request_.request.html#meta.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"request/request\".Request.meta"},{"id":54,"kind":512,"name":"constructor","url":"classes/_request_request_.request.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":55,"kind":1024,"name":"path","url":"classes/_request_request_.request.html#path","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":56,"kind":1024,"name":"params","url":"classes/_request_request_.request.html#params","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":57,"kind":2048,"name":"getId","url":"classes/_request_request_.request.html#getid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":58,"kind":1,"name":"\"types/interfaces\"","url":"modules/_types_interfaces_.html","classes":"tsd-kind-external-module"},{"id":59,"kind":256,"name":"Codec","url":"interfaces/_types_interfaces_.codec.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":60,"kind":1024,"name":"encoding","url":"interfaces/_types_interfaces_.codec.html#encoding","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":61,"kind":1024,"name":"contentType","url":"interfaces/_types_interfaces_.codec.html#contenttype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":62,"kind":2048,"name":"encode","url":"interfaces/_types_interfaces_.codec.html#encode","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":63,"kind":2048,"name":"decode","url":"interfaces/_types_interfaces_.codec.html#decode","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":64,"kind":256,"name":"Transport","url":"interfaces/_types_interfaces_.transport.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":65,"kind":2048,"name":"listen","url":"interfaces/_types_interfaces_.transport.html#listen","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":66,"kind":2048,"name":"publish","url":"interfaces/_types_interfaces_.transport.html#publish","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":67,"kind":2048,"name":"subscribe","url":"interfaces/_types_interfaces_.transport.html#subscribe","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":68,"kind":2048,"name":"handle","url":"interfaces/_types_interfaces_.transport.html#handle","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":69,"kind":2048,"name":"request","url":"interfaces/_types_interfaces_.transport.html#request","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":70,"kind":2048,"name":"close","url":"interfaces/_types_interfaces_.transport.html#close","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":71,"kind":2048,"name":"onClose","url":"interfaces/_types_interfaces_.transport.html#onclose","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":72,"kind":256,"name":"Client","url":"interfaces/_types_interfaces_.client.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":73,"kind":2048,"name":"emit","url":"interfaces/_types_interfaces_.client.html#emit","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Client"},{"id":74,"kind":2048,"name":"call","url":"interfaces/_types_interfaces_.client.html#call","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Client"},{"id":75,"kind":256,"name":"Service","url":"interfaces/_types_interfaces_.service.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":76,"kind":2048,"name":"emit","url":"interfaces/_types_interfaces_.service.html#emit","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Service"},{"id":77,"kind":2048,"name":"on","url":"interfaces/_types_interfaces_.service.html#on","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Service"},{"id":78,"kind":2048,"name":"handle","url":"interfaces/_types_interfaces_.service.html#handle","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Service"},{"id":79,"kind":256,"name":"Tracer","url":"interfaces/_types_interfaces_.tracer.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":80,"kind":2048,"name":"trace","url":"interfaces/_types_interfaces_.tracer.html#trace","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Tracer"},{"id":81,"kind":256,"name":"Logger","url":"interfaces/_types_interfaces_.logger.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":82,"kind":2048,"name":"createMessage","url":"interfaces/_types_interfaces_.logger.html#createmessage","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Logger"},{"id":83,"kind":2048,"name":"send","url":"interfaces/_types_interfaces_.logger.html#send","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Logger"},{"id":84,"kind":256,"name":"Message","url":"interfaces/_types_interfaces_.message.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":85,"kind":2048,"name":"setId","url":"interfaces/_types_interfaces_.message.html#setid","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":86,"kind":2048,"name":"setParams","url":"interfaces/_types_interfaces_.message.html#setparams","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":87,"kind":2048,"name":"setLevel","url":"interfaces/_types_interfaces_.message.html#setlevel","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":88,"kind":2048,"name":"send","url":"interfaces/_types_interfaces_.message.html#send","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":89,"kind":256,"name":"RawMessage","url":"interfaces/_types_interfaces_.rawmessage.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":90,"kind":1024,"name":"level","url":"interfaces/_types_interfaces_.rawmessage.html#level","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":91,"kind":1024,"name":"timestamp","url":"interfaces/_types_interfaces_.rawmessage.html#timestamp","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":92,"kind":1024,"name":"params","url":"interfaces/_types_interfaces_.rawmessage.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":93,"kind":1024,"name":"message","url":"interfaces/_types_interfaces_.rawmessage.html#message","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":94,"kind":1024,"name":"host","url":"interfaces/_types_interfaces_.rawmessage.html#host","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":95,"kind":1024,"name":"x-trace-id","url":"interfaces/_types_interfaces_.rawmessage.html#x_trace_id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":96,"kind":256,"name":"Options","url":"interfaces/_types_interfaces_.options.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":97,"kind":1024,"name":"codec","url":"interfaces/_types_interfaces_.options.html#codec","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":98,"kind":1024,"name":"tracer","url":"interfaces/_types_interfaces_.options.html#tracer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":99,"kind":1024,"name":"transport","url":"interfaces/_types_interfaces_.options.html#transport","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":100,"kind":1024,"name":"logger","url":"interfaces/_types_interfaces_.options.html#logger","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":101,"kind":1024,"name":"timeout","url":"interfaces/_types_interfaces_.options.html#timeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":102,"kind":1024,"name":"timeouts","url":"interfaces/_types_interfaces_.options.html#timeouts","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":103,"kind":1024,"name":"service","url":"interfaces/_types_interfaces_.options.html#service","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":104,"kind":1,"name":"\"logger/message\"","url":"modules/_logger_message_.html","classes":"tsd-kind-external-module"},{"id":105,"kind":128,"name":"Message","url":"classes/_logger_message_.message.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"logger/message\""},{"id":106,"kind":1024,"name":"_id","url":"classes/_logger_message_.message.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":107,"kind":1024,"name":"_level","url":"classes/_logger_message_.message.html#_level","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":108,"kind":1024,"name":"_params","url":"classes/_logger_message_.message.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":109,"kind":512,"name":"constructor","url":"classes/_logger_message_.message.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":110,"kind":1024,"name":"_client","url":"classes/_logger_message_.message.html#_client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":111,"kind":1024,"name":"_host","url":"classes/_logger_message_.message.html#_host","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":112,"kind":1024,"name":"_message","url":"classes/_logger_message_.message.html#_message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":113,"kind":2048,"name":"setLevel","url":"classes/_logger_message_.message.html#setlevel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":114,"kind":2048,"name":"setId","url":"classes/_logger_message_.message.html#setid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":115,"kind":2048,"name":"setParams","url":"classes/_logger_message_.message.html#setparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":116,"kind":2048,"name":"send","url":"classes/_logger_message_.message.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":117,"kind":1,"name":"\"logger/logger\"","url":"modules/_logger_logger_.html","classes":"tsd-kind-external-module"},{"id":118,"kind":128,"name":"Logger","url":"classes/_logger_logger_.logger.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"logger/logger\""},{"id":119,"kind":1024,"name":"_client","url":"classes/_logger_logger_.logger.html#_client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":120,"kind":1024,"name":"_vernose","url":"classes/_logger_logger_.logger.html#_vernose","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":121,"kind":512,"name":"constructor","url":"classes/_logger_logger_.logger.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"logger/logger\".Logger"},{"id":122,"kind":1024,"name":"_serviceName","url":"classes/_logger_logger_.logger.html#_servicename","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":123,"kind":2048,"name":"createMessage","url":"classes/_logger_logger_.logger.html#createmessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/logger\".Logger"},{"id":124,"kind":2048,"name":"send","url":"classes/_logger_logger_.logger.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/logger\".Logger"},{"id":125,"kind":2048,"name":"_consoleLog","url":"classes/_logger_logger_.logger.html#_consolelog","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":126,"kind":2048,"name":"_getTime","url":"classes/_logger_logger_.logger.html#_gettime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":127,"kind":1,"name":"\"transport/nats\"","url":"modules/_transport_nats_.html","classes":"tsd-kind-external-module"},{"id":128,"kind":128,"name":"NatsTransport","url":"classes/_transport_nats_.natstransport.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"transport/nats\""},{"id":129,"kind":1024,"name":"_client","url":"classes/_transport_nats_.natstransport.html#_client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":130,"kind":1024,"name":"_heartbeat","url":"classes/_transport_nats_.natstransport.html#_heartbeat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":131,"kind":1024,"name":"_closeHandler","url":"classes/_transport_nats_.natstransport.html#_closehandler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":132,"kind":512,"name":"constructor","url":"classes/_transport_nats_.natstransport.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":133,"kind":1024,"name":"_options","url":"classes/_transport_nats_.natstransport.html#_options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":134,"kind":2048,"name":"heartbeat","url":"classes/_transport_nats_.natstransport.html#heartbeat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":135,"kind":2048,"name":"listen","url":"classes/_transport_nats_.natstransport.html#listen","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":136,"kind":2048,"name":"publish","url":"classes/_transport_nats_.natstransport.html#publish","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":137,"kind":2048,"name":"subscribe","url":"classes/_transport_nats_.natstransport.html#subscribe","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":138,"kind":2048,"name":"unsubscribe","url":"classes/_transport_nats_.natstransport.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":139,"kind":2048,"name":"handle","url":"classes/_transport_nats_.natstransport.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":140,"kind":2048,"name":"request","url":"classes/_transport_nats_.natstransport.html#request","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":141,"kind":2048,"name":"close","url":"classes/_transport_nats_.natstransport.html#close","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":142,"kind":2048,"name":"onClose","url":"classes/_transport_nats_.natstransport.html#onclose","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":143,"kind":32,"name":"DEBUG","url":"modules/_transport_nats_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"transport/nats\""},{"id":144,"kind":1,"name":"\"transport/index\"","url":"modules/_transport_index_.html","classes":"tsd-kind-external-module"},{"id":145,"kind":1,"name":"\"tracer/tracer\"","url":"modules/_tracer_tracer_.html","classes":"tsd-kind-external-module"},{"id":146,"kind":128,"name":"Tracer","url":"classes/_tracer_tracer_.tracer.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"tracer/tracer\""},{"id":147,"kind":1024,"name":"_ctxImpl","url":"classes/_tracer_tracer_.tracer.html#_ctximpl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":148,"kind":1024,"name":"_reporter","url":"classes/_tracer_tracer_.tracer.html#_reporter","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":149,"kind":1024,"name":"_tracer","url":"classes/_tracer_tracer_.tracer.html#_tracer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":150,"kind":512,"name":"constructor","url":"classes/_tracer_tracer_.tracer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"tracer/tracer\".Tracer"},{"id":151,"kind":1024,"name":"_serviceName","url":"classes/_tracer_tracer_.tracer.html#_servicename","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":152,"kind":2048,"name":"trace","url":"classes/_tracer_tracer_.tracer.html#trace","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"tracer/tracer\".Tracer"},{"id":153,"kind":2048,"name":"_getHeadersFromRequest","url":"classes/_tracer_tracer_.tracer.html#_getheadersfromrequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":154,"kind":2048,"name":"_getHeadersForRequest","url":"classes/_tracer_tracer_.tracer.html#_getheadersforrequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":155,"kind":2048,"name":"_readHeader","url":"classes/_tracer_tracer_.tracer.html#_readheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":156,"kind":2048,"name":"_getZipkinHost","url":"classes/_tracer_tracer_.tracer.html#_getzipkinhost","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":157,"kind":32,"name":"CLSContext","url":"modules/_tracer_tracer_.html#clscontext","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":158,"kind":32,"name":"BatchRecorder","url":"modules/_tracer_tracer_.html#batchrecorder","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":159,"kind":32,"name":"ZipkinTracer","url":"modules/_tracer_tracer_.html#zipkintracer","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":160,"kind":32,"name":"TraceId","url":"modules/_tracer_tracer_.html#traceid","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":161,"kind":32,"name":"ZipkinRequest","url":"modules/_tracer_tracer_.html#zipkinrequest","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":162,"kind":32,"name":"Annotation","url":"modules/_tracer_tracer_.html#annotation","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":163,"kind":32,"name":"Header","url":"modules/_tracer_tracer_.html#header","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":164,"kind":32,"name":"option","url":"modules/_tracer_tracer_.html#option","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":165,"kind":32,"name":"HttpLogger","url":"modules/_tracer_tracer_.html#httplogger","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":166,"kind":1,"name":"\"response/response\"","url":"modules/_response_response_.html","classes":"tsd-kind-external-module"},{"id":167,"kind":128,"name":"Response","url":"classes/_response_response_.response.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"response/response\""},{"id":168,"kind":512,"name":"constructor","url":"classes/_response_response_.response.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"response/response\".Response"},{"id":169,"kind":1024,"name":"payload","url":"classes/_response_response_.response.html#payload","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"response/response\".Response"},{"id":170,"kind":1024,"name":"error","url":"classes/_response_response_.response.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"response/response\".Response"},{"id":171,"kind":1,"name":"\"service/index\"","url":"modules/_service_index_.html","classes":"tsd-kind-external-module"},{"id":172,"kind":128,"name":"Service","url":"classes/_service_index_.service.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"service/index\""},{"id":173,"kind":1024,"name":"id","url":"classes/_service_index_.service.html#id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":174,"kind":1024,"name":"logger","url":"classes/_service_index_.service.html#logger","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":175,"kind":1024,"name":"_codec","url":"classes/_service_index_.service.html#_codec","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":176,"kind":1024,"name":"_transport","url":"classes/_service_index_.service.html#_transport","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":177,"kind":1024,"name":"_tracer","url":"classes/_service_index_.service.html#_tracer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":178,"kind":512,"name":"constructor","url":"classes/_service_index_.service.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":179,"kind":1024,"name":"name","url":"classes/_service_index_.service.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":180,"kind":1024,"name":"options","url":"classes/_service_index_.service.html#options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"\"service/index\".Service"},{"id":181,"kind":2048,"name":"on","url":"classes/_service_index_.service.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":182,"kind":2048,"name":"handle","url":"classes/_service_index_.service.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":183,"kind":2048,"name":"handleWithoutLogging","url":"classes/_service_index_.service.html#handlewithoutlogging","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":184,"kind":2048,"name":"listen","url":"classes/_service_index_.service.html#listen","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":185,"kind":2048,"name":"close","url":"classes/_service_index_.service.html#close","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":186,"kind":2048,"name":"onClose","url":"classes/_service_index_.service.html#onclose","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":187,"kind":2048,"name":"toString","url":"classes/_service_index_.service.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":188,"kind":2048,"name":"emit","url":"classes/_service_index_.service.html#emit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":189,"kind":2048,"name":"call","url":"classes/_service_index_.service.html#call","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":190,"kind":2048,"name":"_getCallTimeout","url":"classes/_service_index_.service.html#_getcalltimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":191,"kind":2048,"name":"_call","url":"classes/_service_index_.service.html#_call","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":192,"kind":2048,"name":"_handle","url":"classes/_service_index_.service.html#_handle","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":193,"kind":2048,"name":"_serializeRequest","url":"classes/_service_index_.service.html#_serializerequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":194,"kind":2048,"name":"_checkResponse","url":"classes/_service_index_.service.html#_checkresponse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":195,"kind":64,"name":"noop","url":"modules/_service_index_.html#noop","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"service/index\""},{"id":196,"kind":32,"name":"DEBUG","url":"modules/_service_index_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"service/index\""},{"id":197,"kind":1,"name":"\"orion\"","url":"modules/_orion_.html","classes":"tsd-kind-external-module"}]};
typedoc.search.data = {"kinds":{"1":"External module","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":1,"name":"\"utils/index\"","url":"modules/_utils_index_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":64,"name":"debugLog","url":"modules/_utils_index_.html#debuglog","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"utils/index\""},{"id":2,"kind":32,"name":"UIDCHARS","url":"modules/_utils_index_.html#uidchars","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"utils/index\""},{"id":3,"kind":64,"name":"generateId","url":"modules/_utils_index_.html#generateid","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"utils/index\""},{"id":4,"kind":1,"name":"\"codec/json\"","url":"modules/_codec_json_.html","classes":"tsd-kind-external-module"},{"id":5,"kind":128,"name":"JsonCodec","url":"classes/_codec_json_.jsoncodec.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"codec/json\""},{"id":6,"kind":1024,"name":"encoding","url":"classes/_codec_json_.jsoncodec.html#encoding","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":7,"kind":1024,"name":"contentType","url":"classes/_codec_json_.jsoncodec.html#contenttype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":8,"kind":2048,"name":"encode","url":"classes/_codec_json_.jsoncodec.html#encode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":9,"kind":2048,"name":"decode","url":"classes/_codec_json_.jsoncodec.html#decode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/json\".JsonCodec"},{"id":10,"kind":32,"name":"debug","url":"modules/_codec_json_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"codec/json\""},{"id":11,"kind":1,"name":"\"codec/msgpack\"","url":"modules/_codec_msgpack_.html","classes":"tsd-kind-external-module"},{"id":12,"kind":128,"name":"MsgPackCodec","url":"classes/_codec_msgpack_.msgpackcodec.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"codec/msgpack\""},{"id":13,"kind":1024,"name":"encoding","url":"classes/_codec_msgpack_.msgpackcodec.html#encoding","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":14,"kind":1024,"name":"contentType","url":"classes/_codec_msgpack_.msgpackcodec.html#contenttype","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":15,"kind":2048,"name":"encode","url":"classes/_codec_msgpack_.msgpackcodec.html#encode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":16,"kind":2048,"name":"decode","url":"classes/_codec_msgpack_.msgpackcodec.html#decode","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"codec/msgpack\".MsgPackCodec"},{"id":17,"kind":32,"name":"DEBUG","url":"modules/_codec_msgpack_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"codec/msgpack\""},{"id":18,"kind":1,"name":"\"codec/index\"","url":"modules/_codec_index_.html","classes":"tsd-kind-external-module"},{"id":19,"kind":1,"name":"\"error/error\"","url":"modules/_error_error_.html","classes":"tsd-kind-external-module"},{"id":20,"kind":128,"name":"OrionError","url":"classes/_error_error_.orionerror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"error/error\""},{"id":21,"kind":1024,"name":"uuid","url":"classes/_error_error_.orionerror.html#uuid","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":22,"kind":512,"name":"constructor","url":"classes/_error_error_.orionerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":23,"kind":1024,"name":"code","url":"classes/_error_error_.orionerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":24,"kind":1024,"name":"message","url":"classes/_error_error_.orionerror.html#message","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error/error\".OrionError"},{"id":25,"kind":32,"name":"UUID","url":"modules/_error_error_.html#uuid","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"error/error\""},{"id":26,"kind":1,"name":"\"logger/levels\"","url":"modules/_logger_levels_.html","classes":"tsd-kind-external-module"},{"id":27,"kind":32,"name":"EMERGENCY","url":"modules/_logger_levels_.html#emergency","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":28,"kind":32,"name":"ALERT","url":"modules/_logger_levels_.html#alert","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":29,"kind":32,"name":"CRITICAL","url":"modules/_logger_levels_.html#critical","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":30,"kind":32,"name":"ERR","url":"modules/_logger_levels_.html#err","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":31,"kind":32,"name":"ERROR","url":"modules/_logger_levels_.html#error","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":32,"kind":32,"name":"WARNING","url":"modules/_logger_levels_.html#warning","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":33,"kind":32,"name":"NOTICE","url":"modules/_logger_levels_.html#notice","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":34,"kind":32,"name":"INFO","url":"modules/_logger_levels_.html#info","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":35,"kind":32,"name":"DEBUG","url":"modules/_logger_levels_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":36,"kind":64,"name":"levelToString","url":"modules/_logger_levels_.html#leveltostring","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"logger/levels\""},{"id":37,"kind":1,"name":"\"logger/colors\"","url":"modules/_logger_colors_.html","classes":"tsd-kind-external-module"},{"id":38,"kind":32,"name":"BLACK","url":"modules/_logger_colors_.html#black","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":39,"kind":32,"name":"RED","url":"modules/_logger_colors_.html#red","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":40,"kind":32,"name":"GREEN","url":"modules/_logger_colors_.html#green","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":41,"kind":32,"name":"YELLOW","url":"modules/_logger_colors_.html#yellow","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":42,"kind":32,"name":"BLUE","url":"modules/_logger_colors_.html#blue","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":43,"kind":32,"name":"MAGENTA","url":"modules/_logger_colors_.html#magenta","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":44,"kind":32,"name":"CYAN","url":"modules/_logger_colors_.html#cyan","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":45,"kind":32,"name":"WHITE","url":"modules/_logger_colors_.html#white","classes":"tsd-kind-variable tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":46,"kind":64,"name":"getColorForLevel","url":"modules/_logger_colors_.html#getcolorforlevel","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"logger/colors\""},{"id":47,"kind":1,"name":"\"request/request\"","url":"modules/_request_request_.html","classes":"tsd-kind-external-module"},{"id":48,"kind":128,"name":"Request","url":"classes/_request_request_.request.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"request/request\""},{"id":49,"kind":1024,"name":"tracerData","url":"classes/_request_request_.request.html#tracerdata","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":50,"kind":65536,"name":"__type","url":"classes/_request_request_.request.html#tracerdata.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"request/request\".Request.tracerData"},{"id":51,"kind":1024,"name":"timeout","url":"classes/_request_request_.request.html#timeout","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":52,"kind":1024,"name":"meta","url":"classes/_request_request_.request.html#meta","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":53,"kind":65536,"name":"__type","url":"classes/_request_request_.request.html#meta.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"request/request\".Request.meta"},{"id":54,"kind":512,"name":"constructor","url":"classes/_request_request_.request.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":55,"kind":1024,"name":"path","url":"classes/_request_request_.request.html#path","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":56,"kind":1024,"name":"params","url":"classes/_request_request_.request.html#params","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":57,"kind":2048,"name":"getId","url":"classes/_request_request_.request.html#getid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"request/request\".Request"},{"id":58,"kind":1,"name":"\"types/interfaces\"","url":"modules/_types_interfaces_.html","classes":"tsd-kind-external-module"},{"id":59,"kind":256,"name":"Codec","url":"interfaces/_types_interfaces_.codec.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":60,"kind":1024,"name":"encoding","url":"interfaces/_types_interfaces_.codec.html#encoding","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":61,"kind":1024,"name":"contentType","url":"interfaces/_types_interfaces_.codec.html#contenttype","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":62,"kind":2048,"name":"encode","url":"interfaces/_types_interfaces_.codec.html#encode","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":63,"kind":2048,"name":"decode","url":"interfaces/_types_interfaces_.codec.html#decode","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Codec"},{"id":64,"kind":256,"name":"Transport","url":"interfaces/_types_interfaces_.transport.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":65,"kind":2048,"name":"listen","url":"interfaces/_types_interfaces_.transport.html#listen","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":66,"kind":2048,"name":"publish","url":"interfaces/_types_interfaces_.transport.html#publish","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":67,"kind":2048,"name":"subscribe","url":"interfaces/_types_interfaces_.transport.html#subscribe","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":68,"kind":2048,"name":"handle","url":"interfaces/_types_interfaces_.transport.html#handle","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":69,"kind":2048,"name":"request","url":"interfaces/_types_interfaces_.transport.html#request","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":70,"kind":2048,"name":"close","url":"interfaces/_types_interfaces_.transport.html#close","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":71,"kind":2048,"name":"onClose","url":"interfaces/_types_interfaces_.transport.html#onclose","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Transport"},{"id":72,"kind":256,"name":"Client","url":"interfaces/_types_interfaces_.client.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":73,"kind":2048,"name":"emit","url":"interfaces/_types_interfaces_.client.html#emit","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Client"},{"id":74,"kind":2048,"name":"call","url":"interfaces/_types_interfaces_.client.html#call","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Client"},{"id":75,"kind":256,"name":"Service","url":"interfaces/_types_interfaces_.service.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":76,"kind":2048,"name":"emit","url":"interfaces/_types_interfaces_.service.html#emit","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Service"},{"id":77,"kind":2048,"name":"on","url":"interfaces/_types_interfaces_.service.html#on","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Service"},{"id":78,"kind":2048,"name":"handle","url":"interfaces/_types_interfaces_.service.html#handle","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Service"},{"id":79,"kind":256,"name":"Tracer","url":"interfaces/_types_interfaces_.tracer.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":80,"kind":2048,"name":"trace","url":"interfaces/_types_interfaces_.tracer.html#trace","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Tracer"},{"id":81,"kind":256,"name":"Logger","url":"interfaces/_types_interfaces_.logger.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":82,"kind":2048,"name":"createMessage","url":"interfaces/_types_interfaces_.logger.html#createmessage","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Logger"},{"id":83,"kind":2048,"name":"send","url":"interfaces/_types_interfaces_.logger.html#send","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Logger"},{"id":84,"kind":256,"name":"Message","url":"interfaces/_types_interfaces_.message.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":85,"kind":2048,"name":"setId","url":"interfaces/_types_interfaces_.message.html#setid","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":86,"kind":2048,"name":"setParams","url":"interfaces/_types_interfaces_.message.html#setparams","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":87,"kind":2048,"name":"setLevel","url":"interfaces/_types_interfaces_.message.html#setlevel","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":88,"kind":2048,"name":"send","url":"interfaces/_types_interfaces_.message.html#send","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"types/interfaces\".Message"},{"id":89,"kind":256,"name":"RawMessage","url":"interfaces/_types_interfaces_.rawmessage.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":90,"kind":1024,"name":"level","url":"interfaces/_types_interfaces_.rawmessage.html#level","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":91,"kind":1024,"name":"timestamp","url":"interfaces/_types_interfaces_.rawmessage.html#timestamp","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":92,"kind":1024,"name":"params","url":"interfaces/_types_interfaces_.rawmessage.html#params","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":93,"kind":1024,"name":"message","url":"interfaces/_types_interfaces_.rawmessage.html#message","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":94,"kind":1024,"name":"host","url":"interfaces/_types_interfaces_.rawmessage.html#host","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":95,"kind":1024,"name":"x-trace-id","url":"interfaces/_types_interfaces_.rawmessage.html#x_trace_id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".RawMessage"},{"id":96,"kind":256,"name":"Options","url":"interfaces/_types_interfaces_.options.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"types/interfaces\""},{"id":97,"kind":1024,"name":"codec","url":"interfaces/_types_interfaces_.options.html#codec","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":98,"kind":1024,"name":"tracer","url":"interfaces/_types_interfaces_.options.html#tracer","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":99,"kind":1024,"name":"transport","url":"interfaces/_types_interfaces_.options.html#transport","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":100,"kind":1024,"name":"logger","url":"interfaces/_types_interfaces_.options.html#logger","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":101,"kind":1024,"name":"timeout","url":"interfaces/_types_interfaces_.options.html#timeout","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":102,"kind":1024,"name":"timeouts","url":"interfaces/_types_interfaces_.options.html#timeouts","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":103,"kind":1024,"name":"service","url":"interfaces/_types_interfaces_.options.html#service","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"types/interfaces\".Options"},{"id":104,"kind":1,"name":"\"logger/message\"","url":"modules/_logger_message_.html","classes":"tsd-kind-external-module"},{"id":105,"kind":128,"name":"Message","url":"classes/_logger_message_.message.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"logger/message\""},{"id":106,"kind":1024,"name":"_id","url":"classes/_logger_message_.message.html#_id","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":107,"kind":1024,"name":"_level","url":"classes/_logger_message_.message.html#_level","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":108,"kind":1024,"name":"_params","url":"classes/_logger_message_.message.html#_params","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":109,"kind":512,"name":"constructor","url":"classes/_logger_message_.message.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":110,"kind":1024,"name":"_client","url":"classes/_logger_message_.message.html#_client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":111,"kind":1024,"name":"_host","url":"classes/_logger_message_.message.html#_host","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":112,"kind":1024,"name":"_message","url":"classes/_logger_message_.message.html#_message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/message\".Message"},{"id":113,"kind":2048,"name":"setLevel","url":"classes/_logger_message_.message.html#setlevel","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":114,"kind":2048,"name":"setId","url":"classes/_logger_message_.message.html#setid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":115,"kind":2048,"name":"setParams","url":"classes/_logger_message_.message.html#setparams","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":116,"kind":2048,"name":"send","url":"classes/_logger_message_.message.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/message\".Message"},{"id":117,"kind":1,"name":"\"logger/logger\"","url":"modules/_logger_logger_.html","classes":"tsd-kind-external-module"},{"id":118,"kind":128,"name":"Logger","url":"classes/_logger_logger_.logger.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"logger/logger\""},{"id":119,"kind":1024,"name":"_client","url":"classes/_logger_logger_.logger.html#_client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":120,"kind":1024,"name":"_vernose","url":"classes/_logger_logger_.logger.html#_vernose","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":121,"kind":512,"name":"constructor","url":"classes/_logger_logger_.logger.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"logger/logger\".Logger"},{"id":122,"kind":1024,"name":"_serviceName","url":"classes/_logger_logger_.logger.html#_servicename","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":123,"kind":2048,"name":"createMessage","url":"classes/_logger_logger_.logger.html#createmessage","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/logger\".Logger"},{"id":124,"kind":2048,"name":"send","url":"classes/_logger_logger_.logger.html#send","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"logger/logger\".Logger"},{"id":125,"kind":2048,"name":"_consoleLog","url":"classes/_logger_logger_.logger.html#_consolelog","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":126,"kind":2048,"name":"_getTime","url":"classes/_logger_logger_.logger.html#_gettime","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"logger/logger\".Logger"},{"id":127,"kind":1,"name":"\"transport/nats\"","url":"modules/_transport_nats_.html","classes":"tsd-kind-external-module"},{"id":128,"kind":128,"name":"NatsTransport","url":"classes/_transport_nats_.natstransport.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"transport/nats\""},{"id":129,"kind":1024,"name":"_client","url":"classes/_transport_nats_.natstransport.html#_client","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":130,"kind":1024,"name":"_heartbeat","url":"classes/_transport_nats_.natstransport.html#_heartbeat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":131,"kind":1024,"name":"_closeHandler","url":"classes/_transport_nats_.natstransport.html#_closehandler","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":132,"kind":512,"name":"constructor","url":"classes/_transport_nats_.natstransport.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":133,"kind":1024,"name":"_options","url":"classes/_transport_nats_.natstransport.html#_options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"transport/nats\".NatsTransport"},{"id":134,"kind":2048,"name":"heartbeat","url":"classes/_transport_nats_.natstransport.html#heartbeat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":135,"kind":2048,"name":"listen","url":"classes/_transport_nats_.natstransport.html#listen","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":136,"kind":2048,"name":"publish","url":"classes/_transport_nats_.natstransport.html#publish","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":137,"kind":2048,"name":"subscribe","url":"classes/_transport_nats_.natstransport.html#subscribe","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":138,"kind":2048,"name":"unsubscribe","url":"classes/_transport_nats_.natstransport.html#unsubscribe","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":139,"kind":2048,"name":"handle","url":"classes/_transport_nats_.natstransport.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":140,"kind":2048,"name":"request","url":"classes/_transport_nats_.natstransport.html#request","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":141,"kind":2048,"name":"close","url":"classes/_transport_nats_.natstransport.html#close","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":142,"kind":2048,"name":"onClose","url":"classes/_transport_nats_.natstransport.html#onclose","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"transport/nats\".NatsTransport"},{"id":143,"kind":32,"name":"DEBUG","url":"modules/_transport_nats_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"transport/nats\""},{"id":144,"kind":1,"name":"\"transport/index\"","url":"modules/_transport_index_.html","classes":"tsd-kind-external-module"},{"id":145,"kind":1,"name":"\"tracer/tracer\"","url":"modules/_tracer_tracer_.html","classes":"tsd-kind-external-module"},{"id":146,"kind":128,"name":"Tracer","url":"classes/_tracer_tracer_.tracer.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"tracer/tracer\""},{"id":147,"kind":1024,"name":"_ctxImpl","url":"classes/_tracer_tracer_.tracer.html#_ctximpl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":148,"kind":1024,"name":"_reporter","url":"classes/_tracer_tracer_.tracer.html#_reporter","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":149,"kind":1024,"name":"_tracer","url":"classes/_tracer_tracer_.tracer.html#_tracer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":150,"kind":512,"name":"constructor","url":"classes/_tracer_tracer_.tracer.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"tracer/tracer\".Tracer"},{"id":151,"kind":1024,"name":"_serviceName","url":"classes/_tracer_tracer_.tracer.html#_servicename","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":152,"kind":2048,"name":"trace","url":"classes/_tracer_tracer_.tracer.html#trace","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"tracer/tracer\".Tracer"},{"id":153,"kind":2048,"name":"_getHeadersFromRequest","url":"classes/_tracer_tracer_.tracer.html#_getheadersfromrequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":154,"kind":2048,"name":"_getHeadersForRequest","url":"classes/_tracer_tracer_.tracer.html#_getheadersforrequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":155,"kind":2048,"name":"_readHeader","url":"classes/_tracer_tracer_.tracer.html#_readheader","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":156,"kind":2048,"name":"_getZipkinHost","url":"classes/_tracer_tracer_.tracer.html#_getzipkinhost","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"tracer/tracer\".Tracer"},{"id":157,"kind":32,"name":"CLSContext","url":"modules/_tracer_tracer_.html#clscontext","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":158,"kind":32,"name":"BatchRecorder","url":"modules/_tracer_tracer_.html#batchrecorder","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":159,"kind":32,"name":"ZipkinTracer","url":"modules/_tracer_tracer_.html#zipkintracer","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":160,"kind":32,"name":"TraceId","url":"modules/_tracer_tracer_.html#traceid","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":161,"kind":32,"name":"ZipkinRequest","url":"modules/_tracer_tracer_.html#zipkinrequest","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":162,"kind":32,"name":"Annotation","url":"modules/_tracer_tracer_.html#annotation","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":163,"kind":32,"name":"Header","url":"modules/_tracer_tracer_.html#header","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":164,"kind":32,"name":"option","url":"modules/_tracer_tracer_.html#option","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":165,"kind":32,"name":"HttpLogger","url":"modules/_tracer_tracer_.html#httplogger","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"tracer/tracer\""},{"id":166,"kind":1,"name":"\"response/response\"","url":"modules/_response_response_.html","classes":"tsd-kind-external-module"},{"id":167,"kind":128,"name":"Response","url":"classes/_response_response_.response.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"response/response\""},{"id":168,"kind":512,"name":"constructor","url":"classes/_response_response_.response.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"response/response\".Response"},{"id":169,"kind":1024,"name":"payload","url":"classes/_response_response_.response.html#payload","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"response/response\".Response"},{"id":170,"kind":1024,"name":"error","url":"classes/_response_response_.response.html#error","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"response/response\".Response"},{"id":171,"kind":1,"name":"\"utils/asyncArray\"","url":"modules/_utils_asyncarray_.html","classes":"tsd-kind-external-module"},{"id":172,"kind":128,"name":"AsyncArray","url":"classes/_utils_asyncarray_.asyncarray.html","classes":"tsd-kind-class tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"utils/asyncArray\""},{"id":173,"kind":1024,"name":"consumers","url":"classes/_utils_asyncarray_.asyncarray.html#consumers","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"utils/asyncArray\".AsyncArray"},{"id":174,"kind":2048,"name":"consume","url":"classes/_utils_asyncarray_.asyncarray.html#consume","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"utils/asyncArray\".AsyncArray"},{"id":175,"kind":2048,"name":"produce","url":"classes/_utils_asyncarray_.asyncarray.html#produce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"utils/asyncArray\".AsyncArray"},{"id":176,"kind":1024,"name":"length","url":"classes/_utils_asyncarray_.asyncarray.html#length","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":177,"kind":2048,"name":"toString","url":"classes/_utils_asyncarray_.asyncarray.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":178,"kind":2048,"name":"toLocaleString","url":"classes/_utils_asyncarray_.asyncarray.html#tolocalestring","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":179,"kind":2048,"name":"push","url":"classes/_utils_asyncarray_.asyncarray.html#push","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":180,"kind":2048,"name":"pop","url":"classes/_utils_asyncarray_.asyncarray.html#pop","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":181,"kind":2048,"name":"concat","url":"classes/_utils_asyncarray_.asyncarray.html#concat","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":182,"kind":2048,"name":"join","url":"classes/_utils_asyncarray_.asyncarray.html#join","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":183,"kind":2048,"name":"reverse","url":"classes/_utils_asyncarray_.asyncarray.html#reverse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":184,"kind":2048,"name":"shift","url":"classes/_utils_asyncarray_.asyncarray.html#shift","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":185,"kind":2048,"name":"slice","url":"classes/_utils_asyncarray_.asyncarray.html#slice","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":186,"kind":2048,"name":"sort","url":"classes/_utils_asyncarray_.asyncarray.html#sort","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":187,"kind":2048,"name":"splice","url":"classes/_utils_asyncarray_.asyncarray.html#splice","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":188,"kind":2048,"name":"unshift","url":"classes/_utils_asyncarray_.asyncarray.html#unshift","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":189,"kind":2048,"name":"indexOf","url":"classes/_utils_asyncarray_.asyncarray.html#indexof","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":190,"kind":2048,"name":"lastIndexOf","url":"classes/_utils_asyncarray_.asyncarray.html#lastindexof","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":191,"kind":2048,"name":"every","url":"classes/_utils_asyncarray_.asyncarray.html#every","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":192,"kind":2048,"name":"some","url":"classes/_utils_asyncarray_.asyncarray.html#some","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":193,"kind":2048,"name":"forEach","url":"classes/_utils_asyncarray_.asyncarray.html#foreach","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":194,"kind":2048,"name":"map","url":"classes/_utils_asyncarray_.asyncarray.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":195,"kind":2048,"name":"filter","url":"classes/_utils_asyncarray_.asyncarray.html#filter","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":196,"kind":2048,"name":"reduce","url":"classes/_utils_asyncarray_.asyncarray.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":197,"kind":2048,"name":"reduceRight","url":"classes/_utils_asyncarray_.asyncarray.html#reduceright","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":198,"kind":1024,"name":"Array","url":"classes/_utils_asyncarray_.asyncarray.html#array","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":199,"kind":2048,"name":"find","url":"classes/_utils_asyncarray_.asyncarray.html#find","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":200,"kind":2048,"name":"findIndex","url":"classes/_utils_asyncarray_.asyncarray.html#findindex","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":201,"kind":2048,"name":"fill","url":"classes/_utils_asyncarray_.asyncarray.html#fill","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":202,"kind":2048,"name":"copyWithin","url":"classes/_utils_asyncarray_.asyncarray.html#copywithin","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":203,"kind":2048,"name":"__@iterator","url":"classes/_utils_asyncarray_.asyncarray.html#___iterator","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":204,"kind":2048,"name":"entries","url":"classes/_utils_asyncarray_.asyncarray.html#entries","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":205,"kind":2048,"name":"keys","url":"classes/_utils_asyncarray_.asyncarray.html#keys","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":206,"kind":2048,"name":"values","url":"classes/_utils_asyncarray_.asyncarray.html#values","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":207,"kind":2048,"name":"__@unscopables","url":"classes/_utils_asyncarray_.asyncarray.html#___unscopables","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"\"utils/asyncArray\".AsyncArray"},{"id":208,"kind":1,"name":"\"service/index\"","url":"modules/_service_index_.html","classes":"tsd-kind-external-module"},{"id":209,"kind":128,"name":"Service","url":"classes/_service_index_.service.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"service/index\""},{"id":210,"kind":1024,"name":"id","url":"classes/_service_index_.service.html#id","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":211,"kind":1024,"name":"logger","url":"classes/_service_index_.service.html#logger","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":212,"kind":1024,"name":"_codec","url":"classes/_service_index_.service.html#_codec","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":213,"kind":1024,"name":"_transport","url":"classes/_service_index_.service.html#_transport","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":214,"kind":1024,"name":"_tracer","url":"classes/_service_index_.service.html#_tracer","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":215,"kind":512,"name":"constructor","url":"classes/_service_index_.service.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":216,"kind":1024,"name":"name","url":"classes/_service_index_.service.html#name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":217,"kind":1024,"name":"options","url":"classes/_service_index_.service.html#options","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-protected","parent":"\"service/index\".Service"},{"id":218,"kind":2048,"name":"on","url":"classes/_service_index_.service.html#on","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":219,"kind":2048,"name":"onAsync","url":"classes/_service_index_.service.html#onasync","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"\"service/index\".Service"},{"id":220,"kind":2048,"name":"handle","url":"classes/_service_index_.service.html#handle","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":221,"kind":2048,"name":"handleWithoutLogging","url":"classes/_service_index_.service.html#handlewithoutlogging","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":222,"kind":2048,"name":"listen","url":"classes/_service_index_.service.html#listen","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":223,"kind":2048,"name":"close","url":"classes/_service_index_.service.html#close","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":224,"kind":2048,"name":"onClose","url":"classes/_service_index_.service.html#onclose","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":225,"kind":2048,"name":"toString","url":"classes/_service_index_.service.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":226,"kind":2048,"name":"emit","url":"classes/_service_index_.service.html#emit","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":227,"kind":2048,"name":"call","url":"classes/_service_index_.service.html#call","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"service/index\".Service"},{"id":228,"kind":2048,"name":"_getCallTimeout","url":"classes/_service_index_.service.html#_getcalltimeout","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":229,"kind":2048,"name":"_call","url":"classes/_service_index_.service.html#_call","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":230,"kind":2048,"name":"_handle","url":"classes/_service_index_.service.html#_handle","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":231,"kind":2048,"name":"_serializeRequest","url":"classes/_service_index_.service.html#_serializerequest","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":232,"kind":2048,"name":"_checkResponse","url":"classes/_service_index_.service.html#_checkresponse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"service/index\".Service"},{"id":233,"kind":64,"name":"noop","url":"modules/_service_index_.html#noop","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"service/index\""},{"id":234,"kind":4194304,"name":"CallbackRequestFunction","url":"modules/_service_index_.html#callbackrequestfunction","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"service/index\""},{"id":235,"kind":65536,"name":"__type","url":"modules/_service_index_.html#callbackrequestfunction.__type-1","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"service/index\".CallbackRequestFunction"},{"id":236,"kind":4194304,"name":"CallbackHandleFunction","url":"modules/_service_index_.html#callbackhandlefunction","classes":"tsd-kind-type-alias tsd-parent-kind-external-module","parent":"\"service/index\""},{"id":237,"kind":65536,"name":"__type","url":"modules/_service_index_.html#callbackhandlefunction.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"\"service/index\".CallbackHandleFunction"},{"id":238,"kind":32,"name":"DEBUG","url":"modules/_service_index_.html#debug","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"service/index\""},{"id":239,"kind":1,"name":"\"orion\"","url":"modules/_orion_.html","classes":"tsd-kind-external-module"}]};

@@ -7,1 +7,2 @@ "use strict";

exports.DefaultBinaryCodec = msgpack_1.MsgPackCodec;
//# sourceMappingURL=index.js.map

@@ -34,1 +34,2 @@ "use strict";

exports.JsonCodec = JsonCodec;
//# sourceMappingURL=json.js.map

@@ -30,1 +30,2 @@ "use strict";

exports.MsgPackCodec = MsgPackCodec;
//# sourceMappingURL=msgpack.js.map

@@ -12,1 +12,2 @@ "use strict";

exports.OrionError = OrionError;
//# sourceMappingURL=error.js.map

@@ -35,1 +35,2 @@ "use strict";

exports.getColorForLevel = getColorForLevel;
//# sourceMappingURL=colors.js.map

@@ -35,1 +35,2 @@ "use strict";

exports.levelToString = levelToString;
//# sourceMappingURL=levels.js.map

@@ -56,1 +56,2 @@ "use strict";

exports.Logger = Logger;
//# sourceMappingURL=logger.js.map

@@ -40,1 +40,2 @@ "use strict";

exports.Message = Message;
//# sourceMappingURL=message.js.map

@@ -31,1 +31,2 @@ "use strict";

exports.Request = request_1.Request;
//# sourceMappingURL=orion.js.map

@@ -15,1 +15,2 @@ "use strict";

exports.Request = Request;
//# sourceMappingURL=request.js.map

@@ -10,1 +10,2 @@ "use strict";

exports.Response = Response;
//# sourceMappingURL=response.js.map
import { Options, Logger } from '../types/interfaces';
import { Request } from '../request/request';
import { Response } from '../response/response';
import { AsyncArray } from '../utils/asyncArray';
export declare type CallbackRequestFunction = (d: Response) => any;
export declare type CallbackHandleFunction = (req: Request, cb: (res?: Response) => any) => Promise<Response> | void;
/**

@@ -21,5 +26,13 @@ * Provides an interface to create your service and register request handlers.

* @param {Function} callback
* @param {boolean} disableGroup
*/
on(topic: string, callback: Function, disableGroup?: boolean): any;
/**
* Subscribe to a topic, getting a producer/consumer array of promises.
* @param {string} topic
* @param {boolean} disableGroup
* @returns An async array following the producer/consumer pattern.
*/
onAsync<T = any>(topic: string, disableGroup?: boolean): AsyncArray<T>;
/**
* Register request handler method with enabled logging.

@@ -30,3 +43,3 @@ * @param {string} method

*/
handle(path: string, callback: Function, prefix?: string): void;
handle(path: string, callback: CallbackHandleFunction, prefix?: string): void;
/**

@@ -38,8 +51,9 @@ * Register request handler method with disabled logging.

*/
handleWithoutLogging(path: string, callback: Function, prefix?: string): void;
handleWithoutLogging(path: string, callback: CallbackHandleFunction, prefix?: string): void;
/**
* Start listenning on the underlying transport connection.
* @param {Function} callback
* @returns {Promise} returns promise if called with no callback.
*/
listen(callback: Function): void;
listen(callback?: Function): Promise<any>;
/**

@@ -66,7 +80,8 @@ * Close underlying transport connection.

* Call service method.
* @param {Object} request
* @param {Request} request
* @param {Object} [params]
* @param {Function} callback
* @returns {Promise} returns promise if called with no callback.
*/
call(req: any, callback?: Function): void;
call(req: Request, callback?: CallbackRequestFunction): Promise<Response>;
private _getCallTimeout(path, timeout);

@@ -73,0 +88,0 @@ private _call(route, req, callback);

@@ -12,2 +12,3 @@ "use strict";

const utils_1 = require("../utils");
const asyncArray_1 = require("../utils/asyncArray");
function noop() { }

@@ -39,2 +40,3 @@ const DEBUG = utils_1.debugLog('orion:service');

* @param {Function} callback
* @param {boolean} disableGroup
*/

@@ -49,2 +51,17 @@ on(topic, callback, disableGroup = false) {

/**
* Subscribe to a topic, getting a producer/consumer array of promises.
* @param {string} topic
* @param {boolean} disableGroup
* @returns An async array following the producer/consumer pattern.
*/
onAsync(topic, disableGroup = false) {
const SUBJECT = `${this.name}:${topic}`;
const ARRAY = new asyncArray_1.AsyncArray();
DEBUG('onAsync:', SUBJECT);
this._transport.subscribe(SUBJECT, disableGroup ? null : this.name, message => {
ARRAY.produce(this._codec.decode(message));
});
return ARRAY;
}
/**
* Register request handler method with enabled logging.

@@ -72,6 +89,14 @@ * @param {string} method

* @param {Function} callback
* @returns {Promise} returns promise if called with no callback.
*/
listen(callback) {
DEBUG('listen');
this._transport.listen(callback);
if (callback) {
this._transport.listen(callback);
}
else {
return new Promise((res, rej) => {
this._transport.listen(res);
});
}
}

@@ -112,5 +137,6 @@ /**

* Call service method.
* @param {Object} request
* @param {Request} request
* @param {Object} [params]
* @param {Function} callback
* @returns {Promise} returns promise if called with no callback.
*/

@@ -122,5 +148,16 @@ call(req, callback) {

if (!callback) {
callback = function () { };
return new Promise((res, rej) => {
this._serializeRequest(req, (d) => {
if (d instanceof Error) {
rej(d);
}
else {
res(d);
}
});
});
}
this._serializeRequest(req, callback);
else {
this._serializeRequest(req, callback);
}
}

@@ -167,3 +204,8 @@ _getCallTimeout(path, timeout) {

DEBUG('incoming request:', req);
callback(req, (res) => {
let onlyOnce = false;
const afterCallback = (res) => {
if (onlyOnce) {
throw new Error('The handler\'s callback was called more than once');
}
onlyOnce = true;
this._checkResponse(res);

@@ -178,3 +220,11 @@ if (res.error && logging) {

send(this._codec.encode(res));
});
};
let looksPromising = false;
const promise = callback(req, afterCallback);
if (promise instanceof Promise) {
looksPromising = true;
promise
.then(afterCallback)
.catch((err) => { throw err; });
}
});

@@ -195,3 +245,3 @@ }

if (!route) {
return callback(new Error('Invalid request path'));
return callback(new response_1.Response(null, new error_1.OrionError('Invalid request path')));
}

@@ -217,4 +267,6 @@ if (this.options.service) {

}
return true;
}
}
exports.Service = Service;
//# sourceMappingURL=index.js.map

@@ -132,1 +132,2 @@ "use strict";

exports.Tracer = Tracer;
//# sourceMappingURL=tracer.js.map

@@ -5,1 +5,2 @@ "use strict";

exports.DefaultTransport = nats_1.NatsTransport;
//# sourceMappingURL=index.js.map

@@ -174,1 +174,2 @@ "use strict";

exports.NatsTransport = NatsTransport;
//# sourceMappingURL=nats.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=interfaces.js.map

@@ -31,1 +31,2 @@ "use strict";

exports.generateId = generateId;
//# sourceMappingURL=index.js.map
{
"name": "@betit/orion-node-sdk",
"version": "1.0.0-beta.18",
"version": "1.0.0-beta.19",
"description": "SDK for orion",

@@ -20,4 +20,4 @@ "license": "MIT",

"build": "tsc && npm run ghpages && cp .nojekyll docs/.nojekyll",
"test": "npm run lint && npm run build && node_modules/.bin/mocha ./test",
"coverage": "istanbul cover node_modules/mocha/bin/_mocha ./test",
"test": "npm run lint && npm run build && mocha --compilers ts-node/register --require source-map-support/register --recursive ./test/index.ts",
"coverage": "nyc mocha --compilers ts-node/register --require source-map-support/register --recursive ./test/index.ts",
"covreport": "npm run coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",

@@ -38,2 +38,4 @@ "lint": "tslint --config tslint.json src/**/*.ts --exclude src/**/*.d.ts",

"devDependencies": {
"@types/chai": "^4.0.10",
"@types/mocha": "^2.2.45",
"@types/node": "8.0.42",

@@ -44,6 +46,27 @@ "chai": "4.1.2",

"mocha": "4.0.1",
"nyc": "^11.4.1",
"source-map-support": "^0.5.0",
"ts-node": "^4.1.0",
"tslint": "5.8.0",
"typedoc": "0.9.0",
"typescript": "2.6.1"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/*.d.ts",
"coverage/",
"docs/",
"examples/",
"lib/"
],
"reporter": [
"html",
"lcov"
],
"all": true
}
}

@@ -44,2 +44,55 @@ [![NPM version][npm-image]][npm-url]

## Async example
This utility also supports functionality with Promises, so the following code can be also used:
```js
const ORION = require('@betit/orion-node-sdk');
const FOO = new ORION.Service('foo');
FOO.handle('get', async (req) => {
return new ORION.Response('foo');
});
async function initFOO() {
await FOO.listen();
FOO.logger.createMessage('ready').send()
}
init().then(exit);
```
And in `bar.js`:
```js
const ORION = require('@betit/orion-node-sdk');
const BAR = new ORION.Service('bar');
const REQ = new ORION.Request('/foo/get');
async function main() {
const res = await BAR.call(REQ);
// do stuff
}
main().then(exit);
```
Also, subscriptions can now be looped forever using:
```js
const ORION = require('@betit/orion-node-sdk');
const BAR = new ORION.Service('bar');
async function processEvents() {
const producer = BAR.onAsync("event");
while (true) {
const event = await producer.consume();
}
}
...
```
# Documentation

@@ -46,0 +99,0 @@

@@ -6,3 +6,4 @@ {

"target": "es2015",
"outDir": "lib"
"outDir": "lib",
"sourceMap": true
},

@@ -9,0 +10,0 @@ "exclude": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc