@armco/analytics 0.1.0 → 0.1.1

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/dist/analytics.js CHANGED
@@ -377,11 +377,10 @@ function showTrackingPopup() {
377
377
  });
378
378
  }
379
379
  function init() {
380
- var _a;
381
380
  try {
382
381
  environment = getEnvironmentType();
383
382
  console.log("[ANALYTICS] Loading Configuration");
384
- console.log("[ANALYTICS] Environment: ", (_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV);
383
+ console.log("[ANALYTICS] Environment: ", import.meta.env.MODE);
385
384
  loadConfiguration()
386
385
  .then((config) => __awaiter(this, void 0, void 0, function* () {
387
386
  CONFIG = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@armco/analytics",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Browser Based Analytics interceptor for configured events",
5
5
  "main": "index.js",
6
6
  "type": "module",