@ikas/storefront 0.0.60 → 0.0.61

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
@@ -12370,9 +12370,9 @@ var IkasImage = /** @class */ (function () {
12370
12370
  });
12371
12371
  IkasImage.prototype.getSrc = function (size) {
12372
12372
  if (this.id.includes("/"))
12373
- return "" + process.env.NEXT_PUBLIC_IMG_BASE_URL + this.id + "/" + size + "/" + size + "/img.webp";
12373
+ return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + this.id + "/image_" + size + ".webp";
12374
12374
  var merchantId = decodeBase64(this.editorApiKey || IkasStorefrontConfig.config.apiKey || "");
12375
- return "" + process.env.NEXT_PUBLIC_IMG_BASE_URL + merchantId + "/" + this.id + "/" + size + "/" + size + "/img.webp";
12375
+ return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + merchantId + "/" + this.id + "/image_" + size + ".webp";
12376
12376
  };
12377
12377
  return IkasImage;
12378
12378
  }());
package/build/index.js CHANGED
@@ -12382,9 +12382,9 @@ var IkasImage = /** @class */ (function () {
12382
12382
  });
12383
12383
  IkasImage.prototype.getSrc = function (size) {
12384
12384
  if (this.id.includes("/"))
12385
- return "" + process.env.NEXT_PUBLIC_IMG_BASE_URL + this.id + "/" + size + "/" + size + "/img.webp";
12385
+ return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + this.id + "/image_" + size + ".webp";
12386
12386
  var merchantId = decodeBase64(this.editorApiKey || IkasStorefrontConfig.config.apiKey || "");
12387
- return "" + process.env.NEXT_PUBLIC_IMG_BASE_URL + merchantId + "/" + this.id + "/" + size + "/" + size + "/img.webp";
12387
+ return process.env.NEXT_PUBLIC_IMG_BASE_URL + "images/" + merchantId + "/" + this.id + "/image_" + size + ".webp";
12388
12388
  };
12389
12389
  return IkasImage;
12390
12390
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",