From 0860e055b484ddb8eb0d79d25dd2c4d3c52adcc5 Mon Sep 17 00:00:00 2001 From: Paul Shapiro Date: Mon, 3 Dec 2018 19:50:02 -0600 Subject: [PATCH] fixed index.js TODO monero_utils by wiring to MyMoneroCoreBridge --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 40a4e29..f9282b5 100644 --- a/index.js +++ b/index.js @@ -31,8 +31,7 @@ // NOTE: The main downside to using an index.js file like this is that it will pull in all the code - rather than the consumer requiring code module-by-module // It's of course possible to construct your own stripped-down index.[custom name].js file for, e.g., special webpack bundling usages. const mymonero_core_js = {}; -// TODO: add coreBridge_promise -// mymonero_core_js.monero_utils_promise = require("./monero_utils/monero_utils")(); // NOTE: This is actually a promise. Call .then(function(monero_utils) { }) to actually use +mymonero_core_js.monero_utils_promise = require("./monero_utils/MyMoneroCoreBridge")(); // NOTE: This is actually a promise. Call .then(function(monero_utils) { }) to actually use mymonero_core_js.monero_config = require("./monero_utils/monero_config"); mymonero_core_js.monero_txParsing_utils = require("./monero_utils/monero_txParsing_utils"); mymonero_core_js.monero_sendingFunds_utils = require("./monero_utils/monero_sendingFunds_utils");