@iyulab/unhwp 0.11.0 → 0.13.0
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/package.json +1 -1
- package/unhwp_wasm.d.ts +5 -1
- package/unhwp_wasm_bg.js +4 -2
- package/unhwp_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/unhwp_wasm.d.ts
CHANGED
|
@@ -52,7 +52,11 @@ export class ParseOptions {
|
|
|
52
52
|
[Symbol.dispose](): void;
|
|
53
53
|
lenient(): ParseOptions;
|
|
54
54
|
constructor();
|
|
55
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Skip binary resources (images, equations). Named for what it does: the
|
|
57
|
+
* structure and text of the document are produced either way.
|
|
58
|
+
*/
|
|
59
|
+
withoutResources(): ParseOptions;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
export function parse(data: Uint8Array): HwpDocument;
|
package/unhwp_wasm_bg.js
CHANGED
|
@@ -236,11 +236,13 @@ export class ParseOptions {
|
|
|
236
236
|
return this;
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
|
+
* Skip binary resources (images, equations). Named for what it does: the
|
|
240
|
+
* structure and text of the document are produced either way.
|
|
239
241
|
* @returns {ParseOptions}
|
|
240
242
|
*/
|
|
241
|
-
|
|
243
|
+
withoutResources() {
|
|
242
244
|
const ptr = this.__destroy_into_raw();
|
|
243
|
-
const ret = wasm.
|
|
245
|
+
const ret = wasm.parseoptions_withoutResources(ptr);
|
|
244
246
|
return ParseOptions.__wrap(ret);
|
|
245
247
|
}
|
|
246
248
|
}
|
package/unhwp_wasm_bg.wasm
CHANGED
|
Binary file
|