Merge branch 'develop' of https://github.com/ethereum/web3.js into develop

This commit is contained in:
debris 2015-10-13 11:28:38 +08:00
commit f1f0f16b46
4 changed files with 34269 additions and 17 deletions

2738
dist/web3-light.js vendored

File diff suppressed because it is too large Load Diff

15746
dist/web3-light.min.js vendored

File diff suppressed because one or more lines are too long

53
dist/web3.js vendored
View File

@ -2431,6 +2431,7 @@ var version = require('./version.json');
var net = require('./web3/methods/net');
var eth = require('./web3/methods/eth');
var db = require('./web3/methods/db');
var bzz = require('./web3/methods/bzz');
var shh = require('./web3/methods/shh');
var watches = require('./web3/methods/watches');
var Filter = require('./web3/filter');
@ -2506,6 +2507,7 @@ web3.shh.filter = function (fil, callback) {
};
web3.net = {};
web3.db = {};
web3.bzz = {};
web3.setProvider = function (provider) {
this.currentProvider = provider;
RequestManager.getInstance().setProvider(provider);
@ -2589,11 +2591,12 @@ setupMethods(web3.eth, eth.methods);
setupProperties(web3.eth, eth.properties);
setupMethods(web3.db, db.methods);
setupMethods(web3.shh, shh.methods);
setupMethods(web3.bzz, bzz.methods);
module.exports = web3;
},{"./utils/config":18,"./utils/sha3":19,"./utils/utils":20,"./version.json":21,"./web3/batch":24,"./web3/filter":28,"./web3/formatters":29,"./web3/iban":32,"./web3/method":35,"./web3/methods/db":36,"./web3/methods/eth":37,"./web3/methods/net":38,"./web3/methods/shh":39,"./web3/methods/watches":40,"./web3/property":42,"./web3/requestmanager":43,"./web3/syncing":44}],23:[function(require,module,exports){
},{"./utils/config":18,"./utils/sha3":19,"./utils/utils":20,"./version.json":21,"./web3/batch":24,"./web3/filter":28,"./web3/formatters":29,"./web3/iban":32,"./web3/method":35,"./web3/methods/db":36,"./web3/methods/eth":37,"./web3/methods/net":38,"./web3/methods/shh":39,"./web3/methods/bzz":96,"./web3/methods/watches":40,"./web3/property":42,"./web3/requestmanager":43,"./web3/syncing":44}],23:[function(require,module,exports){
/*
This file is part of ethereum.js.
@ -4910,7 +4913,53 @@ Method.prototype.send = function () {
module.exports = Method;
},{"../utils/utils":20,"./errors":26,"./requestmanager":43}],36:[function(require,module,exports){
},{"../utils/utils":20,"./errors":26,"./requestmanager":43}],96:[function(require,module,exports){
/*
This file is part of ethereum.js.
ethereum.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.
ethereum.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 ethereum.js. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file bzz.js
* @authors:
* Gav Wood <g@ethdev.com>
* @date 2015
*/
var Method = require('../method');
var put = new Method({
name: 'put',
call: 'bzz_put',
params: 1
});
var get = new Method({
name: 'get',
call: 'bzz_get',
params: 1
});
var methods = [
put, get
];
module.exports = {
methods: methods
};
},{"../method":35}],36:[function(require,module,exports){
/*
This file is part of ethereum.js.

15747
dist/web3.min.js vendored

File diff suppressed because one or more lines are too long