@ikas/storefront 0.0.61 → 0.0.63
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 +3 -7
- package/build/index.js +3 -7
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -10891,12 +10891,8 @@ var Apollo = /** @class */ (function () {
|
|
|
10891
10891
|
headers: newHeaders,
|
|
10892
10892
|
};
|
|
10893
10893
|
});
|
|
10894
|
-
var hostname = typeof window !== "undefined" ? window.location.hostname : null;
|
|
10895
10894
|
var httpLink = createHttpLink({
|
|
10896
|
-
uri: IkasStorefrontConfig.apiUrlOverride ||
|
|
10897
|
-
(hostname && hostname !== "localhost"
|
|
10898
|
-
? "https://" + hostname + "/api/sf/graphql"
|
|
10899
|
-
: process.env.NEXT_PUBLIC_GQL_URL),
|
|
10895
|
+
uri: IkasStorefrontConfig.apiUrlOverride || process.env.NEXT_PUBLIC_GQL_URL,
|
|
10900
10896
|
});
|
|
10901
10897
|
_this._client = new ApolloClient({
|
|
10902
10898
|
link: authLink.concat(httpLink),
|
|
@@ -19960,7 +19956,7 @@ var IkasProductList = /** @class */ (function () {
|
|
|
19960
19956
|
this._filterCategoryId = data.filterCategoryId || null;
|
|
19961
19957
|
this._recommendFor = data.recommendFor;
|
|
19962
19958
|
this.filters = data.filters
|
|
19963
|
-
? data.filters.map(function (f) { return new IkasProductFilter(f); })
|
|
19959
|
+
? data.filters.map(function (f) { return new IkasProductFilter(f, _this); })
|
|
19964
19960
|
: null;
|
|
19965
19961
|
this._filterCategories = data.filterCategories
|
|
19966
19962
|
? data.filterCategories.map(function (c) { return new IkasFilterCategory(c); })
|
|
@@ -27624,7 +27620,7 @@ var Image = function (_a) {
|
|
|
27624
27620
|
var width = _a.width;
|
|
27625
27621
|
return image.getSrc(width);
|
|
27626
27622
|
};
|
|
27627
|
-
return (createElement(Image$1, __assign({}, others, { loader: loader, quality: 100, src: image.src })));
|
|
27623
|
+
return (createElement(Image$1, __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image" })));
|
|
27628
27624
|
};
|
|
27629
27625
|
|
|
27630
27626
|
var GTMHead = function (_a) {
|
package/build/index.js
CHANGED
|
@@ -10903,12 +10903,8 @@ var Apollo = /** @class */ (function () {
|
|
|
10903
10903
|
headers: newHeaders,
|
|
10904
10904
|
};
|
|
10905
10905
|
});
|
|
10906
|
-
var hostname = typeof window !== "undefined" ? window.location.hostname : null;
|
|
10907
10906
|
var httpLink = createHttpLink({
|
|
10908
|
-
uri: IkasStorefrontConfig.apiUrlOverride ||
|
|
10909
|
-
(hostname && hostname !== "localhost"
|
|
10910
|
-
? "https://" + hostname + "/api/sf/graphql"
|
|
10911
|
-
: process.env.NEXT_PUBLIC_GQL_URL),
|
|
10907
|
+
uri: IkasStorefrontConfig.apiUrlOverride || process.env.NEXT_PUBLIC_GQL_URL,
|
|
10912
10908
|
});
|
|
10913
10909
|
_this._client = new ApolloClient({
|
|
10914
10910
|
link: authLink.concat(httpLink),
|
|
@@ -19941,7 +19937,7 @@ var IkasProductList = /** @class */ (function () {
|
|
|
19941
19937
|
this._filterCategoryId = data.filterCategoryId || null;
|
|
19942
19938
|
this._recommendFor = data.recommendFor;
|
|
19943
19939
|
this.filters = data.filters
|
|
19944
|
-
? data.filters.map(function (f) { return new IkasProductFilter(f); })
|
|
19940
|
+
? data.filters.map(function (f) { return new IkasProductFilter(f, _this); })
|
|
19945
19941
|
: null;
|
|
19946
19942
|
this._filterCategories = data.filterCategories
|
|
19947
19943
|
? data.filterCategories.map(function (c) { return new IkasFilterCategory(c); })
|
|
@@ -27602,7 +27598,7 @@ var Image = function (_a) {
|
|
|
27602
27598
|
var width = _a.width;
|
|
27603
27599
|
return image.getSrc(width);
|
|
27604
27600
|
};
|
|
27605
|
-
return (React.createElement(Image__default['default'], __assign({}, others, { loader: loader, quality: 100, src: image.src })));
|
|
27601
|
+
return (React.createElement(Image__default['default'], __assign({}, others, { loader: loader, quality: 100, src: image.src, alt: others.alt || "Image" })));
|
|
27606
27602
|
};
|
|
27607
27603
|
|
|
27608
27604
|
var GTMHead = function (_a) {
|