Conflicts:
	lib/web3/jsonrpc.js
This commit is contained in:
Marek Kotewicz 2015-03-28 14:41:15 +01:00
commit 534e96da9e
5 changed files with 11 additions and 11 deletions

View File

@ -2418,7 +2418,7 @@ Jsonrpc.prototype.toPayload = function (method, params) {
method: method,
params: params || [],
id: this.messageId++
};
};
};
/**
@ -2426,7 +2426,7 @@ Jsonrpc.prototype.toPayload = function (method, params) {
*
* @method isValidResponse
* @param {Object}
* @returns {Boolean} true if response is valid, otherwise false
* @returns {Boolean} true if response is valid, otherwise false
*/
Jsonrpc.prototype.isValidResponse = function (response) {
return !!response &&
@ -2447,7 +2447,7 @@ Jsonrpc.prototype.toBatchPayload = function (messages) {
var self = this;
return messages.map(function (message) {
return self.toPayload(message.method, message.params);
});
});
};
module.exports = Jsonrpc;

File diff suppressed because one or more lines are too long

6
dist/ethereum.js vendored
View File

@ -2418,7 +2418,7 @@ Jsonrpc.prototype.toPayload = function (method, params) {
method: method,
params: params || [],
id: this.messageId++
};
};
};
/**
@ -2426,7 +2426,7 @@ Jsonrpc.prototype.toPayload = function (method, params) {
*
* @method isValidResponse
* @param {Object}
* @returns {Boolean} true if response is valid, otherwise false
* @returns {Boolean} true if response is valid, otherwise false
*/
Jsonrpc.prototype.isValidResponse = function (response) {
return !!response &&
@ -2447,7 +2447,7 @@ Jsonrpc.prototype.toBatchPayload = function (messages) {
var self = this;
return messages.map(function (message) {
return self.toPayload(message.method, message.params);
});
});
};
module.exports = Jsonrpc;

File diff suppressed because one or more lines are too long

View File

@ -55,7 +55,7 @@ Jsonrpc.prototype.toPayload = function (method, params) {
method: method,
params: params || [],
id: this.messageId++
};
};
};
/**
@ -63,7 +63,7 @@ Jsonrpc.prototype.toPayload = function (method, params) {
*
* @method isValidResponse
* @param {Object}
* @returns {Boolean} true if response is valid, otherwise false
* @returns {Boolean} true if response is valid, otherwise false
*/
Jsonrpc.prototype.isValidResponse = function (response) {
return !!response &&
@ -84,7 +84,7 @@ Jsonrpc.prototype.toBatchPayload = function (messages) {
var self = this;
return messages.map(function (message) {
return self.toPayload(message.method, message.params);
});
});
};
module.exports = Jsonrpc;