isomorphic-rpc
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -28,3 +28,3 @@ const fetch = require('isomorphic-fetch') | ||
if (response.error) { | ||
throw new Error(response.error) | ||
throw new Error(JSON.stringify(response)) | ||
}else{ | ||
@@ -31,0 +31,0 @@ return response.result |
{ | ||
"name": "isomorphic-rpc", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A Javascript Object That Maps All Methods to RPC Calls as Promises (Isomorphic)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4560