From e8c18f36801a7fd2673e96247c13818d18a93b5b Mon Sep 17 00:00:00 2001 From: "g. nicholas d'andrea" Date: Wed, 17 Jan 2018 13:30:18 -0500 Subject: [PATCH] Update version to 4.0.5 --- build/chain.bundled.js | 24 +- build/cli.bundled.js | 6807 ++++++++++++++++++++++------------------ package.json | 2 +- 3 files changed, 3828 insertions(+), 3005 deletions(-) diff --git a/build/chain.bundled.js b/build/chain.bundled.js index b0353189ead..1d742880cf3 100644 --- a/build/chain.bundled.js +++ b/build/chain.bundled.js @@ -65,7 +65,7 @@ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1132); +/******/ return __webpack_require__(__webpack_require__.s = 1137); /******/ }) /************************************************************************/ /******/ ({ @@ -91,7 +91,7 @@ module.exports = require("os"); /***/ }), -/***/ 1132: +/***/ 1137: /***/ (function(module, exports, __webpack_require__) { @@ -2721,7 +2721,7 @@ exports.defineProperties = function (self, fields, data) { /* 7 */ /***/ (function(module, exports) { -module.exports = __webpack_require__(21); +module.exports = __webpack_require__(22); /***/ }), /* 8 */ @@ -10024,7 +10024,7 @@ module.exports = { /* 23 */ /***/ (function(module, exports) { -module.exports = __webpack_require__(24); +module.exports = __webpack_require__(21); /***/ }), /* 24 */ @@ -96937,7 +96937,7 @@ module.exports = EventPubSub; /***/ 21: /***/ (function(module, exports) { -module.exports = require("stream"); +module.exports = require("events"); /***/ }), @@ -97040,6 +97040,13 @@ function Queue(asStack){ module.exports=Queue; +/***/ }), + +/***/ 22: +/***/ (function(module, exports) { + +module.exports = require("stream"); + /***/ }), /***/ 223: @@ -98060,13 +98067,6 @@ function connectNet(id,host,port,callback){ module.exports=IPC; -/***/ }), - -/***/ 24: -/***/ (function(module, exports) { - -module.exports = require("events"); - /***/ }), /***/ 244: diff --git a/build/cli.bundled.js b/build/cli.bundled.js index 04576bb02a9..2fcdcee2214 100644 --- a/build/cli.bundled.js +++ b/build/cli.bundled.js @@ -65,7 +65,7 @@ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 1133); +/******/ return __webpack_require__(__webpack_require__.s = 1138); /******/ }) /************************************************************************/ /******/ ([ @@ -85,8 +85,8 @@ module.exports = require("fs"); /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1) -var polyfills = __webpack_require__(870) -var legacy = __webpack_require__(869) +var polyfills = __webpack_require__(871) +var legacy = __webpack_require__(870) var queue = [] var util = __webpack_require__(3) @@ -110,7 +110,7 @@ if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) { }) } -module.exports = patch(__webpack_require__(343)) +module.exports = patch(__webpack_require__(342)) if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH) { module.exports = patch(fs) } @@ -2663,7 +2663,7 @@ module.exports = require("crypto"); // Copyright 2015 Joyent, Inc. var assert = __webpack_require__(12); -var Stream = __webpack_require__(21).Stream; +var Stream = __webpack_require__(22).Stream; var util = __webpack_require__(3); @@ -2888,7 +2888,7 @@ var path = __webpack_require__(0); var Provider = __webpack_require__(248); var TruffleError = __webpack_require__(28); var Module = __webpack_require__(447); -var findUp = __webpack_require__(1128); +var findUp = __webpack_require__(1133); var originalrequire = __webpack_require__(253); var DEFAULT_CONFIG_FILENAME = "truffle.js"; @@ -4966,7 +4966,7 @@ module.exports = require("assert"); var BigNumber = __webpack_require__(107); var sha3 = __webpack_require__(108); -var utf8 = __webpack_require__(165); +var utf8 = __webpack_require__(166); var unitMap = { 'noether': '0', @@ -5599,9 +5599,9 @@ module.exports = { */ -var BigNumber = __webpack_require__(147); +var BigNumber = __webpack_require__(148); var sha3 = __webpack_require__(110); -var utf8 = __webpack_require__(165); +var utf8 = __webpack_require__(166); var unitMap = { 'noether': '0', @@ -6204,7 +6204,7 @@ module.exports = { var BigNumber = __webpack_require__(115); var sha3 = __webpack_require__(113); -var utf8 = __webpack_require__(165); +var utf8 = __webpack_require__(166); var unitMap = { 'noether': '0', @@ -8012,8 +8012,8 @@ function opensshCipherInfo(cipher) { var BigNumber = __webpack_require__(106); -var sha3 = __webpack_require__(134); -var utf8 = __webpack_require__(165); +var sha3 = __webpack_require__(135); +var utf8 = __webpack_require__(166); var unitMap = { 'noether': '0', @@ -8035,8 +8035,8 @@ var unitMap = { 'microether': '1000000000000', 'micro': '1000000000000', 'finney': '1000000000000000', - 'milliether': '1000000000000000', - 'milli': '1000000000000000', + 'milliether': '1000000000000000', + 'milli': '1000000000000000', 'ether': '1000000000000000000', 'kether': '1000000000000000000000', 'grand': '1000000000000000000000', @@ -8305,7 +8305,6 @@ var fromWei = function(number, unit) { * - mwei picoether lovelace * - gwei nanoether shannon nano * - -- microether szabo micro - * - -- microether szabo micro * - -- milliether finney milli * - ether -- -- * - kether -- grand @@ -8610,12 +8609,18 @@ module.exports = { /* 21 */ /***/ (function(module, exports) { -module.exports = require("stream"); +module.exports = require("events"); /***/ }), /* 22 */ /***/ (function(module, exports) { +module.exports = require("stream"); + +/***/ }), +/* 23 */ +/***/ (function(module, exports) { + var Expect = { options: function(options, expected_keys) { expected_keys.forEach(function(key) { @@ -8652,10 +8657,10 @@ module.exports = Expect; /***/ }), -/* 23 */ +/* 24 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(1200); +var Web3 = __webpack_require__(1205); // dont override global variable if (typeof window !== 'undefined' && typeof window.Web3 === 'undefined') { @@ -8665,12 +8670,6 @@ if (typeof window !== 'undefined' && typeof window.Web3 === 'undefined') { module.exports = Web3; -/***/ }), -/* 24 */ -/***/ (function(module, exports) { - -module.exports = require("events"); - /***/ }), /* 25 */ /***/ (function(module, exports) { @@ -8880,7 +8879,7 @@ formats['pkcs1'] = __webpack_require__(232); formats['pkcs8'] = __webpack_require__(128); formats['rfc4253'] = __webpack_require__(76); formats['ssh'] = __webpack_require__(392); -formats['ssh-private'] = __webpack_require__(160); +formats['ssh-private'] = __webpack_require__(161); formats['openssh'] = formats['ssh-private']; function Key(opts) { @@ -9165,7 +9164,7 @@ formats['pem'] = __webpack_require__(64); formats['pkcs1'] = __webpack_require__(232); formats['pkcs8'] = __webpack_require__(128); formats['rfc4253'] = __webpack_require__(76); -formats['ssh-private'] = __webpack_require__(160); +formats['ssh-private'] = __webpack_require__(161); formats['openssh'] = formats['ssh-private']; formats['ssh'] = formats['ssh-private']; @@ -9389,7 +9388,7 @@ PrivateKey._oldVersionDetect = function (obj) { /* 28 */ /***/ (function(module, exports, __webpack_require__) { -var ExtendableBuiltin = __webpack_require__(1175); +var ExtendableBuiltin = __webpack_require__(1180); var inherits = __webpack_require__(3).inherits; inherits(ExtendableError, ExtendableBuiltin(Error)); @@ -26613,8 +26612,8 @@ module.exports = lodash; "use strict"; const u = __webpack_require__(31).fromCallback -const mkdirs = u(__webpack_require__(1115)) -const mkdirsSync = __webpack_require__(1114) +const mkdirs = u(__webpack_require__(1120)) +const mkdirsSync = __webpack_require__(1119) module.exports = { mkdirs: mkdirs, @@ -26661,8 +26660,8 @@ module.exports = require("net"); var BigNumber = __webpack_require__(107); var utils = __webpack_require__(15); -var c = __webpack_require__(139); -var SolidityParam = __webpack_require__(310); +var c = __webpack_require__(140); +var SolidityParam = __webpack_require__(309); /** @@ -26917,10 +26916,10 @@ module.exports = { * @date 2015 */ -var BigNumber = __webpack_require__(147); +var BigNumber = __webpack_require__(148); var utils = __webpack_require__(16); -var c = __webpack_require__(143); -var SolidityParam = __webpack_require__(313); +var c = __webpack_require__(144); +var SolidityParam = __webpack_require__(312); /** @@ -27175,8 +27174,8 @@ module.exports = { var BigNumber = __webpack_require__(115); var utils = __webpack_require__(17); -var c = __webpack_require__(148); -var SolidityParam = __webpack_require__(316); +var c = __webpack_require__(149); +var SolidityParam = __webpack_require__(315); /** @@ -27704,7 +27703,7 @@ module.exports = require("https"); /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); -var SolidityParam = __webpack_require__(310); +var SolidityParam = __webpack_require__(309); /** * SolidityType prototype is used to encode/decode solidity params of certain type @@ -27988,8 +27987,8 @@ module.exports = SolidityType; */ var utils = __webpack_require__(15); -var config = __webpack_require__(139); -var Iban = __webpack_require__(141); +var config = __webpack_require__(140); +var Iban = __webpack_require__(142); /** * Should the format output to a big number @@ -28274,7 +28273,7 @@ module.exports = { /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); -var SolidityParam = __webpack_require__(313); +var SolidityParam = __webpack_require__(312); /** * SolidityType prototype is used to encode/decode solidity params of certain type @@ -28548,8 +28547,8 @@ module.exports = SolidityType; */ var utils = __webpack_require__(16); -var config = __webpack_require__(143); -var Iban = __webpack_require__(145); +var config = __webpack_require__(144); +var Iban = __webpack_require__(146); /** * Should the format output to a big number @@ -28830,7 +28829,7 @@ module.exports = { /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); -var SolidityParam = __webpack_require__(316); +var SolidityParam = __webpack_require__(315); /** * SolidityType prototype is used to encode/decode solidity params of certain type @@ -29114,8 +29113,8 @@ module.exports = SolidityType; */ var utils = __webpack_require__(17); -var config = __webpack_require__(148); -var Iban = __webpack_require__(150); +var config = __webpack_require__(149); +var Iban = __webpack_require__(151); /** * Should the format output to a big number @@ -29404,7 +29403,7 @@ try { if (typeof util.inherits !== 'function') throw ''; module.exports = util.inherits; } catch (e) { - module.exports = __webpack_require__(898); + module.exports = __webpack_require__(902); } @@ -29774,7 +29773,7 @@ var crypto = __webpack_require__(7); var errs = __webpack_require__(54); var utils = __webpack_require__(19); var asn1 = __webpack_require__(59); -var SSHBuffer = __webpack_require__(161); +var SSHBuffer = __webpack_require__(162); var InvalidAlgorithmError = errs.InvalidAlgorithmError; var SignatureParseError = errs.SignatureParseError; @@ -30084,7 +30083,7 @@ Signature._oldVersionDetect = function (obj) { /***/ (function(module, exports, __webpack_require__) { var Schema = __webpack_require__(417); -var Contract = __webpack_require__(1131); +var Contract = __webpack_require__(1136); var contract = function(options) { var binary = Schema.normalize(options || {}); @@ -31607,7 +31606,7 @@ var PrivateKey = __webpack_require__(27); var pkcs1 = __webpack_require__(232); var pkcs8 = __webpack_require__(128); -var sshpriv = __webpack_require__(160); +var sshpriv = __webpack_require__(161); var rfc4253 = __webpack_require__(76); var errors = __webpack_require__(54); @@ -35321,7 +35320,7 @@ var algs = __webpack_require__(25); var utils = __webpack_require__(19); var Key = __webpack_require__(26); var PrivateKey = __webpack_require__(27); -var SSHBuffer = __webpack_require__(161); +var SSHBuffer = __webpack_require__(162); function algToKeyType(alg) { assert.string(alg); @@ -40778,13 +40777,13 @@ module.exports = Property; /* 95 */ /***/ (function(module, exports, __webpack_require__) { -var dirpaths = __webpack_require__(975); +var dirpaths = __webpack_require__(979); exports.files = dirpaths.files; exports.paths = dirpaths.paths; exports.subdirs = dirpaths.subdirs; -exports.readFiles = __webpack_require__(976); -exports.readFilesStream = __webpack_require__(977); +exports.readFiles = __webpack_require__(980); +exports.readFilesStream = __webpack_require__(981); /***/ }), @@ -40987,7 +40986,7 @@ function doResolve(fn, promise) { "use strict"; -var classes = __webpack_require__(1017); +var classes = __webpack_require__(1022); /* Thrown when the grammar contains an error. */ function GrammarError(message, location) { @@ -41073,7 +41072,7 @@ module.exports = objects; "use strict"; -module.exports = typeof Promise === 'function' ? Promise : __webpack_require__(1019); +module.exports = typeof Promise === 'function' ? Promise : __webpack_require__(1024); /***/ }), @@ -41111,7 +41110,7 @@ module.exports = typeof Promise === 'function' ? Promise : __webpack_require__(1 /**/ -var processNextTick = __webpack_require__(159); +var processNextTick = __webpack_require__(160); /**/ /**/ @@ -41216,10 +41215,10 @@ var mkdirp = __webpack_require__(222); var path = __webpack_require__(0); var Config = __webpack_require__(10); var compile = __webpack_require__(415); -var Web3 = __webpack_require__(23); -var expect = __webpack_require__(22); +var Web3 = __webpack_require__(24); +var expect = __webpack_require__(23); var _ = __webpack_require__(29); -var Resolver = __webpack_require__(164); +var Resolver = __webpack_require__(165); var Artifactor = __webpack_require__(131); var OS = __webpack_require__(11); @@ -41305,10 +41304,10 @@ module.exports = Contracts; /* 102 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var TruffleError = __webpack_require__(28); -var expect = __webpack_require__(22); -var Resolver = __webpack_require__(164); +var expect = __webpack_require__(23); +var Resolver = __webpack_require__(165); var Artifactor = __webpack_require__(131); var TestRPC = __webpack_require__(174); var spawn = __webpack_require__(58).spawn; @@ -47054,7 +47053,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! bignumber.js v2.0.7 https://github.com/Mik * @date 2015 */ -var CryptoJS = __webpack_require__(307); +var CryptoJS = __webpack_require__(306); var sha3 = __webpack_require__(199); module.exports = function (value, options) { @@ -47144,7 +47143,7 @@ module.exports = { * @date 2015 */ -var CryptoJS = __webpack_require__(307); +var CryptoJS = __webpack_require__(306); var sha3 = __webpack_require__(199); module.exports = function (value, options) { @@ -47382,8 +47381,8 @@ module.exports = Property; * @date 2015 */ -var CryptoJS = __webpack_require__(776); -var sha3 = __webpack_require__(320); +var CryptoJS = __webpack_require__(777); +var sha3 = __webpack_require__(319); module.exports = function (value, options) { if (options && options.encoding === 'hex') { @@ -50198,16 +50197,16 @@ module.exports=EventPubSub; module.exports = glob var fs = __webpack_require__(1) -var rp = __webpack_require__(335) +var rp = __webpack_require__(334) var minimatch = __webpack_require__(61) var Minimatch = minimatch.Minimatch var inherits = __webpack_require__(50) -var EE = __webpack_require__(24).EventEmitter +var EE = __webpack_require__(21).EventEmitter var path = __webpack_require__(0) var assert = __webpack_require__(12) var isAbsolute = __webpack_require__(63) -var globSync = __webpack_require__(868) -var common = __webpack_require__(342) +var globSync = __webpack_require__(869) +var common = __webpack_require__(341) var alphasort = common.alphasort var alphasorti = common.alphasorti var setopts = common.setopts @@ -50961,7 +50960,7 @@ Glob.prototype._stat2 = function (f, abs, er, stat, cb) { const Crypto = __webpack_require__(7); const Path = __webpack_require__(0); const Util = __webpack_require__(3); -const Escape = __webpack_require__(890); +const Escape = __webpack_require__(891); // Declare internals @@ -52720,9 +52719,9 @@ var PrivateKey = __webpack_require__(27); var Identity = __webpack_require__(129); var formats = {}; -formats['openssh'] = __webpack_require__(1063); +formats['openssh'] = __webpack_require__(1068); formats['x509'] = __webpack_require__(393); -formats['pem'] = __webpack_require__(1064); +formats['pem'] = __webpack_require__(1069); var CertificateParseError = errs.CertificateParseError; var InvalidAlgorithmError = errs.InvalidAlgorithmError; @@ -54127,12 +54126,12 @@ module.exports = process && support(supportLevel); /***/ (function(module, exports, __webpack_require__) { var Schema = __webpack_require__(417); -var expect = __webpack_require__(22); -var fs = __webpack_require__(1087); +var expect = __webpack_require__(23); +var fs = __webpack_require__(1092); var path = __webpack_require__(0); -var async = __webpack_require__(1071); +var async = __webpack_require__(1076); var _ = __webpack_require__(29); -var debug = __webpack_require__(1073)("artifactor"); +var debug = __webpack_require__(1078)("artifactor"); function Artifactor(destination) { this.destination = destination; @@ -54486,6 +54485,259 @@ function coerce(val) { /* 134 */ /***/ (function(module, exports, __webpack_require__) { +/* + This file is part of web3.js. + + web3.js is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + web3.js is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with web3.js. If not, see . +*/ +/** + * @file coder.js + * @author Marek Kotewicz + * @date 2015 + */ + +var f = __webpack_require__(42); + +var SolidityTypeAddress = __webpack_require__(1196); +var SolidityTypeBool = __webpack_require__(1197); +var SolidityTypeInt = __webpack_require__(1200); +var SolidityTypeUInt = __webpack_require__(1203); +var SolidityTypeDynamicBytes = __webpack_require__(1199); +var SolidityTypeString = __webpack_require__(1202); +var SolidityTypeReal = __webpack_require__(1201); +var SolidityTypeUReal = __webpack_require__(1204); +var SolidityTypeBytes = __webpack_require__(1198); + +var isDynamic = function (solidityType, type) { + return solidityType.isDynamicType(type) || + solidityType.isDynamicArray(type); +}; + +/** + * SolidityCoder prototype should be used to encode/decode solidity params of any type + */ +var SolidityCoder = function (types) { + this._types = types; +}; + +/** + * This method should be used to transform type to SolidityType + * + * @method _requireType + * @param {String} type + * @returns {SolidityType} + * @throws {Error} throws if no matching type is found + */ +SolidityCoder.prototype._requireType = function (type) { + var solidityType = this._types.filter(function (t) { + return t.isType(type); + })[0]; + + if (!solidityType) { + throw Error('invalid solidity type!: ' + type); + } + + return solidityType; +}; + +/** + * Should be used to encode plain param + * + * @method encodeParam + * @param {String} type + * @param {Object} plain param + * @return {String} encoded plain param + */ +SolidityCoder.prototype.encodeParam = function (type, param) { + return this.encodeParams([type], [param]); +}; + +/** + * Should be used to encode list of params + * + * @method encodeParams + * @param {Array} types + * @param {Array} params + * @return {String} encoded list of params + */ +SolidityCoder.prototype.encodeParams = function (types, params) { + var solidityTypes = this.getSolidityTypes(types); + + var encodeds = solidityTypes.map(function (solidityType, index) { + return solidityType.encode(params[index], types[index]); + }); + + var dynamicOffset = solidityTypes.reduce(function (acc, solidityType, index) { + var staticPartLength = solidityType.staticPartLength(types[index]); + var roundedStaticPartLength = Math.floor((staticPartLength + 31) / 32) * 32; + + return acc + (isDynamic(solidityTypes[index], types[index]) ? + 32 : + roundedStaticPartLength); + }, 0); + + var result = this.encodeMultiWithOffset(types, solidityTypes, encodeds, dynamicOffset); + + return result; +}; + +SolidityCoder.prototype.encodeMultiWithOffset = function (types, solidityTypes, encodeds, dynamicOffset) { + var result = ""; + var self = this; + + types.forEach(function (type, i) { + if (isDynamic(solidityTypes[i], types[i])) { + result += f.formatInputInt(dynamicOffset).encode(); + var e = self.encodeWithOffset(types[i], solidityTypes[i], encodeds[i], dynamicOffset); + dynamicOffset += e.length / 2; + } else { + // don't add length to dynamicOffset. it's already counted + result += self.encodeWithOffset(types[i], solidityTypes[i], encodeds[i], dynamicOffset); + } + + // TODO: figure out nested arrays + }); + + types.forEach(function (type, i) { + if (isDynamic(solidityTypes[i], types[i])) { + var e = self.encodeWithOffset(types[i], solidityTypes[i], encodeds[i], dynamicOffset); + dynamicOffset += e.length / 2; + result += e; + } + }); + return result; +}; + +SolidityCoder.prototype.encodeWithOffset = function (type, solidityType, encoded, offset) { + /* jshint maxcomplexity: 17 */ + /* jshint maxdepth: 5 */ + + var self = this; + var encodingMode={dynamic:1,static:2,other:3}; + + var mode=(solidityType.isDynamicArray(type)?encodingMode.dynamic:(solidityType.isStaticArray(type)?encodingMode.static:encodingMode.other)); + + if(mode !== encodingMode.other){ + var nestedName = solidityType.nestedName(type); + var nestedStaticPartLength = solidityType.staticPartLength(nestedName); + var result = (mode === encodingMode.dynamic ? encoded[0] : ''); + + if (solidityType.isDynamicArray(nestedName)) { + var previousLength = (mode === encodingMode.dynamic ? 2 : 0); + + for (var i = 0; i < encoded.length; i++) { + // calculate length of previous item + if(mode === encodingMode.dynamic){ + previousLength += +(encoded[i - 1])[0] || 0; + } + else if(mode === encodingMode.static){ + previousLength += +(encoded[i - 1] || [])[0] || 0; + } + result += f.formatInputInt(offset + i * nestedStaticPartLength + previousLength * 32).encode(); + } + } + + var len= (mode === encodingMode.dynamic ? encoded.length-1 : encoded.length); + for (var c = 0; c < len; c++) { + var additionalOffset = result / 2; + if(mode === encodingMode.dynamic){ + result += self.encodeWithOffset(nestedName, solidityType, encoded[c + 1], offset + additionalOffset); + } + else if(mode === encodingMode.static){ + result += self.encodeWithOffset(nestedName, solidityType, encoded[c], offset + additionalOffset); + } + } + + return result; + } + + return encoded; +}; + + +/** + * Should be used to decode bytes to plain param + * + * @method decodeParam + * @param {String} type + * @param {String} bytes + * @return {Object} plain param + */ +SolidityCoder.prototype.decodeParam = function (type, bytes) { + return this.decodeParams([type], bytes)[0]; +}; + +/** + * Should be used to decode list of params + * + * @method decodeParam + * @param {Array} types + * @param {String} bytes + * @return {Array} array of plain params + */ +SolidityCoder.prototype.decodeParams = function (types, bytes) { + var solidityTypes = this.getSolidityTypes(types); + var offsets = this.getOffsets(types, solidityTypes); + + return solidityTypes.map(function (solidityType, index) { + return solidityType.decode(bytes, offsets[index], types[index], index); + }); +}; + +SolidityCoder.prototype.getOffsets = function (types, solidityTypes) { + var lengths = solidityTypes.map(function (solidityType, index) { + return solidityType.staticPartLength(types[index]); + }); + + for (var i = 1; i < lengths.length; i++) { + // sum with length of previous element + lengths[i] += lengths[i - 1]; + } + + return lengths.map(function (length, index) { + // remove the current length, so the length is sum of previous elements + var staticPartLength = solidityTypes[index].staticPartLength(types[index]); + return length - staticPartLength; + }); +}; + +SolidityCoder.prototype.getSolidityTypes = function (types) { + var self = this; + return types.map(function (type) { + return self._requireType(type); + }); +}; + +var coder = new SolidityCoder([ + new SolidityTypeAddress(), + new SolidityTypeBool(), + new SolidityTypeInt(), + new SolidityTypeUInt(), + new SolidityTypeDynamicBytes(), + new SolidityTypeBytes(), + new SolidityTypeString(), + new SolidityTypeReal(), + new SolidityTypeUReal() +]); + +module.exports = coder; + + +/***/ }), +/* 135 */ +/***/ (function(module, exports, __webpack_require__) { + /* This file is part of web3.js. @@ -54527,7 +54779,7 @@ module.exports = function (value, options) { /***/ }), -/* 135 */ +/* 136 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -55153,7 +55405,7 @@ exports.XMLHttpRequest = function() { /***/ }), -/* 136 */ +/* 137 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -55462,7 +55714,7 @@ exports.XMLHttpRequest = function() { })); /***/ }), -/* 137 */ +/* 138 */ /***/ (function(module, exports, __webpack_require__) { // Basic Javascript Elliptic Curve implementation @@ -56029,7 +56281,7 @@ module.exports = exports /***/ }), -/* 138 */ +/* 139 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -56338,7 +56590,7 @@ module.exports = exports })); /***/ }), -/* 139 */ +/* 140 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -56423,7 +56675,7 @@ module.exports = { /***/ }), -/* 140 */ +/* 141 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -56664,7 +56916,7 @@ module.exports = Filter; /***/ }), -/* 141 */ +/* 142 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -56897,7 +57149,7 @@ module.exports = Iban; /***/ }), -/* 142 */ +/* 143 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -57017,7 +57269,7 @@ module.exports = { /***/ }), -/* 143 */ +/* 144 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -57057,7 +57309,7 @@ module.exports = { /// required to define ETH_BIGNUMBER_ROUNDING_MODE -var BigNumber = __webpack_require__(147); +var BigNumber = __webpack_require__(148); var ETH_UNITS = [ 'wei', @@ -57102,7 +57354,7 @@ module.exports = { /***/ }), -/* 144 */ +/* 145 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -57338,7 +57590,7 @@ module.exports = Filter; /***/ }), -/* 145 */ +/* 146 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -57363,7 +57615,7 @@ module.exports = Filter; * @date 2015 */ -var BigNumber = __webpack_require__(147); +var BigNumber = __webpack_require__(148); var padLeft = function (string, bytes) { var result = string; @@ -57571,7 +57823,7 @@ module.exports = Iban; /***/ }), -/* 146 */ +/* 147 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -57691,7 +57943,7 @@ module.exports = { /***/ }), -/* 147 */ +/* 148 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_RESULT__;/*! bignumber.js v2.0.7 https://github.com/MikeMcl/bignumber.js/LICENCE */ @@ -60382,7 +60634,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/*! bignumber.js v2.0.7 https://github.com/Mik /***/ }), -/* 148 */ +/* 149 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -60467,7 +60719,7 @@ module.exports = { /***/ }), -/* 149 */ +/* 150 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -60708,7 +60960,7 @@ module.exports = Filter; /***/ }), -/* 150 */ +/* 151 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -60941,7 +61193,7 @@ module.exports = Iban; /***/ }), -/* 151 */ +/* 152 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -61061,7 +61313,7 @@ module.exports = { /***/ }), -/* 152 */ +/* 153 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -61370,10 +61622,10 @@ module.exports = { })); /***/ }), -/* 153 */ +/* 154 */ /***/ (function(module, exports, __webpack_require__) { -var assign = __webpack_require__(819) +var assign = __webpack_require__(820) var fse = {} var gfs = __webpack_require__(2) @@ -61385,17 +61637,17 @@ Object.keys(gfs).forEach(function (key) { var fs = fse -assign(fs, __webpack_require__(807)) -assign(fs, __webpack_require__(805)) +assign(fs, __webpack_require__(808)) +assign(fs, __webpack_require__(806)) assign(fs, __webpack_require__(40)) assign(fs, __webpack_require__(208)) -assign(fs, __webpack_require__(815)) assign(fs, __webpack_require__(816)) -assign(fs, __webpack_require__(808)) -assign(fs, __webpack_require__(810)) assign(fs, __webpack_require__(817)) +assign(fs, __webpack_require__(809)) +assign(fs, __webpack_require__(811)) +assign(fs, __webpack_require__(818)) +assign(fs, __webpack_require__(823)) assign(fs, __webpack_require__(822)) -assign(fs, __webpack_require__(821)) module.exports = fs @@ -61414,7 +61666,7 @@ module.exports.jsonfile = jsonfile // so users of fs-extra can modify jsonFile.s /***/ }), -/* 154 */ +/* 155 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -61607,7 +61859,7 @@ exports.unauthorized = function (message, attributes) { /***/ }), -/* 155 */ +/* 156 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2012 Joyent, Inc. All rights reserved. @@ -61725,10 +61977,10 @@ module.exports = { /***/ }), -/* 156 */ +/* 157 */ /***/ (function(module, exports, __webpack_require__) { -var isFunction = __webpack_require__(959), +var isFunction = __webpack_require__(963), isLength = __webpack_require__(361); /** @@ -61764,7 +62016,7 @@ module.exports = isArrayLike; /***/ }), -/* 157 */ +/* 158 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -61787,8 +62039,8 @@ var readdirSync = __webpack_require__(1).readdirSync; var statSync = __webpack_require__(1).statSync; var watchFile = __webpack_require__(1).watchFile; var lstatSync = __webpack_require__(1).lstatSync; -var toISOString = __webpack_require__(974); -var he = __webpack_require__(889); +var toISOString = __webpack_require__(978); +var he = __webpack_require__(890); /** * Ignored directories. @@ -62575,7 +62827,7 @@ exports.noop = function () {}; /***/ }), -/* 158 */ +/* 159 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -62650,7 +62902,7 @@ pify.all = pify; /***/ }), -/* 159 */ +/* 160 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -62700,7 +62952,7 @@ function nextTick(fn, arg1, arg2, arg3) { /***/ }), -/* 160 */ +/* 161 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2015 Joyent, Inc. @@ -62721,7 +62973,7 @@ var Key = __webpack_require__(26); var PrivateKey = __webpack_require__(27); var pem = __webpack_require__(64); var rfc4253 = __webpack_require__(76); -var SSHBuffer = __webpack_require__(161); +var SSHBuffer = __webpack_require__(162); var errors = __webpack_require__(54); var bcrypt; @@ -62967,7 +63219,7 @@ function write(key, options) { /***/ }), -/* 161 */ +/* 162 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2015 Joyent, Inc. @@ -63121,14 +63373,14 @@ SSHBuffer.prototype.write = function (buf) { /***/ }), -/* 162 */ +/* 163 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const u = __webpack_require__(31).fromCallback -const rimraf = __webpack_require__(1119) +const rimraf = __webpack_require__(1124) module.exports = { remove: u(rimraf), @@ -63137,7 +63389,7 @@ module.exports = { /***/ }), -/* 163 */ +/* 164 */ /***/ (function(module, exports, __webpack_require__) { // Compares .sol files to their .sol.js counterparts, @@ -63146,11 +63398,11 @@ module.exports = { var path = __webpack_require__(0); var async = __webpack_require__(183); var fs = __webpack_require__(1); -var Graph = __webpack_require__(871).Graph; -var isAcyclic = __webpack_require__(346).isAcyclic; -var Parser = __webpack_require__(1127); +var Graph = __webpack_require__(872).Graph; +var isAcyclic = __webpack_require__(345).isAcyclic; +var Parser = __webpack_require__(1132); var CompileError = __webpack_require__(241); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var find_contracts = __webpack_require__(132); module.exports = { @@ -63522,15 +63774,15 @@ module.exports = { /***/ }), -/* 164 */ +/* 165 */ /***/ (function(module, exports, __webpack_require__) { -var EPMSource = __webpack_require__(1179); -var NPMSource = __webpack_require__(1180); +var EPMSource = __webpack_require__(1184); +var NPMSource = __webpack_require__(1185); var FSSource = __webpack_require__(434); var whilst = __webpack_require__(276); var contract = __webpack_require__(56); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var provision = __webpack_require__(249); function Resolver(options) { @@ -63611,7 +63863,7 @@ module.exports = Resolver; /***/ }), -/* 165 */ +/* 166 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/utf8js v2.1.2 by @mathias */ @@ -63860,259 +64112,6 @@ module.exports = Resolver; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) -/***/ }), -/* 166 */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file coder.js - * @author Marek Kotewicz - * @date 2015 - */ - -var f = __webpack_require__(42); - -var SolidityTypeAddress = __webpack_require__(1191); -var SolidityTypeBool = __webpack_require__(1192); -var SolidityTypeInt = __webpack_require__(1195); -var SolidityTypeUInt = __webpack_require__(1198); -var SolidityTypeDynamicBytes = __webpack_require__(1194); -var SolidityTypeString = __webpack_require__(1197); -var SolidityTypeReal = __webpack_require__(1196); -var SolidityTypeUReal = __webpack_require__(1199); -var SolidityTypeBytes = __webpack_require__(1193); - -var isDynamic = function (solidityType, type) { - return solidityType.isDynamicType(type) || - solidityType.isDynamicArray(type); -}; - -/** - * SolidityCoder prototype should be used to encode/decode solidity params of any type - */ -var SolidityCoder = function (types) { - this._types = types; -}; - -/** - * This method should be used to transform type to SolidityType - * - * @method _requireType - * @param {String} type - * @returns {SolidityType} - * @throws {Error} throws if no matching type is found - */ -SolidityCoder.prototype._requireType = function (type) { - var solidityType = this._types.filter(function (t) { - return t.isType(type); - })[0]; - - if (!solidityType) { - throw Error('invalid solidity type!: ' + type); - } - - return solidityType; -}; - -/** - * Should be used to encode plain param - * - * @method encodeParam - * @param {String} type - * @param {Object} plain param - * @return {String} encoded plain param - */ -SolidityCoder.prototype.encodeParam = function (type, param) { - return this.encodeParams([type], [param]); -}; - -/** - * Should be used to encode list of params - * - * @method encodeParams - * @param {Array} types - * @param {Array} params - * @return {String} encoded list of params - */ -SolidityCoder.prototype.encodeParams = function (types, params) { - var solidityTypes = this.getSolidityTypes(types); - - var encodeds = solidityTypes.map(function (solidityType, index) { - return solidityType.encode(params[index], types[index]); - }); - - var dynamicOffset = solidityTypes.reduce(function (acc, solidityType, index) { - var staticPartLength = solidityType.staticPartLength(types[index]); - var roundedStaticPartLength = Math.floor((staticPartLength + 31) / 32) * 32; - - return acc + (isDynamic(solidityTypes[index], types[index]) ? - 32 : - roundedStaticPartLength); - }, 0); - - var result = this.encodeMultiWithOffset(types, solidityTypes, encodeds, dynamicOffset); - - return result; -}; - -SolidityCoder.prototype.encodeMultiWithOffset = function (types, solidityTypes, encodeds, dynamicOffset) { - var result = ""; - var self = this; - - types.forEach(function (type, i) { - if (isDynamic(solidityTypes[i], types[i])) { - result += f.formatInputInt(dynamicOffset).encode(); - var e = self.encodeWithOffset(types[i], solidityTypes[i], encodeds[i], dynamicOffset); - dynamicOffset += e.length / 2; - } else { - // don't add length to dynamicOffset. it's already counted - result += self.encodeWithOffset(types[i], solidityTypes[i], encodeds[i], dynamicOffset); - } - - // TODO: figure out nested arrays - }); - - types.forEach(function (type, i) { - if (isDynamic(solidityTypes[i], types[i])) { - var e = self.encodeWithOffset(types[i], solidityTypes[i], encodeds[i], dynamicOffset); - dynamicOffset += e.length / 2; - result += e; - } - }); - return result; -}; - -SolidityCoder.prototype.encodeWithOffset = function (type, solidityType, encoded, offset) { - /* jshint maxcomplexity: 17 */ - /* jshint maxdepth: 5 */ - - var self = this; - var encodingMode={dynamic:1,static:2,other:3}; - - var mode=(solidityType.isDynamicArray(type)?encodingMode.dynamic:(solidityType.isStaticArray(type)?encodingMode.static:encodingMode.other)); - - if(mode !== encodingMode.other){ - var nestedName = solidityType.nestedName(type); - var nestedStaticPartLength = solidityType.staticPartLength(nestedName); - var result = (mode === encodingMode.dynamic ? encoded[0] : ''); - - if (solidityType.isDynamicArray(nestedName)) { - var previousLength = (mode === encodingMode.dynamic ? 2 : 0); - - for (var i = 0; i < encoded.length; i++) { - // calculate length of previous item - if(mode === encodingMode.dynamic){ - previousLength += +(encoded[i - 1])[0] || 0; - } - else if(mode === encodingMode.static){ - previousLength += +(encoded[i - 1] || [])[0] || 0; - } - result += f.formatInputInt(offset + i * nestedStaticPartLength + previousLength * 32).encode(); - } - } - - var len= (mode === encodingMode.dynamic ? encoded.length-1 : encoded.length); - for (var c = 0; c < len; c++) { - var additionalOffset = result / 2; - if(mode === encodingMode.dynamic){ - result += self.encodeWithOffset(nestedName, solidityType, encoded[c + 1], offset + additionalOffset); - } - else if(mode === encodingMode.static){ - result += self.encodeWithOffset(nestedName, solidityType, encoded[c], offset + additionalOffset); - } - } - - return result; - } - - return encoded; -}; - - -/** - * Should be used to decode bytes to plain param - * - * @method decodeParam - * @param {String} type - * @param {String} bytes - * @return {Object} plain param - */ -SolidityCoder.prototype.decodeParam = function (type, bytes) { - return this.decodeParams([type], bytes)[0]; -}; - -/** - * Should be used to decode list of params - * - * @method decodeParam - * @param {Array} types - * @param {String} bytes - * @return {Array} array of plain params - */ -SolidityCoder.prototype.decodeParams = function (types, bytes) { - var solidityTypes = this.getSolidityTypes(types); - var offsets = this.getOffsets(types, solidityTypes); - - return solidityTypes.map(function (solidityType, index) { - return solidityType.decode(bytes, offsets[index], types[index], index); - }); -}; - -SolidityCoder.prototype.getOffsets = function (types, solidityTypes) { - var lengths = solidityTypes.map(function (solidityType, index) { - return solidityType.staticPartLength(types[index]); - }); - - for (var i = 1; i < lengths.length; i++) { - // sum with length of previous element - lengths[i] += lengths[i - 1]; - } - - return lengths.map(function (length, index) { - // remove the current length, so the length is sum of previous elements - var staticPartLength = solidityTypes[index].staticPartLength(types[index]); - return length - staticPartLength; - }); -}; - -SolidityCoder.prototype.getSolidityTypes = function (types) { - var self = this; - return types.map(function (type) { - return self._requireType(type); - }); -}; - -var coder = new SolidityCoder([ - new SolidityTypeAddress(), - new SolidityTypeBool(), - new SolidityTypeInt(), - new SolidityTypeUInt(), - new SolidityTypeDynamicBytes(), - new SolidityTypeBytes(), - new SolidityTypeString(), - new SolidityTypeReal(), - new SolidityTypeUReal() -]); - -module.exports = coder; - - /***/ }), /* 167 */ /***/ (function(module, exports, __webpack_require__) { @@ -66574,7 +66573,7 @@ exports.defineProperties = function (self, fields, data) { /* 7 */ /***/ (function(module, exports) { -module.exports = __webpack_require__(21); +module.exports = __webpack_require__(22); /***/ }), /* 8 */ @@ -73877,7 +73876,7 @@ module.exports = { /* 23 */ /***/ (function(module, exports) { -module.exports = __webpack_require__(24); +module.exports = __webpack_require__(21); /***/ }), /* 24 */ @@ -160665,7 +160664,7 @@ module.exports=new IPCModule; /***/ (function(module, exports, __webpack_require__) { var TaskError = __webpack_require__(256); -var yargs = __webpack_require__(1165); +var yargs = __webpack_require__(1170); var _ = __webpack_require__(29); function Command(commands) { @@ -160778,26 +160777,26 @@ module.exports = Command; /***/ (function(module, exports, __webpack_require__) { module.exports = { - init: __webpack_require__(1142), - compile: __webpack_require__(1136), + init: __webpack_require__(1147), + compile: __webpack_require__(1141), migrate: __webpack_require__(421), - deploy: __webpack_require__(1140), - build: __webpack_require__(1135), - test: __webpack_require__(1148), - debug: __webpack_require__(1139), - opcode: __webpack_require__(1145), - console: __webpack_require__(1137), + deploy: __webpack_require__(1145), + build: __webpack_require__(1140), + test: __webpack_require__(1153), + debug: __webpack_require__(1144), + opcode: __webpack_require__(1150), + console: __webpack_require__(1142), develop: __webpack_require__(420), - create: __webpack_require__(1138), - install: __webpack_require__(1143), - publish: __webpack_require__(1146), + create: __webpack_require__(1143), + install: __webpack_require__(1148), + publish: __webpack_require__(1151), //digest: require("./digest"), - networks: __webpack_require__(1144), + networks: __webpack_require__(1149), watch: __webpack_require__(423), - serve: __webpack_require__(1147), - exec: __webpack_require__(1141), + serve: __webpack_require__(1152), + exec: __webpack_require__(1146), unbox: __webpack_require__(422), - version: __webpack_require__(1149), + version: __webpack_require__(1154), }; @@ -160869,7 +160868,7 @@ var url = __webpack_require__(9) , equal = __webpack_require__(211) , util = __webpack_require__(79) , SchemaObject = __webpack_require__(264) - , traverse = __webpack_require__(920); + , traverse = __webpack_require__(924); module.exports = resolve; @@ -168537,7 +168536,7 @@ function escapeHtml(string) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(5), __webpack_require__(138)); + module.exports = exports = factory(__webpack_require__(5), __webpack_require__(139)); } else if (typeof define === "function" && define.amd) { // AMD @@ -168886,15 +168885,15 @@ function escapeHtml(string) { var f = __webpack_require__(37); -var SolidityTypeAddress = __webpack_require__(688); -var SolidityTypeBool = __webpack_require__(689); -var SolidityTypeInt = __webpack_require__(692); -var SolidityTypeUInt = __webpack_require__(695); -var SolidityTypeDynamicBytes = __webpack_require__(691); -var SolidityTypeString = __webpack_require__(694); -var SolidityTypeReal = __webpack_require__(693); -var SolidityTypeUReal = __webpack_require__(696); -var SolidityTypeBytes = __webpack_require__(690); +var SolidityTypeAddress = __webpack_require__(689); +var SolidityTypeBool = __webpack_require__(690); +var SolidityTypeInt = __webpack_require__(693); +var SolidityTypeUInt = __webpack_require__(696); +var SolidityTypeDynamicBytes = __webpack_require__(692); +var SolidityTypeString = __webpack_require__(695); +var SolidityTypeReal = __webpack_require__(694); +var SolidityTypeUReal = __webpack_require__(697); +var SolidityTypeBytes = __webpack_require__(691); var isDynamic = function (solidityType, type) { return solidityType.isDynamicType(type) || @@ -169155,15 +169154,15 @@ module.exports = coder; var f = __webpack_require__(38); -var SolidityTypeAddress = __webpack_require__(717); -var SolidityTypeBool = __webpack_require__(718); -var SolidityTypeInt = __webpack_require__(721); -var SolidityTypeUInt = __webpack_require__(724); -var SolidityTypeDynamicBytes = __webpack_require__(720); -var SolidityTypeString = __webpack_require__(723); -var SolidityTypeReal = __webpack_require__(722); -var SolidityTypeUReal = __webpack_require__(725); -var SolidityTypeBytes = __webpack_require__(719); +var SolidityTypeAddress = __webpack_require__(718); +var SolidityTypeBool = __webpack_require__(719); +var SolidityTypeInt = __webpack_require__(722); +var SolidityTypeUInt = __webpack_require__(725); +var SolidityTypeDynamicBytes = __webpack_require__(721); +var SolidityTypeString = __webpack_require__(724); +var SolidityTypeReal = __webpack_require__(723); +var SolidityTypeUReal = __webpack_require__(726); +var SolidityTypeBytes = __webpack_require__(720); /** * SolidityCoder prototype should be used to encode/decode solidity params of any type @@ -169421,15 +169420,15 @@ module.exports = coder; var f = __webpack_require__(39); -var SolidityTypeAddress = __webpack_require__(745); -var SolidityTypeBool = __webpack_require__(746); -var SolidityTypeInt = __webpack_require__(749); -var SolidityTypeUInt = __webpack_require__(752); -var SolidityTypeDynamicBytes = __webpack_require__(748); -var SolidityTypeString = __webpack_require__(751); -var SolidityTypeReal = __webpack_require__(750); -var SolidityTypeUReal = __webpack_require__(753); -var SolidityTypeBytes = __webpack_require__(747); +var SolidityTypeAddress = __webpack_require__(746); +var SolidityTypeBool = __webpack_require__(747); +var SolidityTypeInt = __webpack_require__(750); +var SolidityTypeUInt = __webpack_require__(753); +var SolidityTypeDynamicBytes = __webpack_require__(749); +var SolidityTypeString = __webpack_require__(752); +var SolidityTypeReal = __webpack_require__(751); +var SolidityTypeUReal = __webpack_require__(754); +var SolidityTypeBytes = __webpack_require__(748); var isDynamic = function (solidityType, type) { return solidityType.isDynamicType(type) || @@ -169991,7 +169990,7 @@ module.exports = { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var invalidWin32Path = __webpack_require__(332).invalidWin32Path +var invalidWin32Path = __webpack_require__(331).invalidWin32Path var o777 = parseInt('0777', 8) @@ -170054,7 +170053,7 @@ module.exports = mkdirsSync var fs = __webpack_require__(2) var path = __webpack_require__(0) -var invalidWin32Path = __webpack_require__(332).invalidWin32Path +var invalidWin32Path = __webpack_require__(331).invalidWin32Path var o777 = parseInt('0777', 8) @@ -170119,7 +170118,7 @@ module.exports = mkdirs /* 208 */ /***/ (function(module, exports, __webpack_require__) { -var rimraf = __webpack_require__(818) +var rimraf = __webpack_require__(819) function removeSync (dir) { return rimraf.sync(dir, {disableGlob: true}) @@ -170620,26 +170619,29 @@ Graph.prototype.nodes = function() { }; Graph.prototype.sources = function() { - return _.filter(this.nodes(), _.bind(function(v) { - return _.isEmpty(this._in[v]); - }, this)); + var self = this; + return _.filter(this.nodes(), function(v) { + return _.isEmpty(self._in[v]); + }); }; Graph.prototype.sinks = function() { - return _.filter(this.nodes(), _.bind(function(v) { - return _.isEmpty(this._out[v]); - }, this)); + var self = this; + return _.filter(this.nodes(), function(v) { + return _.isEmpty(self._out[v]); + }); }; Graph.prototype.setNodes = function(vs, value) { var args = arguments; - _.each(vs, _.bind(function(v) { + var self = this; + _.each(vs, function(v) { if (args.length > 1) { - this.setNode(v, value); + self.setNode(v, value); } else { - this.setNode(v); + self.setNode(v); } - }, this)); + }); return this; }; @@ -170681,9 +170683,9 @@ Graph.prototype.removeNode = function(v) { if (this._isCompound) { this._removeFromParentsChildList(v); delete this._parent[v]; - _.each(this.children(v), _.bind(function(child) { - this.setParent(child); - }, this)); + _.each(this.children(v), function(child) { + self.setParent(child); + }); delete this._children[v]; } _.each(_.keys(this._in[v]), removeEdge); @@ -170712,7 +170714,7 @@ Graph.prototype.setParent = function(v, parent) { ancestor = this.parent(ancestor)) { if (ancestor === v) { throw new Error("Setting " + parent+ " as parent of " + v + - " would create create a cycle"); + " would create a cycle"); } } @@ -170777,6 +170779,16 @@ Graph.prototype.neighbors = function(v) { } }; +Graph.prototype.isLeaf = function (v) { + var neighbors; + if (this.isDirected()) { + neighbors = this.successors(v); + } else { + neighbors = this.neighbors(v); + } + return neighbors.length === 0; +}; + Graph.prototype.filterNodes = function(filter) { var copy = new this.constructor({ directed: this._isDirected, @@ -170786,19 +170798,19 @@ Graph.prototype.filterNodes = function(filter) { copy.setGraph(this.graph()); - _.each(this._nodes, _.bind(function(value, v) { + var self = this; + _.each(this._nodes, function(value, v) { if (filter(v)) { copy.setNode(v, value); } - }, this)); + }); - _.each(this._edgeObjs, _.bind(function(e) { + _.each(this._edgeObjs, function(e) { if (copy.hasNode(e.v) && copy.hasNode(e.w)) { - copy.setEdge(e, this.edge(e)); + copy.setEdge(e, self.edge(e)); } - }, this)); + }); - var self = this; var parents = {}; function findParent(v) { var parent = self.parent(v); @@ -171054,7 +171066,7 @@ module.exports = function (flag, argv) { const Crypto = __webpack_require__(7); const Url = __webpack_require__(9); -const Utils = __webpack_require__(154); +const Utils = __webpack_require__(155); // Declare internals @@ -171292,8 +171304,8 @@ module.exports=Queue; /***/ (function(module, exports, __webpack_require__) { var Symbol = __webpack_require__(358), - getRawTag = __webpack_require__(948), - objectToString = __webpack_require__(953); + getRawTag = __webpack_require__(952), + objectToString = __webpack_require__(957); /** `Object#toString` result references. */ var nullTag = '[object Null]', @@ -171365,7 +171377,7 @@ module.exports = isObjectLike; var win32 = process && process.platform === 'win32'; var path = __webpack_require__(0); -var fileRe = __webpack_require__(827); +var fileRe = __webpack_require__(828); var utils = module.exports; /** @@ -171375,15 +171387,15 @@ var utils = module.exports; utils.diff = __webpack_require__(536); utils.unique = __webpack_require__(540); utils.braces = __webpack_require__(572); -utils.brackets = __webpack_require__(823); -utils.extglob = __webpack_require__(825); +utils.brackets = __webpack_require__(824); +utils.extglob = __webpack_require__(826); utils.isExtglob = __webpack_require__(363); -utils.isGlob = __webpack_require__(967); +utils.isGlob = __webpack_require__(971); utils.typeOf = __webpack_require__(355); utils.normalize = __webpack_require__(367); -utils.omit = __webpack_require__(993); -utils.parseGlob = __webpack_require__(997); -utils.cache = __webpack_require__(1036); +utils.omit = __webpack_require__(997); +utils.parseGlob = __webpack_require__(1002); +utils.cache = __webpack_require__(1041); /** * Get the filename of a filepath @@ -172782,9 +172794,9 @@ function onceStrict (fn) { /* 228 */ /***/ (function(module, exports, __webpack_require__) { -const Promise = __webpack_require__(978); -const args = __webpack_require__(1021); -const cloneFunction = __webpack_require__(1022); +const Promise = __webpack_require__(982); +const args = __webpack_require__(1026); +const cloneFunction = __webpack_require__(1027); const objectAssign = __webpack_require__(226); // Unfortunately this list is not exhaustive, so if you find that a method does @@ -172959,7 +172971,7 @@ module.exports.callbacks = callbacks; "use strict"; -var jsonSafeStringify = __webpack_require__(922) +var jsonSafeStringify = __webpack_require__(926) var crypto = __webpack_require__(7) var Buffer = __webpack_require__(53).Buffer @@ -175076,7 +175088,7 @@ module.exports = { var stripAnsi = __webpack_require__(235); var codePointAt = __webpack_require__(600); -var isFullwidthCodePoint = __webpack_require__(908); +var isFullwidthCodePoint = __webpack_require__(912); // https://github.com/nodejs/io.js/blob/cff7300a578be1b10001f2d967aaedc88aee6402/lib/readline.js#L1345 module.exports = function (str) { @@ -175279,7 +175291,7 @@ module.exports = mkdirs /* 239 */ /***/ (function(module, exports, __webpack_require__) { -var rimraf = __webpack_require__(1091) +var rimraf = __webpack_require__(1096) function removeSync (dir) { return rimraf.sync(dir, {disableGlob: true}) @@ -175304,7 +175316,7 @@ module.exports = { const u = __webpack_require__(31).fromCallback -const jsonFile = __webpack_require__(1122) +const jsonFile = __webpack_require__(1127) module.exports = { // jsonfile exports @@ -175962,11 +175974,11 @@ module.exports = function (original, filter) { var fs = __webpack_require__(1); var dir = __webpack_require__(95); var path = __webpack_require__(0); -var ResolverIntercept = __webpack_require__(1176); +var ResolverIntercept = __webpack_require__(1181); var Require = __webpack_require__(433); var async = __webpack_require__(183); -var Web3 = __webpack_require__(23); -var expect = __webpack_require__(22); +var Web3 = __webpack_require__(24); +var expect = __webpack_require__(23); var Deployer = __webpack_require__(431); function Migration(file) { @@ -176258,9 +176270,9 @@ module.exports = Migrate; /* 248 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); -var wrapper = __webpack_require__(1178); +var wrapper = __webpack_require__(1183); module.exports = { wrap: function(provider, options) { @@ -176328,15 +176340,15 @@ module.exports = provision; /* 250 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(1184); +module.exports = __webpack_require__(1189); /***/ }), /* 251 */ /***/ (function(module, exports, __webpack_require__) { -var v1 = __webpack_require__(1187); -var v4 = __webpack_require__(1188); +var v1 = __webpack_require__(1192); +var v4 = __webpack_require__(1193); var uuid = v4; uuid.v1 = v1; @@ -177264,14 +177276,14 @@ module.exports = TaskError; /* 257 */ /***/ (function(module, exports, __webpack_require__) { -var pkg = __webpack_require__(1231); -var solcpkg = __webpack_require__(1222); +var pkg = __webpack_require__(1236); +var solcpkg = __webpack_require__(1227); var bundle_version = null; // NOTE: Webpack will replace BUNDLE_VERSION with a string. if (true) { - bundle_version = "4.0.4"; + bundle_version = "4.0.5"; } module.exports = { @@ -177763,7 +177775,7 @@ var compileSchema = __webpack_require__(511) , resolve = __webpack_require__(180) , Cache = __webpack_require__(507) , SchemaObject = __webpack_require__(264) - , stableStringify = __webpack_require__(334) + , stableStringify = __webpack_require__(333) , formats = __webpack_require__(510) , rules = __webpack_require__(512) , $dataMetaSchema = __webpack_require__(506) @@ -179237,7 +179249,7 @@ function requestFlush() { if (!domain) { // Lazy execute the domain module. // Only employed if the user elects to use domains. - domain = __webpack_require__(1238); + domain = __webpack_require__(1243); } domain.active = process.domain = null; } @@ -179332,8 +179344,8 @@ function AssertionError (message, _props, ssf) { } // capture stack trace - ssf = ssf || arguments.callee; - if (ssf && Error.captureStackTrace) { + ssf = ssf || AssertionError; + if (Error.captureStackTrace) { Error.captureStackTrace(this, ssf); } else { try { @@ -179398,7 +179410,7 @@ exports.default = function (coll, iteratee, callback) { eachOfImplementation(coll, (0, _wrapAsync2.default)(iteratee), callback); }; -var _isArrayLike = __webpack_require__(156); +var _isArrayLike = __webpack_require__(157); var _isArrayLike2 = _interopRequireDefault(_isArrayLike); @@ -181196,7 +181208,7 @@ function isObject(val) { /***/ (function(module, exports, __webpack_require__) { var util = __webpack_require__(3); -var Stream = __webpack_require__(21).Stream; +var Stream = __webpack_require__(22).Stream; var DelayedStream = __webpack_require__(648); module.exports = CombinedStream; @@ -181667,7 +181679,7 @@ var fs = __webpack_require__(1) var minimatch = __webpack_require__(61) var Minimatch = minimatch.Minimatch var inherits = __webpack_require__(50) -var EE = __webpack_require__(24).EventEmitter +var EE = __webpack_require__(21).EventEmitter var path = __webpack_require__(0) var assert = __webpack_require__(12) var isAbsolute = __webpack_require__(63) @@ -182694,7 +182706,7 @@ exports.fixedTimeComparison = function (a, b) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(4), __webpack_require__(136)); + module.exports = exports = factory(__webpack_require__(4), __webpack_require__(137)); } else if (typeof define === "function" && define.amd) { // AMD @@ -183022,7 +183034,7 @@ exports.fixedTimeComparison = function (a, b) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(4), __webpack_require__(136)); + module.exports = exports = factory(__webpack_require__(4), __webpack_require__(137)); } else if (typeof define === "function" && define.amd) { // AMD @@ -183555,532 +183567,6 @@ function coerce(val) { /* 300 */ /***/ (function(module, exports, __webpack_require__) { -/*! - * depd - * Copyright(c) 2014-2017 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * Module dependencies. - */ - -var callSiteToString = __webpack_require__(301).callSiteToString -var eventListenerCount = __webpack_require__(301).eventListenerCount -var relative = __webpack_require__(0).relative - -/** - * Module exports. - */ - -module.exports = depd - -/** - * Get the path to base files on. - */ - -var basePath = process.cwd() - -/** - * Determine if namespace is contained in the string. - */ - -function containsNamespace (str, namespace) { - var val = str.split(/[ ,]+/) - - namespace = String(namespace).toLowerCase() - - for (var i = 0; i < val.length; i++) { - if (!(str = val[i])) continue - - // namespace contained - if (str === '*' || str.toLowerCase() === namespace) { - return true - } - } - - return false -} - -/** - * Convert a data descriptor to accessor descriptor. - */ - -function convertDataDescriptorToAccessor (obj, prop, message) { - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) - var value = descriptor.value - - descriptor.get = function getter () { return value } - - if (descriptor.writable) { - descriptor.set = function setter (val) { return (value = val) } - } - - delete descriptor.value - delete descriptor.writable - - Object.defineProperty(obj, prop, descriptor) - - return descriptor -} - -/** - * Create arguments string to keep arity. - */ - -function createArgumentsString (arity) { - var str = '' - - for (var i = 0; i < arity; i++) { - str += ', arg' + i - } - - return str.substr(2) -} - -/** - * Create stack string from stack. - */ - -function createStackString (stack) { - var str = this.name + ': ' + this.namespace - - if (this.message) { - str += ' deprecated ' + this.message - } - - for (var i = 0; i < stack.length; i++) { - str += '\n at ' + callSiteToString(stack[i]) - } - - return str -} - -/** - * Create deprecate for namespace in caller. - */ - -function depd (namespace) { - if (!namespace) { - throw new TypeError('argument namespace is required') - } - - var stack = getStack() - var site = callSiteLocation(stack[1]) - var file = site[0] - - function deprecate (message) { - // call to self as log - log.call(deprecate, message) - } - - deprecate._file = file - deprecate._ignored = isignored(namespace) - deprecate._namespace = namespace - deprecate._traced = istraced(namespace) - deprecate._warned = Object.create(null) - - deprecate.function = wrapfunction - deprecate.property = wrapproperty - - return deprecate -} - -/** - * Determine if namespace is ignored. - */ - -function isignored (namespace) { - /* istanbul ignore next: tested in a child processs */ - if (process.noDeprecation) { - // --no-deprecation support - return true - } - - var str = process.env.NO_DEPRECATION || '' - - // namespace ignored - return containsNamespace(str, namespace) -} - -/** - * Determine if namespace is traced. - */ - -function istraced (namespace) { - /* istanbul ignore next: tested in a child processs */ - if (process.traceDeprecation) { - // --trace-deprecation support - return true - } - - var str = process.env.TRACE_DEPRECATION || '' - - // namespace traced - return containsNamespace(str, namespace) -} - -/** - * Display deprecation message. - */ - -function log (message, site) { - var haslisteners = eventListenerCount(process, 'deprecation') !== 0 - - // abort early if no destination - if (!haslisteners && this._ignored) { - return - } - - var caller - var callFile - var callSite - var i = 0 - var seen = false - var stack = getStack() - var file = this._file - - if (site) { - // provided site - callSite = callSiteLocation(stack[1]) - callSite.name = site.name - file = callSite[0] - } else { - // get call site - i = 2 - site = callSiteLocation(stack[i]) - callSite = site - } - - // get caller of deprecated thing in relation to file - for (; i < stack.length; i++) { - caller = callSiteLocation(stack[i]) - callFile = caller[0] - - if (callFile === file) { - seen = true - } else if (callFile === this._file) { - file = this._file - } else if (seen) { - break - } - } - - var key = caller - ? site.join(':') + '__' + caller.join(':') - : undefined - - if (key !== undefined && key in this._warned) { - // already warned - return - } - - this._warned[key] = true - - // generate automatic message from call site - if (!message) { - message = callSite === site || !callSite.name - ? defaultMessage(site) - : defaultMessage(callSite) - } - - // emit deprecation if listeners exist - if (haslisteners) { - var err = DeprecationError(this._namespace, message, stack.slice(i)) - process.emit('deprecation', err) - return - } - - // format and write message - var format = process.stderr.isTTY - ? formatColor - : formatPlain - var msg = format.call(this, message, caller, stack.slice(i)) - process.stderr.write(msg + '\n', 'utf8') -} - -/** - * Get call site location as array. - */ - -function callSiteLocation (callSite) { - var file = callSite.getFileName() || '' - var line = callSite.getLineNumber() - var colm = callSite.getColumnNumber() - - if (callSite.isEval()) { - file = callSite.getEvalOrigin() + ', ' + file - } - - var site = [file, line, colm] - - site.callSite = callSite - site.name = callSite.getFunctionName() - - return site -} - -/** - * Generate a default message from the site. - */ - -function defaultMessage (site) { - var callSite = site.callSite - var funcName = site.name - - // make useful anonymous name - if (!funcName) { - funcName = '' - } - - var context = callSite.getThis() - var typeName = context && callSite.getTypeName() - - // ignore useless type name - if (typeName === 'Object') { - typeName = undefined - } - - // make useful type name - if (typeName === 'Function') { - typeName = context.name || typeName - } - - return typeName && callSite.getMethodName() - ? typeName + '.' + funcName - : funcName -} - -/** - * Format deprecation message without color. - */ - -function formatPlain (msg, caller, stack) { - var timestamp = new Date().toUTCString() - - var formatted = timestamp + - ' ' + this._namespace + - ' deprecated ' + msg - - // add stack trace - if (this._traced) { - for (var i = 0; i < stack.length; i++) { - formatted += '\n at ' + callSiteToString(stack[i]) - } - - return formatted - } - - if (caller) { - formatted += ' at ' + formatLocation(caller) - } - - return formatted -} - -/** - * Format deprecation message with color. - */ - -function formatColor (msg, caller, stack) { - var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan - ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow - ' \x1b[0m' + msg + '\x1b[39m' // reset - - // add stack trace - if (this._traced) { - for (var i = 0; i < stack.length; i++) { - formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan - } - - return formatted - } - - if (caller) { - formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan - } - - return formatted -} - -/** - * Format call site location. - */ - -function formatLocation (callSite) { - return relative(basePath, callSite[0]) + - ':' + callSite[1] + - ':' + callSite[2] -} - -/** - * Get the stack as array of call sites. - */ - -function getStack () { - var limit = Error.stackTraceLimit - var obj = {} - var prep = Error.prepareStackTrace - - Error.prepareStackTrace = prepareObjectStackTrace - Error.stackTraceLimit = Math.max(10, limit) - - // capture the stack - Error.captureStackTrace(obj) - - // slice this function off the top - var stack = obj.stack.slice(1) - - Error.prepareStackTrace = prep - Error.stackTraceLimit = limit - - return stack -} - -/** - * Capture call site stack from v8. - */ - -function prepareObjectStackTrace (obj, stack) { - return stack -} - -/** - * Return a wrapped function in a deprecation message. - */ - -function wrapfunction (fn, message) { - if (typeof fn !== 'function') { - throw new TypeError('argument fn must be a function') - } - - var args = createArgumentsString(fn.length) - var deprecate = this // eslint-disable-line no-unused-vars - var stack = getStack() - var site = callSiteLocation(stack[1]) - - site.name = fn.name - - // eslint-disable-next-line no-eval - var deprecatedfn = eval('(function (' + args + ') {\n' + - '"use strict"\n' + - 'log.call(deprecate, message, site)\n' + - 'return fn.apply(this, arguments)\n' + - '})') - - return deprecatedfn -} - -/** - * Wrap property in a deprecation message. - */ - -function wrapproperty (obj, prop, message) { - if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { - throw new TypeError('argument obj must be object') - } - - var descriptor = Object.getOwnPropertyDescriptor(obj, prop) - - if (!descriptor) { - throw new TypeError('must call property on owner object') - } - - if (!descriptor.configurable) { - throw new TypeError('property must be configurable') - } - - var deprecate = this - var stack = getStack() - var site = callSiteLocation(stack[1]) - - // set site name - site.name = prop - - // convert data descriptor - if ('value' in descriptor) { - descriptor = convertDataDescriptorToAccessor(obj, prop, message) - } - - var get = descriptor.get - var set = descriptor.set - - // wrap getter - if (typeof get === 'function') { - descriptor.get = function getter () { - log.call(deprecate, message, site) - return get.apply(this, arguments) - } - } - - // wrap setter - if (typeof set === 'function') { - descriptor.set = function setter () { - log.call(deprecate, message, site) - return set.apply(this, arguments) - } - } - - Object.defineProperty(obj, prop, descriptor) -} - -/** - * Create DeprecationError for deprecation - */ - -function DeprecationError (namespace, message, stack) { - var error = new Error() - var stackString - - Object.defineProperty(error, 'constructor', { - value: DeprecationError - }) - - Object.defineProperty(error, 'message', { - configurable: true, - enumerable: false, - value: message, - writable: true - }) - - Object.defineProperty(error, 'name', { - enumerable: false, - configurable: true, - value: 'DeprecationError', - writable: true - }) - - Object.defineProperty(error, 'namespace', { - configurable: true, - enumerable: false, - value: namespace, - writable: true - }) - - Object.defineProperty(error, 'stack', { - configurable: true, - enumerable: false, - get: function () { - if (stackString !== undefined) { - return stackString - } - - // prepare stack trace - return (stackString = createStackString.call(this, stack)) - }, - set: function setter (val) { - stackString = val - } - }) - - return error -} - - -/***/ }), -/* 301 */ -/***/ (function(module, exports, __webpack_require__) { - "use strict"; /*! * depd @@ -184095,7 +183581,7 @@ function DeprecationError (namespace, message, stack) { * @private */ -var EventEmitter = __webpack_require__(24).EventEmitter +var EventEmitter = __webpack_require__(21).EventEmitter /** * Module exports. @@ -184123,11 +183609,11 @@ lazyProperty(module.exports, 'callSiteToString', function callSiteToString () { Error.prepareStackTrace = prep Error.stackTraceLimit = limit - return stack[0].toString ? toString : __webpack_require__(649) + return stack[0].toString ? toString : __webpack_require__(650) }) lazyProperty(module.exports, 'eventListenerCount', function eventListenerCount () { - return EventEmitter.listenerCount || __webpack_require__(650) + return EventEmitter.listenerCount || __webpack_require__(651) }) /** @@ -184164,13 +183650,13 @@ function toString (obj) { /***/ }), -/* 302 */ +/* 301 */ /***/ (function(module, exports, __webpack_require__) { var crypto = __webpack_require__(7); var BigInteger = __webpack_require__(75).BigInteger; -var ECPointFp = __webpack_require__(137).ECPointFp; -exports.ECCurves = __webpack_require__(652); +var ECPointFp = __webpack_require__(138).ECPointFp; +exports.ECCurves = __webpack_require__(653); // zero prepad function unstupid(hex,len) @@ -184227,7 +183713,7 @@ exports.ECKey = function(curve, key, isPublic) /***/ }), -/* 303 */ +/* 302 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -184294,7 +183780,7 @@ function encodeUrl (url) { /***/ }), -/* 304 */ +/* 303 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -184302,7 +183788,7 @@ function encodeUrl (url) { /* eslint-disable */ -var utils = __webpack_require__(656); +var utils = __webpack_require__(657); var uint256Coder = utils.uint256Coder; var coderBoolean = utils.coderBoolean; var coderFixedBytes = utils.coderFixedBytes; @@ -184433,7 +183919,7 @@ module.exports = { }; /***/ }), -/* 305 */ +/* 304 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -185198,11 +184684,11 @@ module.exports = { })); /***/ }), -/* 306 */ +/* 305 */ /***/ (function(module, exports, __webpack_require__) { -var Schema = __webpack_require__(662); -var Contract = __webpack_require__(663); +var Schema = __webpack_require__(663); +var Contract = __webpack_require__(664); var contract = function(options) { options = Schema.normalizeOptions(options); @@ -185268,13 +184754,13 @@ if (typeof window !== "undefined") { /***/ }), -/* 307 */ +/* 306 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(5), __webpack_require__(138), __webpack_require__(667), __webpack_require__(665), __webpack_require__(86), __webpack_require__(88), __webpack_require__(198), __webpack_require__(308), __webpack_require__(683), __webpack_require__(309), __webpack_require__(684), __webpack_require__(199), __webpack_require__(682), __webpack_require__(197), __webpack_require__(678), __webpack_require__(87), __webpack_require__(14), __webpack_require__(668), __webpack_require__(670), __webpack_require__(669), __webpack_require__(672), __webpack_require__(671), __webpack_require__(673), __webpack_require__(674), __webpack_require__(675), __webpack_require__(677), __webpack_require__(676), __webpack_require__(666), __webpack_require__(664), __webpack_require__(685), __webpack_require__(681), __webpack_require__(680), __webpack_require__(679)); + module.exports = exports = factory(__webpack_require__(5), __webpack_require__(139), __webpack_require__(668), __webpack_require__(666), __webpack_require__(86), __webpack_require__(88), __webpack_require__(198), __webpack_require__(307), __webpack_require__(684), __webpack_require__(308), __webpack_require__(685), __webpack_require__(199), __webpack_require__(683), __webpack_require__(197), __webpack_require__(679), __webpack_require__(87), __webpack_require__(14), __webpack_require__(669), __webpack_require__(671), __webpack_require__(670), __webpack_require__(673), __webpack_require__(672), __webpack_require__(674), __webpack_require__(675), __webpack_require__(676), __webpack_require__(678), __webpack_require__(677), __webpack_require__(667), __webpack_require__(665), __webpack_require__(686), __webpack_require__(682), __webpack_require__(681), __webpack_require__(680)); } else if (typeof define === "function" && define.amd) { // AMD @@ -185291,7 +184777,7 @@ if (typeof window !== "undefined") { })); /***/ }), -/* 308 */ +/* 307 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -185495,13 +184981,13 @@ if (typeof window !== "undefined") { })); /***/ }), -/* 309 */ +/* 308 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(5), __webpack_require__(138)); + module.exports = exports = factory(__webpack_require__(5), __webpack_require__(139)); } else if (typeof define === "function" && define.amd) { // AMD @@ -185823,7 +185309,7 @@ if (typeof window !== "undefined") { })); /***/ }), -/* 310 */ +/* 309 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -185981,7 +185467,7 @@ module.exports = SolidityParam; /***/ }), -/* 311 */ +/* 310 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -186010,8 +185496,8 @@ var utils = __webpack_require__(15); var coder = __webpack_require__(200); var formatters = __webpack_require__(45); var sha3 = __webpack_require__(108); -var Filter = __webpack_require__(140); -var watches = __webpack_require__(142); +var Filter = __webpack_require__(141); +var watches = __webpack_require__(143); /** * This prototype should be used to create event filters @@ -186194,471 +185680,471 @@ module.exports = SolidityEvent; +/***/ }), +/* 311 */ +/***/ (function(module, exports) { + +/* + This file is part of web3.js. + + web3.js is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + web3.js is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with web3.js. If not, see . +*/ +/** @file jsonrpc.js + * @authors: + * Marek Kotewicz + * Aaron Kumavis + * @date 2015 + */ + +// Initialize Jsonrpc as a simple object with utility functions. +var Jsonrpc = { + messageId: 0 +}; + +/** + * Should be called to valid json create payload object + * + * @method toPayload + * @param {Function} method of jsonrpc call, required + * @param {Array} params, an array of method params, optional + * @returns {Object} valid jsonrpc payload object + */ +Jsonrpc.toPayload = function (method, params) { + if (!method) + console.error('jsonrpc method should be specified!'); + + // advance message ID + Jsonrpc.messageId++; + + return { + jsonrpc: '2.0', + id: Jsonrpc.messageId, + method: method, + params: params || [] + }; +}; + +/** + * Should be called to check if jsonrpc response is valid + * + * @method isValidResponse + * @param {Object} + * @returns {Boolean} true if response is valid, otherwise false + */ +Jsonrpc.isValidResponse = function (response) { + return Array.isArray(response) ? response.every(validateSingleMessage) : validateSingleMessage(response); + + function validateSingleMessage(message){ + return !!message && + !message.error && + message.jsonrpc === '2.0' && + typeof message.id === 'number' && + message.result !== undefined; // only undefined is not valid json object + } +}; + +/** + * Should be called to create batch payload object + * + * @method toBatchPayload + * @param {Array} messages, an array of objects with method (required) and params (optional) fields + * @returns {Array} batch payload + */ +Jsonrpc.toBatchPayload = function (messages) { + return messages.map(function (message) { + return Jsonrpc.toPayload(message.method, message.params); + }); +}; + +module.exports = Jsonrpc; + + + /***/ }), /* 312 */ -/***/ (function(module, exports) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** @file jsonrpc.js - * @authors: - * Marek Kotewicz - * Aaron Kumavis - * @date 2015 - */ - -// Initialize Jsonrpc as a simple object with utility functions. -var Jsonrpc = { - messageId: 0 -}; - -/** - * Should be called to valid json create payload object - * - * @method toPayload - * @param {Function} method of jsonrpc call, required - * @param {Array} params, an array of method params, optional - * @returns {Object} valid jsonrpc payload object - */ -Jsonrpc.toPayload = function (method, params) { - if (!method) - console.error('jsonrpc method should be specified!'); - - // advance message ID - Jsonrpc.messageId++; - - return { - jsonrpc: '2.0', - id: Jsonrpc.messageId, - method: method, - params: params || [] - }; -}; - -/** - * Should be called to check if jsonrpc response is valid - * - * @method isValidResponse - * @param {Object} - * @returns {Boolean} true if response is valid, otherwise false - */ -Jsonrpc.isValidResponse = function (response) { - return Array.isArray(response) ? response.every(validateSingleMessage) : validateSingleMessage(response); - - function validateSingleMessage(message){ - return !!message && - !message.error && - message.jsonrpc === '2.0' && - typeof message.id === 'number' && - message.result !== undefined; // only undefined is not valid json object - } -}; - -/** - * Should be called to create batch payload object - * - * @method toBatchPayload - * @param {Array} messages, an array of objects with method (required) and params (optional) fields - * @returns {Array} batch payload - */ -Jsonrpc.toBatchPayload = function (messages) { - return messages.map(function (message) { - return Jsonrpc.toPayload(message.method, message.params); - }); -}; - -module.exports = Jsonrpc; - - - -/***/ }), -/* 313 */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file param.js - * @author Marek Kotewicz - * @date 2015 - */ - -var utils = __webpack_require__(16); - -/** - * SolidityParam object prototype. - * Should be used when encoding, decoding solidity bytes - */ -var SolidityParam = function (value, offset) { - this.value = value || ''; - this.offset = offset; // offset in bytes -}; - -/** - * This method should be used to get length of params's dynamic part - * - * @method dynamicPartLength - * @returns {Number} length of dynamic part (in bytes) - */ -SolidityParam.prototype.dynamicPartLength = function () { - return this.dynamicPart().length / 2; -}; - -/** - * This method should be used to create copy of solidity param with different offset - * - * @method withOffset - * @param {Number} offset length in bytes - * @returns {SolidityParam} new solidity param with applied offset - */ -SolidityParam.prototype.withOffset = function (offset) { - return new SolidityParam(this.value, offset); -}; - -/** - * This method should be used to combine solidity params together - * eg. when appending an array - * - * @method combine - * @param {SolidityParam} param with which we should combine - * @param {SolidityParam} result of combination - */ -SolidityParam.prototype.combine = function (param) { - return new SolidityParam(this.value + param.value); -}; - -/** - * This method should be called to check if param has dynamic size. - * If it has, it returns true, otherwise false - * - * @method isDynamic - * @returns {Boolean} - */ -SolidityParam.prototype.isDynamic = function () { - return this.offset !== undefined; -}; - -/** - * This method should be called to transform offset to bytes - * - * @method offsetAsBytes - * @returns {String} bytes representation of offset - */ -SolidityParam.prototype.offsetAsBytes = function () { - return !this.isDynamic() ? '' : utils.padLeft(utils.toTwosComplement(this.offset).toString(16), 64); -}; - -/** - * This method should be called to get static part of param - * - * @method staticPart - * @returns {String} offset if it is a dynamic param, otherwise value - */ -SolidityParam.prototype.staticPart = function () { - if (!this.isDynamic()) { - return this.value; - } - return this.offsetAsBytes(); -}; - -/** - * This method should be called to get dynamic part of param - * - * @method dynamicPart - * @returns {String} returns a value if it is a dynamic param, otherwise empty string - */ -SolidityParam.prototype.dynamicPart = function () { - return this.isDynamic() ? this.value : ''; -}; - -/** - * This method should be called to encode param - * - * @method encode - * @returns {String} - */ -SolidityParam.prototype.encode = function () { - return this.staticPart() + this.dynamicPart(); -}; - -/** - * This method should be called to encode array of params - * - * @method encodeList - * @param {Array[SolidityParam]} params - * @returns {String} - */ -SolidityParam.encodeList = function (params) { - - // updating offsets - var totalOffset = params.length * 32; - var offsetParams = params.map(function (param) { - if (!param.isDynamic()) { - return param; - } - var offset = totalOffset; - totalOffset += param.dynamicPartLength(); - return param.withOffset(offset); - }); - - // encode everything! - return offsetParams.reduce(function (result, param) { - return result + param.dynamicPart(); - }, offsetParams.reduce(function (result, param) { - return result + param.staticPart(); - }, '')); -}; - - - -module.exports = SolidityParam; - - - -/***/ }), -/* 314 */ -/***/ (function(module, exports, __webpack_require__) { - -/* - This file is part of web3.js. - - web3.js is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - web3.js is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with web3.js. If not, see . -*/ -/** - * @file event.js - * @author Marek Kotewicz - * @date 2014 - */ - -var utils = __webpack_require__(16); -var coder = __webpack_require__(201); -var formatters = __webpack_require__(47); -var sha3 = __webpack_require__(110); -var Filter = __webpack_require__(144); -var watches = __webpack_require__(146); - -/** - * This prototype should be used to create event filters - */ -var SolidityEvent = function (requestManager, json, address) { - this._requestManager = requestManager; - this._params = json.inputs; - this._name = utils.transformToFullName(json); - this._address = address; - this._anonymous = json.anonymous; -}; - -/** - * Should be used to get filtered param types - * - * @method types - * @param {Bool} decide if returned typed should be indexed - * @return {Array} array of types - */ -SolidityEvent.prototype.types = function (indexed) { - return this._params.filter(function (i) { - return i.indexed === indexed; - }).map(function (i) { - return i.type; - }); -}; - -/** - * Should be used to get event display name - * - * @method displayName - * @return {String} event display name - */ -SolidityEvent.prototype.displayName = function () { - return utils.extractDisplayName(this._name); -}; - -/** - * Should be used to get event type name - * - * @method typeName - * @return {String} event type name - */ -SolidityEvent.prototype.typeName = function () { - return utils.extractTypeName(this._name); -}; - -/** - * Should be used to get event signature - * - * @method signature - * @return {String} event signature - */ -SolidityEvent.prototype.signature = function () { - return sha3(this._name); -}; - -/** - * Should be used to encode indexed params and options to one final object - * - * @method encode - * @param {Object} indexed - * @param {Object} options - * @return {Object} everything combined together and encoded - */ -SolidityEvent.prototype.encode = function (indexed, options) { - indexed = indexed || {}; - options = options || {}; - var result = {}; - - ['fromBlock', 'toBlock'].filter(function (f) { - return options[f] !== undefined; - }).forEach(function (f) { - result[f] = formatters.inputBlockNumberFormatter(options[f]); - }); - - result.topics = []; - - result.address = this._address; - if (!this._anonymous) { - result.topics.push('0x' + this.signature()); - } - - var indexedTopics = this._params.filter(function (i) { - return i.indexed === true; - }).map(function (i) { - var value = indexed[i.name]; - if (value === undefined || value === null) { - return null; - } - - if (utils.isArray(value)) { - return value.map(function (v) { - return '0x' + coder.encodeParam(i.type, v); - }); - } - return '0x' + coder.encodeParam(i.type, value); - }); - - result.topics = result.topics.concat(indexedTopics); - - return result; -}; - -/** - * Should be used to decode indexed params and options - * - * @method decode - * @param {Object} data - * @return {Object} result object with decoded indexed && not indexed params - */ -SolidityEvent.prototype.decode = function (data) { - - data.data = data.data || ''; - data.topics = data.topics || []; - - var argTopics = this._anonymous ? data.topics : data.topics.slice(1); - var indexedData = argTopics.map(function (topics) { return topics.slice(2); }).join(""); - var indexedParams = coder.decodeParams(this.types(true), indexedData); - - var notIndexedData = data.data.slice(2); - var notIndexedParams = coder.decodeParams(this.types(false), notIndexedData); - - var result = formatters.outputLogFormatter(data); - result.event = this.displayName(); - result.address = data.address; - - result.args = this._params.reduce(function (acc, current) { - acc[current.name] = current.indexed ? indexedParams.shift() : notIndexedParams.shift(); - return acc; - }, {}); - - delete result.data; - delete result.topics; - - return result; -}; - -/** - * Should be used to create new filter object from event - * - * @method execute - * @param {Object} indexed - * @param {Object} options - * @return {Object} filter object - */ -SolidityEvent.prototype.execute = function (indexed, options, callback) { - - if (utils.isFunction(arguments[arguments.length - 1])) { - callback = arguments[arguments.length - 1]; - if(arguments.length === 2) - options = null; - if(arguments.length === 1) { - options = null; - indexed = {}; - } - } - - var o = this.encode(indexed, options); - var formatter = this.decode.bind(this); - return new Filter(this._requestManager, o, watches.eth(), formatter, callback); -}; - -/** - * Should be used to attach event to contract object - * - * @method attachToContract - * @param {Contract} - */ -SolidityEvent.prototype.attachToContract = function (contract) { - var execute = this.execute.bind(this); - var displayName = this.displayName(); - if (!contract[displayName]) { - contract[displayName] = execute; - } - contract[displayName][this.typeName()] = this.execute.bind(this, contract); -}; - -module.exports = SolidityEvent; - - - -/***/ }), -/* 315 */ +/***/ (function(module, exports, __webpack_require__) { + +/* + This file is part of web3.js. + + web3.js is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + web3.js is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with web3.js. If not, see . +*/ +/** + * @file param.js + * @author Marek Kotewicz + * @date 2015 + */ + +var utils = __webpack_require__(16); + +/** + * SolidityParam object prototype. + * Should be used when encoding, decoding solidity bytes + */ +var SolidityParam = function (value, offset) { + this.value = value || ''; + this.offset = offset; // offset in bytes +}; + +/** + * This method should be used to get length of params's dynamic part + * + * @method dynamicPartLength + * @returns {Number} length of dynamic part (in bytes) + */ +SolidityParam.prototype.dynamicPartLength = function () { + return this.dynamicPart().length / 2; +}; + +/** + * This method should be used to create copy of solidity param with different offset + * + * @method withOffset + * @param {Number} offset length in bytes + * @returns {SolidityParam} new solidity param with applied offset + */ +SolidityParam.prototype.withOffset = function (offset) { + return new SolidityParam(this.value, offset); +}; + +/** + * This method should be used to combine solidity params together + * eg. when appending an array + * + * @method combine + * @param {SolidityParam} param with which we should combine + * @param {SolidityParam} result of combination + */ +SolidityParam.prototype.combine = function (param) { + return new SolidityParam(this.value + param.value); +}; + +/** + * This method should be called to check if param has dynamic size. + * If it has, it returns true, otherwise false + * + * @method isDynamic + * @returns {Boolean} + */ +SolidityParam.prototype.isDynamic = function () { + return this.offset !== undefined; +}; + +/** + * This method should be called to transform offset to bytes + * + * @method offsetAsBytes + * @returns {String} bytes representation of offset + */ +SolidityParam.prototype.offsetAsBytes = function () { + return !this.isDynamic() ? '' : utils.padLeft(utils.toTwosComplement(this.offset).toString(16), 64); +}; + +/** + * This method should be called to get static part of param + * + * @method staticPart + * @returns {String} offset if it is a dynamic param, otherwise value + */ +SolidityParam.prototype.staticPart = function () { + if (!this.isDynamic()) { + return this.value; + } + return this.offsetAsBytes(); +}; + +/** + * This method should be called to get dynamic part of param + * + * @method dynamicPart + * @returns {String} returns a value if it is a dynamic param, otherwise empty string + */ +SolidityParam.prototype.dynamicPart = function () { + return this.isDynamic() ? this.value : ''; +}; + +/** + * This method should be called to encode param + * + * @method encode + * @returns {String} + */ +SolidityParam.prototype.encode = function () { + return this.staticPart() + this.dynamicPart(); +}; + +/** + * This method should be called to encode array of params + * + * @method encodeList + * @param {Array[SolidityParam]} params + * @returns {String} + */ +SolidityParam.encodeList = function (params) { + + // updating offsets + var totalOffset = params.length * 32; + var offsetParams = params.map(function (param) { + if (!param.isDynamic()) { + return param; + } + var offset = totalOffset; + totalOffset += param.dynamicPartLength(); + return param.withOffset(offset); + }); + + // encode everything! + return offsetParams.reduce(function (result, param) { + return result + param.dynamicPart(); + }, offsetParams.reduce(function (result, param) { + return result + param.staticPart(); + }, '')); +}; + + + +module.exports = SolidityParam; + + + +/***/ }), +/* 313 */ +/***/ (function(module, exports, __webpack_require__) { + +/* + This file is part of web3.js. + + web3.js is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + web3.js is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with web3.js. If not, see . +*/ +/** + * @file event.js + * @author Marek Kotewicz + * @date 2014 + */ + +var utils = __webpack_require__(16); +var coder = __webpack_require__(201); +var formatters = __webpack_require__(47); +var sha3 = __webpack_require__(110); +var Filter = __webpack_require__(145); +var watches = __webpack_require__(147); + +/** + * This prototype should be used to create event filters + */ +var SolidityEvent = function (requestManager, json, address) { + this._requestManager = requestManager; + this._params = json.inputs; + this._name = utils.transformToFullName(json); + this._address = address; + this._anonymous = json.anonymous; +}; + +/** + * Should be used to get filtered param types + * + * @method types + * @param {Bool} decide if returned typed should be indexed + * @return {Array} array of types + */ +SolidityEvent.prototype.types = function (indexed) { + return this._params.filter(function (i) { + return i.indexed === indexed; + }).map(function (i) { + return i.type; + }); +}; + +/** + * Should be used to get event display name + * + * @method displayName + * @return {String} event display name + */ +SolidityEvent.prototype.displayName = function () { + return utils.extractDisplayName(this._name); +}; + +/** + * Should be used to get event type name + * + * @method typeName + * @return {String} event type name + */ +SolidityEvent.prototype.typeName = function () { + return utils.extractTypeName(this._name); +}; + +/** + * Should be used to get event signature + * + * @method signature + * @return {String} event signature + */ +SolidityEvent.prototype.signature = function () { + return sha3(this._name); +}; + +/** + * Should be used to encode indexed params and options to one final object + * + * @method encode + * @param {Object} indexed + * @param {Object} options + * @return {Object} everything combined together and encoded + */ +SolidityEvent.prototype.encode = function (indexed, options) { + indexed = indexed || {}; + options = options || {}; + var result = {}; + + ['fromBlock', 'toBlock'].filter(function (f) { + return options[f] !== undefined; + }).forEach(function (f) { + result[f] = formatters.inputBlockNumberFormatter(options[f]); + }); + + result.topics = []; + + result.address = this._address; + if (!this._anonymous) { + result.topics.push('0x' + this.signature()); + } + + var indexedTopics = this._params.filter(function (i) { + return i.indexed === true; + }).map(function (i) { + var value = indexed[i.name]; + if (value === undefined || value === null) { + return null; + } + + if (utils.isArray(value)) { + return value.map(function (v) { + return '0x' + coder.encodeParam(i.type, v); + }); + } + return '0x' + coder.encodeParam(i.type, value); + }); + + result.topics = result.topics.concat(indexedTopics); + + return result; +}; + +/** + * Should be used to decode indexed params and options + * + * @method decode + * @param {Object} data + * @return {Object} result object with decoded indexed && not indexed params + */ +SolidityEvent.prototype.decode = function (data) { + + data.data = data.data || ''; + data.topics = data.topics || []; + + var argTopics = this._anonymous ? data.topics : data.topics.slice(1); + var indexedData = argTopics.map(function (topics) { return topics.slice(2); }).join(""); + var indexedParams = coder.decodeParams(this.types(true), indexedData); + + var notIndexedData = data.data.slice(2); + var notIndexedParams = coder.decodeParams(this.types(false), notIndexedData); + + var result = formatters.outputLogFormatter(data); + result.event = this.displayName(); + result.address = data.address; + + result.args = this._params.reduce(function (acc, current) { + acc[current.name] = current.indexed ? indexedParams.shift() : notIndexedParams.shift(); + return acc; + }, {}); + + delete result.data; + delete result.topics; + + return result; +}; + +/** + * Should be used to create new filter object from event + * + * @method execute + * @param {Object} indexed + * @param {Object} options + * @return {Object} filter object + */ +SolidityEvent.prototype.execute = function (indexed, options, callback) { + + if (utils.isFunction(arguments[arguments.length - 1])) { + callback = arguments[arguments.length - 1]; + if(arguments.length === 2) + options = null; + if(arguments.length === 1) { + options = null; + indexed = {}; + } + } + + var o = this.encode(indexed, options); + var formatter = this.decode.bind(this); + return new Filter(this._requestManager, o, watches.eth(), formatter, callback); +}; + +/** + * Should be used to attach event to contract object + * + * @method attachToContract + * @param {Contract} + */ +SolidityEvent.prototype.attachToContract = function (contract) { + var execute = this.execute.bind(this); + var displayName = this.displayName(); + if (!contract[displayName]) { + contract[displayName] = execute; + } + contract[displayName][this.typeName()] = this.execute.bind(this, contract); +}; + +module.exports = SolidityEvent; + + + +/***/ }), +/* 314 */ /***/ (function(module, exports) { /* @@ -186755,7 +186241,7 @@ module.exports = Jsonrpc; /***/ }), -/* 316 */ +/* 315 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -186913,7 +186399,7 @@ module.exports = SolidityParam; /***/ }), -/* 317 */ +/* 316 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -186942,8 +186428,8 @@ var utils = __webpack_require__(17); var coder = __webpack_require__(202); var formatters = __webpack_require__(49); var sha3 = __webpack_require__(113); -var Filter = __webpack_require__(149); -var watches = __webpack_require__(151); +var Filter = __webpack_require__(150); +var watches = __webpack_require__(152); /** * This prototype should be used to create event filters @@ -187127,7 +186613,7 @@ module.exports = SolidityEvent; /***/ }), -/* 318 */ +/* 317 */ /***/ (function(module, exports) { /* @@ -187218,7 +186704,7 @@ module.exports = Jsonrpc; /***/ }), -/* 319 */ +/* 318 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -187422,13 +186908,13 @@ module.exports = Jsonrpc; })); /***/ }), -/* 320 */ +/* 319 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(6), __webpack_require__(152)); + module.exports = exports = factory(__webpack_require__(6), __webpack_require__(153)); } else if (typeof define === "function" && define.amd) { // AMD @@ -187750,13 +187236,13 @@ module.exports = Jsonrpc; })); /***/ }), -/* 321 */ +/* 320 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(6), __webpack_require__(152)); + module.exports = exports = factory(__webpack_require__(6), __webpack_require__(153)); } else if (typeof define === "function" && define.amd) { // AMD @@ -188078,7 +187564,7 @@ module.exports = Jsonrpc; })); /***/ }), -/* 322 */ +/* 321 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1); @@ -188163,12 +187649,12 @@ module.exports = Config; /***/ }), -/* 323 */ +/* 322 */ /***/ (function(module, exports, __webpack_require__) { -var IPFS = __webpack_require__(900); +var IPFS = __webpack_require__(904); var wget = __webpack_require__(442); -var Readable = __webpack_require__(21).Readable; +var Readable = __webpack_require__(22).Readable; var URL = __webpack_require__(9); var fs = __webpack_require__(1); @@ -188249,10 +187735,10 @@ module.exports = IPFSHost; /***/ }), -/* 324 */ +/* 323 */ /***/ (function(module, exports, __webpack_require__) { -var V1 = __webpack_require__(799); +var V1 = __webpack_require__(800); var fs = __webpack_require__(1); var Lockfile = { @@ -188299,11 +187785,11 @@ module.exports = Lockfile; /***/ }), -/* 325 */ +/* 324 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1); -var V1 = __webpack_require__(800); +var V1 = __webpack_require__(801); var Manifest = { getInterpreter: function(manifest_version) { @@ -188356,12 +187842,12 @@ module.exports = Manifest; /***/ }), -/* 326 */ +/* 325 */ /***/ (function(module, exports, __webpack_require__) { -var Util = __webpack_require__(328); +var Util = __webpack_require__(327); var whilst = __webpack_require__(276); -var fs = __webpack_require__(153); +var fs = __webpack_require__(154); var path = __webpack_require__(0); var Preflight = { @@ -188516,7 +188002,7 @@ module.exports = Preflight; /***/ }), -/* 327 */ +/* 326 */ /***/ (function(module, exports, __webpack_require__) { var dir = __webpack_require__(95); @@ -188619,7 +188105,7 @@ module.exports = Sources; /***/ }), -/* 328 */ +/* 327 */ /***/ (function(module, exports, __webpack_require__) { var URL = __webpack_require__(9); @@ -188634,14 +188120,14 @@ module.exports = Util; /***/ }), -/* 329 */ +/* 328 */ /***/ (function(module, exports, __webpack_require__) { // imported from ncp (this is temporary, will rewrite) var fs = __webpack_require__(2) var path = __webpack_require__(0) -var utimes = __webpack_require__(820) +var utimes = __webpack_require__(821) function ncp (source, dest, options, callback) { if (!callback) { @@ -188872,7 +188358,7 @@ module.exports = ncp /***/ }), -/* 330 */ +/* 329 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -188894,7 +188380,7 @@ module.exports = outputJsonSync /***/ }), -/* 331 */ +/* 330 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -188924,7 +188410,7 @@ module.exports = outputJson /***/ }), -/* 332 */ +/* 331 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -188955,7 +188441,7 @@ module.exports = { /***/ }), -/* 333 */ +/* 332 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -189144,7 +188630,7 @@ function dumpException(ex) /***/ }), -/* 334 */ +/* 333 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -189210,7 +188696,7 @@ module.exports = function (data, opts) { /***/ }), -/* 335 */ +/* 334 */ /***/ (function(module, exports, __webpack_require__) { module.exports = realpath @@ -189226,7 +188712,7 @@ var origRealpathSync = fs.realpathSync var version = process.version var ok = /^v[0-5]\./.test(version) -var old = __webpack_require__(840) +var old = __webpack_require__(841) function newError (er) { return er && er.syscall === 'realpath' && ( @@ -189282,14 +188768,14 @@ function unmonkeypatch () { /***/ }), -/* 336 */ +/* 335 */ /***/ (function(module, exports, __webpack_require__) { // imported from ncp (this is temporary, will rewrite) var fs = __webpack_require__(2) var path = __webpack_require__(0) -var utimes = __webpack_require__(862) +var utimes = __webpack_require__(863) function ncp (source, dest, options, callback) { if (!callback) { @@ -189531,10 +189017,10 @@ module.exports = ncp /***/ }), -/* 337 */ +/* 336 */ /***/ (function(module, exports, __webpack_require__) { -var assign = __webpack_require__(861) +var assign = __webpack_require__(862) var fse = {} var gfs = __webpack_require__(2) @@ -189546,16 +189032,16 @@ Object.keys(gfs).forEach(function (key) { var fs = fse -assign(fs, __webpack_require__(848)) -assign(fs, __webpack_require__(846)) +assign(fs, __webpack_require__(849)) +assign(fs, __webpack_require__(847)) assign(fs, __webpack_require__(33)) -assign(fs, __webpack_require__(340)) -assign(fs, __webpack_require__(856)) +assign(fs, __webpack_require__(339)) assign(fs, __webpack_require__(857)) -assign(fs, __webpack_require__(860)) -assign(fs, __webpack_require__(849)) -assign(fs, __webpack_require__(851)) assign(fs, __webpack_require__(858)) +assign(fs, __webpack_require__(861)) +assign(fs, __webpack_require__(850)) +assign(fs, __webpack_require__(852)) +assign(fs, __webpack_require__(859)) module.exports = fs @@ -189574,7 +189060,7 @@ module.exports.jsonfile = jsonfile // so users of fs-extra can modify jsonFile.s /***/ }), -/* 338 */ +/* 337 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -189596,7 +189082,7 @@ module.exports = outputJsonSync /***/ }), -/* 339 */ +/* 338 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -189626,7 +189112,7 @@ module.exports = outputJson /***/ }), -/* 340 */ +/* 339 */ /***/ (function(module, exports, __webpack_require__) { var rimraf = __webpack_require__(230) @@ -189646,14 +189132,14 @@ module.exports = { /***/ }), -/* 341 */ +/* 340 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var path = __webpack_require__(0); -var isglob = __webpack_require__(867); +var isglob = __webpack_require__(868); module.exports = function globParent(str) { str += 'a'; // preserves full path in case of trailing path separator @@ -189663,7 +189149,7 @@ module.exports = function globParent(str) { /***/ }), -/* 342 */ +/* 341 */ /***/ (function(module, exports, __webpack_require__) { exports.alphasort = alphasort @@ -189909,7 +189395,7 @@ function childrenIgnored (self, path) { /***/ }), -/* 343 */ +/* 342 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -189937,7 +189423,7 @@ function clone (obj) { /***/ }), -/* 344 */ +/* 343 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34); @@ -189985,11 +189471,11 @@ function doDfs(g, v, postorder, visited, navigation, acc) { /***/ }), -/* 345 */ +/* 344 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34), - PriorityQueue = __webpack_require__(349); + PriorityQueue = __webpack_require__(348); module.exports = dijkstra; @@ -190045,26 +189531,26 @@ function runDijkstra(g, source, weightFn, edgeFn) { /***/ }), -/* 346 */ +/* 345 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - components: __webpack_require__(872), - dijkstra: __webpack_require__(345), - dijkstraAll: __webpack_require__(873), - findCycles: __webpack_require__(874), - floydWarshall: __webpack_require__(875), - isAcyclic: __webpack_require__(876), - postorder: __webpack_require__(877), - preorder: __webpack_require__(878), - prim: __webpack_require__(879), - tarjan: __webpack_require__(347), - topsort: __webpack_require__(348) + components: __webpack_require__(873), + dijkstra: __webpack_require__(344), + dijkstraAll: __webpack_require__(874), + findCycles: __webpack_require__(875), + floydWarshall: __webpack_require__(876), + isAcyclic: __webpack_require__(877), + postorder: __webpack_require__(878), + preorder: __webpack_require__(879), + prim: __webpack_require__(880), + tarjan: __webpack_require__(346), + topsort: __webpack_require__(347) }; /***/ }), -/* 347 */ +/* 346 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34); @@ -190117,7 +189603,7 @@ function tarjan(g) { /***/ }), -/* 348 */ +/* 347 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34); @@ -190157,7 +189643,7 @@ function CycleException() {} /***/ }), -/* 349 */ +/* 348 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34); @@ -190315,7 +189801,7 @@ PriorityQueue.prototype._swap = function(i, j) { /***/ }), -/* 350 */ +/* 349 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -190389,6 +189875,92 @@ Object.keys(gitHosts).forEach(function (name) { }) +/***/ }), +/* 350 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/*! + * depd + * Copyright(c) 2014-2015 Douglas Christopher Wilson + * MIT Licensed + */ + + + +/** + * Module dependencies. + * @private + */ + +var EventEmitter = __webpack_require__(21).EventEmitter + +/** + * Module exports. + * @public + */ + +lazyProperty(module.exports, 'callSiteToString', function callSiteToString () { + var limit = Error.stackTraceLimit + var obj = {} + var prep = Error.prepareStackTrace + + function prepareObjectStackTrace (obj, stack) { + return stack + } + + Error.prepareStackTrace = prepareObjectStackTrace + Error.stackTraceLimit = 2 + + // capture the stack + Error.captureStackTrace(obj) + + // slice the stack + var stack = obj.stack.slice() + + Error.prepareStackTrace = prep + Error.stackTraceLimit = limit + + return stack[0].toString ? toString : __webpack_require__(896) +}) + +lazyProperty(module.exports, 'eventListenerCount', function eventListenerCount () { + return EventEmitter.listenerCount || __webpack_require__(897) +}) + +/** + * Define a lazy property. + */ + +function lazyProperty (obj, prop, getter) { + function get () { + var val = getter() + + Object.defineProperty(obj, prop, { + configurable: true, + enumerable: true, + value: val + }) + + return val + } + + Object.defineProperty(obj, prop, { + configurable: true, + enumerable: true, + get: get + }) +} + +/** + * Call toString() on the obj + */ + +function toString (obj) { + return obj.toString() +} + + /***/ }), /* 351 */ /***/ (function(module, exports, __webpack_require__) { @@ -190464,7 +190036,7 @@ module.exports = Array.isArray || function (arr) { /* 353 */ /***/ (function(module, exports, __webpack_require__) { -var stream = __webpack_require__(21) +var stream = __webpack_require__(22) function isStream (obj) { @@ -190501,7 +190073,7 @@ module.exports.isDuplex = isDuplex ;(function () { // Detect the `define` function exposed by asynchronous module loaders. The // strict `define` check is necessary for compatibility with `r.js`. - var isLoader = "function" === "function" && __webpack_require__(1236); + var isLoader = "function" === "function" && __webpack_require__(1241); // A set of types used to distinguish objects from primitives. var objectTypes = { @@ -191537,9 +191109,9 @@ try { fs = __webpack_require__(1) } var path = __webpack_require__(0) -var Readable = __webpack_require__(21).Readable +var Readable = __webpack_require__(22).Readable var util = __webpack_require__(3) -var assign = __webpack_require__(927) +var assign = __webpack_require__(931) function Walker (dir, options) { assert.strictEqual(typeof dir, 'string', '`dir` parameter should be of type string. Got type: ' + typeof dir) @@ -191600,9 +191172,9 @@ module.exports = walk * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license */ -var baseAssign = __webpack_require__(932), - baseCreate = __webpack_require__(934), - isIterateeCall = __webpack_require__(936); +var baseAssign = __webpack_require__(936), + baseCreate = __webpack_require__(938), + isIterateeCall = __webpack_require__(940); /** * Creates an object that inherits from the given `prototype` object. If a @@ -191800,7 +191372,7 @@ module.exports = function isExtglob(str) { * @private */ -var db = __webpack_require__(968) +var db = __webpack_require__(972) var extname = __webpack_require__(0).extname /** @@ -192124,12 +191696,12 @@ function plural (ms, n, name) { * Module dependencies. */ -var EventEmitter = __webpack_require__(24).EventEmitter; +var EventEmitter = __webpack_require__(21).EventEmitter; var JSON = __webpack_require__(354); -var Pending = __webpack_require__(971); +var Pending = __webpack_require__(975); var debug = __webpack_require__(195)('mocha:runnable'); var milliseconds = __webpack_require__(365); -var utils = __webpack_require__(157); +var utils = __webpack_require__(158); var create = __webpack_require__(357); /** @@ -192520,7 +192092,7 @@ Runnable.prototype.run = function (fn) { * Released under the MIT License. */ -var removeTrailingSeparator = __webpack_require__(1037); +var removeTrailingSeparator = __webpack_require__(1042); module.exports = function normalizePath(str, stripTrailing) { if (typeof str !== 'string') { @@ -192561,7 +192133,7 @@ module.exports.isFinished = isFinished * @private */ -var first = __webpack_require__(653) +var first = __webpack_require__(654) /** * Variables. @@ -192944,8 +192516,8 @@ module.exports = { "use strict"; -var stringify = __webpack_require__(1024); -var parse = __webpack_require__(1023); +var stringify = __webpack_require__(1029); +var parse = __webpack_require__(1028); var formats = __webpack_require__(373); module.exports = { @@ -193194,7 +192766,7 @@ exports.isBuffer = function isBuffer(obj) { /**/ -var processNextTick = __webpack_require__(159); +var processNextTick = __webpack_require__(160); /**/ module.exports = Readable; @@ -193210,7 +192782,7 @@ var Duplex; Readable.ReadableState = ReadableState; /**/ -var EE = __webpack_require__(24).EventEmitter; +var EE = __webpack_require__(21).EventEmitter; var EElistenerCount = function (emitter, type) { return emitter.listeners(type).length; @@ -193249,7 +192821,7 @@ if (debugUtil && debugUtil.debuglog) { } /**/ -var BufferList = __webpack_require__(1033); +var BufferList = __webpack_require__(1038); var destroyImpl = __webpack_require__(379); var StringDecoder; @@ -194431,7 +194003,7 @@ function done(stream, er, data) { /**/ -var processNextTick = __webpack_require__(159); +var processNextTick = __webpack_require__(160); /**/ module.exports = Writable; @@ -194474,7 +194046,7 @@ util.inherits = __webpack_require__(50); /**/ var internalUtil = { - deprecate: __webpack_require__(1186) + deprecate: __webpack_require__(1191) }; /**/ @@ -195076,7 +194648,7 @@ Writable.prototype._destroy = function (err, cb) { /**/ -var processNextTick = __webpack_require__(159); +var processNextTick = __webpack_require__(160); /**/ // undocumented cb() API, needed for core, not for public API @@ -195149,7 +194721,7 @@ module.exports = { /* 380 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(21); +module.exports = __webpack_require__(22); /***/ }), @@ -195211,7 +194783,7 @@ function readdir(opts, callback1, callback2) { // If no callbacks were given we will use a streaming interface if (isUndefined(callback1)) { - var api = __webpack_require__(1035)(); + var api = __webpack_require__(1040)(); stream = api.stream; callback1 = api.processEntry; callback2 = api.done; @@ -195631,7 +195203,7 @@ request.forever = function (agentOptions, optionsArg) { // Exports module.exports = request -request.Request = __webpack_require__(1047) +request.Request = __webpack_require__(1052) request.initParams = initParams // Backwards compatibility for request.debug @@ -195653,7 +195225,7 @@ Object.defineProperty(request, 'debug', { "use strict"; -var tough = __webpack_require__(1069) +var tough = __webpack_require__(1074) var Cookie = tough.Cookie var CookieJar = tough.CookieJar @@ -195936,7 +195508,7 @@ module.exports = typeof setImmediate === 'function' ? setImmediate : // Load modules const Dgram = __webpack_require__(171); -const Dns = __webpack_require__(1237); +const Dns = __webpack_require__(1242); const Hoek = __webpack_require__(118); @@ -196394,9 +195966,9 @@ function DiffieHellman(key) { } else if (key.type === 'ecdsa') { if (!CRYPTO_HAVE_ECDH) { if (ecdh === undefined) - ecdh = __webpack_require__(302); + ecdh = __webpack_require__(301); if (ec === undefined) - ec = __webpack_require__(137); + ec = __webpack_require__(138); if (jsbn === undefined) jsbn = __webpack_require__(75).BigInteger; @@ -196723,9 +196295,9 @@ function generateECDSA(curve) { } else { if (ecdh === undefined) - ecdh = __webpack_require__(302); + ecdh = __webpack_require__(301); if (ec === undefined) - ec = __webpack_require__(137); + ec = __webpack_require__(138); if (jsbn === undefined) jsbn = __webpack_require__(75).BigInteger; @@ -196774,7 +196346,7 @@ module.exports = { }; var nacl; -var stream = __webpack_require__(21); +var stream = __webpack_require__(22); var util = __webpack_require__(3); var assert = __webpack_require__(8); var Signature = __webpack_require__(55); @@ -196960,7 +196532,7 @@ var utils = __webpack_require__(19); var Key = __webpack_require__(26); var PrivateKey = __webpack_require__(27); -var sshpriv = __webpack_require__(160); +var sshpriv = __webpack_require__(161); /*JSSTYLED*/ var SSHKEY_RE = /^([a-z0-9-]+)[ \t]+([a-zA-Z0-9+\/]+[=]*)([\n \t]+([^\n]+))?$/; @@ -197814,7 +197386,7 @@ function writeBitField(setBits, bitIndex) { * @private */ -var codes = __webpack_require__(1224) +var codes = __webpack_require__(1229) /** * Module exports. @@ -198198,7 +197770,7 @@ var fs = __webpack_require__(1), path = __webpack_require__(0), cnst = __webpack_require__(446); -var rimraf = __webpack_require__(1068), +var rimraf = __webpack_require__(1073), osTmpdir = __webpack_require__(369), rimrafSync = rimraf.sync; @@ -199032,7 +198604,7 @@ function coerce(val) { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var utimes = __webpack_require__(1093) +var utimes = __webpack_require__(1098) function ncp (source, dest, options, callback) { if (!callback) { @@ -199351,7 +198923,7 @@ module.exports = { // TODO: remove web3 requirement // Call functions directly on the provider. -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var Blockchain = { parse: function(uri) { @@ -199417,7 +198989,7 @@ module.exports = Blockchain; /***/ (function(module, exports, __webpack_require__) { module.exports = { - copySync: __webpack_require__(1101) + copySync: __webpack_require__(1106) } @@ -199429,7 +199001,7 @@ module.exports = { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var utimes = __webpack_require__(1121) +var utimes = __webpack_require__(1126) function ncp (source, dest, options, callback) { if (!callback) { @@ -199735,23 +199307,23 @@ exports.exists = function (filename, callback) { "use strict"; -const assign = __webpack_require__(1120) +const assign = __webpack_require__(1125) const fs = {} // Export graceful-fs: assign(fs, __webpack_require__(409)) // Export extra methods: -assign(fs, __webpack_require__(1103)) +assign(fs, __webpack_require__(1108)) assign(fs, __webpack_require__(407)) assign(fs, __webpack_require__(35)) -assign(fs, __webpack_require__(162)) -assign(fs, __webpack_require__(1111)) -assign(fs, __webpack_require__(1117)) +assign(fs, __webpack_require__(163)) assign(fs, __webpack_require__(1116)) -assign(fs, __webpack_require__(1104)) -assign(fs, __webpack_require__(1106)) -assign(fs, __webpack_require__(1118)) +assign(fs, __webpack_require__(1122)) +assign(fs, __webpack_require__(1121)) +assign(fs, __webpack_require__(1109)) +assign(fs, __webpack_require__(1111)) +assign(fs, __webpack_require__(1123)) assign(fs, __webpack_require__(65)) module.exports = fs @@ -200305,7 +199877,7 @@ module.exports.setGracefulCleanup = _setGracefulCleanup; /* 414 */ /***/ (function(module, exports, __webpack_require__) { -var opcodes = __webpack_require__(1123); +var opcodes = __webpack_require__(1128); module.exports = { /** @@ -200351,18 +199923,18 @@ module.exports = { /* 415 */ /***/ (function(module, exports, __webpack_require__) { -var Profiler = __webpack_require__(163); +var Profiler = __webpack_require__(164); var OS = __webpack_require__(11); var path = __webpack_require__(0); var fs = __webpack_require__(1); var async = __webpack_require__(183); -var Profiler = __webpack_require__(163); +var Profiler = __webpack_require__(164); var CompileError = __webpack_require__(241); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var find_contracts = __webpack_require__(132); var Config = __webpack_require__(10); -var debug = __webpack_require__(1125)("compile"); +var debug = __webpack_require__(1130)("compile"); // Most basic of the compile commands. Takes a hash of sources, where // the keys are file or module paths and the values are the bodies of @@ -200871,13 +200443,13 @@ function coerce(val) { /* 417 */ /***/ (function(module, exports, __webpack_require__) { -var sha3 = __webpack_require__(1129); -var pkgVersion = __webpack_require__(1226).version; +var sha3 = __webpack_require__(1134); +var pkgVersion = __webpack_require__(1231).version; var Ajv = __webpack_require__(263); -var contractObjectSchema = __webpack_require__(1228); -var networkObjectSchema = __webpack_require__(1229); -var abiSchema = __webpack_require__(1227); +var contractObjectSchema = __webpack_require__(1233); +var networkObjectSchema = __webpack_require__(1234); +var abiSchema = __webpack_require__(1232); /** @@ -201870,11 +201442,11 @@ var mkdirp = __webpack_require__(222); var del = __webpack_require__(646); var fs = __webpack_require__(1); var Contracts = __webpack_require__(101); -var BuildError = __webpack_require__(1151); +var BuildError = __webpack_require__(1156); var child_process = __webpack_require__(58); -var spawnargs = __webpack_require__(1059); +var spawnargs = __webpack_require__(1064); var _ = __webpack_require__(29); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var contract = __webpack_require__(56); function CommandBuilder(command) { @@ -202014,7 +201586,7 @@ module.exports = Build; var command = { command: 'develop', - description: 'Open a console with a local TestRPC', + description: 'Open a console with a local development blockchain', builder: { log: { type: "boolean", @@ -202173,7 +201745,7 @@ var command = { var OS = __webpack_require__(11); var Config = __webpack_require__(10); var Contracts = __webpack_require__(101); - var Resolver = __webpack_require__(164); + var Resolver = __webpack_require__(165); var Artifactor = __webpack_require__(131); var Migrate = __webpack_require__(247); var Environment = __webpack_require__(102); @@ -202317,11 +201889,11 @@ function formatCommands(commands) { var command = { command: 'unbox', - description: 'Unbox Truffle project', + description: 'Download a Truffle Box, a pre-built Truffle project', builder: {}, run: function(options, done) { var Config = __webpack_require__(10); - var Box = __webpack_require__(1096); + var Box = __webpack_require__(1101); var OS = __webpack_require__(11); var config = Config.default().with({ @@ -202467,15 +202039,15 @@ var ReplManager = __webpack_require__(428); var Command = __webpack_require__(176); var provision = __webpack_require__(249); var contract = __webpack_require__(56); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var vm = __webpack_require__(255); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var _ = __webpack_require__(29); var TruffleError = __webpack_require__(28); var fs = __webpack_require__(1); var os = __webpack_require__(11); var path = __webpack_require__(0); -var EventEmitter = __webpack_require__(24); +var EventEmitter = __webpack_require__(21); var inherits = __webpack_require__(3).inherits; inherits(Console, EventEmitter); @@ -202666,7 +202238,7 @@ var OS = __webpack_require__(11); var BlockchainUtils = __webpack_require__(406); var Provider = __webpack_require__(248); var async = __webpack_require__(66); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var Networks = { deployed: function(options, callback) { @@ -202939,14 +202511,14 @@ module.exports = Networks; /* 427 */ /***/ (function(module, exports, __webpack_require__) { -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var TruffleError = __webpack_require__(28); var Provider = __webpack_require__(248); -var Profiler = __webpack_require__(163); +var Profiler = __webpack_require__(164); var Networks = __webpack_require__(426); -var EthPM = __webpack_require__(796); -var EthPMRegistry = __webpack_require__(658); -var Web3 = __webpack_require__(23); +var EthPM = __webpack_require__(797); +var EthPMRegistry = __webpack_require__(659); +var Web3 = __webpack_require__(24); var async = __webpack_require__(66); var dir = __webpack_require__(95); var path = __webpack_require__(0); @@ -203224,20 +202796,20 @@ module.exports = Package; /* 428 */ /***/ (function(module, exports, __webpack_require__) { -var repl = __webpack_require__(1241); +var repl = __webpack_require__(1246); var Command = __webpack_require__(176); var provision = __webpack_require__(249); var contract = __webpack_require__(56); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var vm = __webpack_require__(255); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var _ = __webpack_require__(29); var TruffleError = __webpack_require__(28); var fs = __webpack_require__(1); var os = __webpack_require__(11); var path = __webpack_require__(0); var async = __webpack_require__(66); -var EventEmitter = __webpack_require__(24); +var EventEmitter = __webpack_require__(21); var inherits = __webpack_require__(3).inherits; inherits(ReplManager, EventEmitter); @@ -203392,7 +202964,7 @@ module.exports = TestResolver; /* 430 */ /***/ (function(module, exports, __webpack_require__) { -var Deployed = __webpack_require__(1154); +var Deployed = __webpack_require__(1159); var path = __webpack_require__(0); var fs = __webpack_require__(1); var contract = __webpack_require__(56); @@ -203492,12 +203064,12 @@ module.exports = TestSource; /* 431 */ /***/ (function(module, exports, __webpack_require__) { -var expect = __webpack_require__(22); -var DeferredChain = __webpack_require__(1173); +var expect = __webpack_require__(23); +var DeferredChain = __webpack_require__(1178); var deploy = __webpack_require__(432); -var deployMany = __webpack_require__(1170); -var link = __webpack_require__(1171); -var create = __webpack_require__(1172); +var deployMany = __webpack_require__(1175); +var link = __webpack_require__(1176); +var create = __webpack_require__(1177); function Deployer(options) { var self = this; @@ -203633,9 +203205,9 @@ var path = __webpack_require__(0); var Module = __webpack_require__(447); var vm = __webpack_require__(255); var originalrequire = __webpack_require__(253); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var Config = __webpack_require__(10); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); // options.file: path to file to execute. Must be a module that exports a function. // options.args: arguments passed to the exported function within file. If a callback @@ -203849,7 +203421,7 @@ module.exports = FS; /* 435 */ /***/ (function(module, exports, __webpack_require__) { -var SolidityParser = __webpack_require__(1058); +var SolidityParser = __webpack_require__(1063); var fs = __webpack_require__(1); var SolidityUtils = { @@ -204025,13 +203597,11 @@ module.exports = bytesToUuid; // Unique ID creation requires a high quality random # generator. In node.js // this is pretty straight-forward - we use the crypto API. -var rb = __webpack_require__(7).randomBytes; - -function rng() { - return rb(16); -} +var crypto = __webpack_require__(7); -module.exports = rng; +module.exports = function nodeRNG() { + return crypto.randomBytes(16); +}; /***/ }), @@ -204243,9 +203813,9 @@ module.exports = SolidityParam; */ var utils = __webpack_require__(20); -var coder = __webpack_require__(166); +var coder = __webpack_require__(134); var formatters = __webpack_require__(67); -var sha3 = __webpack_require__(134); +var sha3 = __webpack_require__(135); var Filter = __webpack_require__(168); var watches = __webpack_require__(170); @@ -204537,11 +204107,11 @@ exports.request = __webpack_require__(443).request; var http = __webpack_require__(30); var https = __webpack_require__(43); -var tunnel = __webpack_require__(1182); +var tunnel = __webpack_require__(1187); var url = __webpack_require__(9); var zlib = __webpack_require__(173); var fs = __webpack_require__(1); -var EventEmitter = __webpack_require__(24).EventEmitter; +var EventEmitter = __webpack_require__(21).EventEmitter; /** * Downloads a file using http get and request @@ -204868,7 +204438,7 @@ module.exports = {"contract_name":"ReleaseDB","abi":[{"constant":true,"inputs":[ /* 456 */ /***/ (function(module, exports) { -module.exports = {"_from":"truffle-contract-schema@^0.0.5","_id":"truffle-contract-schema@0.0.5","_inBundle":false,"_integrity":"sha1-Xp0gvQvyon/pQxB0gknUhO7kmWE=","_location":"/ethpm-registry/truffle-contract-schema","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"truffle-contract-schema@^0.0.5","name":"truffle-contract-schema","escapedName":"truffle-contract-schema","rawSpec":"^0.0.5","saveSpec":null,"fetchSpec":"^0.0.5"},"_requiredBy":["/ethpm-registry/truffle-artifactor","/ethpm-registry/truffle-artifactor/truffle-contract","/ethpm-registry/truffle-contract"],"_resolved":"https://registry.npmjs.org/truffle-contract-schema/-/truffle-contract-schema-0.0.5.tgz","_shasum":"5e9d20bd0bf2a27fe94310748249d484eee49961","_spec":"truffle-contract-schema@^0.0.5","_where":"/Users/gnidan/src/work/release/truffle/node_modules/ethpm-registry/node_modules/truffle-artifactor","author":{"name":"Tim Coulter","email":"tim.coulter@consensys.net"},"bugs":{"url":"https://github.com/trufflesuite/truffle-schema/issues"},"bundleDependencies":false,"dependencies":{"crypto-js":"^3.1.9-1"},"deprecated":false,"description":"JSON schema for contract artifacts","devDependencies":{"mocha":"^3.2.0"},"homepage":"https://github.com/trufflesuite/truffle-schema#readme","keywords":["ethereum","json","schema","contract","artifacts"],"license":"MIT","main":"index.js","name":"truffle-contract-schema","repository":{"type":"git","url":"git+https://github.com/trufflesuite/truffle-schema.git"},"scripts":{"test":"mocha"},"version":"0.0.5"} +module.exports = {"_from":"truffle-contract-schema@^0.0.5","_id":"truffle-contract-schema@0.0.5","_inBundle":false,"_integrity":"sha1-Xp0gvQvyon/pQxB0gknUhO7kmWE=","_location":"/ethpm-registry/truffle-contract-schema","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"truffle-contract-schema@^0.0.5","name":"truffle-contract-schema","escapedName":"truffle-contract-schema","rawSpec":"^0.0.5","saveSpec":null,"fetchSpec":"^0.0.5"},"_requiredBy":["/ethpm-registry/truffle-artifactor","/ethpm-registry/truffle-artifactor/truffle-contract","/ethpm-registry/truffle-contract"],"_resolved":"https://registry.npmjs.org/truffle-contract-schema/-/truffle-contract-schema-0.0.5.tgz","_shasum":"5e9d20bd0bf2a27fe94310748249d484eee49961","_spec":"truffle-contract-schema@^0.0.5","_where":"/Users/gnidan/src/work/release/node_modules/ethpm-registry/node_modules/truffle-artifactor","author":{"name":"Tim Coulter","email":"tim.coulter@consensys.net"},"bugs":{"url":"https://github.com/trufflesuite/truffle-schema/issues"},"bundleDependencies":false,"dependencies":{"crypto-js":"^3.1.9-1"},"deprecated":false,"description":"JSON schema for contract artifacts","devDependencies":{"mocha":"^3.2.0"},"homepage":"https://github.com/trufflesuite/truffle-schema#readme","keywords":["ethereum","json","schema","contract","artifacts"],"license":"MIT","main":"index.js","name":"truffle-contract-schema","repository":{"type":"git","url":"git+https://github.com/trufflesuite/truffle-schema.git"},"scripts":{"test":"mocha"},"version":"0.0.5"} /***/ }), /* 457 */ @@ -205060,7 +204630,7 @@ module.exports = {"$id":"timings.json#","$schema":"http://json-schema.org/draft- /* 488 */ /***/ (function(module, exports) { -module.exports = {"_from":"hawk@~6.0.2","_id":"hawk@6.0.2","_inBundle":false,"_integrity":"sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==","_location":"/hawk","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"hawk@~6.0.2","name":"hawk","escapedName":"hawk","rawSpec":"~6.0.2","saveSpec":null,"fetchSpec":"~6.0.2"},"_requiredBy":["/request"],"_resolved":"https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz","_shasum":"af4d914eb065f9b5ce4d9d11c1cb2126eecc3038","_spec":"hawk@~6.0.2","_where":"/Users/gnidan/src/work/release/truffle/node_modules/request","author":{"name":"Eran Hammer","email":"eran@hammer.io","url":"http://hueniverse.com"},"babel":{"presets":["es2015"]},"browser":"dist/browser.js","bugs":{"url":"https://github.com/hueniverse/hawk/issues"},"bundleDependencies":false,"dependencies":{"boom":"4.x.x","cryptiles":"3.x.x","hoek":"4.x.x","sntp":"2.x.x"},"deprecated":false,"description":"HTTP Hawk Authentication Scheme","devDependencies":{"babel-cli":"^6.1.2","babel-preset-es2015":"^6.1.2","code":"4.x.x","lab":"14.x.x"},"engines":{"node":">=4.5.0"},"homepage":"https://github.com/hueniverse/hawk#readme","keywords":["http","authentication","scheme","hawk"],"license":"BSD-3-Clause","main":"lib/index.js","name":"hawk","repository":{"type":"git","url":"git://github.com/hueniverse/hawk.git"},"scripts":{"build-client":"mkdir -p dist; babel lib/browser.js --out-file dist/browser.js","prepublish":"npm run-script build-client","test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"version":"6.0.2"} +module.exports = {"_from":"hawk@~6.0.2","_id":"hawk@6.0.2","_inBundle":false,"_integrity":"sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==","_location":"/hawk","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"hawk@~6.0.2","name":"hawk","escapedName":"hawk","rawSpec":"~6.0.2","saveSpec":null,"fetchSpec":"~6.0.2"},"_requiredBy":["/request"],"_resolved":"https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz","_shasum":"af4d914eb065f9b5ce4d9d11c1cb2126eecc3038","_spec":"hawk@~6.0.2","_where":"/Users/gnidan/src/work/release/node_modules/request","author":{"name":"Eran Hammer","email":"eran@hammer.io","url":"http://hueniverse.com"},"babel":{"presets":["es2015"]},"browser":"dist/browser.js","bugs":{"url":"https://github.com/hueniverse/hawk/issues"},"bundleDependencies":false,"dependencies":{"boom":"4.x.x","cryptiles":"3.x.x","hoek":"4.x.x","sntp":"2.x.x"},"deprecated":false,"description":"HTTP Hawk Authentication Scheme","devDependencies":{"babel-cli":"^6.1.2","babel-preset-es2015":"^6.1.2","code":"4.x.x","lab":"14.x.x"},"engines":{"node":">=4.5.0"},"homepage":"https://github.com/hueniverse/hawk#readme","keywords":["http","authentication","scheme","hawk"],"license":"BSD-3-Clause","main":"lib/index.js","name":"hawk","repository":{"type":"git","url":"git://github.com/hueniverse/hawk.git"},"scripts":{"build-client":"mkdir -p dist; babel lib/browser.js --out-file dist/browser.js","prepublish":"npm run-script build-client","test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"version":"6.0.2"} /***/ }), /* 489 */ @@ -208989,7 +208559,7 @@ function regex(str) { var resolve = __webpack_require__(180) , util = __webpack_require__(79) , errorClasses = __webpack_require__(179) - , stableStringify = __webpack_require__(334); + , stableStringify = __webpack_require__(333); var validateGenerator = __webpack_require__(269); @@ -212100,7 +211670,7 @@ module.exports = function () { "use strict"; -var micromatch = __webpack_require__(963); +var micromatch = __webpack_require__(967); var normalize = __webpack_require__(367); var path = __webpack_require__(0); // required for tests. var arrify = function(a) { return a == null ? [] : (Array.isArray(a) ? a : [a]); }; @@ -213259,7 +212829,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); -var _identity = __webpack_require__(955); +var _identity = __webpack_require__(959); var _identity2 = _interopRequireDefault(_identity); @@ -213703,15 +213273,15 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = _filter; -var _arrayMap = __webpack_require__(941); +var _arrayMap = __webpack_require__(945); var _arrayMap2 = _interopRequireDefault(_arrayMap); -var _isArrayLike = __webpack_require__(156); +var _isArrayLike = __webpack_require__(157); var _isArrayLike2 = _interopRequireDefault(_isArrayLike); -var _baseProperty = __webpack_require__(945); +var _baseProperty = __webpack_require__(949); var _baseProperty2 = _interopRequireDefault(_baseProperty); @@ -213846,7 +213416,7 @@ Object.defineProperty(exports, "__esModule", { }); exports.default = iterator; -var _isArrayLike = __webpack_require__(156); +var _isArrayLike = __webpack_require__(157); var _isArrayLike2 = _interopRequireDefault(_isArrayLike); @@ -213854,7 +213424,7 @@ var _getIterator = __webpack_require__(559); var _getIterator2 = _interopRequireDefault(_getIterator); -var _keys = __webpack_require__(961); +var _keys = __webpack_require__(965); var _keys2 = _interopRequireDefault(_keys); @@ -215011,9 +214581,9 @@ function expand(str, isTop) { * Module dependencies */ -var expand = __webpack_require__(824); +var expand = __webpack_require__(825); var repeat = __webpack_require__(382); -var tokens = __webpack_require__(1020); +var tokens = __webpack_require__(1025); /** * Expose `braces` @@ -220228,12 +219798,12 @@ module.exports = function (obj, args) { "use strict"; -var EventEmitter = __webpack_require__(24).EventEmitter; +var EventEmitter = __webpack_require__(21).EventEmitter; var fs = __webpack_require__(1); var sysPath = __webpack_require__(0); var asyncEach = __webpack_require__(546); var anymatch = __webpack_require__(535); -var globParent = __webpack_require__(341); +var globParent = __webpack_require__(340); var isGlob = __webpack_require__(598); var isAbsolute = __webpack_require__(63); var inherits = __webpack_require__(50); @@ -221359,7 +220929,7 @@ module.exports.canUse = canUse; var fs = __webpack_require__(1); var sysPath = __webpack_require__(0); var readdirp = __webpack_require__(381); -var isBinaryPath = __webpack_require__(903); +var isBinaryPath = __webpack_require__(907); // fs.watch helpers @@ -221879,7 +221449,7 @@ module.exports = function isGlob(str) { var stringWidth = __webpack_require__(234) var stripAnsi = __webpack_require__(235) -var wrap = __webpack_require__(1220) +var wrap = __webpack_require__(1225) var align = { right: alignRight, center: alignCenter @@ -224842,7 +224412,7 @@ exports.badImplementation = function (message, data) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(4), __webpack_require__(136), __webpack_require__(620), __webpack_require__(617), __webpack_require__(83), __webpack_require__(85), __webpack_require__(194), __webpack_require__(296), __webpack_require__(636), __webpack_require__(298), __webpack_require__(637), __webpack_require__(297), __webpack_require__(635), __webpack_require__(193), __webpack_require__(631), __webpack_require__(84), __webpack_require__(13), __webpack_require__(621), __webpack_require__(623), __webpack_require__(622), __webpack_require__(625), __webpack_require__(624), __webpack_require__(626), __webpack_require__(627), __webpack_require__(628), __webpack_require__(630), __webpack_require__(629), __webpack_require__(618), __webpack_require__(616), __webpack_require__(638), __webpack_require__(634), __webpack_require__(633), __webpack_require__(632)); + module.exports = exports = factory(__webpack_require__(4), __webpack_require__(137), __webpack_require__(620), __webpack_require__(617), __webpack_require__(83), __webpack_require__(85), __webpack_require__(194), __webpack_require__(296), __webpack_require__(636), __webpack_require__(298), __webpack_require__(637), __webpack_require__(297), __webpack_require__(635), __webpack_require__(193), __webpack_require__(631), __webpack_require__(84), __webpack_require__(13), __webpack_require__(621), __webpack_require__(623), __webpack_require__(622), __webpack_require__(625), __webpack_require__(624), __webpack_require__(626), __webpack_require__(627), __webpack_require__(628), __webpack_require__(630), __webpack_require__(629), __webpack_require__(618), __webpack_require__(616), __webpack_require__(638), __webpack_require__(634), __webpack_require__(633), __webpack_require__(632)); } else if (typeof define === "function" && define.amd) { // AMD @@ -226593,7 +226163,7 @@ exports.badImplementation = function (message, data) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(4), __webpack_require__(136), __webpack_require__(298)); + module.exports = exports = factory(__webpack_require__(4), __webpack_require__(137), __webpack_require__(298)); } else if (typeof define === "function" && define.amd) { // AMD @@ -228345,11 +227915,11 @@ Library.prototype.test = function (obj, type) { var path = __webpack_require__(0); var globby = __webpack_require__(647); -var isPathCwd = __webpack_require__(911); -var isPathInCwd = __webpack_require__(912); +var isPathCwd = __webpack_require__(915); +var isPathInCwd = __webpack_require__(916); var objectAssign = __webpack_require__(226); var Promise = __webpack_require__(99); -var pify = __webpack_require__(158); +var pify = __webpack_require__(159); var rimraf = __webpack_require__(230); var rimrafP = pify(rimraf, Promise); @@ -228428,7 +227998,7 @@ var arrayUnion = __webpack_require__(538); var objectAssign = __webpack_require__(226); var glob = __webpack_require__(117); var arrify = __webpack_require__(541); -var pify = __webpack_require__(158); +var pify = __webpack_require__(159); var globP = pify(glob, Promise).bind(glob); @@ -228493,7 +228063,7 @@ module.exports.generateGlobTasks = generateGlobTasks; /* 648 */ /***/ (function(module, exports, __webpack_require__) { -var Stream = __webpack_require__(21).Stream; +var Stream = __webpack_require__(22).Stream; var util = __webpack_require__(3); module.exports = DelayedStream; @@ -228606,6 +228176,534 @@ DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { /* 649 */ /***/ (function(module, exports, __webpack_require__) { +/*! + * depd + * Copyright(c) 2014-2017 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * Module dependencies. + */ + +var callSiteToString = __webpack_require__(300).callSiteToString +var eventListenerCount = __webpack_require__(300).eventListenerCount +var relative = __webpack_require__(0).relative + +/** + * Module exports. + */ + +module.exports = depd + +/** + * Get the path to base files on. + */ + +var basePath = process.cwd() + +/** + * Determine if namespace is contained in the string. + */ + +function containsNamespace (str, namespace) { + var vals = str.split(/[ ,]+/) + var ns = String(namespace).toLowerCase() + + for (var i = 0; i < vals.length; i++) { + var val = vals[i] + + // namespace contained + if (val && (val === '*' || val.toLowerCase() === ns)) { + return true + } + } + + return false +} + +/** + * Convert a data descriptor to accessor descriptor. + */ + +function convertDataDescriptorToAccessor (obj, prop, message) { + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + var value = descriptor.value + + descriptor.get = function getter () { return value } + + if (descriptor.writable) { + descriptor.set = function setter (val) { return (value = val) } + } + + delete descriptor.value + delete descriptor.writable + + Object.defineProperty(obj, prop, descriptor) + + return descriptor +} + +/** + * Create arguments string to keep arity. + */ + +function createArgumentsString (arity) { + var str = '' + + for (var i = 0; i < arity; i++) { + str += ', arg' + i + } + + return str.substr(2) +} + +/** + * Create stack string from stack. + */ + +function createStackString (stack) { + var str = this.name + ': ' + this.namespace + + if (this.message) { + str += ' deprecated ' + this.message + } + + for (var i = 0; i < stack.length; i++) { + str += '\n at ' + callSiteToString(stack[i]) + } + + return str +} + +/** + * Create deprecate for namespace in caller. + */ + +function depd (namespace) { + if (!namespace) { + throw new TypeError('argument namespace is required') + } + + var stack = getStack() + var site = callSiteLocation(stack[1]) + var file = site[0] + + function deprecate (message) { + // call to self as log + log.call(deprecate, message) + } + + deprecate._file = file + deprecate._ignored = isignored(namespace) + deprecate._namespace = namespace + deprecate._traced = istraced(namespace) + deprecate._warned = Object.create(null) + + deprecate.function = wrapfunction + deprecate.property = wrapproperty + + return deprecate +} + +/** + * Determine if namespace is ignored. + */ + +function isignored (namespace) { + /* istanbul ignore next: tested in a child processs */ + if (process.noDeprecation) { + // --no-deprecation support + return true + } + + var str = process.env.NO_DEPRECATION || '' + + // namespace ignored + return containsNamespace(str, namespace) +} + +/** + * Determine if namespace is traced. + */ + +function istraced (namespace) { + /* istanbul ignore next: tested in a child processs */ + if (process.traceDeprecation) { + // --trace-deprecation support + return true + } + + var str = process.env.TRACE_DEPRECATION || '' + + // namespace traced + return containsNamespace(str, namespace) +} + +/** + * Display deprecation message. + */ + +function log (message, site) { + var haslisteners = eventListenerCount(process, 'deprecation') !== 0 + + // abort early if no destination + if (!haslisteners && this._ignored) { + return + } + + var caller + var callFile + var callSite + var depSite + var i = 0 + var seen = false + var stack = getStack() + var file = this._file + + if (site) { + // provided site + depSite = site + callSite = callSiteLocation(stack[1]) + callSite.name = depSite.name + file = callSite[0] + } else { + // get call site + i = 2 + depSite = callSiteLocation(stack[i]) + callSite = depSite + } + + // get caller of deprecated thing in relation to file + for (; i < stack.length; i++) { + caller = callSiteLocation(stack[i]) + callFile = caller[0] + + if (callFile === file) { + seen = true + } else if (callFile === this._file) { + file = this._file + } else if (seen) { + break + } + } + + var key = caller + ? depSite.join(':') + '__' + caller.join(':') + : undefined + + if (key !== undefined && key in this._warned) { + // already warned + return + } + + this._warned[key] = true + + // generate automatic message from call site + var msg = message + if (!msg) { + msg = callSite === depSite || !callSite.name + ? defaultMessage(depSite) + : defaultMessage(callSite) + } + + // emit deprecation if listeners exist + if (haslisteners) { + var err = DeprecationError(this._namespace, msg, stack.slice(i)) + process.emit('deprecation', err) + return + } + + // format and write message + var format = process.stderr.isTTY + ? formatColor + : formatPlain + var output = format.call(this, msg, caller, stack.slice(i)) + process.stderr.write(output + '\n', 'utf8') +} + +/** + * Get call site location as array. + */ + +function callSiteLocation (callSite) { + var file = callSite.getFileName() || '' + var line = callSite.getLineNumber() + var colm = callSite.getColumnNumber() + + if (callSite.isEval()) { + file = callSite.getEvalOrigin() + ', ' + file + } + + var site = [file, line, colm] + + site.callSite = callSite + site.name = callSite.getFunctionName() + + return site +} + +/** + * Generate a default message from the site. + */ + +function defaultMessage (site) { + var callSite = site.callSite + var funcName = site.name + + // make useful anonymous name + if (!funcName) { + funcName = '' + } + + var context = callSite.getThis() + var typeName = context && callSite.getTypeName() + + // ignore useless type name + if (typeName === 'Object') { + typeName = undefined + } + + // make useful type name + if (typeName === 'Function') { + typeName = context.name || typeName + } + + return typeName && callSite.getMethodName() + ? typeName + '.' + funcName + : funcName +} + +/** + * Format deprecation message without color. + */ + +function formatPlain (msg, caller, stack) { + var timestamp = new Date().toUTCString() + + var formatted = timestamp + + ' ' + this._namespace + + ' deprecated ' + msg + + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n at ' + callSiteToString(stack[i]) + } + + return formatted + } + + if (caller) { + formatted += ' at ' + formatLocation(caller) + } + + return formatted +} + +/** + * Format deprecation message with color. + */ + +function formatColor (msg, caller, stack) { + var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan + ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow + ' \x1b[0m' + msg + '\x1b[39m' // reset + + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan + } + + return formatted + } + + if (caller) { + formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan + } + + return formatted +} + +/** + * Format call site location. + */ + +function formatLocation (callSite) { + return relative(basePath, callSite[0]) + + ':' + callSite[1] + + ':' + callSite[2] +} + +/** + * Get the stack as array of call sites. + */ + +function getStack () { + var limit = Error.stackTraceLimit + var obj = {} + var prep = Error.prepareStackTrace + + Error.prepareStackTrace = prepareObjectStackTrace + Error.stackTraceLimit = Math.max(10, limit) + + // capture the stack + Error.captureStackTrace(obj) + + // slice this function off the top + var stack = obj.stack.slice(1) + + Error.prepareStackTrace = prep + Error.stackTraceLimit = limit + + return stack +} + +/** + * Capture call site stack from v8. + */ + +function prepareObjectStackTrace (obj, stack) { + return stack +} + +/** + * Return a wrapped function in a deprecation message. + */ + +function wrapfunction (fn, message) { + if (typeof fn !== 'function') { + throw new TypeError('argument fn must be a function') + } + + var args = createArgumentsString(fn.length) + var deprecate = this // eslint-disable-line no-unused-vars + var stack = getStack() + var site = callSiteLocation(stack[1]) + + site.name = fn.name + + // eslint-disable-next-line no-eval + var deprecatedfn = eval('(function (' + args + ') {\n' + + '"use strict"\n' + + 'log.call(deprecate, message, site)\n' + + 'return fn.apply(this, arguments)\n' + + '})') + + return deprecatedfn +} + +/** + * Wrap property in a deprecation message. + */ + +function wrapproperty (obj, prop, message) { + if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { + throw new TypeError('argument obj must be object') + } + + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + + if (!descriptor) { + throw new TypeError('must call property on owner object') + } + + if (!descriptor.configurable) { + throw new TypeError('property must be configurable') + } + + var deprecate = this + var stack = getStack() + var site = callSiteLocation(stack[1]) + + // set site name + site.name = prop + + // convert data descriptor + if ('value' in descriptor) { + descriptor = convertDataDescriptorToAccessor(obj, prop, message) + } + + var get = descriptor.get + var set = descriptor.set + + // wrap getter + if (typeof get === 'function') { + descriptor.get = function getter () { + log.call(deprecate, message, site) + return get.apply(this, arguments) + } + } + + // wrap setter + if (typeof set === 'function') { + descriptor.set = function setter () { + log.call(deprecate, message, site) + return set.apply(this, arguments) + } + } + + Object.defineProperty(obj, prop, descriptor) +} + +/** + * Create DeprecationError for deprecation + */ + +function DeprecationError (namespace, message, stack) { + var error = new Error() + var stackString + + Object.defineProperty(error, 'constructor', { + value: DeprecationError + }) + + Object.defineProperty(error, 'message', { + configurable: true, + enumerable: false, + value: message, + writable: true + }) + + Object.defineProperty(error, 'name', { + enumerable: false, + configurable: true, + value: 'DeprecationError', + writable: true + }) + + Object.defineProperty(error, 'namespace', { + configurable: true, + enumerable: false, + value: namespace, + writable: true + }) + + Object.defineProperty(error, 'stack', { + configurable: true, + enumerable: false, + get: function () { + if (stackString !== undefined) { + return stackString + } + + // prepare stack trace + return (stackString = createStackString.call(this, stack)) + }, + set: function setter (val) { + stackString = val + } + }) + + return error +} + + +/***/ }), +/* 650 */ +/***/ (function(module, exports, __webpack_require__) { + "use strict"; /*! * depd @@ -228713,7 +228811,7 @@ function getConstructorName (obj) { /***/ }), -/* 650 */ +/* 651 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -228742,7 +228840,7 @@ function eventListenerCount (emitter, type) { /***/ }), -/* 651 */ +/* 652 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -228760,7 +228858,7 @@ function eventListenerCount (emitter, type) { */ var ReadStream = __webpack_require__(1).ReadStream -var Stream = __webpack_require__(21) +var Stream = __webpack_require__(22) /** * Module exports. @@ -228824,14 +228922,14 @@ function onOpenClose() { /***/ }), -/* 652 */ +/* 653 */ /***/ (function(module, exports, __webpack_require__) { // Named EC curves // Requires ec.js, jsbn.js, and jsbn2.js var BigInteger = __webpack_require__(75).BigInteger -var ECCurveFp = __webpack_require__(137).ECCurveFp +var ECCurveFp = __webpack_require__(138).ECCurveFp // ---------------- @@ -229000,7 +229098,7 @@ module.exports = { /***/ }), -/* 653 */ +/* 654 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -229102,14 +229200,14 @@ function listener(event, done) { /***/ }), -/* 654 */ +/* 655 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var util = __webpack_require__(3); -var isArrayish = __webpack_require__(902); +var isArrayish = __webpack_require__(906); var errorEx = function errorEx(name, properties) { if (!name || name.constructor !== String) { @@ -229242,7 +229340,7 @@ module.exports = errorEx; /***/ }), -/* 655 */ +/* 656 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -229380,15 +229478,15 @@ function stattag (stat) { /***/ }), -/* 656 */ +/* 657 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var BN = __webpack_require__(657); -var numberToBN = __webpack_require__(991); -var keccak256 = __webpack_require__(919).keccak_256; +var BN = __webpack_require__(658); +var numberToBN = __webpack_require__(995); +var keccak256 = __webpack_require__(923).keccak_256; // from ethereumjs-util function stripZeros(aInput) { @@ -229803,7 +229901,7 @@ module.exports = { }; /***/ }), -/* 657 */ +/* 658 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {(function (module, exports) { @@ -233237,12 +233335,12 @@ module.exports = { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 658 */ +/* 659 */ /***/ (function(module, exports, __webpack_require__) { -var contract = __webpack_require__(306); -var Registry = __webpack_require__(659); -var Web3 = __webpack_require__(744); +var contract = __webpack_require__(305); +var Registry = __webpack_require__(660); +var Web3 = __webpack_require__(745); var EPMRegistry = { use: function(address, from_address, provider) { @@ -233254,10 +233352,10 @@ module.exports = EPMRegistry; /***/ }), -/* 659 */ +/* 660 */ /***/ (function(module, exports, __webpack_require__) { -var contract = __webpack_require__(306); +var contract = __webpack_require__(305); var PackageIndex = contract(__webpack_require__(454)); var ReleaseDB = contract(__webpack_require__(455)); var semver = __webpack_require__(231); @@ -233398,13 +233496,13 @@ module.exports = Registry; /***/ }), -/* 660 */ +/* 661 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(305), __webpack_require__(661)); + module.exports = exports = factory(__webpack_require__(304), __webpack_require__(662)); } else if (typeof define === "function" && define.amd) { // AMD @@ -233726,13 +233824,13 @@ module.exports = Registry; })); /***/ }), -/* 661 */ +/* 662 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(305)); + module.exports = exports = factory(__webpack_require__(304)); } else if (typeof define === "function" && define.amd) { // AMD @@ -234035,10 +234133,10 @@ module.exports = Registry; })); /***/ }), -/* 662 */ +/* 663 */ /***/ (function(module, exports, __webpack_require__) { -var sha3 = __webpack_require__(660); +var sha3 = __webpack_require__(661); var schema_version = __webpack_require__(456).version; var TruffleSchema = { @@ -234222,12 +234320,12 @@ module.exports = TruffleSchema; /***/ }), -/* 663 */ +/* 664 */ /***/ (function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(module) {var ethJSABI = __webpack_require__(304); -var BlockchainUtils = __webpack_require__(686); -var Web3 = __webpack_require__(716); +/* WEBPACK VAR INJECTION */(function(module) {var ethJSABI = __webpack_require__(303); +var BlockchainUtils = __webpack_require__(687); +var Web3 = __webpack_require__(717); // For browserified version. If browserify gave us an empty version, // look for the one provided by the user. @@ -235024,7 +235122,7 @@ var contract = (function(module) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 664 */ +/* 665 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235261,7 +235359,7 @@ var contract = (function(module) { })); /***/ }), -/* 665 */ +/* 666 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -235415,7 +235513,7 @@ var contract = (function(module) { })); /***/ }), -/* 666 */ +/* 667 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235486,7 +235584,7 @@ var contract = (function(module) { })); /***/ }), -/* 667 */ +/* 668 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -235567,7 +235665,7 @@ var contract = (function(module) { })); /***/ }), -/* 668 */ +/* 669 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235650,7 +235748,7 @@ var contract = (function(module) { })); /***/ }), -/* 669 */ +/* 670 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235771,7 +235869,7 @@ var contract = (function(module) { })); /***/ }), -/* 670 */ +/* 671 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235834,7 +235932,7 @@ var contract = (function(module) { })); /***/ }), -/* 671 */ +/* 672 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235879,7 +235977,7 @@ var contract = (function(module) { })); /***/ }), -/* 672 */ +/* 673 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235938,7 +236036,7 @@ var contract = (function(module) { })); /***/ }), -/* 673 */ +/* 674 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -235992,7 +236090,7 @@ var contract = (function(module) { })); /***/ }), -/* 674 */ +/* 675 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -236041,7 +236139,7 @@ var contract = (function(module) { })); /***/ }), -/* 675 */ +/* 676 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -236086,7 +236184,7 @@ var contract = (function(module) { })); /***/ }), -/* 676 */ +/* 677 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -236121,7 +236219,7 @@ var contract = (function(module) { })); /***/ }), -/* 677 */ +/* 678 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -236171,7 +236269,7 @@ var contract = (function(module) { })); /***/ }), -/* 678 */ +/* 679 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -236321,7 +236419,7 @@ var contract = (function(module) { })); /***/ }), -/* 679 */ +/* 680 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -236515,207 +236613,207 @@ var contract = (function(module) { })); -/***/ }), -/* 680 */ -/***/ (function(module, exports, __webpack_require__) { - -;(function (root, factory, undef) { - if (true) { - // CommonJS - module.exports = exports = factory(__webpack_require__(5), __webpack_require__(86), __webpack_require__(88), __webpack_require__(87), __webpack_require__(14)); - } - else if (typeof define === "function" && define.amd) { - // AMD - define(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory); - } - else { - // Global (browser) - factory(root.CryptoJS); - } -}(this, function (CryptoJS) { - - (function () { - // Shortcuts - var C = CryptoJS; - var C_lib = C.lib; - var StreamCipher = C_lib.StreamCipher; - var C_algo = C.algo; - - // Reusable objects - var S = []; - var C_ = []; - var G = []; - - /** - * Rabbit stream cipher algorithm - */ - var Rabbit = C_algo.Rabbit = StreamCipher.extend({ - _doReset: function () { - // Shortcuts - var K = this._key.words; - var iv = this.cfg.iv; - - // Swap endian - for (var i = 0; i < 4; i++) { - K[i] = (((K[i] << 8) | (K[i] >>> 24)) & 0x00ff00ff) | - (((K[i] << 24) | (K[i] >>> 8)) & 0xff00ff00); - } - - // Generate initial state values - var X = this._X = [ - K[0], (K[3] << 16) | (K[2] >>> 16), - K[1], (K[0] << 16) | (K[3] >>> 16), - K[2], (K[1] << 16) | (K[0] >>> 16), - K[3], (K[2] << 16) | (K[1] >>> 16) - ]; - - // Generate initial counter values - var C = this._C = [ - (K[2] << 16) | (K[2] >>> 16), (K[0] & 0xffff0000) | (K[1] & 0x0000ffff), - (K[3] << 16) | (K[3] >>> 16), (K[1] & 0xffff0000) | (K[2] & 0x0000ffff), - (K[0] << 16) | (K[0] >>> 16), (K[2] & 0xffff0000) | (K[3] & 0x0000ffff), - (K[1] << 16) | (K[1] >>> 16), (K[3] & 0xffff0000) | (K[0] & 0x0000ffff) - ]; - - // Carry bit - this._b = 0; - - // Iterate the system four times - for (var i = 0; i < 4; i++) { - nextState.call(this); - } - - // Modify the counters - for (var i = 0; i < 8; i++) { - C[i] ^= X[(i + 4) & 7]; - } - - // IV setup - if (iv) { - // Shortcuts - var IV = iv.words; - var IV_0 = IV[0]; - var IV_1 = IV[1]; - - // Generate four subvectors - var i0 = (((IV_0 << 8) | (IV_0 >>> 24)) & 0x00ff00ff) | (((IV_0 << 24) | (IV_0 >>> 8)) & 0xff00ff00); - var i2 = (((IV_1 << 8) | (IV_1 >>> 24)) & 0x00ff00ff) | (((IV_1 << 24) | (IV_1 >>> 8)) & 0xff00ff00); - var i1 = (i0 >>> 16) | (i2 & 0xffff0000); - var i3 = (i2 << 16) | (i0 & 0x0000ffff); - - // Modify counter values - C[0] ^= i0; - C[1] ^= i1; - C[2] ^= i2; - C[3] ^= i3; - C[4] ^= i0; - C[5] ^= i1; - C[6] ^= i2; - C[7] ^= i3; - - // Iterate the system four times - for (var i = 0; i < 4; i++) { - nextState.call(this); - } - } - }, - - _doProcessBlock: function (M, offset) { - // Shortcut - var X = this._X; - - // Iterate the system - nextState.call(this); - - // Generate four keystream words - S[0] = X[0] ^ (X[5] >>> 16) ^ (X[3] << 16); - S[1] = X[2] ^ (X[7] >>> 16) ^ (X[5] << 16); - S[2] = X[4] ^ (X[1] >>> 16) ^ (X[7] << 16); - S[3] = X[6] ^ (X[3] >>> 16) ^ (X[1] << 16); - - for (var i = 0; i < 4; i++) { - // Swap endian - S[i] = (((S[i] << 8) | (S[i] >>> 24)) & 0x00ff00ff) | - (((S[i] << 24) | (S[i] >>> 8)) & 0xff00ff00); - - // Encrypt - M[offset + i] ^= S[i]; - } - }, - - blockSize: 128/32, - - ivSize: 64/32 - }); - - function nextState() { - // Shortcuts - var X = this._X; - var C = this._C; - - // Save old counter values - for (var i = 0; i < 8; i++) { - C_[i] = C[i]; - } - - // Calculate new counter values - C[0] = (C[0] + 0x4d34d34d + this._b) | 0; - C[1] = (C[1] + 0xd34d34d3 + ((C[0] >>> 0) < (C_[0] >>> 0) ? 1 : 0)) | 0; - C[2] = (C[2] + 0x34d34d34 + ((C[1] >>> 0) < (C_[1] >>> 0) ? 1 : 0)) | 0; - C[3] = (C[3] + 0x4d34d34d + ((C[2] >>> 0) < (C_[2] >>> 0) ? 1 : 0)) | 0; - C[4] = (C[4] + 0xd34d34d3 + ((C[3] >>> 0) < (C_[3] >>> 0) ? 1 : 0)) | 0; - C[5] = (C[5] + 0x34d34d34 + ((C[4] >>> 0) < (C_[4] >>> 0) ? 1 : 0)) | 0; - C[6] = (C[6] + 0x4d34d34d + ((C[5] >>> 0) < (C_[5] >>> 0) ? 1 : 0)) | 0; - C[7] = (C[7] + 0xd34d34d3 + ((C[6] >>> 0) < (C_[6] >>> 0) ? 1 : 0)) | 0; - this._b = (C[7] >>> 0) < (C_[7] >>> 0) ? 1 : 0; - - // Calculate the g-values - for (var i = 0; i < 8; i++) { - var gx = X[i] + C[i]; - - // Construct high and low argument for squaring - var ga = gx & 0xffff; - var gb = gx >>> 16; - - // Calculate high and low result of squaring - var gh = ((((ga * ga) >>> 17) + ga * gb) >>> 15) + gb * gb; - var gl = (((gx & 0xffff0000) * gx) | 0) + (((gx & 0x0000ffff) * gx) | 0); - - // High XOR low - G[i] = gh ^ gl; - } - - // Calculate new state values - X[0] = (G[0] + ((G[7] << 16) | (G[7] >>> 16)) + ((G[6] << 16) | (G[6] >>> 16))) | 0; - X[1] = (G[1] + ((G[0] << 8) | (G[0] >>> 24)) + G[7]) | 0; - X[2] = (G[2] + ((G[1] << 16) | (G[1] >>> 16)) + ((G[0] << 16) | (G[0] >>> 16))) | 0; - X[3] = (G[3] + ((G[2] << 8) | (G[2] >>> 24)) + G[1]) | 0; - X[4] = (G[4] + ((G[3] << 16) | (G[3] >>> 16)) + ((G[2] << 16) | (G[2] >>> 16))) | 0; - X[5] = (G[5] + ((G[4] << 8) | (G[4] >>> 24)) + G[3]) | 0; - X[6] = (G[6] + ((G[5] << 16) | (G[5] >>> 16)) + ((G[4] << 16) | (G[4] >>> 16))) | 0; - X[7] = (G[7] + ((G[6] << 8) | (G[6] >>> 24)) + G[5]) | 0; - } - - /** - * Shortcut functions to the cipher's object interface. - * - * @example - * - * var ciphertext = CryptoJS.Rabbit.encrypt(message, key, cfg); - * var plaintext = CryptoJS.Rabbit.decrypt(ciphertext, key, cfg); - */ - C.Rabbit = StreamCipher._createHelper(Rabbit); - }()); - - - return CryptoJS.Rabbit; - -})); - /***/ }), /* 681 */ /***/ (function(module, exports, __webpack_require__) { +;(function (root, factory, undef) { + if (true) { + // CommonJS + module.exports = exports = factory(__webpack_require__(5), __webpack_require__(86), __webpack_require__(88), __webpack_require__(87), __webpack_require__(14)); + } + else if (typeof define === "function" && define.amd) { + // AMD + define(["./core", "./enc-base64", "./md5", "./evpkdf", "./cipher-core"], factory); + } + else { + // Global (browser) + factory(root.CryptoJS); + } +}(this, function (CryptoJS) { + + (function () { + // Shortcuts + var C = CryptoJS; + var C_lib = C.lib; + var StreamCipher = C_lib.StreamCipher; + var C_algo = C.algo; + + // Reusable objects + var S = []; + var C_ = []; + var G = []; + + /** + * Rabbit stream cipher algorithm + */ + var Rabbit = C_algo.Rabbit = StreamCipher.extend({ + _doReset: function () { + // Shortcuts + var K = this._key.words; + var iv = this.cfg.iv; + + // Swap endian + for (var i = 0; i < 4; i++) { + K[i] = (((K[i] << 8) | (K[i] >>> 24)) & 0x00ff00ff) | + (((K[i] << 24) | (K[i] >>> 8)) & 0xff00ff00); + } + + // Generate initial state values + var X = this._X = [ + K[0], (K[3] << 16) | (K[2] >>> 16), + K[1], (K[0] << 16) | (K[3] >>> 16), + K[2], (K[1] << 16) | (K[0] >>> 16), + K[3], (K[2] << 16) | (K[1] >>> 16) + ]; + + // Generate initial counter values + var C = this._C = [ + (K[2] << 16) | (K[2] >>> 16), (K[0] & 0xffff0000) | (K[1] & 0x0000ffff), + (K[3] << 16) | (K[3] >>> 16), (K[1] & 0xffff0000) | (K[2] & 0x0000ffff), + (K[0] << 16) | (K[0] >>> 16), (K[2] & 0xffff0000) | (K[3] & 0x0000ffff), + (K[1] << 16) | (K[1] >>> 16), (K[3] & 0xffff0000) | (K[0] & 0x0000ffff) + ]; + + // Carry bit + this._b = 0; + + // Iterate the system four times + for (var i = 0; i < 4; i++) { + nextState.call(this); + } + + // Modify the counters + for (var i = 0; i < 8; i++) { + C[i] ^= X[(i + 4) & 7]; + } + + // IV setup + if (iv) { + // Shortcuts + var IV = iv.words; + var IV_0 = IV[0]; + var IV_1 = IV[1]; + + // Generate four subvectors + var i0 = (((IV_0 << 8) | (IV_0 >>> 24)) & 0x00ff00ff) | (((IV_0 << 24) | (IV_0 >>> 8)) & 0xff00ff00); + var i2 = (((IV_1 << 8) | (IV_1 >>> 24)) & 0x00ff00ff) | (((IV_1 << 24) | (IV_1 >>> 8)) & 0xff00ff00); + var i1 = (i0 >>> 16) | (i2 & 0xffff0000); + var i3 = (i2 << 16) | (i0 & 0x0000ffff); + + // Modify counter values + C[0] ^= i0; + C[1] ^= i1; + C[2] ^= i2; + C[3] ^= i3; + C[4] ^= i0; + C[5] ^= i1; + C[6] ^= i2; + C[7] ^= i3; + + // Iterate the system four times + for (var i = 0; i < 4; i++) { + nextState.call(this); + } + } + }, + + _doProcessBlock: function (M, offset) { + // Shortcut + var X = this._X; + + // Iterate the system + nextState.call(this); + + // Generate four keystream words + S[0] = X[0] ^ (X[5] >>> 16) ^ (X[3] << 16); + S[1] = X[2] ^ (X[7] >>> 16) ^ (X[5] << 16); + S[2] = X[4] ^ (X[1] >>> 16) ^ (X[7] << 16); + S[3] = X[6] ^ (X[3] >>> 16) ^ (X[1] << 16); + + for (var i = 0; i < 4; i++) { + // Swap endian + S[i] = (((S[i] << 8) | (S[i] >>> 24)) & 0x00ff00ff) | + (((S[i] << 24) | (S[i] >>> 8)) & 0xff00ff00); + + // Encrypt + M[offset + i] ^= S[i]; + } + }, + + blockSize: 128/32, + + ivSize: 64/32 + }); + + function nextState() { + // Shortcuts + var X = this._X; + var C = this._C; + + // Save old counter values + for (var i = 0; i < 8; i++) { + C_[i] = C[i]; + } + + // Calculate new counter values + C[0] = (C[0] + 0x4d34d34d + this._b) | 0; + C[1] = (C[1] + 0xd34d34d3 + ((C[0] >>> 0) < (C_[0] >>> 0) ? 1 : 0)) | 0; + C[2] = (C[2] + 0x34d34d34 + ((C[1] >>> 0) < (C_[1] >>> 0) ? 1 : 0)) | 0; + C[3] = (C[3] + 0x4d34d34d + ((C[2] >>> 0) < (C_[2] >>> 0) ? 1 : 0)) | 0; + C[4] = (C[4] + 0xd34d34d3 + ((C[3] >>> 0) < (C_[3] >>> 0) ? 1 : 0)) | 0; + C[5] = (C[5] + 0x34d34d34 + ((C[4] >>> 0) < (C_[4] >>> 0) ? 1 : 0)) | 0; + C[6] = (C[6] + 0x4d34d34d + ((C[5] >>> 0) < (C_[5] >>> 0) ? 1 : 0)) | 0; + C[7] = (C[7] + 0xd34d34d3 + ((C[6] >>> 0) < (C_[6] >>> 0) ? 1 : 0)) | 0; + this._b = (C[7] >>> 0) < (C_[7] >>> 0) ? 1 : 0; + + // Calculate the g-values + for (var i = 0; i < 8; i++) { + var gx = X[i] + C[i]; + + // Construct high and low argument for squaring + var ga = gx & 0xffff; + var gb = gx >>> 16; + + // Calculate high and low result of squaring + var gh = ((((ga * ga) >>> 17) + ga * gb) >>> 15) + gb * gb; + var gl = (((gx & 0xffff0000) * gx) | 0) + (((gx & 0x0000ffff) * gx) | 0); + + // High XOR low + G[i] = gh ^ gl; + } + + // Calculate new state values + X[0] = (G[0] + ((G[7] << 16) | (G[7] >>> 16)) + ((G[6] << 16) | (G[6] >>> 16))) | 0; + X[1] = (G[1] + ((G[0] << 8) | (G[0] >>> 24)) + G[7]) | 0; + X[2] = (G[2] + ((G[1] << 16) | (G[1] >>> 16)) + ((G[0] << 16) | (G[0] >>> 16))) | 0; + X[3] = (G[3] + ((G[2] << 8) | (G[2] >>> 24)) + G[1]) | 0; + X[4] = (G[4] + ((G[3] << 16) | (G[3] >>> 16)) + ((G[2] << 16) | (G[2] >>> 16))) | 0; + X[5] = (G[5] + ((G[4] << 8) | (G[4] >>> 24)) + G[3]) | 0; + X[6] = (G[6] + ((G[5] << 16) | (G[5] >>> 16)) + ((G[4] << 16) | (G[4] >>> 16))) | 0; + X[7] = (G[7] + ((G[6] << 8) | (G[6] >>> 24)) + G[5]) | 0; + } + + /** + * Shortcut functions to the cipher's object interface. + * + * @example + * + * var ciphertext = CryptoJS.Rabbit.encrypt(message, key, cfg); + * var plaintext = CryptoJS.Rabbit.decrypt(ciphertext, key, cfg); + */ + C.Rabbit = StreamCipher._createHelper(Rabbit); + }()); + + + return CryptoJS.Rabbit; + +})); + +/***/ }), +/* 682 */ +/***/ (function(module, exports, __webpack_require__) { + ;(function (root, factory, undef) { if (true) { // CommonJS @@ -236857,7 +236955,7 @@ var contract = (function(module) { })); /***/ }), -/* 682 */ +/* 683 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -237129,13 +237227,13 @@ var contract = (function(module) { })); /***/ }), -/* 683 */ +/* 684 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(5), __webpack_require__(308)); + module.exports = exports = factory(__webpack_require__(5), __webpack_require__(307)); } else if (typeof define === "function" && define.amd) { // AMD @@ -237214,13 +237312,13 @@ var contract = (function(module) { })); /***/ }), -/* 684 */ +/* 685 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(5), __webpack_require__(138), __webpack_require__(309)); + module.exports = exports = factory(__webpack_require__(5), __webpack_require__(139), __webpack_require__(308)); } else if (typeof define === "function" && define.amd) { // AMD @@ -237302,7 +237400,7 @@ var contract = (function(module) { })); /***/ }), -/* 685 */ +/* 686 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -238077,12 +238175,12 @@ var contract = (function(module) { })); /***/ }), -/* 686 */ +/* 687 */ /***/ (function(module, exports, __webpack_require__) { // TODO: remove web3 requirement // Call functions directly on the provider. -var Web3 = __webpack_require__(687); +var Web3 = __webpack_require__(688); var Blockchain = { parse: function(uri) { @@ -238144,10 +238242,10 @@ module.exports = Blockchain; /***/ }), -/* 687 */ +/* 688 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(697); +var Web3 = __webpack_require__(698); // dont override global variable if (typeof window !== 'undefined' && typeof window.Web3 === 'undefined') { @@ -238158,7 +238256,7 @@ module.exports = Web3; /***/ }), -/* 688 */ +/* 689 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238190,7 +238288,7 @@ module.exports = SolidityTypeAddress; /***/ }), -/* 689 */ +/* 690 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238222,7 +238320,7 @@ module.exports = SolidityTypeBool; /***/ }), -/* 690 */ +/* 691 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238257,7 +238355,7 @@ module.exports = SolidityTypeBytes; /***/ }), -/* 691 */ +/* 692 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238283,7 +238381,7 @@ module.exports = SolidityTypeDynamicBytes; /***/ }), -/* 692 */ +/* 693 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238321,7 +238419,7 @@ module.exports = SolidityTypeInt; /***/ }), -/* 693 */ +/* 694 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238359,7 +238457,7 @@ module.exports = SolidityTypeReal; /***/ }), -/* 694 */ +/* 695 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238385,7 +238483,7 @@ module.exports = SolidityTypeString; /***/ }), -/* 695 */ +/* 696 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238423,7 +238521,7 @@ module.exports = SolidityTypeUInt; /***/ }), -/* 696 */ +/* 697 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(37); @@ -238461,7 +238559,7 @@ module.exports = SolidityTypeUReal; /***/ }), -/* 697 */ +/* 698 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -238491,23 +238589,23 @@ module.exports = SolidityTypeUReal; * @date 2014 */ -var RequestManager = __webpack_require__(712); -var Iban = __webpack_require__(141); -var Eth = __webpack_require__(706); -var DB = __webpack_require__(705); -var Shh = __webpack_require__(709); -var Net = __webpack_require__(707); -var Personal = __webpack_require__(708); -var Swarm = __webpack_require__(710); -var Settings = __webpack_require__(713); +var RequestManager = __webpack_require__(713); +var Iban = __webpack_require__(142); +var Eth = __webpack_require__(707); +var DB = __webpack_require__(706); +var Shh = __webpack_require__(710); +var Net = __webpack_require__(708); +var Personal = __webpack_require__(709); +var Swarm = __webpack_require__(711); +var Settings = __webpack_require__(714); var version = __webpack_require__(460); var utils = __webpack_require__(15); var sha3 = __webpack_require__(108); -var extend = __webpack_require__(701); -var Batch = __webpack_require__(699); +var extend = __webpack_require__(702); +var Batch = __webpack_require__(700); var Property = __webpack_require__(89); -var HttpProvider = __webpack_require__(703); -var IpcProvider = __webpack_require__(704); +var HttpProvider = __webpack_require__(704); +var IpcProvider = __webpack_require__(705); var BigNumber = __webpack_require__(107); @@ -238617,7 +238715,7 @@ module.exports = Web3; /***/ }), -/* 698 */ +/* 699 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -238643,11 +238741,11 @@ module.exports = Web3; */ var sha3 = __webpack_require__(108); -var SolidityEvent = __webpack_require__(311); +var SolidityEvent = __webpack_require__(310); var formatters = __webpack_require__(45); var utils = __webpack_require__(15); -var Filter = __webpack_require__(140); -var watches = __webpack_require__(142); +var Filter = __webpack_require__(141); +var watches = __webpack_require__(143); var AllSolidityEvents = function (requestManager, json, address) { this._requestManager = requestManager; @@ -238711,7 +238809,7 @@ module.exports = AllSolidityEvents; /***/ }), -/* 699 */ +/* 700 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -238736,7 +238834,7 @@ module.exports = AllSolidityEvents; * @date 2015 */ -var Jsonrpc = __webpack_require__(312); +var Jsonrpc = __webpack_require__(311); var errors = __webpack_require__(109); var Batch = function (web3) { @@ -238783,7 +238881,7 @@ module.exports = Batch; /***/ }), -/* 700 */ +/* 701 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -238810,9 +238908,9 @@ module.exports = Batch; var utils = __webpack_require__(15); var coder = __webpack_require__(200); -var SolidityEvent = __webpack_require__(311); -var SolidityFunction = __webpack_require__(702); -var AllEvents = __webpack_require__(698); +var SolidityEvent = __webpack_require__(310); +var SolidityFunction = __webpack_require__(703); +var AllEvents = __webpack_require__(699); /** * Should be called to encode constructor params @@ -239099,7 +239197,7 @@ module.exports = ContractFactory; /***/ }), -/* 701 */ +/* 702 */ /***/ (function(module, exports, __webpack_require__) { var formatters = __webpack_require__(45); @@ -239153,7 +239251,7 @@ module.exports = extend; /***/ }), -/* 702 */ +/* 703 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -239421,7 +239519,7 @@ module.exports = SolidityFunction; /***/ }), -/* 703 */ +/* 704 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -239458,7 +239556,7 @@ if (typeof window !== 'undefined' && window.XMLHttpRequest) { XMLHttpRequest = window.XMLHttpRequest; // jshint ignore: line // node } else { - XMLHttpRequest = __webpack_require__(135).XMLHttpRequest; // jshint ignore: line + XMLHttpRequest = __webpack_require__(136).XMLHttpRequest; // jshint ignore: line } var XHR2 = __webpack_require__(252); // jshint ignore: line @@ -239580,7 +239678,7 @@ module.exports = HttpProvider; /***/ }), -/* 704 */ +/* 705 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -239794,7 +239892,7 @@ module.exports = IpcProvider; /***/ }), -/* 705 */ +/* 706 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -239866,7 +239964,7 @@ module.exports = DB; /***/ }), -/* 706 */ +/* 707 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -239899,14 +239997,14 @@ var formatters = __webpack_require__(45); var utils = __webpack_require__(15); var Method = __webpack_require__(72); var Property = __webpack_require__(89); -var c = __webpack_require__(139); -var Contract = __webpack_require__(700); -var watches = __webpack_require__(142); -var Filter = __webpack_require__(140); -var IsSyncing = __webpack_require__(714); -var namereg = __webpack_require__(711); -var Iban = __webpack_require__(141); -var transfer = __webpack_require__(715); +var c = __webpack_require__(140); +var Contract = __webpack_require__(701); +var watches = __webpack_require__(143); +var Filter = __webpack_require__(141); +var IsSyncing = __webpack_require__(715); +var namereg = __webpack_require__(712); +var Iban = __webpack_require__(142); +var transfer = __webpack_require__(716); var blockCall = function (args) { return (utils.isString(args[0]) && args[0].indexOf('0x') === 0) ? "eth_getBlockByHash" : "eth_getBlockByNumber"; @@ -240227,7 +240325,7 @@ module.exports = Eth; /***/ }), -/* 707 */ +/* 708 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -240285,7 +240383,7 @@ module.exports = Net; /***/ }), -/* 708 */ +/* 709 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -240385,7 +240483,7 @@ module.exports = Personal; /***/ }), -/* 709 */ +/* 710 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -240412,8 +240510,8 @@ module.exports = Personal; var Method = __webpack_require__(72); var formatters = __webpack_require__(45); -var Filter = __webpack_require__(140); -var watches = __webpack_require__(142); +var Filter = __webpack_require__(141); +var watches = __webpack_require__(143); var Shh = function (web3) { this._requestManager = web3._requestManager; @@ -240477,7 +240575,7 @@ module.exports = Shh; /***/ }), -/* 710 */ +/* 711 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -240629,7 +240727,7 @@ module.exports = Swarm; /***/ }), -/* 711 */ +/* 712 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -240674,7 +240772,7 @@ module.exports = { /***/ }), -/* 712 */ +/* 713 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -240703,9 +240801,9 @@ module.exports = { * @date 2014 */ -var Jsonrpc = __webpack_require__(312); +var Jsonrpc = __webpack_require__(311); var utils = __webpack_require__(15); -var c = __webpack_require__(139); +var c = __webpack_require__(140); var errors = __webpack_require__(109); /** @@ -240945,7 +241043,7 @@ module.exports = RequestManager; /***/ }), -/* 713 */ +/* 714 */ /***/ (function(module, exports) { @@ -240960,7 +241058,7 @@ module.exports = Settings; /***/ }), -/* 714 */ +/* 715 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -241059,7 +241157,7 @@ module.exports = IsSyncing; /***/ }), -/* 715 */ +/* 716 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -241084,7 +241182,7 @@ module.exports = IsSyncing; * @date 2015 */ -var Iban = __webpack_require__(141); +var Iban = __webpack_require__(142); var exchangeAbi = __webpack_require__(459); /** @@ -241157,10 +241255,10 @@ module.exports = transfer; /***/ }), -/* 716 */ +/* 717 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(726); +var Web3 = __webpack_require__(727); // dont override global variable if (typeof window !== 'undefined' && typeof window.Web3 === 'undefined') { @@ -241171,7 +241269,7 @@ module.exports = Web3; /***/ }), -/* 717 */ +/* 718 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241208,7 +241306,7 @@ module.exports = SolidityTypeAddress; /***/ }), -/* 718 */ +/* 719 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241244,7 +241342,7 @@ module.exports = SolidityTypeBool; /***/ }), -/* 719 */ +/* 720 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241288,7 +241386,7 @@ module.exports = SolidityTypeBytes; /***/ }), -/* 720 */ +/* 721 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241319,7 +241417,7 @@ module.exports = SolidityTypeDynamicBytes; /***/ }), -/* 721 */ +/* 722 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241361,7 +241459,7 @@ module.exports = SolidityTypeInt; /***/ }), -/* 722 */ +/* 723 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241403,7 +241501,7 @@ module.exports = SolidityTypeReal; /***/ }), -/* 723 */ +/* 724 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241434,7 +241532,7 @@ module.exports = SolidityTypeString; /***/ }), -/* 724 */ +/* 725 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241476,7 +241574,7 @@ module.exports = SolidityTypeUInt; /***/ }), -/* 725 */ +/* 726 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(38); @@ -241518,7 +241616,7 @@ module.exports = SolidityTypeUReal; /***/ }), -/* 726 */ +/* 727 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -241548,22 +241646,22 @@ module.exports = SolidityTypeUReal; * @date 2014 */ -var RequestManager = __webpack_require__(740); -var Iban = __webpack_require__(145); -var Eth = __webpack_require__(735); -var DB = __webpack_require__(734); -var Shh = __webpack_require__(738); -var Net = __webpack_require__(736); -var Personal = __webpack_require__(737); -var Settings = __webpack_require__(741); +var RequestManager = __webpack_require__(741); +var Iban = __webpack_require__(146); +var Eth = __webpack_require__(736); +var DB = __webpack_require__(735); +var Shh = __webpack_require__(739); +var Net = __webpack_require__(737); +var Personal = __webpack_require__(738); +var Settings = __webpack_require__(742); var version = __webpack_require__(464); var utils = __webpack_require__(16); var sha3 = __webpack_require__(110); -var extend = __webpack_require__(730); -var Batch = __webpack_require__(728); +var extend = __webpack_require__(731); +var Batch = __webpack_require__(729); var Property = __webpack_require__(112); -var HttpProvider = __webpack_require__(732); -var IpcProvider = __webpack_require__(733); +var HttpProvider = __webpack_require__(733); +var IpcProvider = __webpack_require__(734); @@ -241670,7 +241768,7 @@ module.exports = Web3; /***/ }), -/* 727 */ +/* 728 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -241696,11 +241794,11 @@ module.exports = Web3; */ var sha3 = __webpack_require__(110); -var SolidityEvent = __webpack_require__(314); +var SolidityEvent = __webpack_require__(313); var formatters = __webpack_require__(47); var utils = __webpack_require__(16); -var Filter = __webpack_require__(144); -var watches = __webpack_require__(146); +var Filter = __webpack_require__(145); +var watches = __webpack_require__(147); var AllSolidityEvents = function (requestManager, json, address) { this._requestManager = requestManager; @@ -241764,7 +241862,7 @@ module.exports = AllSolidityEvents; /***/ }), -/* 728 */ +/* 729 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -241789,7 +241887,7 @@ module.exports = AllSolidityEvents; * @date 2015 */ -var Jsonrpc = __webpack_require__(315); +var Jsonrpc = __webpack_require__(314); var errors = __webpack_require__(111); var Batch = function (web3) { @@ -241836,7 +241934,7 @@ module.exports = Batch; /***/ }), -/* 729 */ +/* 730 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -241863,9 +241961,9 @@ module.exports = Batch; var utils = __webpack_require__(16); var coder = __webpack_require__(201); -var SolidityEvent = __webpack_require__(314); -var SolidityFunction = __webpack_require__(731); -var AllEvents = __webpack_require__(727); +var SolidityEvent = __webpack_require__(313); +var SolidityFunction = __webpack_require__(732); +var AllEvents = __webpack_require__(728); /** * Should be called to encode constructor params @@ -242140,7 +242238,7 @@ module.exports = ContractFactory; /***/ }), -/* 730 */ +/* 731 */ /***/ (function(module, exports, __webpack_require__) { var formatters = __webpack_require__(47); @@ -242194,7 +242292,7 @@ module.exports = extend; /***/ }), -/* 731 */ +/* 732 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -242447,7 +242545,7 @@ module.exports = SolidityFunction; /***/ }), -/* 732 */ +/* 733 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -242492,7 +242590,7 @@ if (typeof Meteor !== 'undefined' && Meteor.isServer) { // jshint ignore: line // node } else { - XMLHttpRequest = __webpack_require__(135).XMLHttpRequest; // jshint ignore: line + XMLHttpRequest = __webpack_require__(136).XMLHttpRequest; // jshint ignore: line } /** @@ -242600,7 +242698,7 @@ module.exports = HttpProvider; /***/ }), -/* 733 */ +/* 734 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -242814,7 +242912,7 @@ module.exports = IpcProvider; /***/ }), -/* 734 */ +/* 735 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -242886,7 +242984,7 @@ module.exports = DB; /***/ }), -/* 735 */ +/* 736 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -242919,14 +243017,14 @@ var formatters = __webpack_require__(47); var utils = __webpack_require__(16); var Method = __webpack_require__(90); var Property = __webpack_require__(112); -var c = __webpack_require__(143); -var Contract = __webpack_require__(729); -var watches = __webpack_require__(146); -var Filter = __webpack_require__(144); -var IsSyncing = __webpack_require__(742); -var namereg = __webpack_require__(739); -var Iban = __webpack_require__(145); -var transfer = __webpack_require__(743); +var c = __webpack_require__(144); +var Contract = __webpack_require__(730); +var watches = __webpack_require__(147); +var Filter = __webpack_require__(145); +var IsSyncing = __webpack_require__(743); +var namereg = __webpack_require__(740); +var Iban = __webpack_require__(146); +var transfer = __webpack_require__(744); var blockCall = function (args) { return (utils.isString(args[0]) && args[0].indexOf('0x') === 0) ? "eth_getBlockByHash" : "eth_getBlockByNumber"; @@ -243236,7 +243334,7 @@ module.exports = Eth; /***/ }), -/* 736 */ +/* 737 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -243294,7 +243392,7 @@ module.exports = Net; /***/ }), -/* 737 */ +/* 738 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -243386,7 +243484,7 @@ module.exports = Personal; /***/ }), -/* 738 */ +/* 739 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -243413,8 +243511,8 @@ module.exports = Personal; var Method = __webpack_require__(90); var formatters = __webpack_require__(47); -var Filter = __webpack_require__(144); -var watches = __webpack_require__(146); +var Filter = __webpack_require__(145); +var watches = __webpack_require__(147); var Shh = function (web3) { this._requestManager = web3._requestManager; @@ -243478,7 +243576,7 @@ module.exports = Shh; /***/ }), -/* 739 */ +/* 740 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -243523,7 +243621,7 @@ module.exports = { /***/ }), -/* 740 */ +/* 741 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -243552,9 +243650,9 @@ module.exports = { * @date 2014 */ -var Jsonrpc = __webpack_require__(315); +var Jsonrpc = __webpack_require__(314); var utils = __webpack_require__(16); -var c = __webpack_require__(143); +var c = __webpack_require__(144); var errors = __webpack_require__(111); /** @@ -243794,7 +243892,7 @@ module.exports = RequestManager; /***/ }), -/* 741 */ +/* 742 */ /***/ (function(module, exports) { @@ -243809,7 +243907,7 @@ module.exports = Settings; /***/ }), -/* 742 */ +/* 743 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -243908,7 +244006,7 @@ module.exports = IsSyncing; /***/ }), -/* 743 */ +/* 744 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -243933,7 +244031,7 @@ module.exports = IsSyncing; * @date 2015 */ -var Iban = __webpack_require__(145); +var Iban = __webpack_require__(146); var exchangeAbi = __webpack_require__(463); /** @@ -244006,10 +244104,10 @@ module.exports = transfer; /***/ }), -/* 744 */ +/* 745 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(754); +var Web3 = __webpack_require__(755); // dont override global variable if (typeof window !== 'undefined' && typeof window.Web3 === 'undefined') { @@ -244020,7 +244118,7 @@ module.exports = Web3; /***/ }), -/* 745 */ +/* 746 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244052,7 +244150,7 @@ module.exports = SolidityTypeAddress; /***/ }), -/* 746 */ +/* 747 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244084,7 +244182,7 @@ module.exports = SolidityTypeBool; /***/ }), -/* 747 */ +/* 748 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244119,7 +244217,7 @@ module.exports = SolidityTypeBytes; /***/ }), -/* 748 */ +/* 749 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244145,7 +244243,7 @@ module.exports = SolidityTypeDynamicBytes; /***/ }), -/* 749 */ +/* 750 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244183,7 +244281,7 @@ module.exports = SolidityTypeInt; /***/ }), -/* 750 */ +/* 751 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244221,7 +244319,7 @@ module.exports = SolidityTypeReal; /***/ }), -/* 751 */ +/* 752 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244247,7 +244345,7 @@ module.exports = SolidityTypeString; /***/ }), -/* 752 */ +/* 753 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244285,7 +244383,7 @@ module.exports = SolidityTypeUInt; /***/ }), -/* 753 */ +/* 754 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(39); @@ -244323,7 +244421,7 @@ module.exports = SolidityTypeUReal; /***/ }), -/* 754 */ +/* 755 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -244353,23 +244451,23 @@ module.exports = SolidityTypeUReal; * @date 2014 */ -var RequestManager = __webpack_require__(769); -var Iban = __webpack_require__(150); -var Eth = __webpack_require__(763); -var DB = __webpack_require__(762); -var Shh = __webpack_require__(766); -var Net = __webpack_require__(764); -var Personal = __webpack_require__(765); -var Swarm = __webpack_require__(767); -var Settings = __webpack_require__(770); +var RequestManager = __webpack_require__(770); +var Iban = __webpack_require__(151); +var Eth = __webpack_require__(764); +var DB = __webpack_require__(763); +var Shh = __webpack_require__(767); +var Net = __webpack_require__(765); +var Personal = __webpack_require__(766); +var Swarm = __webpack_require__(768); +var Settings = __webpack_require__(771); var version = __webpack_require__(468); var utils = __webpack_require__(17); var sha3 = __webpack_require__(113); -var extend = __webpack_require__(758); -var Batch = __webpack_require__(756); +var extend = __webpack_require__(759); +var Batch = __webpack_require__(757); var Property = __webpack_require__(91); -var HttpProvider = __webpack_require__(760); -var IpcProvider = __webpack_require__(761); +var HttpProvider = __webpack_require__(761); +var IpcProvider = __webpack_require__(762); var BigNumber = __webpack_require__(115); @@ -244479,7 +244577,7 @@ module.exports = Web3; /***/ }), -/* 755 */ +/* 756 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -244505,11 +244603,11 @@ module.exports = Web3; */ var sha3 = __webpack_require__(113); -var SolidityEvent = __webpack_require__(317); +var SolidityEvent = __webpack_require__(316); var formatters = __webpack_require__(49); var utils = __webpack_require__(17); -var Filter = __webpack_require__(149); -var watches = __webpack_require__(151); +var Filter = __webpack_require__(150); +var watches = __webpack_require__(152); var AllSolidityEvents = function (requestManager, json, address) { this._requestManager = requestManager; @@ -244573,7 +244671,7 @@ module.exports = AllSolidityEvents; /***/ }), -/* 756 */ +/* 757 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -244598,7 +244696,7 @@ module.exports = AllSolidityEvents; * @date 2015 */ -var Jsonrpc = __webpack_require__(318); +var Jsonrpc = __webpack_require__(317); var errors = __webpack_require__(114); var Batch = function (web3) { @@ -244645,7 +244743,7 @@ module.exports = Batch; /***/ }), -/* 757 */ +/* 758 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -244672,9 +244770,9 @@ module.exports = Batch; var utils = __webpack_require__(17); var coder = __webpack_require__(202); -var SolidityEvent = __webpack_require__(317); -var SolidityFunction = __webpack_require__(759); -var AllEvents = __webpack_require__(755); +var SolidityEvent = __webpack_require__(316); +var SolidityFunction = __webpack_require__(760); +var AllEvents = __webpack_require__(756); /** * Should be called to encode constructor params @@ -244961,7 +245059,7 @@ module.exports = ContractFactory; /***/ }), -/* 758 */ +/* 759 */ /***/ (function(module, exports, __webpack_require__) { var formatters = __webpack_require__(49); @@ -245015,7 +245113,7 @@ module.exports = extend; /***/ }), -/* 759 */ +/* 760 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -245283,7 +245381,7 @@ module.exports = SolidityFunction; /***/ }), -/* 760 */ +/* 761 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -245320,7 +245418,7 @@ if (typeof window !== 'undefined' && window.XMLHttpRequest) { XMLHttpRequest = window.XMLHttpRequest; // jshint ignore: line // node } else { - XMLHttpRequest = __webpack_require__(135).XMLHttpRequest; // jshint ignore: line + XMLHttpRequest = __webpack_require__(136).XMLHttpRequest; // jshint ignore: line } var XHR2 = __webpack_require__(252); // jshint ignore: line @@ -245442,7 +245540,7 @@ module.exports = HttpProvider; /***/ }), -/* 761 */ +/* 762 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -245656,7 +245754,7 @@ module.exports = IpcProvider; /***/ }), -/* 762 */ +/* 763 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -245728,7 +245826,7 @@ module.exports = DB; /***/ }), -/* 763 */ +/* 764 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -245761,14 +245859,14 @@ var formatters = __webpack_require__(49); var utils = __webpack_require__(17); var Method = __webpack_require__(73); var Property = __webpack_require__(91); -var c = __webpack_require__(148); -var Contract = __webpack_require__(757); -var watches = __webpack_require__(151); -var Filter = __webpack_require__(149); -var IsSyncing = __webpack_require__(771); -var namereg = __webpack_require__(768); -var Iban = __webpack_require__(150); -var transfer = __webpack_require__(772); +var c = __webpack_require__(149); +var Contract = __webpack_require__(758); +var watches = __webpack_require__(152); +var Filter = __webpack_require__(150); +var IsSyncing = __webpack_require__(772); +var namereg = __webpack_require__(769); +var Iban = __webpack_require__(151); +var transfer = __webpack_require__(773); var blockCall = function (args) { return (utils.isString(args[0]) && args[0].indexOf('0x') === 0) ? "eth_getBlockByHash" : "eth_getBlockByNumber"; @@ -246089,7 +246187,7 @@ module.exports = Eth; /***/ }), -/* 764 */ +/* 765 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -246147,7 +246245,7 @@ module.exports = Net; /***/ }), -/* 765 */ +/* 766 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -246247,7 +246345,7 @@ module.exports = Personal; /***/ }), -/* 766 */ +/* 767 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -246274,8 +246372,8 @@ module.exports = Personal; var Method = __webpack_require__(73); var formatters = __webpack_require__(49); -var Filter = __webpack_require__(149); -var watches = __webpack_require__(151); +var Filter = __webpack_require__(150); +var watches = __webpack_require__(152); var Shh = function (web3) { this._requestManager = web3._requestManager; @@ -246339,7 +246437,7 @@ module.exports = Shh; /***/ }), -/* 767 */ +/* 768 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -246491,7 +246589,7 @@ module.exports = Swarm; /***/ }), -/* 768 */ +/* 769 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -246536,7 +246634,7 @@ module.exports = { /***/ }), -/* 769 */ +/* 770 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -246565,9 +246663,9 @@ module.exports = { * @date 2014 */ -var Jsonrpc = __webpack_require__(318); +var Jsonrpc = __webpack_require__(317); var utils = __webpack_require__(17); -var c = __webpack_require__(148); +var c = __webpack_require__(149); var errors = __webpack_require__(114); /** @@ -246807,7 +246905,7 @@ module.exports = RequestManager; /***/ }), -/* 770 */ +/* 771 */ /***/ (function(module, exports) { @@ -246822,7 +246920,7 @@ module.exports = Settings; /***/ }), -/* 771 */ +/* 772 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -246921,7 +247019,7 @@ module.exports = IsSyncing; /***/ }), -/* 772 */ +/* 773 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -246946,7 +247044,7 @@ module.exports = IsSyncing; * @date 2015 */ -var Iban = __webpack_require__(150); +var Iban = __webpack_require__(151); var exchangeAbi = __webpack_require__(467); /** @@ -247019,7 +247117,7 @@ module.exports = transfer; /***/ }), -/* 773 */ +/* 774 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247256,7 +247354,7 @@ module.exports = transfer; })); /***/ }), -/* 774 */ +/* 775 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -247410,7 +247508,7 @@ module.exports = transfer; })); /***/ }), -/* 775 */ +/* 776 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247481,13 +247579,13 @@ module.exports = transfer; })); /***/ }), -/* 776 */ +/* 777 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(6), __webpack_require__(152), __webpack_require__(777), __webpack_require__(774), __webpack_require__(92), __webpack_require__(94), __webpack_require__(204), __webpack_require__(319), __webpack_require__(793), __webpack_require__(321), __webpack_require__(794), __webpack_require__(320), __webpack_require__(792), __webpack_require__(203), __webpack_require__(788), __webpack_require__(93), __webpack_require__(18), __webpack_require__(778), __webpack_require__(780), __webpack_require__(779), __webpack_require__(782), __webpack_require__(781), __webpack_require__(783), __webpack_require__(784), __webpack_require__(785), __webpack_require__(787), __webpack_require__(786), __webpack_require__(775), __webpack_require__(773), __webpack_require__(795), __webpack_require__(791), __webpack_require__(790), __webpack_require__(789)); + module.exports = exports = factory(__webpack_require__(6), __webpack_require__(153), __webpack_require__(778), __webpack_require__(775), __webpack_require__(92), __webpack_require__(94), __webpack_require__(204), __webpack_require__(318), __webpack_require__(794), __webpack_require__(320), __webpack_require__(795), __webpack_require__(319), __webpack_require__(793), __webpack_require__(203), __webpack_require__(789), __webpack_require__(93), __webpack_require__(18), __webpack_require__(779), __webpack_require__(781), __webpack_require__(780), __webpack_require__(783), __webpack_require__(782), __webpack_require__(784), __webpack_require__(785), __webpack_require__(786), __webpack_require__(788), __webpack_require__(787), __webpack_require__(776), __webpack_require__(774), __webpack_require__(796), __webpack_require__(792), __webpack_require__(791), __webpack_require__(790)); } else if (typeof define === "function" && define.amd) { // AMD @@ -247504,7 +247602,7 @@ module.exports = transfer; })); /***/ }), -/* 777 */ +/* 778 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -247585,7 +247683,7 @@ module.exports = transfer; })); /***/ }), -/* 778 */ +/* 779 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247668,7 +247766,7 @@ module.exports = transfer; })); /***/ }), -/* 779 */ +/* 780 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247789,7 +247887,7 @@ module.exports = transfer; })); /***/ }), -/* 780 */ +/* 781 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247852,7 +247950,7 @@ module.exports = transfer; })); /***/ }), -/* 781 */ +/* 782 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247897,7 +247995,7 @@ module.exports = transfer; })); /***/ }), -/* 782 */ +/* 783 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -247956,7 +248054,7 @@ module.exports = transfer; })); /***/ }), -/* 783 */ +/* 784 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248010,7 +248108,7 @@ module.exports = transfer; })); /***/ }), -/* 784 */ +/* 785 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248059,7 +248157,7 @@ module.exports = transfer; })); /***/ }), -/* 785 */ +/* 786 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248104,7 +248202,7 @@ module.exports = transfer; })); /***/ }), -/* 786 */ +/* 787 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248139,7 +248237,7 @@ module.exports = transfer; })); /***/ }), -/* 787 */ +/* 788 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248189,7 +248287,7 @@ module.exports = transfer; })); /***/ }), -/* 788 */ +/* 789 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248339,7 +248437,7 @@ module.exports = transfer; })); /***/ }), -/* 789 */ +/* 790 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248534,7 +248632,7 @@ module.exports = transfer; })); /***/ }), -/* 790 */ +/* 791 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248731,7 +248829,7 @@ module.exports = transfer; })); /***/ }), -/* 791 */ +/* 792 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -248875,7 +248973,7 @@ module.exports = transfer; })); /***/ }), -/* 792 */ +/* 793 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -249147,13 +249245,13 @@ module.exports = transfer; })); /***/ }), -/* 793 */ +/* 794 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(6), __webpack_require__(319)); + module.exports = exports = factory(__webpack_require__(6), __webpack_require__(318)); } else if (typeof define === "function" && define.amd) { // AMD @@ -249232,13 +249330,13 @@ module.exports = transfer; })); /***/ }), -/* 794 */ +/* 795 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(6), __webpack_require__(152), __webpack_require__(321)); + module.exports = exports = factory(__webpack_require__(6), __webpack_require__(153), __webpack_require__(320)); } else if (typeof define === "function" && define.amd) { // AMD @@ -249320,7 +249418,7 @@ module.exports = transfer; })); /***/ }), -/* 795 */ +/* 796 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { @@ -250095,18 +250193,18 @@ module.exports = transfer; })); /***/ }), -/* 796 */ +/* 797 */ /***/ (function(module, exports, __webpack_require__) { -var Preflight = __webpack_require__(326); -var Installer = __webpack_require__(798); -var Publisher = __webpack_require__(801); -var IPFSHost = __webpack_require__(323); -var IPFSHostWithLocalReader = __webpack_require__(797); -var MemoryRegistry = __webpack_require__(802); -var Config = __webpack_require__(322); +var Preflight = __webpack_require__(325); +var Installer = __webpack_require__(799); +var Publisher = __webpack_require__(802); +var IPFSHost = __webpack_require__(322); +var IPFSHostWithLocalReader = __webpack_require__(798); +var MemoryRegistry = __webpack_require__(803); +var Config = __webpack_require__(321); var promisify = __webpack_require__(228); -var fs = promisify(__webpack_require__(153)); +var fs = promisify(__webpack_require__(154)); var path = __webpack_require__(0); var _ = __webpack_require__(29); @@ -250184,12 +250282,12 @@ module.exports = EthPM; /***/ }), -/* 797 */ +/* 798 */ /***/ (function(module, exports, __webpack_require__) { var wget = __webpack_require__(442); var inherits = __webpack_require__(3).inherits; -var IPFSHost = __webpack_require__(323); +var IPFSHost = __webpack_require__(322); inherits(IPFSHostWithLocalReader, IPFSHost); @@ -250238,18 +250336,18 @@ module.exports = IPFSHostWithLocalReader; /***/ }), -/* 798 */ +/* 799 */ /***/ (function(module, exports, __webpack_require__) { var promisify = __webpack_require__(228); -var fs = promisify(__webpack_require__(153)); +var fs = promisify(__webpack_require__(154)); var path = __webpack_require__(0); -var Manifest = __webpack_require__(325); -var Lockfile = __webpack_require__(324); -var Preflight = __webpack_require__(326); -var Sources = __webpack_require__(327); -var Config = __webpack_require__(322); -var Util = __webpack_require__(328); +var Manifest = __webpack_require__(324); +var Lockfile = __webpack_require__(323); +var Preflight = __webpack_require__(325); +var Sources = __webpack_require__(326); +var Config = __webpack_require__(321); +var Util = __webpack_require__(327); function Installer(config, destination) { this.config = config; @@ -250372,11 +250470,11 @@ module.exports = Installer; /***/ }), -/* 799 */ +/* 800 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(29); -var validate = __webpack_require__(924).validate; +var validate = __webpack_require__(928).validate; var lockfile_spec = __webpack_require__(469); var V1 = { @@ -250426,7 +250524,7 @@ module.exports = V1; /***/ }), -/* 800 */ +/* 801 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(29); @@ -250479,15 +250577,15 @@ module.exports = V1; /***/ }), -/* 801 */ +/* 802 */ /***/ (function(module, exports, __webpack_require__) { -var Manifest = __webpack_require__(325); -var Lockfile = __webpack_require__(324); -var Sources = __webpack_require__(327); +var Manifest = __webpack_require__(324); +var Lockfile = __webpack_require__(323); +var Sources = __webpack_require__(326); var path = __webpack_require__(0); var promisify = __webpack_require__(228); -var fs = promisify(__webpack_require__(153)); +var fs = promisify(__webpack_require__(154)); function Publisher(registry, host, contract_types, deployments) { this.registry = registry; @@ -250609,7 +250707,7 @@ module.exports = Publisher; /***/ }), -/* 802 */ +/* 803 */ /***/ (function(module, exports, __webpack_require__) { var semver = __webpack_require__(231); @@ -250676,7 +250774,7 @@ module.exports = MemoryRegistry; /***/ }), -/* 803 */ +/* 804 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -250724,12 +250822,12 @@ module.exports = copyFileSync /***/ }), -/* 804 */ +/* 805 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var copyFileSync = __webpack_require__(803) +var copyFileSync = __webpack_require__(804) var mkdir = __webpack_require__(40) function copySync (src, dest, options) { @@ -250786,21 +250884,21 @@ module.exports = copySync /***/ }), -/* 805 */ +/* 806 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - copySync: __webpack_require__(804) + copySync: __webpack_require__(805) } /***/ }), -/* 806 */ +/* 807 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var ncp = __webpack_require__(329) +var ncp = __webpack_require__(328) var mkdir = __webpack_require__(40) function copy (src, dest, options, callback) { @@ -250851,16 +250949,16 @@ module.exports = copy /***/ }), -/* 807 */ +/* 808 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - copy: __webpack_require__(806) + copy: __webpack_require__(807) } /***/ }), -/* 808 */ +/* 809 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1) @@ -250913,7 +251011,7 @@ module.exports = { /***/ }), -/* 809 */ +/* 810 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -250962,12 +251060,12 @@ module.exports = { /***/ }), -/* 810 */ +/* 811 */ /***/ (function(module, exports, __webpack_require__) { -var file = __webpack_require__(809) -var link = __webpack_require__(811) -var symlink = __webpack_require__(814) +var file = __webpack_require__(810) +var link = __webpack_require__(812) +var symlink = __webpack_require__(815) module.exports = { // file @@ -250989,7 +251087,7 @@ module.exports = { /***/ }), -/* 811 */ +/* 812 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -251053,7 +251151,7 @@ module.exports = { /***/ }), -/* 812 */ +/* 813 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -251155,7 +251253,7 @@ module.exports = { /***/ }), -/* 813 */ +/* 814 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -251188,7 +251286,7 @@ module.exports = { /***/ }), -/* 814 */ +/* 815 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -251197,11 +251295,11 @@ var _mkdirs = __webpack_require__(40) var mkdirs = _mkdirs.mkdirs var mkdirsSync = _mkdirs.mkdirsSync -var _symlinkPaths = __webpack_require__(812) +var _symlinkPaths = __webpack_require__(813) var symlinkPaths = _symlinkPaths.symlinkPaths var symlinkPathsSync = _symlinkPaths.symlinkPathsSync -var _symlinkType = __webpack_require__(813) +var _symlinkType = __webpack_require__(814) var symlinkType = _symlinkType.symlinkType var symlinkTypeSync = _symlinkType.symlinkTypeSync @@ -251256,22 +251354,22 @@ module.exports = { /***/ }), -/* 815 */ +/* 816 */ /***/ (function(module, exports, __webpack_require__) { var jsonFile = __webpack_require__(205) -jsonFile.outputJsonSync = __webpack_require__(330) -jsonFile.outputJson = __webpack_require__(331) +jsonFile.outputJsonSync = __webpack_require__(329) +jsonFile.outputJson = __webpack_require__(330) // aliases -jsonFile.outputJSONSync = __webpack_require__(330) -jsonFile.outputJSON = __webpack_require__(331) +jsonFile.outputJSONSync = __webpack_require__(329) +jsonFile.outputJSON = __webpack_require__(330) module.exports = jsonFile /***/ }), -/* 816 */ +/* 817 */ /***/ (function(module, exports, __webpack_require__) { // most of this code was written by Andrew Kelley @@ -251281,7 +251379,7 @@ module.exports = jsonFile // this needs a cleanup var fs = __webpack_require__(2) -var ncp = __webpack_require__(329) +var ncp = __webpack_require__(328) var path = __webpack_require__(0) var remove = __webpack_require__(208).remove var mkdirp = __webpack_require__(40).mkdirs @@ -251438,7 +251536,7 @@ module.exports = { /***/ }), -/* 817 */ +/* 818 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -251479,7 +251577,7 @@ module.exports = { /***/ }), -/* 818 */ +/* 819 */ /***/ (function(module, exports, __webpack_require__) { module.exports = rimraf @@ -251786,7 +251884,7 @@ function rmkidsSync (p, options) { /***/ }), -/* 819 */ +/* 820 */ /***/ (function(module, exports) { // simple mutable assign @@ -251806,7 +251904,7 @@ module.exports = assign /***/ }), -/* 820 */ +/* 821 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -251882,7 +251980,7 @@ module.exports = { /***/ }), -/* 821 */ +/* 822 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -251908,7 +252006,7 @@ module.exports = { /***/ }), -/* 822 */ +/* 823 */ /***/ (function(module, exports, __webpack_require__) { var klaw = __webpack_require__(356) @@ -251919,7 +252017,7 @@ module.exports = { /***/ }), -/* 823 */ +/* 824 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -251932,7 +252030,7 @@ module.exports = { -var isPosixBracket = __webpack_require__(914); +var isPosixBracket = __webpack_require__(918); /** * POSIX character classes @@ -252089,7 +252187,7 @@ brackets.match = function(arr, pattern) { /***/ }), -/* 824 */ +/* 825 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -252102,7 +252200,7 @@ brackets.match = function(arr, pattern) { -var fill = __webpack_require__(828); +var fill = __webpack_require__(829); module.exports = function expandRange(str, options, fn) { if (typeof str !== 'string') { @@ -252139,7 +252237,7 @@ module.exports = function expandRange(str, options, fn) { /***/ }), -/* 825 */ +/* 826 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -252156,7 +252254,7 @@ module.exports = function expandRange(str, options, fn) { * Module dependencies */ -var isExtglob = __webpack_require__(826); +var isExtglob = __webpack_require__(827); var re, cache = {}; /** @@ -252324,7 +252422,7 @@ function toRegex(pattern, contains, isNegated) { /***/ }), -/* 826 */ +/* 827 */ /***/ (function(module, exports) { /*! @@ -252341,7 +252439,7 @@ module.exports = function isExtglob(str) { /***/ }), -/* 827 */ +/* 828 */ /***/ (function(module, exports) { /*! @@ -252357,7 +252455,7 @@ module.exports = function filenameRegex() { /***/ }), -/* 828 */ +/* 829 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -252370,10 +252468,10 @@ module.exports = function filenameRegex() { -var isObject = __webpack_require__(918); -var isNumber = __webpack_require__(910); -var randomize = __webpack_require__(1025); -var repeatStr = __webpack_require__(1038); +var isObject = __webpack_require__(922); +var isNumber = __webpack_require__(914); +var randomize = __webpack_require__(1030); +var repeatStr = __webpack_require__(1043); var repeat = __webpack_require__(382); /** @@ -252772,7 +252870,7 @@ function length(val) { /***/ }), -/* 829 */ +/* 830 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -252789,11 +252887,11 @@ function length(val) { * @private */ -var debug = __webpack_require__(831)('finalhandler') +var debug = __webpack_require__(832)('finalhandler') var escapeHtml = __webpack_require__(196) var http = __webpack_require__(30) var onFinished = __webpack_require__(368) -var unpipe = __webpack_require__(1185) +var unpipe = __webpack_require__(1190) /** * Module variables. @@ -252930,7 +253028,7 @@ function send(req, res, status, body) { /***/ }), -/* 830 */ +/* 831 */ /***/ (function(module, exports, __webpack_require__) { @@ -252946,7 +253044,7 @@ exports.coerce = coerce; exports.disable = disable; exports.enable = enable; exports.enabled = enabled; -exports.humanize = __webpack_require__(832); +exports.humanize = __webpack_require__(833); /** * The currently active debug mode names, and names to skip. @@ -253133,7 +253231,7 @@ function coerce(val) { /***/ }), -/* 831 */ +/* 832 */ /***/ (function(module, exports, __webpack_require__) { @@ -253150,7 +253248,7 @@ var util = __webpack_require__(3); * Expose `debug()` as the module. */ -exports = module.exports = __webpack_require__(830); +exports = module.exports = __webpack_require__(831); exports.log = log; exports.formatArgs = formatArgs; exports.save = save; @@ -253348,7 +253446,7 @@ exports.enable(load()); /***/ }), -/* 832 */ +/* 833 */ /***/ (function(module, exports) { /** @@ -253479,13 +253577,13 @@ function plural(ms, n, name) { /***/ }), -/* 833 */ +/* 834 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var path = __webpack_require__(0); -var pathExists = __webpack_require__(1003); +var pathExists = __webpack_require__(1008); var Promise = __webpack_require__(99); function splitPath(x) { @@ -253539,7 +253637,7 @@ module.exports.sync = function (filename, opts) { /***/ }), -/* 834 */ +/* 835 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -253562,7 +253660,7 @@ module.exports = function forIn(obj, fn, thisArg) { /***/ }), -/* 835 */ +/* 836 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -253575,7 +253673,7 @@ module.exports = function forIn(obj, fn, thisArg) { -var forIn = __webpack_require__(834); +var forIn = __webpack_require__(835); var hasOwn = Object.prototype.hasOwnProperty; module.exports = function forOwn(obj, fn, thisArg) { @@ -253588,7 +253686,7 @@ module.exports = function forOwn(obj, fn, thisArg) { /***/ }), -/* 836 */ +/* 837 */ /***/ (function(module, exports, __webpack_require__) { module.exports = ForeverAgent @@ -253732,7 +253830,7 @@ function createConnectionSSL (port, host, options) { /***/ }), -/* 837 */ +/* 838 */ /***/ (function(module, exports, __webpack_require__) { var CombinedStream = __webpack_require__(292); @@ -253744,7 +253842,7 @@ var parseUrl = __webpack_require__(9).parse; var fs = __webpack_require__(1); var mime = __webpack_require__(364); var asynckit = __webpack_require__(563); -var populate = __webpack_require__(838); +var populate = __webpack_require__(839); // Public API module.exports = FormData; @@ -254195,7 +254293,7 @@ FormData.prototype.toString = function () { /***/ }), -/* 838 */ +/* 839 */ /***/ (function(module, exports) { // populates missing values @@ -254211,7 +254309,7 @@ module.exports = function(dst, src) { /***/ }), -/* 839 */ +/* 840 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -254355,7 +254453,7 @@ function parseTokenList (str) { /***/ }), -/* 840 */ +/* 841 */ /***/ (function(module, exports, __webpack_require__) { // Copyright Joyent, Inc. and other Node contributors. @@ -254664,7 +254762,7 @@ exports.realpath = function realpath(p, cache, cb) { /***/ }), -/* 841 */ +/* 842 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -254691,16 +254789,16 @@ module.exports = function getCallerFile(_position) { /***/ }), -/* 842 */ +/* 843 */ /***/ (function(module, exports, __webpack_require__) { -var EventEmitter = __webpack_require__(24).EventEmitter +var EventEmitter = __webpack_require__(21).EventEmitter var vcsurl = __webpack_require__(438) var request = __webpack_require__(383) var path = __webpack_require__(0) -var fs = __webpack_require__(337) +var fs = __webpack_require__(336) var util = __webpack_require__(3) -var extractZip = __webpack_require__(843).extractZip +var extractZip = __webpack_require__(844).extractZip var cwd = process.cwd() function GithubDownloader (user, repo, ref, dir) { @@ -254841,11 +254939,11 @@ function generateTempDir () { /***/ }), -/* 843 */ +/* 844 */ /***/ (function(module, exports, __webpack_require__) { var AdmZip = __webpack_require__(497) -var fs = __webpack_require__(337) +var fs = __webpack_require__(336) var path = __webpack_require__(0) // using 'this' here is weird, TODO: improve @@ -254876,7 +254974,7 @@ module.exports = { /***/ }), -/* 844 */ +/* 845 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -254916,12 +255014,12 @@ module.exports = copyFileSync /***/ }), -/* 845 */ +/* 846 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var copyFileSync = __webpack_require__(844) +var copyFileSync = __webpack_require__(845) var mkdir = __webpack_require__(33) function copySync (src, dest, options) { @@ -254969,21 +255067,21 @@ module.exports = copySync /***/ }), -/* 846 */ +/* 847 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - copySync: __webpack_require__(845) + copySync: __webpack_require__(846) } /***/ }), -/* 847 */ +/* 848 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var ncp = __webpack_require__(336) +var ncp = __webpack_require__(335) var mkdir = __webpack_require__(33) function copy (src, dest, options, callback) { @@ -255021,22 +255119,22 @@ module.exports = copy /***/ }), -/* 848 */ +/* 849 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - copy: __webpack_require__(847) + copy: __webpack_require__(848) } /***/ }), -/* 849 */ +/* 850 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1) var path = __webpack_require__(0) var mkdir = __webpack_require__(33) -var remove = __webpack_require__(340) +var remove = __webpack_require__(339) function emptyDir (dir, callback) { fs.readdir(dir, function (err, items) { @@ -255082,7 +255180,7 @@ module.exports = { /***/ }), -/* 850 */ +/* 851 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -255131,12 +255229,12 @@ module.exports = { /***/ }), -/* 851 */ +/* 852 */ /***/ (function(module, exports, __webpack_require__) { -var file = __webpack_require__(850) -var link = __webpack_require__(852) -var symlink = __webpack_require__(855) +var file = __webpack_require__(851) +var link = __webpack_require__(853) +var symlink = __webpack_require__(856) module.exports = { // file @@ -255158,7 +255256,7 @@ module.exports = { /***/ }), -/* 852 */ +/* 853 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -255222,7 +255320,7 @@ module.exports = { /***/ }), -/* 853 */ +/* 854 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -255325,7 +255423,7 @@ module.exports = { /***/ }), -/* 854 */ +/* 855 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -255358,7 +255456,7 @@ module.exports = { /***/ }), -/* 855 */ +/* 856 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -255367,11 +255465,11 @@ var _mkdirs = __webpack_require__(33) var mkdirs = _mkdirs.mkdirs var mkdirsSync = _mkdirs.mkdirsSync -var _symlinkPaths = __webpack_require__(853) +var _symlinkPaths = __webpack_require__(854) var symlinkPaths = _symlinkPaths.symlinkPaths var symlinkPathsSync = _symlinkPaths.symlinkPathsSync -var _symlinkType = __webpack_require__(854) +var _symlinkType = __webpack_require__(855) var symlinkType = _symlinkType.symlinkType var symlinkTypeSync = _symlinkType.symlinkTypeSync @@ -255426,17 +255524,17 @@ module.exports = { /***/ }), -/* 856 */ +/* 857 */ /***/ (function(module, exports, __webpack_require__) { var jsonFile = __webpack_require__(120) module.exports = { - outputJsonSync: __webpack_require__(338), - outputJson: __webpack_require__(339), + outputJsonSync: __webpack_require__(337), + outputJson: __webpack_require__(338), // aliases - outputJSONSync: __webpack_require__(338), - outputJSON: __webpack_require__(339), + outputJSONSync: __webpack_require__(337), + outputJSON: __webpack_require__(338), // jsonfile exports readJson: jsonFile.readFile, readJSON: jsonFile.readFile, @@ -255451,7 +255549,7 @@ module.exports = { /***/ }), -/* 857 */ +/* 858 */ /***/ (function(module, exports, __webpack_require__) { // most of this code was written by Andrew Kelley @@ -255461,7 +255559,7 @@ module.exports = { // this needs a cleanup var fs = __webpack_require__(2) -var ncp = __webpack_require__(336) +var ncp = __webpack_require__(335) var path = __webpack_require__(0) var rimraf = __webpack_require__(230) var mkdirp = __webpack_require__(33).mkdirs @@ -255618,7 +255716,7 @@ module.exports = { /***/ }), -/* 858 */ +/* 859 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -255659,7 +255757,7 @@ module.exports = { /***/ }), -/* 859 */ +/* 860 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -255708,16 +255806,16 @@ module.exports = createOutputStream /***/ }), -/* 860 */ +/* 861 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - createOutputStream: __webpack_require__(859) + createOutputStream: __webpack_require__(860) } /***/ }), -/* 861 */ +/* 862 */ /***/ (function(module, exports) { // simple mutable assign @@ -255737,7 +255835,7 @@ module.exports = assign /***/ }), -/* 862 */ +/* 863 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -255812,7 +255910,7 @@ module.exports = { /***/ }), -/* 863 */ +/* 864 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -255826,8 +255924,8 @@ module.exports = { var path = __webpack_require__(0); -var parent = __webpack_require__(341); -var isGlob = __webpack_require__(865); +var parent = __webpack_require__(340); +var isGlob = __webpack_require__(866); module.exports = function globBase(pattern) { if (typeof pattern !== 'string') { @@ -255870,7 +255968,7 @@ function dirname(glob) { /***/ }), -/* 864 */ +/* 865 */ /***/ (function(module, exports) { /*! @@ -255887,7 +255985,7 @@ module.exports = function isExtglob(str) { /***/ }), -/* 865 */ +/* 866 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -255897,7 +255995,7 @@ module.exports = function isExtglob(str) { * Licensed under the MIT License. */ -var isExtglob = __webpack_require__(864); +var isExtglob = __webpack_require__(865); module.exports = function isGlob(str) { return typeof str === 'string' @@ -255906,7 +256004,7 @@ module.exports = function isGlob(str) { }; /***/ }), -/* 866 */ +/* 867 */ /***/ (function(module, exports) { /*! @@ -255923,7 +256021,7 @@ module.exports = function isExtglob(str) { /***/ }), -/* 867 */ +/* 868 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -255933,7 +256031,7 @@ module.exports = function isExtglob(str) { * Licensed under the MIT License. */ -var isExtglob = __webpack_require__(866); +var isExtglob = __webpack_require__(867); module.exports = function isGlob(str) { return typeof str === 'string' @@ -255942,14 +256040,14 @@ module.exports = function isGlob(str) { }; /***/ }), -/* 868 */ +/* 869 */ /***/ (function(module, exports, __webpack_require__) { module.exports = globSync globSync.GlobSync = GlobSync var fs = __webpack_require__(1) -var rp = __webpack_require__(335) +var rp = __webpack_require__(334) var minimatch = __webpack_require__(61) var Minimatch = minimatch.Minimatch var Glob = __webpack_require__(117).Glob @@ -255957,7 +256055,7 @@ var util = __webpack_require__(3) var path = __webpack_require__(0) var assert = __webpack_require__(12) var isAbsolute = __webpack_require__(63) -var common = __webpack_require__(342) +var common = __webpack_require__(341) var alphasort = common.alphasort var alphasorti = common.alphasorti var setopts = common.setopts @@ -256434,10 +256532,10 @@ GlobSync.prototype._makeAbs = function (f) { /***/ }), -/* 869 */ +/* 870 */ /***/ (function(module, exports, __webpack_require__) { -var Stream = __webpack_require__(21).Stream +var Stream = __webpack_require__(22).Stream module.exports = legacy @@ -256558,10 +256656,10 @@ function legacy (fs) { /***/ }), -/* 870 */ +/* 871 */ /***/ (function(module, exports, __webpack_require__) { -var fs = __webpack_require__(343) +var fs = __webpack_require__(342) var constants = __webpack_require__(446) var origCwd = process.cwd @@ -256894,7 +256992,7 @@ function chownErOk (er) { /***/ }), -/* 871 */ +/* 872 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -256927,18 +257025,18 @@ function chownErOk (er) { * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -var lib = __webpack_require__(880); +var lib = __webpack_require__(881); module.exports = { Graph: lib.Graph, - json: __webpack_require__(881), - alg: __webpack_require__(346), + json: __webpack_require__(882), + alg: __webpack_require__(345), version: lib.version }; /***/ }), -/* 872 */ +/* 873 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34); @@ -256971,10 +257069,10 @@ function components(g) { /***/ }), -/* 873 */ +/* 874 */ /***/ (function(module, exports, __webpack_require__) { -var dijkstra = __webpack_require__(345), +var dijkstra = __webpack_require__(344), _ = __webpack_require__(34); module.exports = dijkstraAll; @@ -256987,11 +257085,11 @@ function dijkstraAll(g, weightFunc, edgeFunc) { /***/ }), -/* 874 */ +/* 875 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34), - tarjan = __webpack_require__(347); + tarjan = __webpack_require__(346); module.exports = findCycles; @@ -257003,7 +257101,7 @@ function findCycles(g) { /***/ }), -/* 875 */ +/* 876 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34); @@ -257059,10 +257157,10 @@ function runFloydWarshall(g, weightFn, edgeFn) { /***/ }), -/* 876 */ +/* 877 */ /***/ (function(module, exports, __webpack_require__) { -var topsort = __webpack_require__(348); +var topsort = __webpack_require__(347); module.exports = isAcyclic; @@ -257080,10 +257178,10 @@ function isAcyclic(g) { /***/ }), -/* 877 */ +/* 878 */ /***/ (function(module, exports, __webpack_require__) { -var dfs = __webpack_require__(344); +var dfs = __webpack_require__(343); module.exports = postorder; @@ -257093,10 +257191,10 @@ function postorder(g, vs) { /***/ }), -/* 878 */ +/* 879 */ /***/ (function(module, exports, __webpack_require__) { -var dfs = __webpack_require__(344); +var dfs = __webpack_require__(343); module.exports = preorder; @@ -257106,12 +257204,12 @@ function preorder(g, vs) { /***/ }), -/* 879 */ +/* 880 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34), Graph = __webpack_require__(214), - PriorityQueue = __webpack_require__(349); + PriorityQueue = __webpack_require__(348); module.exports = prim; @@ -257164,18 +257262,18 @@ function prim(g, weightFunc) { /***/ }), -/* 880 */ +/* 881 */ /***/ (function(module, exports, __webpack_require__) { // Includes only the "core" of graphlib module.exports = { Graph: __webpack_require__(214), - version: __webpack_require__(882) + version: __webpack_require__(883) }; /***/ }), -/* 881 */ +/* 882 */ /***/ (function(module, exports, __webpack_require__) { var _ = __webpack_require__(34), @@ -257247,14 +257345,14 @@ function read(json) { /***/ }), -/* 882 */ +/* 883 */ /***/ (function(module, exports) { -module.exports = '2.1.1'; +module.exports = '2.1.5'; /***/ }), -/* 883 */ +/* 884 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -257283,7 +257381,7 @@ module.exports = { /***/ }), -/* 884 */ +/* 885 */ /***/ (function(module, exports) { function HARError (errors) { @@ -257306,12 +257404,12 @@ module.exports = HARError /***/ }), -/* 885 */ +/* 886 */ /***/ (function(module, exports, __webpack_require__) { var Ajv = __webpack_require__(263) -var HARError = __webpack_require__(884) -var schemas = __webpack_require__(883) +var HARError = __webpack_require__(885) +var schemas = __webpack_require__(884) var ajv @@ -257407,7 +257505,7 @@ exports.timings = function (data) { /***/ }), -/* 886 */ +/* 887 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -257419,7 +257517,7 @@ const Url = __webpack_require__(9); const Hoek = __webpack_require__(118); const Cryptiles = __webpack_require__(295); const Crypto = __webpack_require__(216); -const Utils = __webpack_require__(154); +const Utils = __webpack_require__(155); // Declare internals @@ -257808,7 +257906,7 @@ exports.message = function (host, port, message, options) { /***/ }), -/* 887 */ +/* 888 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -257819,10 +257917,10 @@ exports.message = function (host, port, message, options) { exports.error = exports.Error = __webpack_require__(189); exports.sntp = __webpack_require__(388); -exports.server = __webpack_require__(888); -exports.client = __webpack_require__(886); +exports.server = __webpack_require__(889); +exports.client = __webpack_require__(887); exports.crypto = __webpack_require__(216); -exports.utils = __webpack_require__(154); +exports.utils = __webpack_require__(155); exports.uri = { authenticate: exports.server.authenticateBewit, @@ -257832,7 +257930,7 @@ exports.uri = { /***/ }), -/* 888 */ +/* 889 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -257844,7 +257942,7 @@ const Boom = __webpack_require__(189); const Hoek = __webpack_require__(118); const Cryptiles = __webpack_require__(295); const Crypto = __webpack_require__(216); -const Utils = __webpack_require__(154); +const Utils = __webpack_require__(155); // Declare internals @@ -258389,7 +258487,7 @@ internals.nonceFunc = function (key, nonce, ts, nonceCallback) { /***/ }), -/* 889 */ +/* 890 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/he v1.1.1 by @mathias | MIT license */ @@ -258737,7 +258835,7 @@ internals.nonceFunc = function (key, nonce, ts, nonceCallback) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 890 */ +/* 891 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -258912,12 +259010,12 @@ internals.safeCharCodes = (function () { /***/ }), -/* 891 */ +/* 892 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var gitHosts = __webpack_require__(350) +var gitHosts = __webpack_require__(349) var extend = Object.assign || __webpack_require__(3)._extend var GitHost = module.exports = function (type, user, auth, project, committish, defaultRepresentation, opts) { @@ -259033,14 +259131,14 @@ GitHost.prototype.toString = function (opts) { /***/ }), -/* 892 */ +/* 893 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var url = __webpack_require__(9) -var gitHosts = __webpack_require__(350) -var GitHost = module.exports = __webpack_require__(891) +var gitHosts = __webpack_require__(349) +var GitHost = module.exports = __webpack_require__(892) var protocolToRepresentationMap = { 'git+ssh': 'sshurl', @@ -259161,7 +259259,7 @@ function parseGitUrl (giturl) { /***/ }), -/* 893 */ +/* 894 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -259179,8 +259277,8 @@ function parseGitUrl (giturl) { * @private */ -var deprecate = __webpack_require__(300)('http-errors') -var setPrototypeOf = __webpack_require__(1055) +var deprecate = __webpack_require__(895)('http-errors') +var setPrototypeOf = __webpack_require__(1060) var statuses = __webpack_require__(394) var inherits = __webpack_require__(50) @@ -259428,15 +259526,680 @@ function toIdentifier (str) { /***/ }), -/* 894 */ +/* 895 */ +/***/ (function(module, exports, __webpack_require__) { + +/*! + * depd + * Copyright(c) 2014-2017 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * Module dependencies. + */ + +var callSiteToString = __webpack_require__(350).callSiteToString +var eventListenerCount = __webpack_require__(350).eventListenerCount +var relative = __webpack_require__(0).relative + +/** + * Module exports. + */ + +module.exports = depd + +/** + * Get the path to base files on. + */ + +var basePath = process.cwd() + +/** + * Determine if namespace is contained in the string. + */ + +function containsNamespace (str, namespace) { + var val = str.split(/[ ,]+/) + + namespace = String(namespace).toLowerCase() + + for (var i = 0; i < val.length; i++) { + if (!(str = val[i])) continue + + // namespace contained + if (str === '*' || str.toLowerCase() === namespace) { + return true + } + } + + return false +} + +/** + * Convert a data descriptor to accessor descriptor. + */ + +function convertDataDescriptorToAccessor (obj, prop, message) { + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + var value = descriptor.value + + descriptor.get = function getter () { return value } + + if (descriptor.writable) { + descriptor.set = function setter (val) { return (value = val) } + } + + delete descriptor.value + delete descriptor.writable + + Object.defineProperty(obj, prop, descriptor) + + return descriptor +} + +/** + * Create arguments string to keep arity. + */ + +function createArgumentsString (arity) { + var str = '' + + for (var i = 0; i < arity; i++) { + str += ', arg' + i + } + + return str.substr(2) +} + +/** + * Create stack string from stack. + */ + +function createStackString (stack) { + var str = this.name + ': ' + this.namespace + + if (this.message) { + str += ' deprecated ' + this.message + } + + for (var i = 0; i < stack.length; i++) { + str += '\n at ' + callSiteToString(stack[i]) + } + + return str +} + +/** + * Create deprecate for namespace in caller. + */ + +function depd (namespace) { + if (!namespace) { + throw new TypeError('argument namespace is required') + } + + var stack = getStack() + var site = callSiteLocation(stack[1]) + var file = site[0] + + function deprecate (message) { + // call to self as log + log.call(deprecate, message) + } + + deprecate._file = file + deprecate._ignored = isignored(namespace) + deprecate._namespace = namespace + deprecate._traced = istraced(namespace) + deprecate._warned = Object.create(null) + + deprecate.function = wrapfunction + deprecate.property = wrapproperty + + return deprecate +} + +/** + * Determine if namespace is ignored. + */ + +function isignored (namespace) { + /* istanbul ignore next: tested in a child processs */ + if (process.noDeprecation) { + // --no-deprecation support + return true + } + + var str = process.env.NO_DEPRECATION || '' + + // namespace ignored + return containsNamespace(str, namespace) +} + +/** + * Determine if namespace is traced. + */ + +function istraced (namespace) { + /* istanbul ignore next: tested in a child processs */ + if (process.traceDeprecation) { + // --trace-deprecation support + return true + } + + var str = process.env.TRACE_DEPRECATION || '' + + // namespace traced + return containsNamespace(str, namespace) +} + +/** + * Display deprecation message. + */ + +function log (message, site) { + var haslisteners = eventListenerCount(process, 'deprecation') !== 0 + + // abort early if no destination + if (!haslisteners && this._ignored) { + return + } + + var caller + var callFile + var callSite + var i = 0 + var seen = false + var stack = getStack() + var file = this._file + + if (site) { + // provided site + callSite = callSiteLocation(stack[1]) + callSite.name = site.name + file = callSite[0] + } else { + // get call site + i = 2 + site = callSiteLocation(stack[i]) + callSite = site + } + + // get caller of deprecated thing in relation to file + for (; i < stack.length; i++) { + caller = callSiteLocation(stack[i]) + callFile = caller[0] + + if (callFile === file) { + seen = true + } else if (callFile === this._file) { + file = this._file + } else if (seen) { + break + } + } + + var key = caller + ? site.join(':') + '__' + caller.join(':') + : undefined + + if (key !== undefined && key in this._warned) { + // already warned + return + } + + this._warned[key] = true + + // generate automatic message from call site + if (!message) { + message = callSite === site || !callSite.name + ? defaultMessage(site) + : defaultMessage(callSite) + } + + // emit deprecation if listeners exist + if (haslisteners) { + var err = DeprecationError(this._namespace, message, stack.slice(i)) + process.emit('deprecation', err) + return + } + + // format and write message + var format = process.stderr.isTTY + ? formatColor + : formatPlain + var msg = format.call(this, message, caller, stack.slice(i)) + process.stderr.write(msg + '\n', 'utf8') +} + +/** + * Get call site location as array. + */ + +function callSiteLocation (callSite) { + var file = callSite.getFileName() || '' + var line = callSite.getLineNumber() + var colm = callSite.getColumnNumber() + + if (callSite.isEval()) { + file = callSite.getEvalOrigin() + ', ' + file + } + + var site = [file, line, colm] + + site.callSite = callSite + site.name = callSite.getFunctionName() + + return site +} + +/** + * Generate a default message from the site. + */ + +function defaultMessage (site) { + var callSite = site.callSite + var funcName = site.name + + // make useful anonymous name + if (!funcName) { + funcName = '' + } + + var context = callSite.getThis() + var typeName = context && callSite.getTypeName() + + // ignore useless type name + if (typeName === 'Object') { + typeName = undefined + } + + // make useful type name + if (typeName === 'Function') { + typeName = context.name || typeName + } + + return typeName && callSite.getMethodName() + ? typeName + '.' + funcName + : funcName +} + +/** + * Format deprecation message without color. + */ + +function formatPlain (msg, caller, stack) { + var timestamp = new Date().toUTCString() + + var formatted = timestamp + + ' ' + this._namespace + + ' deprecated ' + msg + + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n at ' + callSiteToString(stack[i]) + } + + return formatted + } + + if (caller) { + formatted += ' at ' + formatLocation(caller) + } + + return formatted +} + +/** + * Format deprecation message with color. + */ + +function formatColor (msg, caller, stack) { + var formatted = '\x1b[36;1m' + this._namespace + '\x1b[22;39m' + // bold cyan + ' \x1b[33;1mdeprecated\x1b[22;39m' + // bold yellow + ' \x1b[0m' + msg + '\x1b[39m' // reset + + // add stack trace + if (this._traced) { + for (var i = 0; i < stack.length; i++) { + formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan + } + + return formatted + } + + if (caller) { + formatted += ' \x1b[36m' + formatLocation(caller) + '\x1b[39m' // cyan + } + + return formatted +} + +/** + * Format call site location. + */ + +function formatLocation (callSite) { + return relative(basePath, callSite[0]) + + ':' + callSite[1] + + ':' + callSite[2] +} + +/** + * Get the stack as array of call sites. + */ + +function getStack () { + var limit = Error.stackTraceLimit + var obj = {} + var prep = Error.prepareStackTrace + + Error.prepareStackTrace = prepareObjectStackTrace + Error.stackTraceLimit = Math.max(10, limit) + + // capture the stack + Error.captureStackTrace(obj) + + // slice this function off the top + var stack = obj.stack.slice(1) + + Error.prepareStackTrace = prep + Error.stackTraceLimit = limit + + return stack +} + +/** + * Capture call site stack from v8. + */ + +function prepareObjectStackTrace (obj, stack) { + return stack +} + +/** + * Return a wrapped function in a deprecation message. + */ + +function wrapfunction (fn, message) { + if (typeof fn !== 'function') { + throw new TypeError('argument fn must be a function') + } + + var args = createArgumentsString(fn.length) + var deprecate = this // eslint-disable-line no-unused-vars + var stack = getStack() + var site = callSiteLocation(stack[1]) + + site.name = fn.name + + // eslint-disable-next-line no-eval + var deprecatedfn = eval('(function (' + args + ') {\n' + + '"use strict"\n' + + 'log.call(deprecate, message, site)\n' + + 'return fn.apply(this, arguments)\n' + + '})') + + return deprecatedfn +} + +/** + * Wrap property in a deprecation message. + */ + +function wrapproperty (obj, prop, message) { + if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) { + throw new TypeError('argument obj must be object') + } + + var descriptor = Object.getOwnPropertyDescriptor(obj, prop) + + if (!descriptor) { + throw new TypeError('must call property on owner object') + } + + if (!descriptor.configurable) { + throw new TypeError('property must be configurable') + } + + var deprecate = this + var stack = getStack() + var site = callSiteLocation(stack[1]) + + // set site name + site.name = prop + + // convert data descriptor + if ('value' in descriptor) { + descriptor = convertDataDescriptorToAccessor(obj, prop, message) + } + + var get = descriptor.get + var set = descriptor.set + + // wrap getter + if (typeof get === 'function') { + descriptor.get = function getter () { + log.call(deprecate, message, site) + return get.apply(this, arguments) + } + } + + // wrap setter + if (typeof set === 'function') { + descriptor.set = function setter () { + log.call(deprecate, message, site) + return set.apply(this, arguments) + } + } + + Object.defineProperty(obj, prop, descriptor) +} + +/** + * Create DeprecationError for deprecation + */ + +function DeprecationError (namespace, message, stack) { + var error = new Error() + var stackString + + Object.defineProperty(error, 'constructor', { + value: DeprecationError + }) + + Object.defineProperty(error, 'message', { + configurable: true, + enumerable: false, + value: message, + writable: true + }) + + Object.defineProperty(error, 'name', { + enumerable: false, + configurable: true, + value: 'DeprecationError', + writable: true + }) + + Object.defineProperty(error, 'namespace', { + configurable: true, + enumerable: false, + value: namespace, + writable: true + }) + + Object.defineProperty(error, 'stack', { + configurable: true, + enumerable: false, + get: function () { + if (stackString !== undefined) { + return stackString + } + + // prepare stack trace + return (stackString = createStackString.call(this, stack)) + }, + set: function setter (val) { + stackString = val + } + }) + + return error +} + + +/***/ }), +/* 896 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/*! + * depd + * Copyright(c) 2014 Douglas Christopher Wilson + * MIT Licensed + */ + + + +/** + * Module exports. + */ + +module.exports = callSiteToString + +/** + * Format a CallSite file location to a string. + */ + +function callSiteFileLocation (callSite) { + var fileName + var fileLocation = '' + + if (callSite.isNative()) { + fileLocation = 'native' + } else if (callSite.isEval()) { + fileName = callSite.getScriptNameOrSourceURL() + if (!fileName) { + fileLocation = callSite.getEvalOrigin() + } + } else { + fileName = callSite.getFileName() + } + + if (fileName) { + fileLocation += fileName + + var lineNumber = callSite.getLineNumber() + if (lineNumber != null) { + fileLocation += ':' + lineNumber + + var columnNumber = callSite.getColumnNumber() + if (columnNumber) { + fileLocation += ':' + columnNumber + } + } + } + + return fileLocation || 'unknown source' +} + +/** + * Format a CallSite to a string. + */ + +function callSiteToString (callSite) { + var addSuffix = true + var fileLocation = callSiteFileLocation(callSite) + var functionName = callSite.getFunctionName() + var isConstructor = callSite.isConstructor() + var isMethodCall = !(callSite.isToplevel() || isConstructor) + var line = '' + + if (isMethodCall) { + var methodName = callSite.getMethodName() + var typeName = getConstructorName(callSite) + + if (functionName) { + if (typeName && functionName.indexOf(typeName) !== 0) { + line += typeName + '.' + } + + line += functionName + + if (methodName && functionName.lastIndexOf('.' + methodName) !== functionName.length - methodName.length - 1) { + line += ' [as ' + methodName + ']' + } + } else { + line += typeName + '.' + (methodName || '') + } + } else if (isConstructor) { + line += 'new ' + (functionName || '') + } else if (functionName) { + line += functionName + } else { + addSuffix = false + line += fileLocation + } + + if (addSuffix) { + line += ' (' + fileLocation + ')' + } + + return line +} + +/** + * Get constructor name of reviver. + */ + +function getConstructorName (obj) { + var receiver = obj.receiver + return (receiver.constructor && receiver.constructor.name) || null +} + + +/***/ }), +/* 897 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +/*! + * depd + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + + + +/** + * Module exports. + * @public + */ + +module.exports = eventListenerCount + +/** + * Get the count of listeners on an event emitter of a specific type. + */ + +function eventListenerCount (emitter, type) { + return emitter.listeners(type).length +} + + +/***/ }), +/* 898 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2015 Joyent, Inc. -var parser = __webpack_require__(895); -var signer = __webpack_require__(896); -var verify = __webpack_require__(897); -var utils = __webpack_require__(155); +var parser = __webpack_require__(899); +var signer = __webpack_require__(900); +var verify = __webpack_require__(901); +var utils = __webpack_require__(156); @@ -259463,14 +260226,14 @@ module.exports = { /***/ }), -/* 895 */ +/* 899 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2012 Joyent, Inc. All rights reserved. var assert = __webpack_require__(8); var util = __webpack_require__(3); -var utils = __webpack_require__(155); +var utils = __webpack_require__(156); @@ -259784,7 +260547,7 @@ module.exports = { /***/ }), -/* 896 */ +/* 900 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2012 Joyent, Inc. All rights reserved. @@ -259794,8 +260557,8 @@ var crypto = __webpack_require__(7); var http = __webpack_require__(30); var util = __webpack_require__(3); var sshpk = __webpack_require__(233); -var jsprim = __webpack_require__(926); -var utils = __webpack_require__(155); +var jsprim = __webpack_require__(930); +var utils = __webpack_require__(156); var sprintf = __webpack_require__(3).format; @@ -260191,7 +260954,7 @@ module.exports = { /***/ }), -/* 897 */ +/* 901 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2015 Joyent, Inc. @@ -260199,7 +260962,7 @@ module.exports = { var assert = __webpack_require__(8); var crypto = __webpack_require__(7); var sshpk = __webpack_require__(233); -var utils = __webpack_require__(155); +var utils = __webpack_require__(156); var HASH_ALGOS = utils.HASH_ALGOS; var PK_ALGOS = utils.PK_ALGOS; @@ -260285,7 +261048,7 @@ module.exports = { /***/ }), -/* 898 */ +/* 902 */ /***/ (function(module, exports) { if (typeof Object.create === 'function') { @@ -260314,7 +261077,7 @@ if (typeof Object.create === 'function') { /***/ }), -/* 899 */ +/* 903 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260336,13 +261099,13 @@ module.exports = function (obj) { /***/ }), -/* 900 */ +/* 904 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var XMLHttpRequest = __webpack_require__(901); +var XMLHttpRequest = __webpack_require__(905); module.exports = IPFS; @@ -260516,18 +261279,18 @@ IPFS.prototype.catJSON = function cat(ipfsHash, callback) { }; /***/ }), -/* 901 */ +/* 905 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var XMLHttpRequest = __webpack_require__(135).XMLHttpRequest; +var XMLHttpRequest = __webpack_require__(136).XMLHttpRequest; module.exports = XMLHttpRequest; /***/ }), -/* 902 */ +/* 906 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260544,7 +261307,7 @@ module.exports = function isArrayish(obj) { /***/ }), -/* 903 */ +/* 907 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260563,7 +261326,7 @@ module.exports = function (filepath) { /***/ }), -/* 904 */ +/* 908 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260580,7 +261343,7 @@ module.exports = function (str) { /***/ }), -/* 905 */ +/* 909 */ /***/ (function(module, exports) { /*! @@ -260600,7 +261363,7 @@ module.exports = function(str) { /***/ }), -/* 906 */ +/* 910 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260613,7 +261376,7 @@ module.exports = function(str) { -var isPrimitive = __webpack_require__(915); +var isPrimitive = __webpack_require__(919); module.exports = function isEqual(a, b) { if (!a && !b) { return true; } @@ -260634,7 +261397,7 @@ module.exports = function isEqual(a, b) { /***/ }), -/* 907 */ +/* 911 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260654,12 +261417,12 @@ module.exports = function isExtendable(val) { /***/ }), -/* 908 */ +/* 912 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var numberIsNan = __webpack_require__(989); +var numberIsNan = __webpack_require__(993); module.exports = function (x) { if (numberIsNan(x)) { @@ -260707,7 +261470,7 @@ module.exports = function (x) { /***/ }), -/* 909 */ +/* 913 */ /***/ (function(module, exports) { /** @@ -260726,7 +261489,7 @@ module.exports = function isHexPrefixed(str) { /***/ }), -/* 910 */ +/* 914 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260752,7 +261515,7 @@ module.exports = function isNumber(num) { /***/ }), -/* 911 */ +/* 915 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260765,12 +261528,12 @@ module.exports = function (str) { /***/ }), -/* 912 */ +/* 916 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isPathInside = __webpack_require__(913); +var isPathInside = __webpack_require__(917); module.exports = function (str) { return isPathInside(str, process.cwd()); @@ -260778,13 +261541,13 @@ module.exports = function (str) { /***/ }), -/* 913 */ +/* 917 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var path = __webpack_require__(0); -var pathIsInside = __webpack_require__(1004); +var pathIsInside = __webpack_require__(1009); module.exports = function (a, b) { a = path.resolve(a); @@ -260799,7 +261562,7 @@ module.exports = function (a, b) { /***/ }), -/* 914 */ +/* 918 */ /***/ (function(module, exports) { /*! @@ -260815,7 +261578,7 @@ module.exports = function isPosixBracket(str) { /***/ }), -/* 915 */ +/* 919 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260835,7 +261598,7 @@ module.exports = function isPrimitive(value) { /***/ }), -/* 916 */ +/* 920 */ /***/ (function(module, exports) { module.exports = isTypedArray @@ -260882,7 +261645,7 @@ function isLooseTypedArray(arr) { /***/ }), -/* 917 */ +/* 921 */ /***/ (function(module, exports) { @@ -260964,7 +261727,7 @@ exports = module.exports = function(bytes) /***/ }), -/* 918 */ +/* 922 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -260985,7 +261748,7 @@ module.exports = function isObject(val) { /***/ }), -/* 919 */ +/* 923 */ /***/ (function(module, exports) { /** @@ -261462,7 +262225,7 @@ module.exports = function isObject(val) { /***/ }), -/* 920 */ +/* 924 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -261550,7 +262313,7 @@ function escapeJsonPtr(str) { /***/ }), -/* 921 */ +/* 925 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/** @@ -261830,7 +262593,7 @@ return exports; /***/ }), -/* 922 */ +/* 926 */ /***/ (function(module, exports) { exports = module.exports = stringify @@ -261863,7 +262626,7 @@ function serializer(replacer, cycleReplacer) { /***/ }), -/* 923 */ +/* 927 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -262708,13 +263471,13 @@ module.exports = attribute; /***/ }), -/* 924 */ +/* 928 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var Validator = module.exports.Validator = __webpack_require__(925); +var Validator = module.exports.Validator = __webpack_require__(929); module.exports.ValidatorResult = __webpack_require__(121).ValidatorResult; module.exports.ValidationError = __webpack_require__(121).ValidationError; @@ -262727,7 +263490,7 @@ module.exports.validate = function (instance, schema, options) { /***/ }), -/* 925 */ +/* 929 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -262735,7 +263498,7 @@ module.exports.validate = function (instance, schema, options) { var urilib = __webpack_require__(9); -var attribute = __webpack_require__(923); +var attribute = __webpack_require__(927); var helpers = __webpack_require__(121); var ValidatorResult = helpers.ValidatorResult; var SchemaError = helpers.SchemaError; @@ -263068,7 +263831,7 @@ module.exports = Validator; /***/ }), -/* 926 */ +/* 930 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -263078,9 +263841,9 @@ module.exports = Validator; var mod_assert = __webpack_require__(8); var mod_util = __webpack_require__(3); -var mod_extsprintf = __webpack_require__(333); -var mod_verror = __webpack_require__(1190); -var mod_jsonschema = __webpack_require__(921); +var mod_extsprintf = __webpack_require__(332); +var mod_verror = __webpack_require__(1195); +var mod_jsonschema = __webpack_require__(925); /* * Public interface @@ -263809,7 +264572,7 @@ function mergeObjects(provided, overrides, defaults) /***/ }), -/* 927 */ +/* 931 */ /***/ (function(module, exports) { // simple mutable assign (extracted from fs-extra) @@ -263831,12 +264594,12 @@ module.exports = Object.assign || _assign /***/ }), -/* 928 */ +/* 932 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var invertKv = __webpack_require__(899); +var invertKv = __webpack_require__(903); var all = __webpack_require__(489); var inverted = invertKv(all); @@ -263860,17 +264623,17 @@ exports.all = all; /***/ }), -/* 929 */ +/* 933 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var path = __webpack_require__(0); var fs = __webpack_require__(2); -var stripBom = __webpack_require__(1066); -var parseJson = __webpack_require__(999); +var stripBom = __webpack_require__(1071); +var parseJson = __webpack_require__(1004); var Promise = __webpack_require__(99); -var pify = __webpack_require__(158); +var pify = __webpack_require__(159); function parse(x, fp) { return parseJson(stripBom(x), path.relative(process.cwd(), fp)); @@ -263888,14 +264651,14 @@ module.exports.sync = function (fp) { /***/ }), -/* 930 */ +/* 934 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const path = __webpack_require__(0); -const pathExists = __webpack_require__(931); -const pLocate = __webpack_require__(996); +const pathExists = __webpack_require__(935); +const pLocate = __webpack_require__(1000); module.exports = (iterable, opts) => { opts = Object.assign({ @@ -263919,7 +264682,7 @@ module.exports.sync = (iterable, opts) => { /***/ }), -/* 931 */ +/* 935 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -263943,7 +264706,7 @@ module.exports.sync = fp => { /***/ }), -/* 932 */ +/* 936 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -263954,8 +264717,8 @@ module.exports.sync = fp => { * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license */ -var baseCopy = __webpack_require__(933), - keys = __webpack_require__(939); +var baseCopy = __webpack_require__(937), + keys = __webpack_require__(943); /** * The base implementation of `_.assign` without support for argument juggling, @@ -263976,7 +264739,7 @@ module.exports = baseAssign; /***/ }), -/* 933 */ +/* 937 */ /***/ (function(module, exports) { /** @@ -264014,7 +264777,7 @@ module.exports = baseCopy; /***/ }), -/* 934 */ +/* 938 */ /***/ (function(module, exports) { /** @@ -264077,7 +264840,7 @@ module.exports = baseCreate; /***/ }), -/* 935 */ +/* 939 */ /***/ (function(module, exports) { /** @@ -264220,7 +264983,7 @@ module.exports = getNative; /***/ }), -/* 936 */ +/* 940 */ /***/ (function(module, exports) { /** @@ -264358,7 +265121,7 @@ module.exports = isIterateeCall; /***/ }), -/* 937 */ +/* 941 */ /***/ (function(module, exports) { /** @@ -264593,7 +265356,7 @@ module.exports = isArguments; /***/ }), -/* 938 */ +/* 942 */ /***/ (function(module, exports) { /** @@ -264779,7 +265542,7 @@ module.exports = isArray; /***/ }), -/* 939 */ +/* 943 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -264790,9 +265553,9 @@ module.exports = isArray; * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors * Available under MIT license */ -var getNative = __webpack_require__(935), - isArguments = __webpack_require__(937), - isArray = __webpack_require__(938); +var getNative = __webpack_require__(939), + isArguments = __webpack_require__(941), + isArray = __webpack_require__(942); /** Used to detect unsigned integer values. */ var reIsUint = /^\d+$/; @@ -265021,15 +265784,15 @@ module.exports = keys; /***/ }), -/* 940 */ +/* 944 */ /***/ (function(module, exports, __webpack_require__) { -var baseTimes = __webpack_require__(946), - isArguments = __webpack_require__(956), - isArray = __webpack_require__(957), - isBuffer = __webpack_require__(958), - isIndex = __webpack_require__(949), - isTypedArray = __webpack_require__(960); +var baseTimes = __webpack_require__(950), + isArguments = __webpack_require__(960), + isArray = __webpack_require__(961), + isBuffer = __webpack_require__(962), + isIndex = __webpack_require__(953), + isTypedArray = __webpack_require__(964); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -265076,7 +265839,7 @@ module.exports = arrayLikeKeys; /***/ }), -/* 941 */ +/* 945 */ /***/ (function(module, exports) { /** @@ -265103,7 +265866,7 @@ module.exports = arrayMap; /***/ }), -/* 942 */ +/* 946 */ /***/ (function(module, exports, __webpack_require__) { var baseGetTag = __webpack_require__(219), @@ -265127,7 +265890,7 @@ module.exports = baseIsArguments; /***/ }), -/* 943 */ +/* 947 */ /***/ (function(module, exports, __webpack_require__) { var baseGetTag = __webpack_require__(219), @@ -265193,11 +265956,11 @@ module.exports = baseIsTypedArray; /***/ }), -/* 944 */ +/* 948 */ /***/ (function(module, exports, __webpack_require__) { -var isPrototype = __webpack_require__(950), - nativeKeys = __webpack_require__(951); +var isPrototype = __webpack_require__(954), + nativeKeys = __webpack_require__(955); /** Used for built-in method references. */ var objectProto = Object.prototype; @@ -265229,7 +265992,7 @@ module.exports = baseKeys; /***/ }), -/* 945 */ +/* 949 */ /***/ (function(module, exports) { /** @@ -265249,7 +266012,7 @@ module.exports = baseProperty; /***/ }), -/* 946 */ +/* 950 */ /***/ (function(module, exports) { /** @@ -265275,7 +266038,7 @@ module.exports = baseTimes; /***/ }), -/* 947 */ +/* 951 */ /***/ (function(module, exports) { /** @@ -265295,7 +266058,7 @@ module.exports = baseUnary; /***/ }), -/* 948 */ +/* 952 */ /***/ (function(module, exports, __webpack_require__) { var Symbol = __webpack_require__(358); @@ -265347,7 +266110,7 @@ module.exports = getRawTag; /***/ }), -/* 949 */ +/* 953 */ /***/ (function(module, exports) { /** Used as references for various `Number` constants. */ @@ -265375,7 +266138,7 @@ module.exports = isIndex; /***/ }), -/* 950 */ +/* 954 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -265399,10 +266162,10 @@ module.exports = isPrototype; /***/ }), -/* 951 */ +/* 955 */ /***/ (function(module, exports, __webpack_require__) { -var overArg = __webpack_require__(954); +var overArg = __webpack_require__(958); /* Built-in method references for those with the same name as other `lodash` methods. */ var nativeKeys = overArg(Object.keys, Object); @@ -265411,7 +266174,7 @@ module.exports = nativeKeys; /***/ }), -/* 952 */ +/* 956 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(359); @@ -265440,7 +266203,7 @@ module.exports = nodeUtil; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 953 */ +/* 957 */ /***/ (function(module, exports) { /** Used for built-in method references. */ @@ -265468,7 +266231,7 @@ module.exports = objectToString; /***/ }), -/* 954 */ +/* 958 */ /***/ (function(module, exports) { /** @@ -265489,7 +266252,7 @@ module.exports = overArg; /***/ }), -/* 955 */ +/* 959 */ /***/ (function(module, exports) { /** @@ -265516,10 +266279,10 @@ module.exports = identity; /***/ }), -/* 956 */ +/* 960 */ /***/ (function(module, exports, __webpack_require__) { -var baseIsArguments = __webpack_require__(942), +var baseIsArguments = __webpack_require__(946), isObjectLike = __webpack_require__(220); /** Used for built-in method references. */ @@ -265558,7 +266321,7 @@ module.exports = isArguments; /***/ }), -/* 957 */ +/* 961 */ /***/ (function(module, exports) { /** @@ -265590,11 +266353,11 @@ module.exports = isArray; /***/ }), -/* 958 */ +/* 962 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(360), - stubFalse = __webpack_require__(962); + stubFalse = __webpack_require__(966); /** Detect free variable `exports`. */ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; @@ -265635,7 +266398,7 @@ module.exports = isBuffer; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 959 */ +/* 963 */ /***/ (function(module, exports, __webpack_require__) { var baseGetTag = __webpack_require__(219), @@ -265678,12 +266441,12 @@ module.exports = isFunction; /***/ }), -/* 960 */ +/* 964 */ /***/ (function(module, exports, __webpack_require__) { -var baseIsTypedArray = __webpack_require__(943), - baseUnary = __webpack_require__(947), - nodeUtil = __webpack_require__(952); +var baseIsTypedArray = __webpack_require__(947), + baseUnary = __webpack_require__(951), + nodeUtil = __webpack_require__(956); /* Node.js helper references. */ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; @@ -265711,12 +266474,12 @@ module.exports = isTypedArray; /***/ }), -/* 961 */ +/* 965 */ /***/ (function(module, exports, __webpack_require__) { -var arrayLikeKeys = __webpack_require__(940), - baseKeys = __webpack_require__(944), - isArrayLike = __webpack_require__(156); +var arrayLikeKeys = __webpack_require__(944), + baseKeys = __webpack_require__(948), + isArrayLike = __webpack_require__(157); /** * Creates an array of the own enumerable property names of `object`. @@ -265754,7 +266517,7 @@ module.exports = keys; /***/ }), -/* 962 */ +/* 966 */ /***/ (function(module, exports) { /** @@ -265778,7 +266541,7 @@ module.exports = stubFalse; /***/ }), -/* 963 */ +/* 967 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -265791,7 +266554,7 @@ module.exports = stubFalse; -var expand = __webpack_require__(965); +var expand = __webpack_require__(969); var utils = __webpack_require__(221); /** @@ -266216,7 +266979,7 @@ module.exports = micromatch; /***/ }), -/* 964 */ +/* 968 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -266290,7 +267053,7 @@ module.exports = chars; /***/ }), -/* 965 */ +/* 969 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -266304,7 +267067,7 @@ module.exports = chars; var utils = __webpack_require__(221); -var Glob = __webpack_require__(966); +var Glob = __webpack_require__(970); /** * Expose `expand` @@ -266601,13 +267364,13 @@ function globstar(dotfile) { /***/ }), -/* 966 */ +/* 970 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var chars = __webpack_require__(964); +var chars = __webpack_require__(968); var utils = __webpack_require__(221); /** @@ -266801,7 +267564,7 @@ function unesc(str) { /***/ }), -/* 967 */ +/* 971 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -266820,7 +267583,7 @@ module.exports = function isGlob(str) { }; /***/ }), -/* 968 */ +/* 972 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -266837,7 +267600,7 @@ module.exports = __webpack_require__(490) /***/ }), -/* 969 */ +/* 973 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0); @@ -266951,7 +267714,7 @@ module.exports = mime; /***/ }), -/* 970 */ +/* 974 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -266962,7 +267725,7 @@ module.exports = mime; */ var Runnable = __webpack_require__(366); -var inherits = __webpack_require__(157).inherits; +var inherits = __webpack_require__(158).inherits; /** * Expose `Hook`. @@ -267006,7 +267769,7 @@ Hook.prototype.error = function (err) { /***/ }), -/* 971 */ +/* 975 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -267029,7 +267792,7 @@ function Pending (message) { /***/ }), -/* 972 */ +/* 976 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -267039,9 +267802,9 @@ function Pending (message) { * Module dependencies. */ -var EventEmitter = __webpack_require__(24).EventEmitter; -var Hook = __webpack_require__(970); -var utils = __webpack_require__(157); +var EventEmitter = __webpack_require__(21).EventEmitter; +var Hook = __webpack_require__(974); +var utils = __webpack_require__(158); var inherits = utils.inherits; var debug = __webpack_require__(195)('mocha:suite'); var milliseconds = __webpack_require__(365); @@ -267438,7 +268201,7 @@ Suite.prototype.run = function run () { /***/ }), -/* 973 */ +/* 977 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -267450,7 +268213,7 @@ Suite.prototype.run = function run () { var Runnable = __webpack_require__(366); var create = __webpack_require__(357); -var isString = __webpack_require__(157).isString; +var isString = __webpack_require__(158).isString; /** * Expose `Test`. @@ -267497,7 +268260,7 @@ Test.prototype.clone = function () { /***/ }), -/* 974 */ +/* 978 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -267541,7 +268304,7 @@ module.exports = toISOString; /***/ }), -/* 975 */ +/* 979 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1), @@ -267691,7 +268454,7 @@ exports.subdirs = function subdirs(dir, callback) { /***/ }), -/* 976 */ +/* 980 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1), @@ -267819,7 +268582,7 @@ module.exports = readFiles; /***/ }), -/* 977 */ +/* 981 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1), @@ -267956,17 +268719,17 @@ module.exports = readFilesStream; /***/ }), -/* 978 */ +/* 982 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -module.exports = __webpack_require__(982) +module.exports = __webpack_require__(986) /***/ }), -/* 979 */ +/* 983 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -267986,7 +268749,7 @@ Promise.prototype.done = function (onFulfilled, onRejected) { /***/ }), -/* 980 */ +/* 984 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -268100,7 +268863,7 @@ Promise.prototype['catch'] = function (onRejected) { /***/ }), -/* 981 */ +/* 985 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -268123,22 +268886,22 @@ Promise.prototype['finally'] = function (f) { /***/ }), -/* 982 */ +/* 986 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; module.exports = __webpack_require__(96); -__webpack_require__(979); -__webpack_require__(981); -__webpack_require__(980); __webpack_require__(983); +__webpack_require__(985); __webpack_require__(984); +__webpack_require__(987); +__webpack_require__(988); /***/ }), -/* 983 */ +/* 987 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -268216,7 +268979,7 @@ Promise.prototype.nodeify = function (callback, ctx) { /***/ }), -/* 984 */ +/* 988 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -268286,7 +269049,7 @@ Promise.enableSynchronous(); /***/ }), -/* 985 */ +/* 989 */ /***/ (function(module, exports) { module.exports = extractDescription @@ -268306,15 +269069,15 @@ function extractDescription (d) { /***/ }), -/* 986 */ +/* 990 */ /***/ (function(module, exports, __webpack_require__) { var semver = __webpack_require__(231) -var validateLicense = __webpack_require__(1189); -var hostedGitInfo = __webpack_require__(892) -var isBuiltinModule = __webpack_require__(904) +var validateLicense = __webpack_require__(1194); +var hostedGitInfo = __webpack_require__(893) +var isBuiltinModule = __webpack_require__(908) var depTypes = ["dependencies","devDependencies","optionalDependencies"] -var extractDescription = __webpack_require__(985) +var extractDescription = __webpack_require__(989) var url = __webpack_require__(9) var typos = __webpack_require__(492) @@ -268729,7 +269492,7 @@ function bugsTypos(bugs, warn) { /***/ }), -/* 987 */ +/* 991 */ /***/ (function(module, exports, __webpack_require__) { var util = __webpack_require__(3) @@ -268758,15 +269521,15 @@ function makeTypoWarning (providedName, probableName, field) { /***/ }), -/* 988 */ +/* 992 */ /***/ (function(module, exports, __webpack_require__) { module.exports = normalize -var fixer = __webpack_require__(986) +var fixer = __webpack_require__(990) normalize.fixer = fixer -var makeWarning = __webpack_require__(987) +var makeWarning = __webpack_require__(991) var fieldsToFix = ['name','version','description','repository','modules','scripts' ,'files','bin','man','bugs','keywords','readme','homepage','license'] @@ -268803,7 +269566,7 @@ function ucFirst (string) { /***/ }), -/* 989 */ +/* 993 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -268814,7 +269577,7 @@ module.exports = Number.isNaN || function (x) { /***/ }), -/* 990 */ +/* 994 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {(function (module, exports) { @@ -272248,11 +273011,11 @@ module.exports = Number.isNaN || function (x) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 991 */ +/* 995 */ /***/ (function(module, exports, __webpack_require__) { -var BN = __webpack_require__(990); -var stripHexPrefix = __webpack_require__(1067); +var BN = __webpack_require__(994); +var stripHexPrefix = __webpack_require__(1072); /** * Returns a BN object, converts a number value to a BN @@ -272292,7 +273055,7 @@ module.exports = function numberToBN(arg) { /***/ }), -/* 992 */ +/* 996 */ /***/ (function(module, exports, __webpack_require__) { var crypto = __webpack_require__(7) @@ -272434,7 +273197,7 @@ exports.generateBase = generateBase /***/ }), -/* 993 */ +/* 997 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -272447,8 +273210,8 @@ exports.generateBase = generateBase -var isObject = __webpack_require__(907); -var forOwn = __webpack_require__(835); +var isObject = __webpack_require__(911); +var forOwn = __webpack_require__(836); module.exports = function omit(obj, keys) { if (!isObject(obj)) return {}; @@ -272481,14 +273244,14 @@ module.exports = function omit(obj, keys) { /***/ }), -/* 994 */ +/* 998 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var childProcess = __webpack_require__(58); var execFileSync = childProcess.execFileSync; -var lcid = __webpack_require__(928); +var lcid = __webpack_require__(932); var defaultOpts = {spawn: true}; var cache; @@ -272615,11 +273378,13 @@ module.exports.sync = function (opts) { /***/ }), -/* 995 */ +/* 999 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; +const pTry = __webpack_require__(1001); + module.exports = concurrency => { if (concurrency < 1) { throw new TypeError('Expected `concurrency` to be a number from 1 and up'); @@ -272640,7 +273405,7 @@ module.exports = concurrency => { const run = () => { activeCount++; - fn().then( + pTry(() => fn()).then( val => { resolve(val); next(); @@ -272662,12 +273427,12 @@ module.exports = concurrency => { /***/ }), -/* 996 */ +/* 1000 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const pLimit = __webpack_require__(995); +const pLimit = __webpack_require__(999); class EndError extends Error { constructor(value) { @@ -272700,7 +273465,18 @@ module.exports = (iterable, tester, opts) => { /***/ }), -/* 997 */ +/* 1001 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +module.exports = cb => new Promise(resolve => { + resolve(cb()); +}); + + +/***/ }), +/* 1002 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -272713,10 +273489,10 @@ module.exports = (iterable, tester, opts) => { -var isGlob = __webpack_require__(998); -var findBase = __webpack_require__(863); +var isGlob = __webpack_require__(1003); +var findBase = __webpack_require__(864); var extglob = __webpack_require__(370); -var dotfile = __webpack_require__(905); +var dotfile = __webpack_require__(909); /** * Expose `cache` @@ -272863,7 +273639,7 @@ function unescape(str) { /***/ }), -/* 998 */ +/* 1003 */ /***/ (function(module, exports, __webpack_require__) { /*! @@ -272882,13 +273658,13 @@ module.exports = function isGlob(str) { }; /***/ }), -/* 999 */ +/* 1004 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var errorEx = __webpack_require__(654); -var fallback = __webpack_require__(1000); +var errorEx = __webpack_require__(655); +var fallback = __webpack_require__(1005); var JSONError = errorEx('JSONError', { fileName: errorEx.append('in %s') @@ -272924,7 +273700,7 @@ module.exports = function (x, reviver, filename) { /***/ }), -/* 1000 */ +/* 1005 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -272935,7 +273711,7 @@ module.exports = function (x, reviver, filename) { // RTFM: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf -var Uni = __webpack_require__(1001) +var Uni = __webpack_require__(1006) function isHexDigit(x) { return (x >= '0' && x <= '9') @@ -273682,7 +274458,7 @@ module.exports.tokenize = function tokenizeJSON(input, options) { /***/ }), -/* 1001 */ +/* 1006 */ /***/ (function(module, exports) { @@ -273759,7 +274535,7 @@ module.exports.NonAsciiIdentifierPart = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u0 /***/ }), -/* 1002 */ +/* 1007 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -273920,7 +274696,7 @@ function fresh (url, parsedUrl) { /***/ }), -/* 1003 */ +/* 1008 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -273951,7 +274727,7 @@ module.exports.sync = function (fp) { /***/ }), -/* 1004 */ +/* 1009 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -273986,14 +274762,14 @@ function stripTrailingSep(thePath) { /***/ }), -/* 1005 */ +/* 1010 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var fs = __webpack_require__(2); var Promise = __webpack_require__(99); -var pify = __webpack_require__(158); +var pify = __webpack_require__(159); function type(fn, fn2, fp) { if (typeof fp !== 'string') { @@ -274022,7 +274798,7 @@ exports.symlinkSync = typeSync.bind(null, 'lstatSync', 'isSymbolicLink'); /***/ }), -/* 1006 */ +/* 1011 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -274047,18 +274823,18 @@ var compiler = { */ passes: { check: { - reportUndefinedRules: __webpack_require__(1014), - reportDuplicateRules: __webpack_require__(1011), - reportDuplicateLabels: __webpack_require__(1010), - reportInfiniteRecursion: __webpack_require__(1012), - reportInfiniteRepetition: __webpack_require__(1013) + reportUndefinedRules: __webpack_require__(1019), + reportDuplicateRules: __webpack_require__(1016), + reportDuplicateLabels: __webpack_require__(1015), + reportInfiniteRecursion: __webpack_require__(1017), + reportInfiniteRepetition: __webpack_require__(1018) }, transform: { - removeProxyRules: __webpack_require__(1009) + removeProxyRules: __webpack_require__(1014) }, generate: { - generateBytecode: __webpack_require__(1007), - generateJS: __webpack_require__(1008) + generateBytecode: __webpack_require__(1012), + generateJS: __webpack_require__(1013) } }, @@ -274102,7 +274878,7 @@ module.exports = compiler; /***/ }), -/* 1007 */ +/* 1012 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -274740,7 +275516,7 @@ module.exports = generateBytecode; /***/ }), -/* 1008 */ +/* 1013 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276141,7 +276917,7 @@ module.exports = generateJS; /***/ }), -/* 1009 */ +/* 1014 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276190,7 +276966,7 @@ module.exports = removeProxyRules; /***/ }), -/* 1010 */ +/* 1015 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276251,7 +277027,7 @@ module.exports = reportDuplicateLabels; /***/ }), -/* 1011 */ +/* 1016 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276286,7 +277062,7 @@ module.exports = reportDuplicateRules; /***/ }), -/* 1012 */ +/* 1017 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276350,7 +277126,7 @@ module.exports = reportInfiniteRecursion; /***/ }), -/* 1013 */ +/* 1018 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276392,7 +277168,7 @@ module.exports = reportInfiniteRepetition; /***/ }), -/* 1014 */ +/* 1019 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -276422,7 +277198,7 @@ module.exports = reportUndefinedRules; /***/ }), -/* 1015 */ +/* 1020 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -281469,7 +282245,7 @@ module.exports = { /***/ }), -/* 1016 */ +/* 1021 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -281483,8 +282259,8 @@ var peg = { VERSION: "0.10.0", GrammarError: __webpack_require__(97), - parser: __webpack_require__(1015), - compiler: __webpack_require__(1006), + parser: __webpack_require__(1020), + compiler: __webpack_require__(1011), /* * Generates a parser from a specified grammar and returns it. @@ -281534,7 +282310,7 @@ module.exports = peg; /***/ }), -/* 1017 */ +/* 1022 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -281553,7 +282329,7 @@ module.exports = classes; /***/ }), -/* 1018 */ +/* 1023 */ /***/ (function(module, exports) { // Generated by CoffeeScript 1.12.2 @@ -281595,7 +282371,7 @@ module.exports = classes; /***/ }), -/* 1019 */ +/* 1024 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -281894,7 +282670,7 @@ module.exports = Promise; /***/ }), -/* 1020 */ +/* 1025 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -281954,7 +282730,7 @@ function randomize() { var cache = {}; /***/ }), -/* 1021 */ +/* 1026 */ /***/ (function(module, exports) { /** @@ -281979,7 +282755,7 @@ module.exports = function(func) { /***/ }), -/* 1022 */ +/* 1027 */ /***/ (function(module, exports) { /** @@ -282002,7 +282778,7 @@ module.exports = function cloneFn(func) { /***/ }), -/* 1023 */ +/* 1028 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -282183,7 +282959,7 @@ module.exports = function (str, opts) { /***/ }), -/* 1024 */ +/* 1029 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -282400,7 +283176,7 @@ module.exports = function (object, opts) { /***/ }), -/* 1025 */ +/* 1030 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -282413,8 +283189,8 @@ module.exports = function (object, opts) { -var isNumber = __webpack_require__(1026); -var typeOf = __webpack_require__(1028); +var isNumber = __webpack_require__(1031); +var typeOf = __webpack_require__(1033); /** * Expose `randomatic` @@ -282489,7 +283265,7 @@ function randomatic(pattern, length, options) { /***/ }), -/* 1026 */ +/* 1031 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -282502,7 +283278,7 @@ function randomatic(pattern, length, options) { -var typeOf = __webpack_require__(1027); +var typeOf = __webpack_require__(1032); module.exports = function isNumber(num) { var type = typeOf(num); @@ -282518,7 +283294,7 @@ module.exports = function isNumber(num) { /***/ }), -/* 1027 */ +/* 1032 */ /***/ (function(module, exports, __webpack_require__) { var isBuffer = __webpack_require__(217); @@ -282640,7 +283416,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 1028 */ +/* 1033 */ /***/ (function(module, exports, __webpack_require__) { var isBuffer = __webpack_require__(217); @@ -282765,7 +283541,7 @@ module.exports = function kindOf(val) { /***/ }), -/* 1029 */ +/* 1034 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -282930,13 +283706,13 @@ function sortByRangeStart (a, b) { /***/ }), -/* 1030 */ +/* 1035 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var findUp = __webpack_require__(833); -var readPkg = __webpack_require__(1031); +var findUp = __webpack_require__(834); +var readPkg = __webpack_require__(1036); module.exports = function (opts) { return findUp('package.json', opts).then(function (fp) { @@ -282968,15 +283744,15 @@ module.exports.sync = function (opts) { /***/ }), -/* 1031 */ +/* 1036 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var path = __webpack_require__(0); -var loadJsonFile = __webpack_require__(929); -var normalizePackageData = __webpack_require__(988); -var pathType = __webpack_require__(1005); +var loadJsonFile = __webpack_require__(933); +var normalizePackageData = __webpack_require__(992); +var pathType = __webpack_require__(1010); module.exports = function (fp, opts) { if (typeof fp !== 'string') { @@ -283023,7 +283799,7 @@ module.exports.sync = function (fp, opts) { /***/ }), -/* 1032 */ +/* 1037 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283076,7 +283852,7 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) { }; /***/ }), -/* 1033 */ +/* 1038 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283156,10 +283932,10 @@ module.exports = function () { }(); /***/ }), -/* 1034 */ +/* 1039 */ /***/ (function(module, exports, __webpack_require__) { -var Stream = __webpack_require__(21); +var Stream = __webpack_require__(22); if (process.env.READABLE_STREAM === 'disable' && Stream) { module.exports = Stream; exports = module.exports = Stream.Readable; @@ -283176,19 +283952,19 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) { exports.Writable = __webpack_require__(378); exports.Duplex = __webpack_require__(100); exports.Transform = __webpack_require__(377); - exports.PassThrough = __webpack_require__(1032); + exports.PassThrough = __webpack_require__(1037); } /***/ }), -/* 1035 */ +/* 1040 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var si = __webpack_require__(387); -var stream = __webpack_require__(1034); +var stream = __webpack_require__(1039); var util = __webpack_require__(3); var Readable = stream.Readable; @@ -283287,7 +284063,7 @@ module.exports = createStreamAPI; /***/ }), -/* 1036 */ +/* 1041 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283300,7 +284076,7 @@ module.exports = createStreamAPI; -var equal = __webpack_require__(906); +var equal = __webpack_require__(910); var basic = {}; var cache = {}; @@ -283362,7 +284138,7 @@ module.exports.basic = basic; /***/ }), -/* 1037 */ +/* 1042 */ /***/ (function(module, exports) { var isWin = process.platform === 'win32'; @@ -283385,7 +284161,7 @@ function isSeparator(str, i) { /***/ }), -/* 1038 */ +/* 1043 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283462,7 +284238,7 @@ function repeat(str, num) { /***/ }), -/* 1039 */ +/* 1044 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283636,7 +284412,7 @@ exports.Auth = Auth /***/ }), -/* 1040 */ +/* 1045 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283722,7 +284498,7 @@ module.exports = getProxyFromURI /***/ }), -/* 1041 */ +/* 1046 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -283730,7 +284506,7 @@ module.exports = getProxyFromURI var fs = __webpack_require__(1) var qs = __webpack_require__(172) -var validate = __webpack_require__(885) +var validate = __webpack_require__(886) var extend = __webpack_require__(210) function Har (request) { @@ -283934,7 +284710,7 @@ exports.Har = Har /***/ }), -/* 1042 */ +/* 1047 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -284053,7 +284829,7 @@ exports.Multipart = Multipart /***/ }), -/* 1043 */ +/* 1048 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -284063,7 +284839,7 @@ var url = __webpack_require__(9) var qs = __webpack_require__(374) var caseless = __webpack_require__(190) var uuid = __webpack_require__(251) -var oauth = __webpack_require__(992) +var oauth = __webpack_require__(996) var crypto = __webpack_require__(7) var Buffer = __webpack_require__(53).Buffer @@ -284208,7 +284984,7 @@ exports.OAuth = OAuth /***/ }), -/* 1044 */ +/* 1049 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -284265,7 +285041,7 @@ exports.Querystring = Querystring /***/ }), -/* 1045 */ +/* 1050 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -284426,14 +285202,14 @@ exports.Redirect = Redirect /***/ }), -/* 1046 */ +/* 1051 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var url = __webpack_require__(9) -var tunnel = __webpack_require__(1181) +var tunnel = __webpack_require__(1186) var defaultProxyHeaderWhiteList = [ 'accept', @@ -284608,7 +285384,7 @@ exports.Tunnel = Tunnel /***/ }), -/* 1047 */ +/* 1052 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -284618,31 +285394,31 @@ var http = __webpack_require__(30) var https = __webpack_require__(43) var url = __webpack_require__(9) var util = __webpack_require__(3) -var stream = __webpack_require__(21) +var stream = __webpack_require__(22) var zlib = __webpack_require__(173) -var hawk = __webpack_require__(887) +var hawk = __webpack_require__(888) var aws2 = __webpack_require__(567) var aws4 = __webpack_require__(568) -var httpSignature = __webpack_require__(894) +var httpSignature = __webpack_require__(898) var mime = __webpack_require__(364) -var stringstream = __webpack_require__(1065) +var stringstream = __webpack_require__(1070) var caseless = __webpack_require__(190) -var ForeverAgent = __webpack_require__(836) -var FormData = __webpack_require__(837) +var ForeverAgent = __webpack_require__(837) +var FormData = __webpack_require__(838) var extend = __webpack_require__(210) var isstream = __webpack_require__(353) -var isTypedArray = __webpack_require__(916).strict +var isTypedArray = __webpack_require__(920).strict var helpers = __webpack_require__(229) var cookies = __webpack_require__(384) -var getProxyFromURI = __webpack_require__(1040) -var Querystring = __webpack_require__(1044).Querystring -var Har = __webpack_require__(1041).Har -var Auth = __webpack_require__(1039).Auth -var OAuth = __webpack_require__(1043).OAuth -var Multipart = __webpack_require__(1042).Multipart -var Redirect = __webpack_require__(1045).Redirect -var Tunnel = __webpack_require__(1046).Tunnel -var now = __webpack_require__(1018) +var getProxyFromURI = __webpack_require__(1045) +var Querystring = __webpack_require__(1049).Querystring +var Har = __webpack_require__(1046).Har +var Auth = __webpack_require__(1044).Auth +var OAuth = __webpack_require__(1048).OAuth +var Multipart = __webpack_require__(1047).Multipart +var Redirect = __webpack_require__(1050).Redirect +var Tunnel = __webpack_require__(1051).Tunnel +var now = __webpack_require__(1023) var Buffer = __webpack_require__(53).Buffer var safeStringify = helpers.safeStringify @@ -286167,7 +286943,7 @@ module.exports = Request /***/ }), -/* 1048 */ +/* 1053 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -286260,7 +287036,7 @@ module.exports.defaults = defaultOptions; /***/ }), -/* 1049 */ +/* 1054 */ /***/ (function(module, exports, __webpack_require__) { module.exports = function (_require) { @@ -286284,7 +287060,7 @@ function handleIISNode (main) { /***/ }), -/* 1050 */ +/* 1055 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -286302,22 +287078,22 @@ function handleIISNode (main) { * @private */ -var createError = __webpack_require__(893) -var debug = __webpack_require__(1052)('send') -var deprecate = __webpack_require__(300)('send') -var destroy = __webpack_require__(651) -var encodeUrl = __webpack_require__(303) +var createError = __webpack_require__(894) +var debug = __webpack_require__(1057)('send') +var deprecate = __webpack_require__(649)('send') +var destroy = __webpack_require__(652) +var encodeUrl = __webpack_require__(302) var escapeHtml = __webpack_require__(196) -var etag = __webpack_require__(655) -var fresh = __webpack_require__(839) +var etag = __webpack_require__(656) +var fresh = __webpack_require__(840) var fs = __webpack_require__(1) -var mime = __webpack_require__(969) +var mime = __webpack_require__(973) var ms = __webpack_require__(62) var onFinished = __webpack_require__(368) -var parseRange = __webpack_require__(1029) +var parseRange = __webpack_require__(1034) var path = __webpack_require__(0) var statuses = __webpack_require__(394) -var Stream = __webpack_require__(21) +var Stream = __webpack_require__(22) var util = __webpack_require__(3) /** @@ -287421,7 +288197,7 @@ function setHeaders (res, headers) { /***/ }), -/* 1051 */ +/* 1056 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -287612,7 +288388,7 @@ function localstorage() { /***/ }), -/* 1052 */ +/* 1057 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -287621,14 +288397,14 @@ function localstorage() { */ if (typeof process !== 'undefined' && process.type === 'renderer') { - module.exports = __webpack_require__(1051); + module.exports = __webpack_require__(1056); } else { - module.exports = __webpack_require__(1053); + module.exports = __webpack_require__(1058); } /***/ }), -/* 1053 */ +/* 1058 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -287882,7 +288658,7 @@ exports.enable(load()); /***/ }), -/* 1054 */ +/* 1059 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -287901,11 +288677,11 @@ exports.enable(load()); * @private */ -var encodeUrl = __webpack_require__(303) +var encodeUrl = __webpack_require__(302) var escapeHtml = __webpack_require__(196) -var parseUrl = __webpack_require__(1002) +var parseUrl = __webpack_require__(1007) var resolve = __webpack_require__(0).resolve -var send = __webpack_require__(1050) +var send = __webpack_require__(1055) var url = __webpack_require__(9) /** @@ -288098,7 +288874,7 @@ function createRedirectDirectoryListener () { /***/ }), -/* 1055 */ +/* 1060 */ /***/ (function(module, exports) { module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); @@ -288119,7 +288895,7 @@ function mixinProperties(obj, proto) { /***/ }), -/* 1056 */ +/* 1061 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -292281,7 +293057,7 @@ module.exports = { /***/ }), -/* 1057 */ +/* 1062 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -306159,16 +306935,16 @@ module.exports = { /***/ }), -/* 1058 */ +/* 1063 */ /***/ (function(module, exports, __webpack_require__) { -var PEG = __webpack_require__(1016); +var PEG = __webpack_require__(1021); var fs = __webpack_require__(1); var path = __webpack_require__(0); var builtParsers = { - "solidity": __webpack_require__(1057), - "imports": __webpack_require__(1056) + "solidity": __webpack_require__(1062), + "imports": __webpack_require__(1061) }; // TODO: Make all this async. @@ -306212,7 +306988,7 @@ module.exports = { /***/ }), -/* 1059 */ +/* 1064 */ /***/ (function(module, exports) { module.exports = function(args, opts){ @@ -306294,10 +307070,10 @@ module.exports = function(args, opts){ /***/ }), -/* 1060 */ +/* 1065 */ /***/ (function(module, exports, __webpack_require__) { -var licenseIDs = __webpack_require__(1223); +var licenseIDs = __webpack_require__(1228); function valid(string) { return licenseIDs.indexOf(string) > -1; @@ -306537,10 +307313,10 @@ module.exports = function(identifier) { /***/ }), -/* 1061 */ +/* 1066 */ /***/ (function(module, exports, __webpack_require__) { -var parser = __webpack_require__(1062).parser +var parser = __webpack_require__(1067).parser module.exports = function (argument) { return parser.parse(argument) @@ -306548,7 +307324,7 @@ module.exports = function (argument) { /***/ }), -/* 1062 */ +/* 1067 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(module) {/* parser generated by jison 0.4.17 */ @@ -307912,7 +308688,7 @@ if (typeof module !== 'undefined' && __webpack_require__.c[__webpack_require__.s /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 1063 */ +/* 1068 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2017 Joyent, Inc. @@ -307930,7 +308706,7 @@ module.exports = { }; var assert = __webpack_require__(8); -var SSHBuffer = __webpack_require__(161); +var SSHBuffer = __webpack_require__(162); var crypto = __webpack_require__(7); var algs = __webpack_require__(25); var Key = __webpack_require__(26); @@ -308240,7 +309016,7 @@ function getCertType(key) { /***/ }), -/* 1064 */ +/* 1069 */ /***/ (function(module, exports, __webpack_require__) { // Copyright 2016 Joyent, Inc. @@ -308323,12 +309099,12 @@ function write(cert, options) { /***/ }), -/* 1065 */ +/* 1070 */ /***/ (function(module, exports, __webpack_require__) { var util = __webpack_require__(3) -var Stream = __webpack_require__(21) -var StringDecoder = __webpack_require__(1242).StringDecoder +var Stream = __webpack_require__(22) +var StringDecoder = __webpack_require__(1247).StringDecoder module.exports = StringStream module.exports.AlignedStringDecoder = AlignedStringDecoder @@ -308431,12 +309207,12 @@ function alignedWrite(buffer) { /***/ }), -/* 1066 */ +/* 1071 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var isUtf8 = __webpack_require__(917); +var isUtf8 = __webpack_require__(921); module.exports = function (x) { // Catches EFBBBF (UTF-8 BOM) because the buffer-to-string @@ -308455,10 +309231,10 @@ module.exports = function (x) { /***/ }), -/* 1067 */ +/* 1072 */ /***/ (function(module, exports, __webpack_require__) { -var isHexPrefixed = __webpack_require__(909); +var isHexPrefixed = __webpack_require__(913); /** * Removes '0x' from a given `String` is present @@ -308475,7 +309251,7 @@ module.exports = function stripHexPrefix(str) { /***/ }), -/* 1068 */ +/* 1073 */ /***/ (function(module, exports, __webpack_require__) { module.exports = rimraf @@ -308729,7 +309505,7 @@ function rmkidsSync (p, options) { /***/ }), -/* 1069 */ +/* 1074 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -308768,9 +309544,9 @@ var net = __webpack_require__(36); var urlParse = __webpack_require__(9).parse; var pubsuffix = __webpack_require__(399); var Store = __webpack_require__(400).Store; -var MemoryCookieStore = __webpack_require__(1070).MemoryCookieStore; +var MemoryCookieStore = __webpack_require__(1075).MemoryCookieStore; var pathMatch = __webpack_require__(397).pathMatch; -var VERSION = __webpack_require__(1225).version; +var VERSION = __webpack_require__(1230).version; var punycode; try { @@ -310077,7 +310853,7 @@ module.exports = { /***/ }), -/* 1070 */ +/* 1075 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -310254,7 +311030,7 @@ MemoryCookieStore.prototype.getAllCookies = function(cb) { /***/ }), -/* 1071 */ +/* 1076 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -311526,7 +312302,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/* 1072 */ +/* 1077 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -311727,7 +312503,7 @@ function localstorage() { /***/ }), -/* 1073 */ +/* 1078 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -311736,14 +312512,14 @@ function localstorage() { */ if (typeof process === 'undefined' || process.type === 'renderer') { - module.exports = __webpack_require__(1072); + module.exports = __webpack_require__(1077); } else { - module.exports = __webpack_require__(1074); + module.exports = __webpack_require__(1079); } /***/ }), -/* 1074 */ +/* 1079 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -311935,7 +312711,7 @@ exports.enable(load()); /***/ }), -/* 1075 */ +/* 1080 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -311983,12 +312759,12 @@ module.exports = copyFileSync /***/ }), -/* 1076 */ +/* 1081 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) var path = __webpack_require__(0) -var copyFileSync = __webpack_require__(1075) +var copyFileSync = __webpack_require__(1080) var mkdir = __webpack_require__(41) function copySync (src, dest, options) { @@ -312045,16 +312821,16 @@ module.exports = copySync /***/ }), -/* 1077 */ +/* 1082 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - copySync: __webpack_require__(1076) + copySync: __webpack_require__(1081) } /***/ }), -/* 1078 */ +/* 1083 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -312110,16 +312886,16 @@ module.exports = copy /***/ }), -/* 1079 */ +/* 1084 */ /***/ (function(module, exports, __webpack_require__) { module.exports = { - copy: __webpack_require__(1078) + copy: __webpack_require__(1083) } /***/ }), -/* 1080 */ +/* 1085 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1) @@ -312172,7 +312948,7 @@ module.exports = { /***/ }), -/* 1081 */ +/* 1086 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -312221,12 +312997,12 @@ module.exports = { /***/ }), -/* 1082 */ +/* 1087 */ /***/ (function(module, exports, __webpack_require__) { -var file = __webpack_require__(1081) -var link = __webpack_require__(1083) -var symlink = __webpack_require__(1086) +var file = __webpack_require__(1086) +var link = __webpack_require__(1088) +var symlink = __webpack_require__(1091) module.exports = { // file @@ -312248,7 +313024,7 @@ module.exports = { /***/ }), -/* 1083 */ +/* 1088 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -312312,7 +313088,7 @@ module.exports = { /***/ }), -/* 1084 */ +/* 1089 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -312414,7 +313190,7 @@ module.exports = { /***/ }), -/* 1085 */ +/* 1090 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -312447,7 +313223,7 @@ module.exports = { /***/ }), -/* 1086 */ +/* 1091 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -312456,11 +313232,11 @@ var _mkdirs = __webpack_require__(41) var mkdirs = _mkdirs.mkdirs var mkdirsSync = _mkdirs.mkdirsSync -var _symlinkPaths = __webpack_require__(1084) +var _symlinkPaths = __webpack_require__(1089) var symlinkPaths = _symlinkPaths.symlinkPaths var symlinkPathsSync = _symlinkPaths.symlinkPathsSync -var _symlinkType = __webpack_require__(1085) +var _symlinkType = __webpack_require__(1090) var symlinkType = _symlinkType.symlinkType var symlinkTypeSync = _symlinkType.symlinkTypeSync @@ -312515,10 +313291,10 @@ module.exports = { /***/ }), -/* 1087 */ +/* 1092 */ /***/ (function(module, exports, __webpack_require__) { -var assign = __webpack_require__(1092) +var assign = __webpack_require__(1097) var fse = {} var gfs = __webpack_require__(2) @@ -312530,17 +313306,17 @@ Object.keys(gfs).forEach(function (key) { var fs = fse -assign(fs, __webpack_require__(1079)) -assign(fs, __webpack_require__(1077)) +assign(fs, __webpack_require__(1084)) +assign(fs, __webpack_require__(1082)) assign(fs, __webpack_require__(41)) assign(fs, __webpack_require__(239)) -assign(fs, __webpack_require__(1088)) -assign(fs, __webpack_require__(1089)) -assign(fs, __webpack_require__(1080)) -assign(fs, __webpack_require__(1082)) -assign(fs, __webpack_require__(1090)) -assign(fs, __webpack_require__(1095)) +assign(fs, __webpack_require__(1093)) assign(fs, __webpack_require__(1094)) +assign(fs, __webpack_require__(1085)) +assign(fs, __webpack_require__(1087)) +assign(fs, __webpack_require__(1095)) +assign(fs, __webpack_require__(1100)) +assign(fs, __webpack_require__(1099)) module.exports = fs @@ -312559,7 +313335,7 @@ module.exports.jsonfile = jsonfile // so users of fs-extra can modify jsonFile.s /***/ }), -/* 1088 */ +/* 1093 */ /***/ (function(module, exports, __webpack_require__) { var jsonFile = __webpack_require__(236) @@ -312574,7 +313350,7 @@ module.exports = jsonFile /***/ }), -/* 1089 */ +/* 1094 */ /***/ (function(module, exports, __webpack_require__) { // most of this code was written by Andrew Kelley @@ -312741,7 +313517,7 @@ module.exports = { /***/ }), -/* 1090 */ +/* 1095 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0) @@ -312782,7 +313558,7 @@ module.exports = { /***/ }), -/* 1091 */ +/* 1096 */ /***/ (function(module, exports, __webpack_require__) { module.exports = rimraf @@ -313089,7 +313865,7 @@ function rmkidsSync (p, options) { /***/ }), -/* 1092 */ +/* 1097 */ /***/ (function(module, exports) { // simple mutable assign @@ -313109,7 +313885,7 @@ module.exports = assign /***/ }), -/* 1093 */ +/* 1098 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -313185,7 +313961,7 @@ module.exports = { /***/ }), -/* 1094 */ +/* 1099 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(2) @@ -313211,7 +313987,7 @@ module.exports = { /***/ }), -/* 1095 */ +/* 1100 */ /***/ (function(module, exports, __webpack_require__) { var klaw = __webpack_require__(356) @@ -313222,10 +313998,10 @@ module.exports = { /***/ }), -/* 1096 */ +/* 1101 */ /***/ (function(module, exports, __webpack_require__) { -var utils = __webpack_require__(1098); +var utils = __webpack_require__(1103); var tmp = __webpack_require__(413); var path = __webpack_require__(0); @@ -313280,7 +314056,7 @@ module.exports = Box; /***/ }), -/* 1097 */ +/* 1102 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(410); @@ -313319,10 +314095,10 @@ module.exports = { /***/ }), -/* 1098 */ +/* 1103 */ /***/ (function(module, exports, __webpack_require__) { -var unbox = __webpack_require__(1099); +var unbox = __webpack_require__(1104); module.exports = { downloadBox: function(url, destination) { @@ -313383,20 +314159,20 @@ module.exports = { /***/ }), -/* 1099 */ +/* 1104 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(410); var path = __webpack_require__(0); -var ghdownload = __webpack_require__(842); +var ghdownload = __webpack_require__(843); var request = __webpack_require__(383); var vcsurl = __webpack_require__(438); var parseURL = __webpack_require__(9).parse; var tmp = __webpack_require__(413); var exec = __webpack_require__(58).exec; -var cwd = __webpack_require__(1240).cwd(); +var cwd = __webpack_require__(1245).cwd(); -var config = __webpack_require__(1097); +var config = __webpack_require__(1102); function checkDestination(destination) { return Promise.resolve().then(function() { @@ -313532,7 +314308,7 @@ module.exports = { /***/ }), -/* 1100 */ +/* 1105 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -313580,7 +314356,7 @@ module.exports = copyFileSync /***/ }), -/* 1101 */ +/* 1106 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -313588,7 +314364,7 @@ module.exports = copyFileSync const fs = __webpack_require__(2) const path = __webpack_require__(0) -const copyFileSync = __webpack_require__(1100) +const copyFileSync = __webpack_require__(1105) const mkdir = __webpack_require__(35) function copySync (src, dest, options) { @@ -313649,7 +314425,7 @@ module.exports = copySync /***/ }), -/* 1102 */ +/* 1107 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -313710,17 +314486,17 @@ module.exports = copy /***/ }), -/* 1103 */ +/* 1108 */ /***/ (function(module, exports, __webpack_require__) { const u = __webpack_require__(31).fromCallback module.exports = { - copy: u(__webpack_require__(1102)) + copy: u(__webpack_require__(1107)) } /***/ }), -/* 1104 */ +/* 1109 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -313730,7 +314506,7 @@ const u = __webpack_require__(31).fromCallback const fs = __webpack_require__(1) const path = __webpack_require__(0) const mkdir = __webpack_require__(35) -const remove = __webpack_require__(162) +const remove = __webpack_require__(163) const emptyDir = u(function emptyDir (dir, callback) { callback = callback || function () {} @@ -313775,7 +314551,7 @@ module.exports = { /***/ }), -/* 1105 */ +/* 1110 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -313828,15 +314604,15 @@ module.exports = { /***/ }), -/* 1106 */ +/* 1111 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -const file = __webpack_require__(1105) -const link = __webpack_require__(1107) -const symlink = __webpack_require__(1110) +const file = __webpack_require__(1110) +const link = __webpack_require__(1112) +const symlink = __webpack_require__(1115) module.exports = { // file @@ -313858,7 +314634,7 @@ module.exports = { /***/ }), -/* 1107 */ +/* 1112 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -313926,7 +314702,7 @@ module.exports = { /***/ }), -/* 1108 */ +/* 1113 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314032,7 +314808,7 @@ module.exports = { /***/ }), -/* 1109 */ +/* 1114 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314070,7 +314846,7 @@ module.exports = { /***/ }), -/* 1110 */ +/* 1115 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314083,11 +314859,11 @@ const _mkdirs = __webpack_require__(35) const mkdirs = _mkdirs.mkdirs const mkdirsSync = _mkdirs.mkdirsSync -const _symlinkPaths = __webpack_require__(1108) +const _symlinkPaths = __webpack_require__(1113) const symlinkPaths = _symlinkPaths.symlinkPaths const symlinkPathsSync = _symlinkPaths.symlinkPathsSync -const _symlinkType = __webpack_require__(1109) +const _symlinkType = __webpack_require__(1114) const symlinkType = _symlinkType.symlinkType const symlinkTypeSync = _symlinkType.symlinkTypeSync @@ -314143,7 +314919,7 @@ module.exports = { /***/ }), -/* 1111 */ +/* 1116 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314152,8 +314928,8 @@ module.exports = { const u = __webpack_require__(31).fromCallback const jsonFile = __webpack_require__(240) -jsonFile.outputJsonSync = __webpack_require__(1112) -jsonFile.outputJson = u(__webpack_require__(1113)) +jsonFile.outputJsonSync = __webpack_require__(1117) +jsonFile.outputJson = u(__webpack_require__(1118)) // aliases jsonFile.outputJSONSync = jsonFile.outputJSONSync jsonFile.outputJSON = jsonFile.outputJson @@ -314166,7 +314942,7 @@ module.exports = jsonFile /***/ }), -/* 1112 */ +/* 1117 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314191,7 +314967,7 @@ module.exports = outputJsonSync /***/ }), -/* 1113 */ +/* 1118 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314225,7 +315001,7 @@ module.exports = outputJson /***/ }), -/* 1114 */ +/* 1119 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314291,7 +315067,7 @@ module.exports = mkdirsSync /***/ }), -/* 1115 */ +/* 1120 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314361,7 +315137,7 @@ module.exports = mkdirs /***/ }), -/* 1116 */ +/* 1121 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314370,7 +315146,7 @@ module.exports = mkdirs const fs = __webpack_require__(2) const path = __webpack_require__(0) const copySync = __webpack_require__(407).copySync -const removeSync = __webpack_require__(162).removeSync +const removeSync = __webpack_require__(163).removeSync const mkdirpSync = __webpack_require__(35).mkdirsSync const buffer = __webpack_require__(412) @@ -314486,7 +315262,7 @@ module.exports = { /***/ }), -/* 1117 */ +/* 1122 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314502,7 +315278,7 @@ const u = __webpack_require__(31).fromCallback const fs = __webpack_require__(2) const ncp = __webpack_require__(408) const path = __webpack_require__(0) -const remove = __webpack_require__(162).remove +const remove = __webpack_require__(163).remove const mkdirp = __webpack_require__(35).mkdirs function move (source, dest, options, callback) { @@ -314655,7 +315431,7 @@ module.exports = { /***/ }), -/* 1118 */ +/* 1123 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -314702,7 +315478,7 @@ module.exports = { /***/ }), -/* 1119 */ +/* 1124 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -315005,7 +315781,7 @@ rimraf.sync = rimrafSync /***/ }), -/* 1120 */ +/* 1125 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -315028,7 +315804,7 @@ module.exports = assign /***/ }), -/* 1121 */ +/* 1126 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -315107,7 +315883,7 @@ module.exports = { /***/ }), -/* 1122 */ +/* 1127 */ /***/ (function(module, exports, __webpack_require__) { var _fs @@ -315247,7 +316023,7 @@ module.exports = jsonfile /***/ }), -/* 1123 */ +/* 1128 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -315437,7 +316213,7 @@ module.exports = function (op, full) { /***/ }), -/* 1124 */ +/* 1129 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -315638,7 +316414,7 @@ function localstorage() { /***/ }), -/* 1125 */ +/* 1130 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -315647,14 +316423,14 @@ function localstorage() { */ if (typeof process === 'undefined' || process.type === 'renderer') { - module.exports = __webpack_require__(1124); + module.exports = __webpack_require__(1129); } else { - module.exports = __webpack_require__(1126); + module.exports = __webpack_require__(1131); } /***/ }), -/* 1126 */ +/* 1131 */ /***/ (function(module, exports, __webpack_require__) { /** @@ -315846,7 +316622,7 @@ exports.enable(load()); /***/ }), -/* 1127 */ +/* 1132 */ /***/ (function(module, exports, __webpack_require__) { var CompileError = __webpack_require__(241); @@ -315990,13 +316766,13 @@ module.exports = { /***/ }), -/* 1128 */ +/* 1133 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; const path = __webpack_require__(0); -const locatePath = __webpack_require__(930); +const locatePath = __webpack_require__(934); module.exports = (filename, opts) => { opts = opts || {}; @@ -316045,13 +316821,13 @@ module.exports.sync = (filename, opts) => { /***/ }), -/* 1129 */ +/* 1134 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory, undef) { if (true) { // CommonJS - module.exports = exports = factory(__webpack_require__(418), __webpack_require__(1130)); + module.exports = exports = factory(__webpack_require__(418), __webpack_require__(1135)); } else if (typeof define === "function" && define.amd) { // AMD @@ -316373,7 +317149,7 @@ module.exports.sync = (filename, opts) => { })); /***/ }), -/* 1130 */ +/* 1135 */ /***/ (function(module, exports, __webpack_require__) { ;(function (root, factory) { @@ -316682,12 +317458,12 @@ module.exports.sync = (filename, opts) => { })); /***/ }), -/* 1131 */ +/* 1136 */ /***/ (function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(module) {var ethJSABI = __webpack_require__(304); +/* WEBPACK VAR INJECTION */(function(module) {var ethJSABI = __webpack_require__(303); var BlockchainUtils = __webpack_require__(406); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); // For browserified version. If browserify gave us an empty version, // look for the one provided by the user. @@ -316845,7 +317621,13 @@ var contract = (function(module) { return; } - var timeout = C.synchronization_timeout || 240000; + var timeout; + if (C.synchronization_timeout === 0 || C.synchronization_timeout !== undefined) { + timeout = C.synchronization_timeout; + } else { + timeout = 240000; + } + var start = new Date().getTime(); var make_attempt = function() { @@ -317602,8 +318384,8 @@ var contract = (function(module) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(32)(module))) /***/ }), -/* 1132 */, -/* 1133 */ +/* 1137 */, +/* 1138 */ /***/ (function(module, exports, __webpack_require__) { var Config = __webpack_require__(10); @@ -317648,10 +318430,10 @@ command.run(process.argv.slice(2), options, function(err) { /***/ }), -/* 1134 */ +/* 1139 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var web3 = new Web3(); module.exports = function(chai, utils) { @@ -317673,7 +318455,7 @@ module.exports = function(chai, utils) { /***/ }), -/* 1135 */ +/* 1140 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -317693,7 +318475,7 @@ module.exports = command; /***/ }), -/* 1136 */ +/* 1141 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -317718,7 +318500,7 @@ module.exports = command; /***/ }), -/* 1137 */ +/* 1142 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -317775,7 +318557,7 @@ module.exports = command; /***/ }), -/* 1138 */ +/* 1143 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -317790,7 +318572,7 @@ var command = { run: function (options, done) { var Config = __webpack_require__(10); var ConfigurationError = __webpack_require__(425); - var create = __webpack_require__(1150); + var create = __webpack_require__(1155); var config = Config.detect(options); @@ -317832,7 +318614,7 @@ module.exports = command; /***/ }), -/* 1139 */ +/* 1144 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -317845,7 +318627,7 @@ var command = { }, run: function (options, done) { var Config = __webpack_require__(10); - var Debugger = __webpack_require__(1168); + var Debugger = __webpack_require__(1173); var Environment = __webpack_require__(102); var ReplManager = __webpack_require__(428); var OS = __webpack_require__(11); @@ -318172,7 +318954,7 @@ module.exports = command; /***/ }), -/* 1140 */ +/* 1145 */ /***/ (function(module, exports, __webpack_require__) { var migrate = __webpack_require__(421); @@ -318188,7 +318970,7 @@ module.exports = command; /***/ }), -/* 1141 */ +/* 1146 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318242,12 +319024,12 @@ module.exports = command; /***/ }), -/* 1142 */ +/* 1147 */ /***/ (function(module, exports, __webpack_require__) { var command = { command: 'init', - description: 'Initialize new Ethereum project with example contracts and tests', + description: 'Initialize new and empty Ethereum project', builder: {}, run: function (options, done) { var Config = __webpack_require__(10); @@ -318283,7 +319065,7 @@ module.exports = command; /***/ }), -/* 1143 */ +/* 1148 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318307,7 +319089,7 @@ module.exports = command; /***/ }), -/* 1144 */ +/* 1149 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318338,7 +319120,7 @@ module.exports = command; /***/ }), -/* 1145 */ +/* 1150 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318399,7 +319181,7 @@ module.exports = command; /***/ }), -/* 1146 */ +/* 1151 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318419,7 +319201,7 @@ module.exports = command; /***/ }), -/* 1147 */ +/* 1152 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318432,7 +319214,7 @@ var command = { } }, run: function (options, done) { - var Serve = __webpack_require__(1152); + var Serve = __webpack_require__(1157); var Config = __webpack_require__(10); var watch = __webpack_require__(423); @@ -318447,12 +319229,12 @@ module.exports = command; /***/ }), -/* 1148 */ +/* 1153 */ /***/ (function(module, exports, __webpack_require__) { var command = { command: 'test', - description: 'Run Mocha and Solidity tests', + description: 'Run JavaScript and Solidity tests', builder: {}, run: function (options, done) { var OS = __webpack_require__(11); @@ -318461,7 +319243,7 @@ var command = { var Config = __webpack_require__(10); var Artifactor = __webpack_require__(131); var Develop = __webpack_require__(243); - var Test = __webpack_require__(1153); + var Test = __webpack_require__(1158); var fs = __webpack_require__(1); var copy = __webpack_require__(242); var Environment = __webpack_require__(102); @@ -318573,7 +319355,7 @@ module.exports = command; /***/ }), -/* 1149 */ +/* 1154 */ /***/ (function(module, exports, __webpack_require__) { var command = { @@ -318602,7 +319384,7 @@ module.exports = command; /***/ }), -/* 1150 */ +/* 1155 */ /***/ (function(module, exports, __webpack_require__) { var copy = __webpack_require__(242); @@ -318707,7 +319489,7 @@ module.exports = Create /***/ }), -/* 1151 */ +/* 1156 */ /***/ (function(module, exports, __webpack_require__) { var colors = __webpack_require__(192); @@ -318725,12 +319507,12 @@ module.exports = BuildError; /***/ }), -/* 1152 */ +/* 1157 */ /***/ (function(module, exports, __webpack_require__) { var http = __webpack_require__(30); -var finalhandler = __webpack_require__(829); -var serveStatic = __webpack_require__(1054); +var finalhandler = __webpack_require__(830); +var serveStatic = __webpack_require__(1059); var path = __webpack_require__(0); var Serve = { @@ -318757,30 +319539,30 @@ module.exports = Serve; /***/ }), -/* 1153 */ +/* 1158 */ /***/ (function(module, exports, __webpack_require__) { -var Mocha = __webpack_require__(1239); +var Mocha = __webpack_require__(1244); var chai = __webpack_require__(574); var path = __webpack_require__(0); var fs = __webpack_require__(1); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var Config = __webpack_require__(10); var Contracts = __webpack_require__(101); -var Resolver = __webpack_require__(164); -var TestRunner = __webpack_require__(1156); +var Resolver = __webpack_require__(165); +var TestRunner = __webpack_require__(1161); var TestResolver = __webpack_require__(429); var TestSource = __webpack_require__(430); -var SolidityTest = __webpack_require__(1155); -var expect = __webpack_require__(22); +var SolidityTest = __webpack_require__(1160); +var expect = __webpack_require__(23); var find_contracts = __webpack_require__(132); var SolidityUtils = __webpack_require__(435); var Migrate = __webpack_require__(247); -var Profiler = __webpack_require__(163); +var Profiler = __webpack_require__(164); var async = __webpack_require__(66); var originalrequire = __webpack_require__(253); -chai.use(__webpack_require__(1134)); +chai.use(__webpack_require__(1139)); var Test = { run: function(options, callback) { @@ -319041,11 +319823,11 @@ module.exports = Test; /***/ }), -/* 1154 */ +/* 1159 */ /***/ (function(module, exports, __webpack_require__) { // Using web3 for its sha function... -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var Deployed = { @@ -319098,11 +319880,11 @@ module.exports = Deployed; /***/ }), -/* 1155 */ +/* 1160 */ /***/ (function(module, exports, __webpack_require__) { -var TestCase = __webpack_require__(973); -var Suite = __webpack_require__(972); +var TestCase = __webpack_require__(977); +var Suite = __webpack_require__(976); var Deployer = __webpack_require__(431); var find_contracts = __webpack_require__(132); var compile = __webpack_require__(415); @@ -319110,6 +319892,7 @@ var artifactor = __webpack_require__(131); var contract = __webpack_require__(56); var series = __webpack_require__(66).series; var path = __webpack_require__(0); +var SolidityCoder = __webpack_require__(134); var SolidityTest = { define: function(abstraction, dependency_paths, runner, mocha) { @@ -319131,8 +319914,33 @@ var SolidityTest = { runner.startTest(this, done); }); + // Function that decodes raw logs from unlinked third party assertion + // libraries and returns usable TestEvent logs + function decodeTestEvents(result) { + if (result.logs.length) return result.logs; + + var logs = []; + var signature = web3.sha3('TestEvent(bool,string)'); + + result.receipt.logs.forEach(function(log) { + if (log.topics.length === 2 && log.topics[0] === signature){ + var decoded = { + event: 'TestEvent', + args: { + result: SolidityCoder.decodeParams(['bool'], log.topics[1].replace("0x", ""))[0], + message: SolidityCoder.decodeParams(['string'], log.data.replace("0x", ""))[0] + } + }; + logs.push(decoded); + } + }); + return logs; + }; + // Function that checks transaction logs to see if a test failed. function processResult(result) { + result.logs = decodeTestEvents(result); + result.logs.forEach(function(log) { if (log.event == "TestEvent" && log.args.result == false) { throw new Error(log.args.message); @@ -319255,17 +320063,17 @@ module.exports = SolidityTest; /***/ }), -/* 1156 */ +/* 1161 */ /***/ (function(module, exports, __webpack_require__) { -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var Config = __webpack_require__(10); var Migrate = __webpack_require__(247); var TestResolver = __webpack_require__(429); var TestSource = __webpack_require__(430); -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var contract = __webpack_require__(56); -var SolidityCoder = __webpack_require__(166); +var SolidityCoder = __webpack_require__(134); var path = __webpack_require__(0); var _ = __webpack_require__(29); var async = __webpack_require__(66); @@ -319497,12 +320305,12 @@ module.exports = TestRunner; /***/ }), -/* 1157 */ +/* 1162 */ /***/ (function(module, exports, __webpack_require__) { var camelCase = __webpack_require__(284) var path = __webpack_require__(0) -var tokenizeArgString = __webpack_require__(1158) +var tokenizeArgString = __webpack_require__(1163) var util = __webpack_require__(3) function parse (args, opts) { @@ -320262,7 +321070,7 @@ module.exports = Parser /***/ }), -/* 1158 */ +/* 1163 */ /***/ (function(module, exports) { // take an un-split argv string and tokenize it. @@ -320302,7 +321110,7 @@ module.exports = function (argString) { /***/ }), -/* 1159 */ +/* 1164 */ /***/ (function(module, exports) { // lazy Object.assign logic that only works for merging @@ -320323,7 +321131,7 @@ module.exports = function assign (defaults, configuration) { /***/ }), -/* 1160 */ +/* 1165 */ /***/ (function(module, exports, __webpack_require__) { const path = __webpack_require__(0) @@ -320398,13 +321206,13 @@ module.exports = function (yargs, usage, validation) { } return visited } - __webpack_require__(1048)({ require: req, filename: callerFile }, dir, opts) + __webpack_require__(1053)({ require: req, filename: callerFile }, dir, opts) } // lookup module object from require()d command and derive name // if module was not require()d and no name given, throw error function moduleName (obj) { - const mod = __webpack_require__(1219)(obj) + const mod = __webpack_require__(1224)(obj) if (!mod) throw new Error('No command name given for module: ' + inspect(obj)) return commandFromFilename(mod.filename) } @@ -320594,7 +321402,7 @@ module.exports = function (yargs, usage, validation) { /***/ }), -/* 1161 */ +/* 1166 */ /***/ (function(module, exports, __webpack_require__) { const fs = __webpack_require__(1) @@ -320699,7 +321507,7 @@ module.exports = function (yargs, usage, command) { /***/ }), -/* 1162 */ +/* 1167 */ /***/ (function(module, exports) { /* @@ -320752,7 +321560,7 @@ module.exports = function (a, b) { /***/ }), -/* 1163 */ +/* 1168 */ /***/ (function(module, exports, __webpack_require__) { // this file handles outputting usage instructions, @@ -321220,7 +322028,7 @@ module.exports = function (yargs, y18n) { /***/ }), -/* 1164 */ +/* 1169 */ /***/ (function(module, exports, __webpack_require__) { const objFilter = __webpack_require__(246) @@ -321533,7 +322341,7 @@ module.exports = function (yargs, usage, y18n) { } self.recommendCommands = function (cmd, potentialCommands) { - const distance = __webpack_require__(1162) + const distance = __webpack_require__(1167) const threshold = 3 // if it takes more than three edits, let's move on. potentialCommands = potentialCommands.sort(function (a, b) { return b.length - a.length }) @@ -321577,17 +322385,17 @@ module.exports = function (yargs, usage, y18n) { /***/ }), -/* 1165 */ +/* 1170 */ /***/ (function(module, exports, __webpack_require__) { -const assign = __webpack_require__(1159) -const Command = __webpack_require__(1160) -const Completion = __webpack_require__(1161) -const Parser = __webpack_require__(1157) +const assign = __webpack_require__(1164) +const Command = __webpack_require__(1165) +const Completion = __webpack_require__(1166) +const Parser = __webpack_require__(1162) const path = __webpack_require__(0) -const Usage = __webpack_require__(1163) -const Validation = __webpack_require__(1164) -const Y18n = __webpack_require__(1221) +const Usage = __webpack_require__(1168) +const Validation = __webpack_require__(1169) +const Y18n = __webpack_require__(1226) const objFilter = __webpack_require__(246) const setBlocking = __webpack_require__(386) @@ -321828,7 +322636,7 @@ function Yargs (processArgs, cwd, parentRequire) { self.commandDir = function (dir, opts) { const req = parentRequire || !(function webpackMissingModule() { var e = new Error("Cannot find module \".\""); e.code = 'MODULE_NOT_FOUND'; throw e; }()) - command.addDirectory(dir, self.getContext(), req, __webpack_require__(841)(), opts) + command.addDirectory(dir, self.getContext(), req, __webpack_require__(842)(), opts) return self } @@ -322040,12 +322848,12 @@ function Yargs (processArgs, cwd, parentRequire) { function pkgUp (path) { var npath = path || '*' if (pkgs[npath]) return pkgs[npath] - const readPkgUp = __webpack_require__(1030) + const readPkgUp = __webpack_require__(1035) var obj = {} try { obj = readPkgUp.sync({ - cwd: path || __webpack_require__(1049)(parentRequire || !(function webpackMissingModule() { var e = new Error("Cannot find module \".\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())), + cwd: path || __webpack_require__(1054)(parentRequire || !(function webpackMissingModule() { var e = new Error("Cannot find module \".\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())), normalize: false }) } catch (noop) {} @@ -322590,7 +323398,7 @@ function Yargs (processArgs, cwd, parentRequire) { if (!detectLocale) return try { - const osLocale = __webpack_require__(994) + const osLocale = __webpack_require__(998) self.locale(osLocale.sync({ spawn: false })) } catch (err) { // if we explode looking up locale just noop @@ -322620,7 +323428,7 @@ function rebase (base, dir) { /***/ }), -/* 1166 */ +/* 1171 */ /***/ (function(module, exports) { function Call(context, type) { @@ -322697,7 +323505,7 @@ module.exports = Call; /***/ }), -/* 1167 */ +/* 1172 */ /***/ (function(module, exports, __webpack_require__) { var SolidityUtils = __webpack_require__(435); @@ -322772,18 +323580,18 @@ module.exports = Context; /***/ }), -/* 1168 */ +/* 1173 */ /***/ (function(module, exports, __webpack_require__) { -var expect = __webpack_require__(22); +var expect = __webpack_require__(23); var contract = __webpack_require__(56); -var Web3 = __webpack_require__(23); +var Web3 = __webpack_require__(24); var dir = __webpack_require__(95); var path = __webpack_require__(0); -var async = __webpack_require__(1169); +var async = __webpack_require__(1174); var OS = __webpack_require__(11); -var Context = __webpack_require__(1167); -var Call = __webpack_require__(1166); +var Context = __webpack_require__(1172); +var Call = __webpack_require__(1171); function Debugger(config) { this.config = config; @@ -323507,7 +324315,7 @@ module.exports = Debugger; /***/ }), -/* 1169 */ +/* 1174 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! @@ -324779,7 +325587,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! /***/ }), -/* 1170 */ +/* 1175 */ /***/ (function(module, exports, __webpack_require__) { var deploy = __webpack_require__(432); @@ -324805,10 +325613,10 @@ module.exports = function(arr, deployer) { /***/ }), -/* 1171 */ +/* 1176 */ /***/ (function(module, exports, __webpack_require__) { -var Linker = __webpack_require__(1174); +var Linker = __webpack_require__(1179); module.exports = function(library, destinations, deployer) { return function() { @@ -324818,7 +325626,7 @@ module.exports = function(library, destinations, deployer) { /***/ }), -/* 1172 */ +/* 1177 */ /***/ (function(module, exports) { module.exports = function(contract, args, deployer) { @@ -324833,7 +325641,7 @@ module.exports = function(contract, args, deployer) { /***/ }), -/* 1173 */ +/* 1178 */ /***/ (function(module, exports) { function DeferredChain() { @@ -324886,7 +325694,7 @@ module.exports = DeferredChain; /***/ }), -/* 1174 */ +/* 1179 */ /***/ (function(module, exports) { module.exports = { @@ -324970,7 +325778,7 @@ module.exports = { /***/ }), -/* 1175 */ +/* 1180 */ /***/ (function(module, exports) { // From here: @@ -324993,7 +325801,7 @@ module.exports = ExtendableBuiltin; /***/ }), -/* 1176 */ +/* 1181 */ /***/ (function(module, exports) { function ResolverIntercept(resolver) { @@ -325032,7 +325840,7 @@ module.exports = ResolverIntercept; /***/ }), -/* 1177 */ +/* 1182 */ /***/ (function(module, exports, __webpack_require__) { var inherits = __webpack_require__(3).inherits; @@ -325061,10 +325869,10 @@ module.exports = ProviderError; /***/ }), -/* 1178 */ +/* 1183 */ /***/ (function(module, exports, __webpack_require__) { -var ProviderError = __webpack_require__(1177); +var ProviderError = __webpack_require__(1182); module.exports = { /* @@ -325205,7 +326013,7 @@ module.exports = { /***/ }), -/* 1179 */ +/* 1184 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0); @@ -325334,7 +326142,7 @@ module.exports = EPM; /***/ }), -/* 1180 */ +/* 1185 */ /***/ (function(module, exports, __webpack_require__) { var path = __webpack_require__(0); @@ -325401,7 +326209,7 @@ module.exports = NPM; /***/ }), -/* 1181 */ +/* 1186 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -325411,7 +326219,7 @@ var net = __webpack_require__(36) , tls = __webpack_require__(69) , http = __webpack_require__(30) , https = __webpack_require__(43) - , events = __webpack_require__(24) + , events = __webpack_require__(21) , assert = __webpack_require__(12) , util = __webpack_require__(3) , Buffer = __webpack_require__(53).Buffer @@ -325652,14 +326460,14 @@ exports.debug = debug // for test /***/ }), -/* 1182 */ +/* 1187 */ /***/ (function(module, exports, __webpack_require__) { -module.exports = __webpack_require__(1183); +module.exports = __webpack_require__(1188); /***/ }), -/* 1183 */ +/* 1188 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -325669,7 +326477,7 @@ var net = __webpack_require__(36); var tls = __webpack_require__(69); var http = __webpack_require__(30); var https = __webpack_require__(43); -var events = __webpack_require__(24); +var events = __webpack_require__(21); var assert = __webpack_require__(12); var util = __webpack_require__(3); @@ -325900,7 +326708,7 @@ exports.debug = debug; // for test /***/ }), -/* 1184 */ +/* 1189 */ /***/ (function(module, exports) { /*! @@ -326040,7 +326848,7 @@ Library.prototype.test = function(obj, type) { /***/ }), -/* 1185 */ +/* 1190 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -326116,7 +326924,7 @@ function unpipe(stream) { /***/ }), -/* 1186 */ +/* 1191 */ /***/ (function(module, exports, __webpack_require__) { @@ -326128,7 +326936,7 @@ module.exports = __webpack_require__(3).deprecate; /***/ }), -/* 1187 */ +/* 1192 */ /***/ (function(module, exports, __webpack_require__) { var rng = __webpack_require__(437); @@ -326139,20 +326947,12 @@ var bytesToUuid = __webpack_require__(436); // Inspired by https://github.com/LiosK/UUID.js // and http://docs.python.org/library/uuid.html -// random #'s we need to init node and clockseq -var _seedBytes = rng(); - -// Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) -var _nodeId = [ - _seedBytes[0] | 0x01, - _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5] -]; - -// Per 4.2.2, randomize (14 bit) clockseq -var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff; +var _nodeId; +var _clockseq; // Previous uuid creation time -var _lastMSecs = 0, _lastNSecs = 0; +var _lastMSecs = 0; +var _lastNSecs = 0; // See https://github.com/broofa/node-uuid for API details function v1(options, buf, offset) { @@ -326160,9 +326960,27 @@ function v1(options, buf, offset) { var b = buf || []; options = options || {}; - + var node = options.node || _nodeId; var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; + // node and clockseq need to be initialized to random values if they're not + // specified. We do this lazily to minimize issues related to insufficient + // system entropy. See #189 + if (node == null || clockseq == null) { + var seedBytes = rng(); + if (node == null) { + // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) + node = _nodeId = [ + seedBytes[0] | 0x01, + seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5] + ]; + } + if (clockseq == null) { + // Per 4.2.2, randomize (14 bit) clockseq + clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; + } + } + // UUID timestamps are 100 nano-second units since the Gregorian epoch, // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' @@ -326222,7 +327040,6 @@ function v1(options, buf, offset) { b[i++] = clockseq & 0xff; // `node` - var node = options.node || _nodeId; for (var n = 0; n < 6; ++n) { b[i + n] = node[n]; } @@ -326234,7 +327051,7 @@ module.exports = v1; /***/ }), -/* 1188 */ +/* 1193 */ /***/ (function(module, exports, __webpack_require__) { var rng = __webpack_require__(437); @@ -326244,7 +327061,7 @@ function v4(options, buf, offset) { var i = buf && offset || 0; if (typeof(options) == 'string') { - buf = options == 'binary' ? new Array(16) : null; + buf = options === 'binary' ? new Array(16) : null; options = null; } options = options || {}; @@ -326269,11 +327086,11 @@ module.exports = v4; /***/ }), -/* 1189 */ +/* 1194 */ /***/ (function(module, exports, __webpack_require__) { -var parse = __webpack_require__(1061); -var correct = __webpack_require__(1060); +var parse = __webpack_require__(1066); +var correct = __webpack_require__(1065); var genericWarning = ( 'license should be ' + @@ -326359,7 +327176,7 @@ module.exports = function(argument) { /***/ }), -/* 1190 */ +/* 1195 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -326369,7 +327186,7 @@ module.exports = function(argument) { var mod_assertplus = __webpack_require__(8); var mod_util = __webpack_require__(3); -var mod_extsprintf = __webpack_require__(333); +var mod_extsprintf = __webpack_require__(332); var mod_isError = __webpack_require__(82).isError; var sprintf = mod_extsprintf.sprintf; @@ -326816,7 +327633,7 @@ WError.prototype.cause = function we_cause(c) /***/ }), -/* 1191 */ +/* 1196 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -326848,7 +327665,7 @@ module.exports = SolidityTypeAddress; /***/ }), -/* 1192 */ +/* 1197 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -326880,7 +327697,7 @@ module.exports = SolidityTypeBool; /***/ }), -/* 1193 */ +/* 1198 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -326915,7 +327732,7 @@ module.exports = SolidityTypeBytes; /***/ }), -/* 1194 */ +/* 1199 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -326941,7 +327758,7 @@ module.exports = SolidityTypeDynamicBytes; /***/ }), -/* 1195 */ +/* 1200 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -326979,7 +327796,7 @@ module.exports = SolidityTypeInt; /***/ }), -/* 1196 */ +/* 1201 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -327017,7 +327834,7 @@ module.exports = SolidityTypeReal; /***/ }), -/* 1197 */ +/* 1202 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -327043,7 +327860,7 @@ module.exports = SolidityTypeString; /***/ }), -/* 1198 */ +/* 1203 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -327081,7 +327898,7 @@ module.exports = SolidityTypeUInt; /***/ }), -/* 1199 */ +/* 1204 */ /***/ (function(module, exports, __webpack_require__) { var f = __webpack_require__(42); @@ -327119,7 +327936,7 @@ module.exports = SolidityTypeUReal; /***/ }), -/* 1200 */ +/* 1205 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -327149,23 +327966,23 @@ module.exports = SolidityTypeUReal; * @date 2014 */ -var RequestManager = __webpack_require__(1215); +var RequestManager = __webpack_require__(1220); var Iban = __webpack_require__(169); -var Eth = __webpack_require__(1209); -var DB = __webpack_require__(1208); -var Shh = __webpack_require__(1212); -var Net = __webpack_require__(1210); -var Personal = __webpack_require__(1211); -var Swarm = __webpack_require__(1213); -var Settings = __webpack_require__(1216); -var version = __webpack_require__(1235); +var Eth = __webpack_require__(1214); +var DB = __webpack_require__(1213); +var Shh = __webpack_require__(1217); +var Net = __webpack_require__(1215); +var Personal = __webpack_require__(1216); +var Swarm = __webpack_require__(1218); +var Settings = __webpack_require__(1221); +var version = __webpack_require__(1240); var utils = __webpack_require__(20); -var sha3 = __webpack_require__(134); -var extend = __webpack_require__(1204); -var Batch = __webpack_require__(1202); +var sha3 = __webpack_require__(135); +var extend = __webpack_require__(1209); +var Batch = __webpack_require__(1207); var Property = __webpack_require__(104); -var HttpProvider = __webpack_require__(1206); -var IpcProvider = __webpack_require__(1207); +var HttpProvider = __webpack_require__(1211); +var IpcProvider = __webpack_require__(1212); var BigNumber = __webpack_require__(106); @@ -327277,7 +328094,7 @@ module.exports = Web3; /***/ }), -/* 1201 */ +/* 1206 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -327302,7 +328119,7 @@ module.exports = Web3; * @date 2014 */ -var sha3 = __webpack_require__(134); +var sha3 = __webpack_require__(135); var SolidityEvent = __webpack_require__(440); var formatters = __webpack_require__(67); var utils = __webpack_require__(20); @@ -327371,7 +328188,7 @@ module.exports = AllSolidityEvents; /***/ }), -/* 1202 */ +/* 1207 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -327443,7 +328260,7 @@ module.exports = Batch; /***/ }), -/* 1203 */ +/* 1208 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -327469,10 +328286,10 @@ module.exports = Batch; */ var utils = __webpack_require__(20); -var coder = __webpack_require__(166); +var coder = __webpack_require__(134); var SolidityEvent = __webpack_require__(440); -var SolidityFunction = __webpack_require__(1205); -var AllEvents = __webpack_require__(1201); +var SolidityFunction = __webpack_require__(1210); +var AllEvents = __webpack_require__(1206); /** * Should be called to encode constructor params @@ -327759,7 +328576,7 @@ module.exports = ContractFactory; /***/ }), -/* 1204 */ +/* 1209 */ /***/ (function(module, exports, __webpack_require__) { var formatters = __webpack_require__(67); @@ -327813,7 +328630,7 @@ module.exports = extend; /***/ }), -/* 1205 */ +/* 1210 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -327838,11 +328655,11 @@ module.exports = extend; * @date 2015 */ -var coder = __webpack_require__(166); +var coder = __webpack_require__(134); var utils = __webpack_require__(20); var errors = __webpack_require__(103); var formatters = __webpack_require__(67); -var sha3 = __webpack_require__(134); +var sha3 = __webpack_require__(135); /** * This prototype should be used to call/sendTransaction to solidity functions @@ -328102,7 +328919,7 @@ module.exports = SolidityFunction; /***/ }), -/* 1206 */ +/* 1211 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -328138,7 +328955,7 @@ if (typeof window !== 'undefined' && window.XMLHttpRequest) { XMLHttpRequest = window.XMLHttpRequest; // jshint ignore: line // node } else { - XMLHttpRequest = __webpack_require__(135).XMLHttpRequest; // jshint ignore: line + XMLHttpRequest = __webpack_require__(136).XMLHttpRequest; // jshint ignore: line } var XHR2 = __webpack_require__(252); // jshint ignore: line @@ -328146,11 +328963,12 @@ var XHR2 = __webpack_require__(252); // jshint ignore: line /** * HttpProvider should be used to send rpc calls over http */ -var HttpProvider = function (host, timeout, user, password) { +var HttpProvider = function (host, timeout, user, password, headers) { this.host = host || 'http://localhost:8545'; this.timeout = timeout || 0; this.user = user; this.password = password; + this.headers = headers; }; /** @@ -328175,6 +328993,11 @@ HttpProvider.prototype.prepareRequest = function (async) { var auth = 'Basic ' + new Buffer(this.user + ':' + this.password).toString('base64'); request.setRequestHeader('Authorization', auth); } request.setRequestHeader('Content-Type', 'application/json'); + if(this.headers) { + this.headers.forEach(function(header) { + request.setRequestHeader(header.name, header.value); + }); + } return request; }; @@ -328265,7 +329088,7 @@ module.exports = HttpProvider; /***/ }), -/* 1207 */ +/* 1212 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -328479,7 +329302,7 @@ module.exports = IpcProvider; /***/ }), -/* 1208 */ +/* 1213 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -328551,7 +329374,7 @@ module.exports = DB; /***/ }), -/* 1209 */ +/* 1214 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -328585,13 +329408,13 @@ var utils = __webpack_require__(20); var Method = __webpack_require__(78); var Property = __webpack_require__(104); var c = __webpack_require__(167); -var Contract = __webpack_require__(1203); +var Contract = __webpack_require__(1208); var watches = __webpack_require__(170); var Filter = __webpack_require__(168); -var IsSyncing = __webpack_require__(1217); -var namereg = __webpack_require__(1214); +var IsSyncing = __webpack_require__(1222); +var namereg = __webpack_require__(1219); var Iban = __webpack_require__(169); -var transfer = __webpack_require__(1218); +var transfer = __webpack_require__(1223); var blockCall = function (args) { return (utils.isString(args[0]) && args[0].indexOf('0x') === 0) ? "eth_getBlockByHash" : "eth_getBlockByNumber"; @@ -328912,7 +329735,7 @@ module.exports = Eth; /***/ }), -/* 1210 */ +/* 1215 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -328970,7 +329793,7 @@ module.exports = Net; /***/ }), -/* 1211 */ +/* 1216 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -329092,7 +329915,7 @@ module.exports = Personal; /***/ }), -/* 1212 */ +/* 1217 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -329242,7 +330065,7 @@ module.exports = Shh; /***/ }), -/* 1213 */ +/* 1218 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -329394,7 +330217,7 @@ module.exports = Swarm; /***/ }), -/* 1214 */ +/* 1219 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -329419,8 +330242,8 @@ module.exports = Swarm; * @date 2015 */ -var globalRegistrarAbi = __webpack_require__(1232); -var icapRegistrarAbi= __webpack_require__(1233); +var globalRegistrarAbi = __webpack_require__(1237); +var icapRegistrarAbi= __webpack_require__(1238); var globalNameregAddress = '0xc6d9d2cd449a754c494264e1809c50e34d64562b'; var icapNameregAddress = '0xa1a111bc074c9cfa781f0c38e63bd51c91b8af00'; @@ -329439,7 +330262,7 @@ module.exports = { /***/ }), -/* 1215 */ +/* 1220 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -329710,7 +330533,7 @@ module.exports = RequestManager; /***/ }), -/* 1216 */ +/* 1221 */ /***/ (function(module, exports) { @@ -329725,7 +330548,7 @@ module.exports = Settings; /***/ }), -/* 1217 */ +/* 1222 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -329824,7 +330647,7 @@ module.exports = IsSyncing; /***/ }), -/* 1218 */ +/* 1223 */ /***/ (function(module, exports, __webpack_require__) { /* @@ -329850,7 +330673,7 @@ module.exports = IsSyncing; */ var Iban = __webpack_require__(169); -var exchangeAbi = __webpack_require__(1234); +var exchangeAbi = __webpack_require__(1239); /** * Should be used to make Iban transfer @@ -329922,7 +330745,7 @@ module.exports = transfer; /***/ }), -/* 1219 */ +/* 1224 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -329938,7 +330761,7 @@ module.exports = function whichModule (exported) { /***/ }), -/* 1220 */ +/* 1225 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -330113,7 +330936,7 @@ module.exports = function (str, cols, opts) { /***/ }), -/* 1221 */ +/* 1226 */ /***/ (function(module, exports, __webpack_require__) { var fs = __webpack_require__(1) @@ -330291,55 +331114,55 @@ module.exports = function (opts) { /***/ }), -/* 1222 */ +/* 1227 */ /***/ (function(module, exports) { -module.exports = {"_from":"solc@0.4.18","_id":"solc@0.4.18","_inBundle":false,"_integrity":"sha512-Kq+O3PNF9Pfq7fB+lDYAuoqRdghLmZyfngsg0h1Hj38NKAeVHeGPOGeZasn5KqdPeCzbMFvaGyTySxzGv6aXCg==","_location":"/solc","_phantomChildren":{"cliui":"3.2.0","decamelize":"1.2.0","get-caller-file":"1.0.2","graceful-fs":"4.1.11","jsonfile":"2.4.0","klaw":"1.3.1","lodash.assign":"4.2.0","os-locale":"1.4.0","path-is-absolute":"1.0.1","read-pkg-up":"1.0.1","require-directory":"2.1.1","require-main-filename":"1.0.1","rimraf":"2.6.2","set-blocking":"2.0.0","string-width":"1.0.2","which-module":"1.0.0","window-size":"0.2.0","y18n":"3.2.1","yargs-parser":"2.4.1"},"_requested":{"type":"version","registry":true,"raw":"solc@0.4.18","name":"solc","escapedName":"solc","rawSpec":"0.4.18","saveSpec":null,"fetchSpec":"0.4.18"},"_requiredBy":["/","/truffle-compile"],"_resolved":"https://registry.npmjs.org/solc/-/solc-0.4.18.tgz","_shasum":"83ac6d871dd16a9710e67dbb76dad7f614100702","_spec":"solc@0.4.18","_where":"/Users/gnidan/src/work/release/truffle","author":{"name":"chriseth"},"bin":{"solcjs":"solcjs"},"bugs":{"url":"https://github.com/ethereum/solc-js/issues"},"bundleDependencies":false,"dependencies":{"fs-extra":"^0.30.0","memorystream":"^0.3.1","require-from-string":"^1.1.0","semver":"^5.3.0","yargs":"^4.7.1"},"deprecated":false,"description":"Solidity compiler","devDependencies":{"ethereumjs-util":"^5.1.2","semistandard":"^11.0.0","tape":"^4.5.1","tape-spawn":"^1.4.2"},"files":["abi.js","index.js","linker.js","solcjs","soljson.js","translate.js","wrapper.js"],"homepage":"https://github.com/ethereum/solc-js#readme","keywords":["ethereum","solidity","compiler"],"license":"MIT","main":"index.js","name":"solc","repository":{"type":"git","url":"git+https://github.com/ethereum/solc-js.git"},"scripts":{"lint":"semistandard","prepublish":"./downloadCurrentVersion.js && ./verifyVersion.js","pretest":"npm run lint","test":"tape ./test/index.js"},"semistandard":{"ignore":["soljson.js"]},"version":"0.4.18"} +module.exports = {"_from":"solc@0.4.18","_id":"solc@0.4.18","_inBundle":false,"_integrity":"sha512-Kq+O3PNF9Pfq7fB+lDYAuoqRdghLmZyfngsg0h1Hj38NKAeVHeGPOGeZasn5KqdPeCzbMFvaGyTySxzGv6aXCg==","_location":"/solc","_phantomChildren":{"cliui":"3.2.0","decamelize":"1.2.0","get-caller-file":"1.0.2","graceful-fs":"4.1.11","jsonfile":"2.4.0","klaw":"1.3.1","lodash.assign":"4.2.0","os-locale":"1.4.0","path-is-absolute":"1.0.1","read-pkg-up":"1.0.1","require-directory":"2.1.1","require-main-filename":"1.0.1","rimraf":"2.6.2","set-blocking":"2.0.0","string-width":"1.0.2","which-module":"1.0.0","window-size":"0.2.0","y18n":"3.2.1","yargs-parser":"2.4.1"},"_requested":{"type":"version","registry":true,"raw":"solc@0.4.18","name":"solc","escapedName":"solc","rawSpec":"0.4.18","saveSpec":null,"fetchSpec":"0.4.18"},"_requiredBy":["/","/truffle-compile"],"_resolved":"https://registry.npmjs.org/solc/-/solc-0.4.18.tgz","_shasum":"83ac6d871dd16a9710e67dbb76dad7f614100702","_spec":"solc@0.4.18","_where":"/Users/gnidan/src/work/release","author":{"name":"chriseth"},"bin":{"solcjs":"solcjs"},"bugs":{"url":"https://github.com/ethereum/solc-js/issues"},"bundleDependencies":false,"dependencies":{"fs-extra":"^0.30.0","memorystream":"^0.3.1","require-from-string":"^1.1.0","semver":"^5.3.0","yargs":"^4.7.1"},"deprecated":false,"description":"Solidity compiler","devDependencies":{"ethereumjs-util":"^5.1.2","semistandard":"^11.0.0","tape":"^4.5.1","tape-spawn":"^1.4.2"},"files":["abi.js","index.js","linker.js","solcjs","soljson.js","translate.js","wrapper.js"],"homepage":"https://github.com/ethereum/solc-js#readme","keywords":["ethereum","solidity","compiler"],"license":"MIT","main":"index.js","name":"solc","repository":{"type":"git","url":"git+https://github.com/ethereum/solc-js.git"},"scripts":{"lint":"semistandard","prepublish":"./downloadCurrentVersion.js && ./verifyVersion.js","pretest":"npm run lint","test":"tape ./test/index.js"},"semistandard":{"ignore":["soljson.js"]},"version":"0.4.18"} /***/ }), -/* 1223 */ +/* 1228 */ /***/ (function(module, exports) { module.exports = ["Glide","Abstyles","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AMPAS","APL-1.0","Adobe-Glyph","APAFML","Adobe-2006","AGPL-1.0","Afmparse","Aladdin","ADSL","AMDPLPA","ANTLR-PD","Apache-1.0","Apache-1.1","Apache-2.0","AML","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","AAL","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","BSL-1.0","Borceux","BSD-2-Clause","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","BSD-3-Clause","BSD-3-Clause-Clear","BSD-4-Clause","BSD-Protection","BSD-Source-Code","BSD-3-Clause-Attribution","0BSD","BSD-4-Clause-UC","bzip2-1.0.5","bzip2-1.0.6","Caldera","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","ClArtistic","MIT-CMU","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","CPOL-1.02","CDDL-1.0","CDDL-1.1","CPAL-1.0","CPL-1.0","CATOSL-1.1","Condor-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-3.0","CC-BY-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-4.0","CC0-1.0","Crossword","CrystalStacker","CUA-OPL-1.0","Cube","curl","D-FSL-1.0","diffmark","WTFPL","DOC","Dotseqn","DSDP","dvipdfm","EPL-1.0","ECL-1.0","ECL-2.0","eGenix","EFL-1.0","EFL-2.0","MIT-advertising","MIT-enna","Entessa","ErlPL-1.1","EUDatagrid","EUPL-1.0","EUPL-1.1","Eurosym","Fair","MIT-feh","Frameworx-1.0","FreeImage","FTL","FSFAP","FSFUL","FSFULLR","Giftware","GL2PS","Glulxe","AGPL-3.0","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-3.0","LGPL-2.1","LGPL-3.0","LGPL-2.0","gnuplot","gSOAP-1.3b","HaskellReport","HPND","IBM-pibs","IPL-1.0","ICU","ImageMagick","iMatix","Imlib2","IJG","Info-ZIP","Intel-ACPI","Intel","Interbase-1.0","IPA","ISC","JasPer-2.0","JSON","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","Latex2e","BSD-3-Clause-LBNL","Leptonica","LGPLLR","Libpng","libtiff","LAL-1.2","LAL-1.3","LiLiQ-P-1.1","LiLiQ-Rplus-1.1","LiLiQ-R-1.1","LPL-1.02","LPL-1.0","MakeIndex","MTLL","MS-PL","MS-RL","MirOS","MITNFA","MIT","Motosoto","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","mpich2","Multics","Mup","NASA-1.3","Naumen","NBPL-1.0","NetCDF","NGPL","NOSL","NPL-1.0","NPL-1.1","Newsletr","NLPL","Nokia","NPOSL-3.0","NLOD-1.0","Noweb","NRL","NTP","Nunit","OCLC-2.0","ODbL-1.0","PDDL-1.0","OCCT-PL","OGTSL","OLDAP-2.2.2","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenSSL","OSET-PL-2.1","PHP-3.0","PHP-3.01","Plexus","PostgreSQL","psfrag","psutils","Python-2.0","QPL-1.0","Qhull","Rdisc","RPSL-1.0","RPL-1.1","RPL-1.5","RHeCos-1.1","RSCPL","RSA-MD","Ruby","SAX-PD","Saxpath","SCEA","SWL","SMPPL","Sendmail","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","OFL-1.0","OFL-1.1","SimPL-2.0","Sleepycat","SNIA","Spencer-86","Spencer-94","Spencer-99","SMLNJ","SugarCRM-1.1.3","SISSL","SISSL-1.2","SPL-1.0","Watcom-1.0","TCL","Unlicense","TMate","TORQUE-1.1","TOSL","Unicode-TOU","UPL-1.0","NCSA","Vim","VOSTROM","VSL-1.0","W3C-19980720","W3C","Wsuipa","Xnet","X11","Xerox","XFree86-1.1","xinetd","xpp","XSkat","YPL-1.0","YPL-1.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","zlib-acknowledgement","ZPL-1.1","ZPL-2.0","ZPL-2.1","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-No-Nuclear-License-2014","eCos-2.0","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-2.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","GPL-3.0-with-GCC-exception","StandardML-NJ","WXwindows"] /***/ }), -/* 1224 */ +/* 1229 */ /***/ (function(module, exports) { module.exports = {"100":"Continue","101":"Switching Protocols","102":"Processing","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","306":"(Unused)","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Unordered Collection","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"} /***/ }), -/* 1225 */ +/* 1230 */ /***/ (function(module, exports) { -module.exports = {"_from":"tough-cookie@~2.3.3","_id":"tough-cookie@2.3.3","_inBundle":false,"_integrity":"sha1-C2GKVWW23qkL80JdBNVe3EdadWE=","_location":"/tough-cookie","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"tough-cookie@~2.3.3","name":"tough-cookie","escapedName":"tough-cookie","rawSpec":"~2.3.3","saveSpec":null,"fetchSpec":"~2.3.3"},"_requiredBy":["/request"],"_resolved":"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz","_shasum":"0b618a5565b6dea90bf3425d04d55edc475a7561","_spec":"tough-cookie@~2.3.3","_where":"/Users/gnidan/src/work/release/truffle/node_modules/request","author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"bugs":{"url":"https://github.com/salesforce/tough-cookie/issues"},"bundleDependencies":false,"contributors":[{"name":"Alexander Savin"},{"name":"Ian Livingstone"},{"name":"Ivan Nikulin"},{"name":"Lalit Kapoor"},{"name":"Sam Thompson"},{"name":"Sebastian Mayr"}],"dependencies":{"punycode":"^1.4.1"},"deprecated":false,"description":"RFC6265 Cookies and Cookie Jar for node.js","devDependencies":{"async":"^1.4.2","string.prototype.repeat":"^0.2.0","vows":"^0.8.1"},"engines":{"node":">=0.8"},"files":["lib"],"homepage":"https://github.com/salesforce/tough-cookie","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"license":"BSD-3-Clause","main":"./lib/cookie","name":"tough-cookie","repository":{"type":"git","url":"git://github.com/salesforce/tough-cookie.git"},"scripts":{"suffixup":"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js","test":"vows test/*_test.js"},"version":"2.3.3"} +module.exports = {"_from":"tough-cookie@~2.3.3","_id":"tough-cookie@2.3.3","_inBundle":false,"_integrity":"sha1-C2GKVWW23qkL80JdBNVe3EdadWE=","_location":"/tough-cookie","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"tough-cookie@~2.3.3","name":"tough-cookie","escapedName":"tough-cookie","rawSpec":"~2.3.3","saveSpec":null,"fetchSpec":"~2.3.3"},"_requiredBy":["/request"],"_resolved":"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.3.tgz","_shasum":"0b618a5565b6dea90bf3425d04d55edc475a7561","_spec":"tough-cookie@~2.3.3","_where":"/Users/gnidan/src/work/release/node_modules/request","author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"bugs":{"url":"https://github.com/salesforce/tough-cookie/issues"},"bundleDependencies":false,"contributors":[{"name":"Alexander Savin"},{"name":"Ian Livingstone"},{"name":"Ivan Nikulin"},{"name":"Lalit Kapoor"},{"name":"Sam Thompson"},{"name":"Sebastian Mayr"}],"dependencies":{"punycode":"^1.4.1"},"deprecated":false,"description":"RFC6265 Cookies and Cookie Jar for node.js","devDependencies":{"async":"^1.4.2","string.prototype.repeat":"^0.2.0","vows":"^0.8.1"},"engines":{"node":">=0.8"},"files":["lib"],"homepage":"https://github.com/salesforce/tough-cookie","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"license":"BSD-3-Clause","main":"./lib/cookie","name":"tough-cookie","repository":{"type":"git","url":"git://github.com/salesforce/tough-cookie.git"},"scripts":{"suffixup":"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js","test":"vows test/*_test.js"},"version":"2.3.3"} /***/ }), -/* 1226 */ +/* 1231 */ /***/ (function(module, exports) { -module.exports = {"_from":"truffle-contract-schema@^1.0.0","_id":"truffle-contract-schema@1.0.1","_inBundle":false,"_integrity":"sha512-37ZO9FVvmW/PZz/sh00LAz7HN2U4FHERuxI4mCbUR6h3r2cRgZ4YBfzHuAHOnZlrVzM1qx/Dx/1Ng3UyfWseEA==","_location":"/truffle-contract-schema","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"truffle-contract-schema@^1.0.0","name":"truffle-contract-schema","escapedName":"truffle-contract-schema","rawSpec":"^1.0.0","saveSpec":null,"fetchSpec":"^1.0.0"},"_requiredBy":["/truffle-artifactor","/truffle-contract"],"_resolved":"https://registry.npmjs.org/truffle-contract-schema/-/truffle-contract-schema-1.0.1.tgz","_shasum":"08ceaefe71062a8ac9ab881a77a30fda3744176e","_spec":"truffle-contract-schema@^1.0.0","_where":"/Users/gnidan/src/work/release/truffle/node_modules/truffle-contract","author":{"name":"Tim Coulter","email":"tim.coulter@consensys.net"},"bugs":{"url":"https://github.com/trufflesuite/truffle-schema/issues"},"bundleDependencies":false,"dependencies":{"ajv":"^5.1.1","crypto-js":"^3.1.9-1"},"deprecated":false,"description":"JSON schema for contract artifacts","devDependencies":{"mocha":"^3.2.0","solc":"^0.4.16"},"homepage":"https://github.com/trufflesuite/truffle-schema#readme","keywords":["ethereum","json","schema","contract","artifacts"],"license":"MIT","main":"index.js","name":"truffle-contract-schema","repository":{"type":"git","url":"git+https://github.com/trufflesuite/truffle-schema.git"},"scripts":{"test":"mocha"},"version":"1.0.1"} +module.exports = {"_from":"truffle-contract-schema@^1.0.0","_id":"truffle-contract-schema@1.0.1","_inBundle":false,"_integrity":"sha512-37ZO9FVvmW/PZz/sh00LAz7HN2U4FHERuxI4mCbUR6h3r2cRgZ4YBfzHuAHOnZlrVzM1qx/Dx/1Ng3UyfWseEA==","_location":"/truffle-contract-schema","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"truffle-contract-schema@^1.0.0","name":"truffle-contract-schema","escapedName":"truffle-contract-schema","rawSpec":"^1.0.0","saveSpec":null,"fetchSpec":"^1.0.0"},"_requiredBy":["/truffle-artifactor","/truffle-contract"],"_resolved":"https://registry.npmjs.org/truffle-contract-schema/-/truffle-contract-schema-1.0.1.tgz","_shasum":"08ceaefe71062a8ac9ab881a77a30fda3744176e","_spec":"truffle-contract-schema@^1.0.0","_where":"/Users/gnidan/src/work/release/node_modules/truffle-contract","author":{"name":"Tim Coulter","email":"tim.coulter@consensys.net"},"bugs":{"url":"https://github.com/trufflesuite/truffle-schema/issues"},"bundleDependencies":false,"dependencies":{"ajv":"^5.1.1","crypto-js":"^3.1.9-1"},"deprecated":false,"description":"JSON schema for contract artifacts","devDependencies":{"mocha":"^3.2.0","solc":"^0.4.16"},"homepage":"https://github.com/trufflesuite/truffle-schema#readme","keywords":["ethereum","json","schema","contract","artifacts"],"license":"MIT","main":"index.js","name":"truffle-contract-schema","repository":{"type":"git","url":"git+https://github.com/trufflesuite/truffle-schema.git"},"scripts":{"test":"mocha"},"version":"1.0.1"} /***/ }), -/* 1227 */ +/* 1232 */ /***/ (function(module, exports) { module.exports = {"id":"abi.spec.json","$schema":"http://json-schema.org/schema#","title":"ABI","type":"array","items":{"oneOf":[{"$ref":"#/definitions/Event"},{"$ref":"#/definitions/ConstructorFunction"},{"$ref":"#/definitions/FallbackFunction"},{"$ref":"#/definitions/NormalFunction"}]},"definitions":{"Name":{"type":"string","pattern":"^$|^[a-zA-Z_\\$][a-zA-Z_\\$0-9]*$"},"Type":{"type":"string","oneOf":[{"pattern":"^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?(\\[[0-9]*\\])?$"},{"pattern":"^address(\\[[0-9]*\\])?$"},{"pattern":"^bool(\\[[0-9]*\\])?$"},{"pattern":"^u?fixed(0x8|8x0|0x16|8x8|16x0|0x24|8x16|16x8|24x0|0x32|8x24|16x16|24x8|32x0|0x40|8x32|16x24|24x16|32x8|40x0|0x48|8x40|16x32|24x24|32x16|40x8|48x0|0x56|8x48|16x40|24x32|32x24|40x16|48x8|56x0|0x64|8x56|16x48|24x40|32x32|40x24|48x16|56x8|64x0|0x72|8x64|16x56|24x48|32x40|40x32|48x24|56x16|64x8|72x0|0x80|8x72|16x64|24x56|32x48|40x40|48x32|56x24|64x16|72x8|80x0|0x88|8x80|16x72|24x64|32x56|40x48|48x40|56x32|64x24|72x16|80x8|88x0|0x96|8x88|16x80|24x72|32x64|40x56|48x48|56x40|64x32|72x24|80x16|88x8|96x0|0x104|8x96|16x88|24x80|32x72|40x64|48x56|56x48|64x40|72x32|80x24|88x16|96x8|104x0|0x112|8x104|16x96|24x88|32x80|40x72|48x64|56x56|64x48|72x40|80x32|88x24|96x16|104x8|112x0|0x120|8x112|16x104|24x96|32x88|40x80|48x72|56x64|64x56|72x48|80x40|88x32|96x24|104x16|112x8|120x0|0x128|8x120|16x112|24x104|32x96|40x88|48x80|56x72|64x64|72x56|80x48|88x40|96x32|104x24|112x16|120x8|128x0|0x136|8x128|16x120|24x112|32x104|40x96|48x88|56x80|64x72|72x64|80x56|88x48|96x40|104x32|112x24|120x16|128x8|136x0|0x144|8x136|16x128|24x120|32x112|40x104|48x96|56x88|64x80|72x72|80x64|88x56|96x48|104x40|112x32|120x24|128x16|136x8|144x0|0x152|8x144|16x136|24x128|32x120|40x112|48x104|56x96|64x88|72x80|80x72|88x64|96x56|104x48|112x40|120x32|128x24|136x16|144x8|152x0|0x160|8x152|16x144|24x136|32x128|40x120|48x112|56x104|64x96|72x88|80x80|88x72|96x64|104x56|112x48|120x40|128x32|136x24|144x16|152x8|160x0|0x168|8x160|16x152|24x144|32x136|40x128|48x120|56x112|64x104|72x96|80x88|88x80|96x72|104x64|112x56|120x48|128x40|136x32|144x24|152x16|160x8|168x0|0x176|8x168|16x160|24x152|32x144|40x136|48x128|56x120|64x112|72x104|80x96|88x88|96x80|104x72|112x64|120x56|128x48|136x40|144x32|152x24|160x16|168x8|176x0|0x184|8x176|16x168|24x160|32x152|40x144|48x136|56x128|64x120|72x112|80x104|88x96|96x88|104x80|112x72|120x64|128x56|136x48|144x40|152x32|160x24|168x16|176x8|184x0|0x192|8x184|16x176|24x168|32x160|40x152|48x144|56x136|64x128|72x120|80x112|88x104|96x96|104x88|112x80|120x72|128x64|136x56|144x48|152x40|160x32|168x24|176x16|184x8|192x0|0x200|8x192|16x184|24x176|32x168|40x160|48x152|56x144|64x136|72x128|80x120|88x112|96x104|104x96|112x88|120x80|128x72|136x64|144x56|152x48|160x40|168x32|176x24|184x16|192x8|200x0|0x208|8x200|16x192|24x184|32x176|40x168|48x160|56x152|64x144|72x136|80x128|88x120|96x112|104x104|112x96|120x88|128x80|136x72|144x64|152x56|160x48|168x40|176x32|184x24|192x16|200x8|208x0|0x216|8x208|16x200|24x192|32x184|40x176|48x168|56x160|64x152|72x144|80x136|88x128|96x120|104x112|112x104|120x96|128x88|136x80|144x72|152x64|160x56|168x48|176x40|184x32|192x24|200x16|208x8|216x0|0x224|8x216|16x208|24x200|32x192|40x184|48x176|56x168|64x160|72x152|80x144|88x136|96x128|104x120|112x112|120x104|128x96|136x88|144x80|152x72|160x64|168x56|176x48|184x40|192x32|200x24|208x16|216x8|224x0|0x232|8x224|16x216|24x208|32x200|40x192|48x184|56x176|64x168|72x160|80x152|88x144|96x136|104x128|112x120|120x112|128x104|136x96|144x88|152x80|160x72|168x64|176x56|184x48|192x40|200x32|208x24|216x16|224x8|232x0|0x240|8x232|16x224|24x216|32x208|40x200|48x192|56x184|64x176|72x168|80x160|88x152|96x144|104x136|112x128|120x120|128x112|136x104|144x96|152x88|160x80|168x72|176x64|184x56|192x48|200x40|208x32|216x24|224x16|232x8|240x0|0x248|8x240|16x232|24x224|32x216|40x208|48x200|56x192|64x184|72x176|80x168|88x160|96x152|104x144|112x136|120x128|128x120|136x112|144x104|152x96|160x88|168x80|176x72|184x64|192x56|200x48|208x40|216x32|224x24|232x16|240x8|248x0|0x256|8x248|16x240|24x232|32x224|40x216|48x208|56x200|64x192|72x184|80x176|88x168|96x160|104x152|112x144|120x136|128x128|136x120|144x112|152x104|160x96|168x88|176x80|184x72|192x64|200x56|208x48|216x40|224x32|232x24|240x16|248x8|256x0)?(\\[[0-9]*\\])?$"},{"pattern":"^bytes(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32)(\\[[0-9]*\\])?"},{"pattern":"^bytes$"},{"pattern":"^function(\\[[0-9]*\\])?$"},{"pattern":"^string$"}]},"StateMutability":{"type":"string","enum":["pure","view","nonpayable","payable"]},"NormalFunction":{"type":"object","properties":{"type":{"type":"string","enum":["function"],"default":"function"},"name":{"$ref":"#/definitions/Name"},"inputs":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"outputs":{"type":"array","items":{"$ref":"#/definitions/Parameter"},"default":[]},"stateMutability":{"$ref":"#/definitions/StateMutability"},"constant":{"type":"boolean"},"payable":{"type":"boolean","default":false}},"required":["name","inputs","constant"],"additionalProperties":false},"ConstructorFunction":{"type":"object","properties":{"type":{"type":"string","enum":["constructor"]},"inputs":{"type":"array","items":{"$ref":"#/definitions/Parameter"}},"payable":{"type":"boolean","default":false}},"required":["type","inputs"],"additionalProperties":false},"FallbackFunction":{"type":"object","properties":{"type":{"type":"string","enum":["fallback"]},"constant":{"type":"boolean"},"payable":{"type":"boolean","default":false}},"required":["type"],"additionalProperties":false},"Event":{"type":"object","properties":{"type":{"type":"string","enum":["event"]},"name":{"$ref":"#/definitions/Name"},"inputs":{"type":"array","items":{"$ref":"#/definitions/EventParameter"}},"anonymous":{"type":"boolean"}},"required":["type","name","inputs","anonymous"],"additionalProperties":false},"Parameter":{"type":"object","properties":{"name":{"$ref":"#/definitions/Name"},"type":{"$ref":"#/definitions/Type"}},"required":["name","type"]},"EventParameter":{"type":"object","properties":{"name":{"$ref":"#/definitions/Name"},"type":{"$ref":"#/definitions/Type"},"indexed":{"type":"boolean"}},"required":["name","type","indexed"]}}} /***/ }), -/* 1228 */ +/* 1233 */ /***/ (function(module, exports) { module.exports = {"id":"contract-object.spec.json","$schema":"http://json-schema.org/schema#","title":"Contract Object","description":"Describes a contract consumable by Truffle, possibly including deployed instances on networks","type":"object","properties":{"contractName":{"allOf":[{"$ref":"#/definitions/ContractName"},{"description":"Name used to identify the contract","default":"Contract"}]},"abi":{"allOf":[{"$ref":"abi.spec.json#"},{"description":"Interface description returned by compiler for source"}]},"bytecode":{"allOf":[{"$ref":"#/definitions/Bytecode"},{"description":"Bytecode sent as contract-creation transaction data, with unresolved link references"}]},"deployedBytecode":{"allOf":[{"$ref":"#/definitions/Bytecode"},{"description":"On-chain deployed contract bytecode, with unresolved link references"}]},"sourceMap":{"allOf":[{"$ref":"#/definitions/SourceMap"},{"description":"Source mapping for contract-creation transaction data bytecode"}]},"deployedSourceMap":{"allOf":[{"$ref":"#/definitions/SourceMap"},{"description":"Source mapping for contract bytecode"}]},"source":{"$ref":"#/definitions/Source"},"sourcePath":{"$ref":"#/definitions/SourcePath"},"ast":{"$ref":"#/definitions/AST"},"compiler":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"}}},"networks":{"patternProperties":{"^[a-zA-Z0-9]+$":{"$ref":"network-object.spec.json#"}},"additionalProperties":false},"schemaVersion":{"$ref":"#/definitions/SchemaVersion"},"updatedAt":{"type":"string","format":"date-time"}},"required":["abi"],"patternProperties":{"^x-":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"object"},{"type":"array"}]}},"additionalProperties":false,"definitions":{"ContractName":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]*$"},"Bytecode":{"type":"string","pattern":"^0x0$|^0x([a-fA-F0-9]{2}|__.{38})+$"},"Source":{"type":"string"},"SourceMap":{"type":"string","examples":["315:637:1:-;;;452:55;;;;;;;-1:-1:-1;;;;;485:9:1;476:19;:8;:19;;;;;;;;;;498:5;476:27;;452:55;315:637;;;;;;;"]},"SourcePath":{"type":"string"},"AST":{"type":"object"},"SchemaVersion":{"type":"string","pattern":"[0-9]+\\.[0-9]+\\.[0-9]+"}}} /***/ }), -/* 1229 */ +/* 1234 */ /***/ (function(module, exports) { module.exports = {"id":"network-object.spec.json","$schema":"http://json-schema.org/schema#","title":"Network Object","type":"object","properties":{"address":{"$ref":"#/definitions/Address"},"events":{"type":"object","patternProperties":{"^0x[a-fA-F0-9]{64}$":{"$ref":"abi.spec.json#/definitions/Event"}},"additionalProperties":false},"links":{"type":"object","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_]*$":{"$ref":"#/definitions/Link"}},"additionalProperties":false}},"additionalProperties":false,"definitions":{"Address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"Link":{"type":"object","properties":{"address":{"$ref":"#/definitions/Address"},"events":{"type":"object","patternProperties":{"^0x[a-fA-F0-9]{64}$":{"$ref":"abi.spec.json#/definitions/Event"}},"additionalProperties":false}}}}} /***/ }), -/* 1230 */ +/* 1235 */ /***/ (function(module, exports) { function webpackEmptyContext(req) { @@ -330348,40 +331171,40 @@ function webpackEmptyContext(req) { webpackEmptyContext.keys = function() { return []; }; webpackEmptyContext.resolve = webpackEmptyContext; module.exports = webpackEmptyContext; -webpackEmptyContext.id = 1230; +webpackEmptyContext.id = 1235; /***/ }), -/* 1231 */ +/* 1236 */ /***/ (function(module, exports) { -module.exports = {"_from":"truffle-core@^4.0.4","_id":"truffle-core@4.0.4","_inBundle":false,"_integrity":"sha512-kLkt3GVBlqXYS5LIDXW17ChhSsVCo1f0M4e24mffuAGgPu8CcPnO5WoDWgVGChVgxOZTc6Lla6UDsYQBpMbW8A==","_location":"/truffle-core","_phantomChildren":{"camelcase":"3.0.0","cliui":"3.2.0","decamelize":"1.2.0","get-caller-file":"1.0.2","graceful-fs":"4.1.11","jsonfile":"2.4.0","ms":"2.0.0","os-locale":"1.4.0","read-pkg-up":"1.0.1","require-directory":"2.1.1","require-main-filename":"1.0.1","set-blocking":"2.0.0","string-width":"1.0.2","which-module":"1.0.0","y18n":"3.2.1"},"_requested":{"type":"range","registry":true,"raw":"truffle-core@^4.0.4","name":"truffle-core","escapedName":"truffle-core","rawSpec":"^4.0.4","saveSpec":null,"fetchSpec":"^4.0.4"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/truffle-core/-/truffle-core-4.0.4.tgz","_shasum":"7541352972ef2572bd8d7b726e5ccdf17c96dac1","_spec":"truffle-core@^4.0.4","_where":"/Users/gnidan/src/work/release/truffle","author":{"name":"consensys.net"},"authors":[{"name":"Tim Coulter","email":"tim@timothyjcoulter.com","url":"https://github.com/tcoulter"}],"bin":{"truffle":"./cli.js","truffle-exec":"./exec.js"},"bugs":{"url":"https://github.com/ConsenSys/truffle/issues"},"bundleDependencies":false,"dependencies":{"async":"^1.4.2","chai":"^3.3.0","chokidar":"^1.4.2","colors":"^1.1.2","cpr":"^0.4.3","debug":"^3.1.0","del":"^2.2.0","diff":"1.4.0","ethpm":"0.0.15","ethpm-registry":"0.0.10","finalhandler":"^0.4.0","fs-extra":"^2.0.0","ganache-cli":"6.0.3","lodash":"^4.5.1","mkdirp":"^0.5.1","mocha":"^3.2.0","node-dir":"0.1.16","node-ipc":"^9.1.1","original-require":"^1.0.0","serve-static":"^1.10.0","spawn-args":"^0.1.0","temp":"^0.8.3","truffle-artifactor":"^3.0.2","truffle-box":"^1.0.3","truffle-compile":"^3.0.4","truffle-config":"^1.0.4","truffle-contract":"^3.0.1","truffle-contract-sources":"^0.0.1","truffle-debugger":"^1.1.0","truffle-deployer":"^2.0.1","truffle-error":"^0.0.2","truffle-expect":"^0.0.3","truffle-init":"^1.0.7","truffle-migrate":"^2.0.1","truffle-provider":"^0.0.4","truffle-provisioner":"^0.1.0","truffle-require":"^1.0.5","truffle-resolver":"^4.0.1","truffle-solidity-utils":"^1.1.0","web3":"^0.20.1","yargs":"^6.6.0"},"deprecated":false,"description":"Core code for Truffle command line tool","devDependencies":{"ipfsd-ctl":"^0.21.0","truffle-blockchain-utils":"^0.0.3"},"homepage":"https://github.com/ConsenSys/truffle","name":"truffle-core","namespace":"consensys","repository":{"type":"git","url":"git+https://github.com/ConsenSys/truffle.git"},"scripts":{"test":"mocha"},"version":"4.0.4"} +module.exports = {"_from":"truffle-core@^4.0.5","_id":"truffle-core@4.0.5","_inBundle":false,"_integrity":"sha512-RauiD8ebb9LEJqFW5B/3eYtMHpHNWdtNKVOagWteT+OCZGi3PcrURPgbZNl7+c9fpjv9iDi98ct6ABnmGehPeQ==","_location":"/truffle-core","_phantomChildren":{"camelcase":"3.0.0","cliui":"3.2.0","decamelize":"1.2.0","get-caller-file":"1.0.2","graceful-fs":"4.1.11","jsonfile":"2.4.0","ms":"2.0.0","os-locale":"1.4.0","read-pkg-up":"1.0.1","require-directory":"2.1.1","require-main-filename":"1.0.1","set-blocking":"2.0.0","string-width":"1.0.2","which-module":"1.0.0","y18n":"3.2.1"},"_requested":{"type":"range","registry":true,"raw":"truffle-core@^4.0.5","name":"truffle-core","escapedName":"truffle-core","rawSpec":"^4.0.5","saveSpec":null,"fetchSpec":"^4.0.5"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/truffle-core/-/truffle-core-4.0.5.tgz","_shasum":"6fa3e7773af88c3f479bdd38e929d47436a56596","_spec":"truffle-core@^4.0.5","_where":"/Users/gnidan/src/work/release","author":{"name":"consensys.net"},"authors":[{"name":"Tim Coulter","email":"tim@timothyjcoulter.com","url":"https://github.com/tcoulter"}],"bin":{"truffle":"./cli.js","truffle-exec":"./exec.js"},"bugs":{"url":"https://github.com/ConsenSys/truffle/issues"},"bundleDependencies":false,"dependencies":{"async":"^1.4.2","chai":"^3.3.0","chokidar":"^1.4.2","colors":"^1.1.2","cpr":"^0.4.3","debug":"^3.1.0","del":"^2.2.0","diff":"1.4.0","ethpm":"0.0.15","ethpm-registry":"0.0.10","finalhandler":"^0.4.0","fs-extra":"^2.0.0","ganache-cli":"6.0.3","lodash":"^4.5.1","mkdirp":"^0.5.1","mocha":"^3.2.0","node-dir":"0.1.16","node-ipc":"^9.1.1","original-require":"^1.0.0","serve-static":"^1.10.0","spawn-args":"^0.1.0","temp":"^0.8.3","truffle-artifactor":"^3.0.2","truffle-box":"^1.0.3","truffle-compile":"^3.0.4","truffle-config":"^1.0.4","truffle-contract":"^3.0.2","truffle-contract-sources":"^0.0.1","truffle-debugger":"^1.1.0","truffle-deployer":"^2.0.1","truffle-error":"^0.0.2","truffle-expect":"^0.0.3","truffle-init":"^1.0.7","truffle-migrate":"^2.0.1","truffle-provider":"^0.0.4","truffle-provisioner":"^0.1.0","truffle-require":"^1.0.5","truffle-resolver":"^4.0.1","truffle-solidity-utils":"^1.1.0","web3":"^0.20.1","yargs":"^6.6.0"},"deprecated":false,"description":"Core code for Truffle command line tool","devDependencies":{"ipfsd-ctl":"^0.21.0","truffle-blockchain-utils":"^0.0.3"},"homepage":"https://github.com/ConsenSys/truffle","name":"truffle-core","namespace":"consensys","repository":{"type":"git","url":"git+https://github.com/ConsenSys/truffle.git"},"scripts":{"test":"mocha"},"version":"4.0.5"} /***/ }), -/* 1232 */ +/* 1237 */ /***/ (function(module, exports) { module.exports = [{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"name","outputs":[{"name":"o_name","type":"bytes32"}],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"content","outputs":[{"name":"","type":"bytes32"}],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"addr","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"}],"name":"reserve","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"subRegistrar","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_newOwner","type":"address"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_registrar","type":"address"}],"name":"setSubRegistrar","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"Registrar","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_a","type":"address"},{"name":"_primary","type":"bool"}],"name":"setAddress","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_content","type":"bytes32"}],"name":"setContent","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"}],"name":"disown","outputs":[],"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_name","type":"bytes32"},{"indexed":false,"name":"_winner","type":"address"}],"name":"AuctionEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_name","type":"bytes32"},{"indexed":false,"name":"_bidder","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"NewBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"name","type":"bytes32"}],"name":"Changed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"name","type":"bytes32"},{"indexed":true,"name":"addr","type":"address"}],"name":"PrimaryChanged","type":"event"}] /***/ }), -/* 1233 */ +/* 1238 */ /***/ (function(module, exports) { module.exports = [{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"owner","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_refund","type":"address"}],"name":"disown","outputs":[],"type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"bytes32"}],"name":"addr","outputs":[{"name":"","type":"address"}],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"}],"name":"reserve","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_newOwner","type":"address"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"bytes32"},{"name":"_a","type":"address"}],"name":"setAddr","outputs":[],"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"name","type":"bytes32"}],"name":"Changed","type":"event"}] /***/ }), -/* 1234 */ +/* 1239 */ /***/ (function(module, exports) { module.exports = [{"constant":false,"inputs":[{"name":"from","type":"bytes32"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"from","type":"bytes32"},{"name":"to","type":"address"},{"name":"indirectId","type":"bytes32"},{"name":"value","type":"uint256"}],"name":"icapTransfer","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"to","type":"bytes32"}],"name":"deposit","outputs":[],"payable":true,"type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"AnonymousDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"bytes32"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"bytes32"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"bytes32"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"indirectId","type":"bytes32"},{"indexed":false,"name":"value","type":"uint256"}],"name":"IcapTransfer","type":"event"}] /***/ }), -/* 1235 */ +/* 1240 */ /***/ (function(module, exports) { -module.exports = {"version":"0.20.2"} +module.exports = {"version":"0.20.3"} /***/ }), -/* 1236 */ +/* 1241 */ /***/ (function(module, exports) { /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {/* globals __webpack_amd_options__ */ @@ -330390,37 +331213,37 @@ module.exports = __webpack_amd_options__; /* WEBPACK VAR INJECTION */}.call(exports, {})) /***/ }), -/* 1237 */ +/* 1242 */ /***/ (function(module, exports) { module.exports = require("dns"); /***/ }), -/* 1238 */ +/* 1243 */ /***/ (function(module, exports) { module.exports = require("domain"); /***/ }), -/* 1239 */ +/* 1244 */ /***/ (function(module, exports) { module.exports = require("mocha"); /***/ }), -/* 1240 */ +/* 1245 */ /***/ (function(module, exports) { module.exports = require("process"); /***/ }), -/* 1241 */ +/* 1246 */ /***/ (function(module, exports) { module.exports = require("repl"); /***/ }), -/* 1242 */ +/* 1247 */ /***/ (function(module, exports) { module.exports = require("string_decoder"); diff --git a/package.json b/package.json index 287d52dc1a5..5ec3e2640cd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "truffle", "namespace": "consensys", - "version": "4.0.4", + "version": "4.0.5", "description": "Truffle - Simple development framework for Ethereum", "dependencies": { "mocha": "^3.4.2",