UNPKG

@gotamedia/oc

Version:

Set of OC helper for NodeJs Runtime.

14 lines (13 loc) 440 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.configure = exports.OC_SERVICE_CONFIG = void 0; let OC_SERVICE_CONFIG = { baseUrl: "", username: "", password: "" }; exports.OC_SERVICE_CONFIG = OC_SERVICE_CONFIG; const configure = (config) => { exports.OC_SERVICE_CONFIG = OC_SERVICE_CONFIG = Object.assign(Object.assign({}, OC_SERVICE_CONFIG), config); }; exports.configure = configure;