wehelpjs
Version:
wehelpjs is the JavaScript API Library for the WeYouMe blockchain
32 lines (22 loc) • 540 B
JavaScript
;
const api = require("./api");
const auth = require("./auth");
const broadcast = require("./broadcast");
const config = require("./config");
const formatter = require("./formatter")(api);
const utils = require("./utils");
const wehelpjs = {
api,
auth,
broadcast,
config,
formatter,
utils
};
if (typeof window !== "undefined" && !window.wehelpjs) {
window.wehelpjs = wehelpjs;
}
if (typeof global !== "undefined" && !global.wehelpjs) {
global.wehelpjs = wehelpjs;
}
exports = module.exports = wehelpjs;