lib/moleculer/node.rb in moleculer-0.1.0 vs lib/moleculer/node.rb in moleculer-0.1.1

- old
+ new

@@ -81,25 +81,26 @@ @local end def as_json { + sender: @id, config: {}, seq: 1, ipList: [], hostname: @hostname, services: @services.values.map(&:as_json), - client: client_attrubutes + client: client_attrubutes, } end private def client_attrubutes { type: "Ruby", version: Moleculer::VERSION, - lang_version: RUBY_VERSION + lang_version: RUBY_VERSION, } end end end