@nimiq/rpc
Advanced tools
Comparing version 0.1.0-beta.3 to 0.1.0-beta.4
@@ -564,3 +564,3 @@ 'use strict'; | ||
static fromJSON(json) { | ||
const obj = JSON.parse(json); | ||
const obj = JSONUtils.parse(json); | ||
return new State(obj); | ||
@@ -598,3 +598,3 @@ } | ||
} | ||
return JSON.stringify(obj); | ||
return JSONUtils.stringify(obj); | ||
} | ||
@@ -601,0 +601,0 @@ reply(status, result) { |
@@ -561,3 +561,3 @@ class RandomUtils { | ||
static fromJSON(json) { | ||
const obj = JSON.parse(json); | ||
const obj = JSONUtils.parse(json); | ||
return new State(obj); | ||
@@ -595,3 +595,3 @@ } | ||
} | ||
return JSON.stringify(obj); | ||
return JSONUtils.stringify(obj); | ||
} | ||
@@ -598,0 +598,0 @@ reply(status, result) { |
@@ -566,3 +566,3 @@ (function (global, factory) { | ||
static fromJSON(json) { | ||
const obj = JSON.parse(json); | ||
const obj = JSONUtils.parse(json); | ||
return new State(obj); | ||
@@ -600,3 +600,3 @@ } | ||
} | ||
return JSON.stringify(obj); | ||
return JSONUtils.stringify(obj); | ||
} | ||
@@ -603,0 +603,0 @@ reply(status, result) { |
{ | ||
"name": "@nimiq/rpc", | ||
"version": "0.1.0-beta.3", | ||
"version": "0.1.0-beta.4", | ||
"description": "RPC Client/Server", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
101155