From fe612258e125c98a2fa7a88196828881525a2222 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 19 May 2017 10:21:58 +0200 Subject: [PATCH] eventManager as lib in index.js --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.js b/src/index.js index fd4df93452..fde8b93097 100644 --- a/src/index.js +++ b/src/index.js @@ -12,6 +12,7 @@ var AstWalker = require('./util/astWalker') var decodeInfo = require('./solidity/decodeInfo') var stateDecoder = require('./solidity/stateDecoder') var astHelper = require('./solidity/astHelper') +var EventManager = require('./lib/eventManager') if (typeof (module) !== 'undefined' && typeof (module.exports) !== 'undefined') { module.exports = modules() @@ -45,6 +46,9 @@ function modules () { decodeInfo: decodeInfo, astHelper: astHelper, stateDecoder: stateDecoder + }, + lib: { + EventManager: EventManager } } }