@marketrix.ai/widget 3.8.503 → 3.8.504
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/dist/src/utils/validation.d.ts +1 -1
- package/dist/widget.mjs +64 -64
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* the table honest — a field added api-side fails to compile here until guarded, one removed fails as an unknown
|
|
14
14
|
* key — and `RENDER_CONSTANT_NAMES` mirrors api's `WIDGET_RENDER_CONSTANTS` by hand under the same check.
|
|
15
15
|
*
|
|
16
|
-
* `parseWidgetSettings` PICKS as well as validates:
|
|
16
|
+
* `parseWidgetSettings` PICKS as well as validates: a widget's settings arrive carrying the render constants and the
|
|
17
17
|
* result is spread into the widget config, so unknown keys passing through would leak them where zod used to drop
|
|
18
18
|
* them. Render constants stay guarded, since a legacy bundle's stored value must keep passing, but are dropped
|
|
19
19
|
* from the picked result, since nothing renders them.
|