eat-js-sdk 2.6.3 → 2.6.5
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.
|
@@ -7535,7 +7535,7 @@ function useStimulusData(stimulus) {
|
|
|
7535
7535
|
}
|
|
7536
7536
|
const {
|
|
7537
7537
|
asset_alignment: assetAlignment,
|
|
7538
|
-
|
|
7538
|
+
alternative_text: alternativeText,
|
|
7539
7539
|
long_description: longDescriptionRaw,
|
|
7540
7540
|
description,
|
|
7541
7541
|
file,
|
|
@@ -9457,7 +9457,7 @@ function MCQOption($$anchor, $$props) {
|
|
|
9457
9457
|
reset(div_2);
|
|
9458
9458
|
template_effect(() => {
|
|
9459
9459
|
set_attribute(img, "id", `img-${index2() ?? ""}`);
|
|
9460
|
-
set_attribute(img, "alt", `Graphic, ${(option().media?.
|
|
9460
|
+
set_attribute(img, "alt", `Graphic, ${(option().media?.alternative_text || "") ?? ""}`);
|
|
9461
9461
|
set_attribute(img, "src", option().media.file.url);
|
|
9462
9462
|
});
|
|
9463
9463
|
append($$anchor2, div_2);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eat-js-sdk",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.5",
|
|
4
4
|
"change version": "2.6.0",
|
|
5
5
|
"description": "Authoring tool frontend SDK",
|
|
6
6
|
"contributors": [
|
|
@@ -46,7 +46,9 @@
|
|
|
46
46
|
"format": "prettier --write .",
|
|
47
47
|
"lint": "prettier --check . && eslint .",
|
|
48
48
|
"test:unit": "vitest",
|
|
49
|
-
"test": "npm run test:unit -- --run"
|
|
49
|
+
"test": "npm run test:unit -- --run",
|
|
50
|
+
"publish:sri": "node scripts/publish-sri.js",
|
|
51
|
+
"build:publish": "npm run build && npm run publish:sri"
|
|
50
52
|
},
|
|
51
53
|
"devDependencies": {
|
|
52
54
|
"@eslint/compat": "^1.4.0",
|