@willwade/aac-processors 0.0.28 → 0.0.29
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.
|
@@ -165,6 +165,10 @@ class ObfProcessor extends baseProcessor_1.BaseProcessor {
|
|
|
165
165
|
if (imageBuffer) {
|
|
166
166
|
buttonParameters.imageData = imageBuffer;
|
|
167
167
|
}
|
|
168
|
+
// Store image_id for web viewers to fetch images via API
|
|
169
|
+
if (btn.image_id) {
|
|
170
|
+
buttonParameters.image_id = btn.image_id;
|
|
171
|
+
}
|
|
168
172
|
return new treeStructure_1.AACButton({
|
|
169
173
|
// Make button ID unique by combining page ID and button ID
|
|
170
174
|
id: `${pageId}::${btn?.id || ''}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willwade/aac-processors",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"description": "A comprehensive TypeScript library for processing AAC (Augmentative and Alternative Communication) file formats with translation support",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|