@plentymarkets/shop-api 0.98.2 → 0.98.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/lib/index.cjs.js +2 -2
- package/lib/index.es.js +2 -2
- package/package.json +2 -2
package/lib/index.cjs.js
CHANGED
@@ -5511,13 +5511,13 @@ function getImageAlternate(image) {
|
|
5511
5511
|
if (Array.isArray(image.names)) {
|
5512
5512
|
return '';
|
5513
5513
|
}
|
5514
|
-
return image
|
5514
|
+
return image?.names?.alternate ?? '';
|
5515
5515
|
}
|
5516
5516
|
function getImageName(image) {
|
5517
5517
|
if (Array.isArray(image.names)) {
|
5518
5518
|
return '';
|
5519
5519
|
}
|
5520
|
-
return image
|
5520
|
+
return image?.names?.name ?? '';
|
5521
5521
|
}
|
5522
5522
|
function getCleanImageName(image) {
|
5523
5523
|
return image?.cleanImageName ?? '';
|
package/lib/index.es.js
CHANGED
@@ -5507,13 +5507,13 @@ function getImageAlternate(image) {
|
|
5507
5507
|
if (Array.isArray(image.names)) {
|
5508
5508
|
return '';
|
5509
5509
|
}
|
5510
|
-
return image
|
5510
|
+
return image?.names?.alternate ?? '';
|
5511
5511
|
}
|
5512
5512
|
function getImageName(image) {
|
5513
5513
|
if (Array.isArray(image.names)) {
|
5514
5514
|
return '';
|
5515
5515
|
}
|
5516
|
-
return image
|
5516
|
+
return image?.names?.name ?? '';
|
5517
5517
|
}
|
5518
5518
|
function getCleanImageName(image) {
|
5519
5519
|
return image?.cleanImageName ?? '';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@plentymarkets/shop-api",
|
3
|
-
"version": "0.98.
|
3
|
+
"version": "0.98.3",
|
4
4
|
"sideEffects": false,
|
5
5
|
"private": false,
|
6
6
|
"publishConfig": {
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"lib/**/*",
|
46
46
|
"server/**/*"
|
47
47
|
],
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "626922f70cda53606d0d14c5681237b51d189d5c"
|
49
49
|
}
|