@alpaca-headless/alpaca-headless-nextjs 1.0.2707 → 1.0.2709
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.
|
@@ -69,7 +69,6 @@ const Picture = (_a) => {
|
|
|
69
69
|
return { src: variant.src + "&mw=" + width, width: width };
|
|
70
70
|
};
|
|
71
71
|
srcSet = getScaledImage(variant, source.width).src;
|
|
72
|
-
console.log("WIDTH: " + source.width + " -> " + srcSet);
|
|
73
72
|
if (source.scales) {
|
|
74
73
|
let scaledImages = source.scales.map((x) => { var _a; return getScaledImage(variant, ((_a = source.width) !== null && _a !== void 0 ? _a : 0) * x); });
|
|
75
74
|
srcSet = "";
|
|
@@ -66,7 +66,6 @@ export const Picture = (_a) => {
|
|
|
66
66
|
return { src: variant.src + "&mw=" + width, width: width };
|
|
67
67
|
};
|
|
68
68
|
srcSet = getScaledImage(variant, source.width).src;
|
|
69
|
-
console.log("WIDTH: " + source.width + " -> " + srcSet);
|
|
70
69
|
if (source.scales) {
|
|
71
70
|
let scaledImages = source.scales.map((x) => { var _a; return getScaledImage(variant, ((_a = source.width) !== null && _a !== void 0 ? _a : 0) * x); });
|
|
72
71
|
srcSet = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpaca-headless/alpaca-headless-nextjs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2709",
|
|
4
4
|
"description": "Alpaca Headless NextJs Integration",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"autoprefixer": "10.4.14",
|
|
25
|
-
"next": "13.4.
|
|
25
|
+
"next": "13.4.12",
|
|
26
26
|
"node-cleanup": "^2.1.2",
|
|
27
27
|
"react": "18.2.0",
|
|
28
28
|
"react-dom": "18.2.0",
|