@alanszp/core 4.0.13 → 7.0.0

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.
@@ -0,0 +1 @@
1
+ export declare function appIdentifier(): string;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.appIdentifier = void 0;
4
+ function appIdentifier() {
5
+ const appName = process.env.API_ORIGIN_NAME || "undefined";
6
+ const env = process.env.NODE_ENV || "development";
7
+ return `${appName}:${env}`;
8
+ }
9
+ exports.appIdentifier = appIdentifier;
10
+ //# sourceMappingURL=appIdentifier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appIdentifier.js","sourceRoot":"","sources":["../../src/app/appIdentifier.ts"],"names":[],"mappings":";;;AAAA,SAAgB,aAAa;IAC3B,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,WAAW,CAAC;IAC3D,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,aAAa,CAAC;IAClD,OAAO,GAAG,OAAO,IAAI,GAAG,EAAE,CAAC;AAC7B,CAAC;AAJD,sCAIC"}
@@ -0,0 +1 @@
1
+ export * from "./appIdentifier";
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./appIdentifier"), exports);
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/app/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./assignKey";
2
2
  export * from "./lists";
3
3
  export * from "./editable";
4
+ export * from "./app";
package/dist/index.js CHANGED
@@ -13,4 +13,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./assignKey"), exports);
14
14
  __exportStar(require("./lists"), exports);
15
15
  __exportStar(require("./editable"), exports);
16
+ __exportStar(require("./app"), exports);
16
17
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,wCAAsB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alanszp/core",
3
- "version": "4.0.13",
3
+ "version": "7.0.0",
4
4
  "description": "Alan's core TS/JS lib.",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -18,5 +18,5 @@
18
18
  "prepack": "yarn run build",
19
19
  "yalc-publish": "yarn run yalc publish"
20
20
  },
21
- "gitHead": "71a7bfa562fe5cfc52262f6bb4cadd6b977c6a4c"
21
+ "gitHead": "5fe04a249eeca2675e0565e08e99bffea6a2eaa0"
22
22
  }
@@ -0,0 +1,5 @@
1
+ export function appIdentifier() {
2
+ const appName = process.env.API_ORIGIN_NAME || "undefined";
3
+ const env = process.env.NODE_ENV || "development";
4
+ return `${appName}:${env}`;
5
+ }
@@ -0,0 +1 @@
1
+ export * from "./appIdentifier";
package/src/index.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./assignKey";
2
2
  export * from "./lists";
3
3
  export * from "./editable";
4
+ export * from "./app";