@stll/docx-core 0.15.0 → 0.15.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.
Binary file
@@ -40,16 +40,16 @@ type DocxReviewFactsWire = readonly [schemaVersion: 2, revisions: DocxReviewFact
40
40
  type DocxPackageProjectionWire = readonly [schemaVersion: 2, document: DocxProjectionWire, reviewFacts: DocxReviewFactsWire];
41
41
  //#endregion
42
42
  //#region src/projection.d.ts
43
- declare const DocxProjectionInitializationError_base: import("better-result").TaggedErrorClass<"DocxProjectionInitializationError", {
43
+ declare const DocxProjectionInitializationError_base: import("better-result").TaggedErrorClass<"DocxProjectionInitializationError">;
44
+ declare class DocxProjectionInitializationError extends DocxProjectionInitializationError_base<{
44
45
  message: string;
45
46
  cause: unknown;
46
- }>;
47
- declare class DocxProjectionInitializationError extends DocxProjectionInitializationError_base {}
48
- declare const DocxProjectionError_base: import("better-result").TaggedErrorClass<"DocxProjectionError", {
47
+ }> {}
48
+ declare const DocxProjectionError_base: import("better-result").TaggedErrorClass<"DocxProjectionError">;
49
+ declare class DocxProjectionError extends DocxProjectionError_base<{
49
50
  message: string;
50
51
  cause: unknown;
51
- }>;
52
- declare class DocxProjectionError extends DocxProjectionError_base {}
52
+ }> {}
53
53
  type DocxProjectionWasmSource = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
54
54
  type InitializeDocxProjectionOptions = {
55
55
  /**
@@ -222,8 +222,8 @@ async function __wbg_init(module_or_path) {
222
222
  }
223
223
  //#endregion
224
224
  //#region src/projection.ts
225
- var DocxProjectionInitializationError = class extends TaggedError("DocxProjectionInitializationError")() {};
226
- var DocxProjectionError = class extends TaggedError("DocxProjectionError")() {};
225
+ var DocxProjectionInitializationError = class extends TaggedError("DocxProjectionInitializationError") {};
226
+ var DocxProjectionError = class extends TaggedError("DocxProjectionError") {};
227
227
  let initialization;
228
228
  const DOCUMENT_PROJECTION_FAILURE_MESSAGE = "Could not project the DOCX document";
229
229
  const PACKAGE_PROJECTION_FAILURE_MESSAGE = "Could not project the DOCX package with review facts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stll/docx-core",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Typed OOXML/DOCX model, validation, serialization, legal-source compilation, and browser-native package projection.",
5
5
  "keywords": [
6
6
  "document-model",
@@ -60,7 +60,7 @@
60
60
  "prepack": "bun run build"
61
61
  },
62
62
  "dependencies": {
63
- "better-result": "2.10.0",
63
+ "better-result": "3.0.1",
64
64
  "jszip": "3.10.1"
65
65
  },
66
66
  "devDependencies": {