@ikas/storefront 0.0.162-alpha.13 → 0.0.162-alpha.15

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
@@ -38193,7 +38193,7 @@ var SettingsHelper = /** @class */ (function () {
38193
38193
  return __generator(this, function (_a) {
38194
38194
  switch (_a.label) {
38195
38195
  case 0:
38196
- isLocal = process.env.NODE_ENV === "development";
38196
+ isLocal = process.env.NEXT_PUBLIC_ENV === "local";
38197
38197
  if (!isLocal) return [3 /*break*/, 3];
38198
38198
  if (!IkasStorefrontConfig.storefrontId) {
38199
38199
  console.error("Missing storefrontId in the config.json file!");
@@ -38272,7 +38272,7 @@ var SettingsHelper = /** @class */ (function () {
38272
38272
  return __generator(this, function (_b) {
38273
38273
  switch (_b.label) {
38274
38274
  case 0:
38275
- isLocal = process.env.NODE_ENV === "development";
38275
+ isLocal = process.env.NEXT_PUBLIC_ENV === "local";
38276
38276
  isProdEditor = !isLocal && isEditor;
38277
38277
  serverRuntimeConfig = getConfig().serverRuntimeConfig;
38278
38278
  if (!!isProdEditor) return [3 /*break*/, 5];
package/build/index.js CHANGED
@@ -38171,7 +38171,7 @@ var SettingsHelper = /** @class */ (function () {
38171
38171
  return __generator(this, function (_a) {
38172
38172
  switch (_a.label) {
38173
38173
  case 0:
38174
- isLocal = process.env.NODE_ENV === "development";
38174
+ isLocal = process.env.NEXT_PUBLIC_ENV === "local";
38175
38175
  if (!isLocal) return [3 /*break*/, 3];
38176
38176
  if (!IkasStorefrontConfig.storefrontId) {
38177
38177
  console.error("Missing storefrontId in the config.json file!");
@@ -38250,7 +38250,7 @@ var SettingsHelper = /** @class */ (function () {
38250
38250
  return __generator(this, function (_b) {
38251
38251
  switch (_b.label) {
38252
38252
  case 0:
38253
- isLocal = process.env.NODE_ENV === "development";
38253
+ isLocal = process.env.NEXT_PUBLIC_ENV === "local";
38254
38254
  isProdEditor = !isLocal && isEditor;
38255
38255
  serverRuntimeConfig = getConfig__default['default']().serverRuntimeConfig;
38256
38256
  if (!!isProdEditor) return [3 /*break*/, 5];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.162-alpha.13",
3
+ "version": "0.0.162-alpha.15",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",