@ikas/storefront 0.0.104 → 0.0.105

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
@@ -29229,6 +29229,9 @@ var IkasBaseStore = /** @class */ (function () {
29229
29229
  case 1:
29230
29230
  myCountryCode = _a.sent();
29231
29231
  currentRouting = IkasStorefrontConfig.routings.find(function (r) { return r.id === IkasStorefrontConfig.storefrontRoutingId; });
29232
+ console.log("storefrontRoutingId", IkasStorefrontConfig.storefrontRoutingId);
29233
+ console.log("currentRouting", currentRouting);
29234
+ console.log(IkasStorefrontConfig.routings);
29232
29235
  if (!(currentRouting && myCountryCode)) return [3 /*break*/, 3];
29233
29236
  correctRouting = IkasStorefrontConfig.routings.find(function (r) { var _a; return (_a = r.countryCodes) === null || _a === void 0 ? void 0 : _a.includes(myCountryCode); });
29234
29237
  isCorrectLocale = IkasStorefrontConfig.storefrontRoutingId === (correctRouting === null || correctRouting === void 0 ? void 0 : correctRouting.id);
@@ -29260,6 +29263,7 @@ var IkasBaseStore = /** @class */ (function () {
29260
29263
  });
29261
29264
  this.localeOptions = localeOptions_1;
29262
29265
  if (!isCorrectLocale) {
29266
+ console.log("showing locale options");
29263
29267
  this.showLocaleOptions = true;
29264
29268
  }
29265
29269
  this.localeChecked = true;
package/build/index.js CHANGED
@@ -29209,6 +29209,9 @@ var IkasBaseStore = /** @class */ (function () {
29209
29209
  case 1:
29210
29210
  myCountryCode = _a.sent();
29211
29211
  currentRouting = IkasStorefrontConfig.routings.find(function (r) { return r.id === IkasStorefrontConfig.storefrontRoutingId; });
29212
+ console.log("storefrontRoutingId", IkasStorefrontConfig.storefrontRoutingId);
29213
+ console.log("currentRouting", currentRouting);
29214
+ console.log(IkasStorefrontConfig.routings);
29212
29215
  if (!(currentRouting && myCountryCode)) return [3 /*break*/, 3];
29213
29216
  correctRouting = IkasStorefrontConfig.routings.find(function (r) { var _a; return (_a = r.countryCodes) === null || _a === void 0 ? void 0 : _a.includes(myCountryCode); });
29214
29217
  isCorrectLocale = IkasStorefrontConfig.storefrontRoutingId === (correctRouting === null || correctRouting === void 0 ? void 0 : correctRouting.id);
@@ -29240,6 +29243,7 @@ var IkasBaseStore = /** @class */ (function () {
29240
29243
  });
29241
29244
  this.localeOptions = localeOptions_1;
29242
29245
  if (!isCorrectLocale) {
29246
+ console.log("showing locale options");
29243
29247
  this.showLocaleOptions = true;
29244
29248
  }
29245
29249
  this.localeChecked = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.104",
3
+ "version": "0.0.105",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",