@blotoutio/providers-shop-gpt-sdk 1.11.2 → 1.11.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/index.cjs.js CHANGED
@@ -1925,11 +1925,10 @@ class ProductItem extends r$2 {
1925
1925
  </p>`;
1926
1926
  }
1927
1927
  redirect(url) {
1928
- var _a;
1929
1928
  if (!url) {
1930
1929
  return;
1931
1930
  }
1932
- (_a = open(url, '_blank')) === null || _a === void 0 ? void 0 : _a.focus();
1931
+ open(url, '_self');
1933
1932
  }
1934
1933
  renderVariantTitles() {
1935
1934
  if (this.product.hasOnlyDefaultVariant) {
package/index.js CHANGED
@@ -1926,11 +1926,10 @@ var ProvidersShopGptSdk = (function () {
1926
1926
  </p>`;
1927
1927
  }
1928
1928
  redirect(url) {
1929
- var _a;
1930
1929
  if (!url) {
1931
1930
  return;
1932
1931
  }
1933
- (_a = open(url, '_blank')) === null || _a === void 0 ? void 0 : _a.focus();
1932
+ open(url, '_self');
1934
1933
  }
1935
1934
  renderVariantTitles() {
1936
1935
  if (this.product.hasOnlyDefaultVariant) {
package/index.mjs CHANGED
@@ -1923,11 +1923,10 @@ class ProductItem extends r$2 {
1923
1923
  </p>`;
1924
1924
  }
1925
1925
  redirect(url) {
1926
- var _a;
1927
1926
  if (!url) {
1928
1927
  return;
1929
1928
  }
1930
- (_a = open(url, '_blank')) === null || _a === void 0 ? void 0 : _a.focus();
1929
+ open(url, '_self');
1931
1930
  }
1932
1931
  renderVariantTitles() {
1933
1932
  if (this.product.hasOnlyDefaultVariant) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/providers-shop-gpt-sdk",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "description": "Shop GPT SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",