@kwiz/common 1.0.156 → 1.0.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/config.js +7 -0
- package/lib/cjs/config.js.map +1 -1
- package/lib/esm/config.js +1 -0
- package/lib/esm/config.js.map +1 -1
- package/lib/types/config.d.ts +1 -0
- package/package.json +1 -1
package/lib/cjs/config.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReleaseStatus = exports.IsProduction = exports.IsLocalDev = exports.IsFastRing = exports.BuildNumber = void 0;
|
|
3
4
|
exports.config = config;
|
|
4
5
|
const _dependencies_1 = require("./_dependencies");
|
|
5
6
|
const consolelogger_1 = require("./utils/consolelogger");
|
|
@@ -15,4 +16,10 @@ function config(params) {
|
|
|
15
16
|
logger: GetLogger
|
|
16
17
|
};
|
|
17
18
|
}
|
|
19
|
+
var _dependencies_2 = require("./_dependencies");
|
|
20
|
+
Object.defineProperty(exports, "BuildNumber", { enumerable: true, get: function () { return _dependencies_2.BuildNumber; } });
|
|
21
|
+
Object.defineProperty(exports, "IsFastRing", { enumerable: true, get: function () { return _dependencies_2.IsFastRing; } });
|
|
22
|
+
Object.defineProperty(exports, "IsLocalDev", { enumerable: true, get: function () { return _dependencies_2.IsLocalDev; } });
|
|
23
|
+
Object.defineProperty(exports, "IsProduction", { enumerable: true, get: function () { return _dependencies_2.IsProduction; } });
|
|
24
|
+
Object.defineProperty(exports, "ReleaseStatus", { enumerable: true, get: function () { return _dependencies_2.ReleaseStatus; } });
|
|
18
25
|
//# sourceMappingURL=config.js.map
|
package/lib/cjs/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":";;;AAQA,wBAcC;AAtBD,mDAAkD;AAElD,yDAAsD;AAKrD,CAAC;AACF,SAAgB,MAAM,CAAC,MAItB;IACG,IAAA,+BAAe,EAAC,MAAM,CAAC,CAAC;IACxB,SAAS,SAAS,CAAC,IAAY;QAC3B,OAAO,6BAAa,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;IACvD,CAAC;IACD,OAAO;QACH,SAAS;QACT,uEAAuE;QACvE,MAAM,EAAE,SAAS;KACpB,CAAA;AACL,CAAC;AAED,iDAAmG;AAA1F,4GAAA,WAAW,OAAA;AAAE,2GAAA,UAAU,OAAA;AAAE,2GAAA,UAAU,OAAA;AAAE,6GAAA,YAAY,OAAA;AAAE,8GAAA,aAAa,OAAA"}
|
package/lib/esm/config.js
CHANGED
package/lib/esm/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAKrD,CAAC;AACF,MAAM,UAAU,MAAM,CAAC,MAItB;IACG,eAAe,CAAC,MAAM,CAAC,CAAC;IACxB,SAAS,SAAS,CAAC,IAAY;QAC3B,OAAO,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;IACvD,CAAC;IACD,OAAO;QACH,SAAS;QACT,uEAAuE;QACvE,MAAM,EAAE,SAAS;KACpB,CAAA;AACL,CAAC"}
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAKrD,CAAC;AACF,MAAM,UAAU,MAAM,CAAC,MAItB;IACG,eAAe,CAAC,MAAM,CAAC,CAAC;IACxB,SAAS,SAAS,CAAC,IAAY;QAC3B,OAAO,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;IACvD,CAAC;IACD,OAAO;QACH,SAAS;QACT,uEAAuE;QACvE,MAAM,EAAE,SAAS;KACpB,CAAA;AACL,CAAC;AAED,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
package/lib/types/config.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export declare function config(params: iConfigParams & {
|
|
|
13
13
|
/** @deprecated exported as GetLogger, which is how is used anyways */
|
|
14
14
|
logger: (name: string) => ConsoleLogger;
|
|
15
15
|
};
|
|
16
|
+
export { BuildNumber, IsFastRing, IsLocalDev, IsProduction, ReleaseStatus } from "./_dependencies";
|