@ikas/storefront 0.2.0-alpha.2 → 0.2.0-alpha.3

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/build/index.es.js CHANGED
@@ -24505,6 +24505,7 @@ var StorefrontEventPageType;
24505
24505
  StorefrontEventPageType[StorefrontEventPageType["BLOG_CATEGORY"] = 20] = "BLOG_CATEGORY";
24506
24506
  StorefrontEventPageType[StorefrontEventPageType["CHECKOUT"] = 21] = "CHECKOUT";
24507
24507
  })(StorefrontEventPageType || (StorefrontEventPageType = {}));
24508
+ var ANALYTICS_URL = "https://0.myikas.dev";
24508
24509
  var IkasAnalytics = /** @class */ (function () {
24509
24510
  function IkasAnalytics() {
24510
24511
  }
@@ -24641,7 +24642,7 @@ var IkasAnalytics = /** @class */ (function () {
24641
24642
  vid: this.visitorId,
24642
24643
  cid: (_a = IkasStorefrontConfig.store.customerStore.customer) === null || _a === void 0 ? void 0 : _a.id,
24643
24644
  };
24644
- return [4 /*yield*/, fetch("https://0.myikas.com", {
24645
+ return [4 /*yield*/, fetch(ANALYTICS_URL, {
24645
24646
  method: "POST",
24646
24647
  body: JSON.stringify(cloudFrontEvent),
24647
24648
  headers: {
package/build/index.js CHANGED
@@ -24512,6 +24512,7 @@ var StorefrontEventPageType;
24512
24512
  StorefrontEventPageType[StorefrontEventPageType["BLOG_CATEGORY"] = 20] = "BLOG_CATEGORY";
24513
24513
  StorefrontEventPageType[StorefrontEventPageType["CHECKOUT"] = 21] = "CHECKOUT";
24514
24514
  })(StorefrontEventPageType || (StorefrontEventPageType = {}));
24515
+ var ANALYTICS_URL = "https://0.myikas.dev";
24515
24516
  var IkasAnalytics = /** @class */ (function () {
24516
24517
  function IkasAnalytics() {
24517
24518
  }
@@ -24648,7 +24649,7 @@ var IkasAnalytics = /** @class */ (function () {
24648
24649
  vid: this.visitorId,
24649
24650
  cid: (_a = IkasStorefrontConfig.store.customerStore.customer) === null || _a === void 0 ? void 0 : _a.id,
24650
24651
  };
24651
- return [4 /*yield*/, fetch("https://0.myikas.com", {
24652
+ return [4 /*yield*/, fetch(ANALYTICS_URL, {
24652
24653
  method: "POST",
24653
24654
  body: JSON.stringify(cloudFrontEvent),
24654
24655
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.2.0-alpha.2",
3
+ "version": "0.2.0-alpha.3",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",