ataraxia-services
Advanced tools
Comparing version 0.7.2 to 0.7.3
{ | ||
"name": "ataraxia-services", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "Services with RPC and events over Ataraxia mesh network", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,8 +30,10 @@ 'use strict'; | ||
const metadata = {}; | ||
for(const key of Object.getOwnPropertyNames(this.instance.metadata)) { | ||
let value = this.instance.metadata[key]; | ||
if(value instanceof Set) { | ||
value = Array.from(value); | ||
if(this.instance.metadata) { | ||
for(const key of Object.getOwnPropertyNames(this.instance.metadata)) { | ||
let value = this.instance.metadata[key]; | ||
if(value instanceof Set) { | ||
value = Array.from(value); | ||
} | ||
metadata[key] = value; | ||
} | ||
metadata[key] = value; | ||
} | ||
@@ -38,0 +40,0 @@ return { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21143
637