Commit 1a9624af authored by Marian Oancea's avatar Marian Oancea

Fixed require web3 bug

Fixed error "Cannot find module './web3'" in autoprovider.js
parent 8b7e5972
......@@ -14,7 +14,7 @@
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 websocket.js
/** @file autoprovider.js
* @authors:
* Marek Kotewicz <marek@ethdev.com>
* Marian Oancea <marian@ethdev.com>
......@@ -28,7 +28,7 @@
*/
if (process.env.NODE_ENV !== 'build') {
var WebSocket = require('ws'); // jshint ignore:line
var web3 = require('./web3'); // jshint ignore:line
var web3 = require('./main.js'); // jshint ignore:line
}
var AutoProvider = function (userOptions) {
......
{
"name": "ethereum.js",
"namespace": "ethereum",
"version": "0.0.3",
"version": "0.0.4",
"description": "Ethereum Compatible JavaScript API",
"main": "./index.js",
"directories": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment