@marketrix.ai/widget 4.0.137 → 4.0.138

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.
@@ -7,6 +7,8 @@
7
7
  * last skill-distillation attempt for that application, since a distilled skill is written directly with
8
8
  * no separate draft row. `ApplicationReadSchema` never returns `password`; `WidgetPublicSchema` never
9
9
  * returns the widget's own auth credentials, since an unauthenticated visitor's browser is the caller.
10
+ * `ApplicationEntitySchema` also IS the row schema: `models/application.ts`'s fields and `COLUMN_SCHEMAS`'s
11
+ * `application` enum entries are typed directly off it, so it can never drift from the table it describes.
10
12
  */
11
13
  import { z } from 'zod';
12
14
  import { type ActivityLogType, ActivityLogTypeSchema, type ApplicationType, ApplicationTypeSchema, type WidgetType, WidgetTypeSchema } from './activityLogVocabulary';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marketrix.ai/widget",
3
- "version": "4.0.137",
3
+ "version": "4.0.138",
4
4
  "type": "module",
5
5
  "packageManager": "bun@1.4.2",
6
6
  "sideEffects": false,
@@ -29,7 +29,7 @@
29
29
  "test": "bun test --isolate",
30
30
  "test:watch": "bun test --watch --isolate",
31
31
  "test:coverage": "bun test --coverage --isolate",
32
- "bundle:check": "bun scripts/bundle-check.mjs",
32
+ "bundle:check": "bun scripts/bundle-check.ts",
33
33
  "check:served": "bun run scripts/checkServed.ts",
34
34
  "code:fix": "eslint . --fix && prettier --write .",
35
35
  "code:check": "tsc --noEmit && eslint . --max-warnings 0 && prettier --check ."