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

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/sendEvent";
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: {
@@ -71022,7 +71023,7 @@ var Image = function (_a) {
71022
71023
  });
71023
71024
  return image.getSrc(closest);
71024
71025
  };
71025
- return (createElement(NextImage, __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image", placeholder: useBlur ? "blur" : "empty", blurDataURL: useBlur ? image.getSrc(180) : undefined })));
71026
+ return (createElement(NextImage, __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image", placeholder: useBlur ? "blur" : "empty", blurDataURL: useBlur ? image.getSrc(10) : undefined })));
71026
71027
  };
71027
71028
 
71028
71029
  var styles$k = {"StepContainer":"style-module_StepContainer__1O2dD","Step":"style-module_Step__1iOYA","StepTitleContainer":"style-module_StepTitleContainer__2GUg2","First":"style-module_First__cAzdJ","StepTitleTop":"style-module_StepTitleTop__3zfsj","WithRightContent":"style-module_WithRightContent__2fqb1","StepCircle":"style-module_StepCircle__36A5q","Selected":"style-module_Selected__3j91L","StepTitle":"style-module_StepTitle__10YDP","Light":"style-module_Light__15wSX","StepTitleRightContent":"style-module_StepTitleRightContent__2Q43m","StepContent":"style-module_StepContent__20QIi"};
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/sendEvent";
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: {
@@ -70999,7 +71000,7 @@ var Image = function (_a) {
70999
71000
  });
71000
71001
  return image.getSrc(closest);
71001
71002
  };
71002
- return (React.createElement(NextImage__default['default'], __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image", placeholder: useBlur ? "blur" : "empty", blurDataURL: useBlur ? image.getSrc(180) : undefined })));
71003
+ return (React.createElement(NextImage__default['default'], __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image", placeholder: useBlur ? "blur" : "empty", blurDataURL: useBlur ? image.getSrc(10) : undefined })));
71003
71004
  };
71004
71005
 
71005
71006
  var styles$k = {"StepContainer":"style-module_StepContainer__1O2dD","Step":"style-module_Step__1iOYA","StepTitleContainer":"style-module_StepTitleContainer__2GUg2","First":"style-module_First__cAzdJ","StepTitleTop":"style-module_StepTitleTop__3zfsj","WithRightContent":"style-module_WithRightContent__2fqb1","StepCircle":"style-module_StepCircle__36A5q","Selected":"style-module_Selected__3j91L","StepTitle":"style-module_StepTitle__10YDP","Light":"style-module_Light__15wSX","StepTitleRightContent":"style-module_StepTitleRightContent__2Q43m","StepContent":"style-module_StepContent__20QIi"};
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.4",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",