@diaryx/wasm-node 1.4.3-dev.b07751e → 1.4.3-dev.dac4883

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/README.md CHANGED
@@ -100,11 +100,11 @@ console.log(
100
100
  `Fixed: ${fixSummary.total_fixed}, Failed: ${fixSummary.total_failed}`,
101
101
  );
102
102
 
103
- // Fix individual issues
104
- validation.fix_broken_part_of("workspace/broken.md");
105
- validation.fix_broken_contents_ref("workspace/index.md", "missing.md");
106
- validation.fix_unlisted_file("workspace/index.md", "workspace/unlisted.md");
107
- validation.fix_missing_part_of("workspace/orphan.md", "workspace/index.md");
103
+ // Fix an individual warning or error by handing the variant straight from
104
+ // a prior `validate_workspace` / `validate_file` result back to the generic
105
+ // fixer. New warning/error kinds Just Work without a frontend patch.
106
+ validation.fix_validation_warning(result.warnings[0]);
107
+ validation.fix_validation_error(result.errors[0]);
108
108
  ```
109
109
 
110
110
  #### Validation Errors
package/diaryx_wasm.js CHANGED
@@ -547,7 +547,7 @@ function __wbg_get_imports() {
547
547
  console.warn(arg0, arg1, arg2, arg3);
548
548
  },
549
549
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
550
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 504, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
550
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 502, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
551
551
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h31e41fe17a163321);
552
552
  return ret;
553
553
  },
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@diaryx/wasm-node",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for Diaryx core functionality",
5
- "version": "1.4.3-dev.b07751e",
5
+ "version": "1.4.3-dev.dac4883",
6
6
  "license": "SEE LICENSE IN ../../LICENSE.md",
7
7
  "repository": {
8
8
  "type": "git",