ethjs-query
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -0,1 +1,6 @@ | ||
# 0.1.5 -- format update | ||
1. Tigher formatting enforcement | ||
2. Small schema update | ||
# 0.1.4 -- less dependencies | ||
@@ -2,0 +7,0 @@ |
@@ -54,2 +54,3 @@ 'use strict'; | ||
var inputs = null; // eslint-disable-line | ||
var inputError = null; // eslint-disable-line | ||
var self = this; | ||
@@ -71,5 +72,3 @@ var args = [].slice.call(arguments); // eslint-disable-line | ||
self.log('attempting method formatting for \'' + protoMethod + '\' with raw outputs: ' + JSON.stringify(callbackResult, null, self.options.jsonSpace)); | ||
var methodOutputs = format.formatOutputs(method, callbackResult); | ||
self.log('method formatting success for \'' + protoMethod + '\' formatted result: ' + JSON.stringify(methodOutputs, null, self.options.jsonSpace)); | ||
@@ -104,3 +103,2 @@ | ||
inputs = format.formatInputs(method, args); | ||
self.log('method formatting success for \'' + protoMethod + '\' with formatted result: ' + JSON.stringify(inputs, null, self.options.jsonSpace)); | ||
@@ -107,0 +105,0 @@ } catch (formattingError) { |
{ | ||
"name": "ethjs-query", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A simple query layer for the Ethereum RPC.", | ||
@@ -120,3 +120,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"ethjs-format": "0.1.4" | ||
"ethjs-format": "0.1.5" | ||
}, | ||
@@ -123,0 +123,0 @@ "devDependencies": { |
@@ -48,2 +48,3 @@ const format = require('ethjs-format'); | ||
var inputs = null; // eslint-disable-line | ||
var inputError = null; // eslint-disable-line | ||
const self = this; | ||
@@ -65,5 +66,3 @@ const args = [].slice.call(arguments); // eslint-disable-line | ||
self.log(`attempting method formatting for '${protoMethod}' with raw outputs: ${JSON.stringify(callbackResult, null, self.options.jsonSpace)}`); | ||
const methodOutputs = format.formatOutputs(method, callbackResult); | ||
self.log(`method formatting success for '${protoMethod}' formatted result: ${JSON.stringify(methodOutputs, null, self.options.jsonSpace)}`); | ||
@@ -98,3 +97,2 @@ | ||
inputs = format.formatInputs(method, args); | ||
self.log(`method formatting success for '${protoMethod}' with formatted result: ${JSON.stringify(inputs, null, self.options.jsonSpace)}`); | ||
@@ -101,0 +99,0 @@ } catch (formattingError) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
564164
7707
+ Addedethjs-format@0.1.5(transitive)
+ Addedethjs-schema@0.1.4(transitive)
- Removedethjs-format@0.1.4(transitive)
- Removedethjs-schema@0.1.3(transitive)
Updatedethjs-format@0.1.5