@quillmark/wasm 0.92.0 → 0.92.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.92.1 - 2026-06-22
4
+
5
+ - Accept uppercase field names; reserve only `$`-prefixed keys (#730)
6
+ - docs: canonize $ext.editor.title as per-card display name slot (#729)
7
+
8
+
9
+ ## Unreleased
10
+
11
+ - docs(canon): canonize `$ext.editor.title` as the slot for a per-card display name
12
+
3
13
  ## v0.92.0 - 2026-06-22
4
14
 
5
15
  - 0.92 technical-debt sweep: correctness, $seed hardening, de-duplication (#727)
@@ -356,7 +356,7 @@ export class Document {
356
356
  removeExtNamespace(namespace: string): any;
357
357
  /**
358
358
  * Remove a payload field on the main card, returning the removed value or
359
- * `undefined`. Throws if `name` does not match `[a-z_][a-z0-9_]*`.
359
+ * `undefined`. Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
360
360
  */
361
361
  removeField(name: string): any;
362
362
  /**
@@ -401,14 +401,14 @@ export class Document {
401
401
  /**
402
402
  * Merge `value` into the main card's `$ext` map under `namespace`, creating
403
403
  * the map when absent and replacing any existing value at that key. Sibling
404
- * namespaces are preserved, so independent consumers (`$ext.presentation`,
404
+ * namespaces are preserved, so independent consumers (`$ext.editor`,
405
405
  * `$ext.agent`, …) don't clobber each other.
406
406
  */
407
407
  setExtNamespace(namespace: string, value: any): void;
408
408
  /**
409
409
  * Update a payload field on the main card. Clears any existing `!must_fill` marker.
410
410
  *
411
- * Throws if `name` does not match `[a-z_][a-z0-9_]*`.
411
+ * Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
412
412
  */
413
413
  setField(name: string, value: any): void;
414
414
  /**
@@ -496,7 +496,7 @@ export class Document {
496
496
  }
497
497
  /**
498
498
  * Remove a payload field on the main card, returning the removed value or
499
- * `undefined`. Throws if `name` does not match `[a-z_][a-z0-9_]*`.
499
+ * `undefined`. Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
500
500
  * @param {string} name
501
501
  * @returns {any}
502
502
  */
@@ -663,7 +663,7 @@ export class Document {
663
663
  /**
664
664
  * Merge `value` into the main card's `$ext` map under `namespace`, creating
665
665
  * the map when absent and replacing any existing value at that key. Sibling
666
- * namespaces are preserved, so independent consumers (`$ext.presentation`,
666
+ * namespaces are preserved, so independent consumers (`$ext.editor`,
667
667
  * `$ext.agent`, …) don't clobber each other.
668
668
  * @param {string} namespace
669
669
  * @param {any} value
@@ -686,7 +686,7 @@ export class Document {
686
686
  /**
687
687
  * Update a payload field on the main card. Clears any existing `!must_fill` marker.
688
688
  *
689
- * Throws if `name` does not match `[a-z_][a-z0-9_]*`.
689
+ * Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
690
690
  * @param {string} name
691
691
  * @param {any} value
692
692
  */
Binary file
package/core/wasm.d.ts CHANGED
@@ -263,7 +263,7 @@ export class Document {
263
263
  removeExtNamespace(namespace: string): any;
264
264
  /**
265
265
  * Remove a payload field on the main card, returning the removed value or
266
- * `undefined`. Throws if `name` does not match `[a-z_][a-z0-9_]*`.
266
+ * `undefined`. Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
267
267
  */
268
268
  removeField(name: string): any;
269
269
  /**
@@ -308,14 +308,14 @@ export class Document {
308
308
  /**
309
309
  * Merge `value` into the main card's `$ext` map under `namespace`, creating
310
310
  * the map when absent and replacing any existing value at that key. Sibling
311
- * namespaces are preserved, so independent consumers (`$ext.presentation`,
311
+ * namespaces are preserved, so independent consumers (`$ext.editor`,
312
312
  * `$ext.agent`, …) don't clobber each other.
313
313
  */
314
314
  setExtNamespace(namespace: string, value: any): void;
315
315
  /**
316
316
  * Update a payload field on the main card. Clears any existing `!must_fill` marker.
317
317
  *
318
- * Throws if `name` does not match `[a-z_][a-z0-9_]*`.
318
+ * Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
319
319
  */
320
320
  setField(name: string, value: any): void;
321
321
  /**
package/core/wasm_bg.js CHANGED
@@ -496,7 +496,7 @@ export class Document {
496
496
  }
497
497
  /**
498
498
  * Remove a payload field on the main card, returning the removed value or
499
- * `undefined`. Throws if `name` does not match `[a-z_][a-z0-9_]*`.
499
+ * `undefined`. Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
500
500
  * @param {string} name
501
501
  * @returns {any}
502
502
  */
@@ -663,7 +663,7 @@ export class Document {
663
663
  /**
664
664
  * Merge `value` into the main card's `$ext` map under `namespace`, creating
665
665
  * the map when absent and replacing any existing value at that key. Sibling
666
- * namespaces are preserved, so independent consumers (`$ext.presentation`,
666
+ * namespaces are preserved, so independent consumers (`$ext.editor`,
667
667
  * `$ext.agent`, …) don't clobber each other.
668
668
  * @param {string} namespace
669
669
  * @param {any} value
@@ -686,7 +686,7 @@ export class Document {
686
686
  /**
687
687
  * Update a payload field on the main card. Clears any existing `!must_fill` marker.
688
688
  *
689
- * Throws if `name` does not match `[a-z_][a-z0-9_]*`.
689
+ * Throws if `name` does not match `[A-Za-z_][A-Za-z0-9_]*`.
690
690
  * @param {string} name
691
691
  * @param {any} value
692
692
  */
package/core/wasm_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.92.0",
3
+ "version": "0.92.1",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",