office-oxide-wasm 0.1.0 → 0.1.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.
@@ -139,6 +139,10 @@ export class WasmDocument {
139
139
  }
140
140
  }
141
141
  if (Symbol.dispose) WasmDocument.prototype[Symbol.dispose] = WasmDocument.prototype.free;
142
+ export function __wbg_Error_83742b46f01ce22d(arg0, arg1) {
143
+ const ret = Error(getStringFromWasm0(arg0, arg1));
144
+ return addHeapObject(ret);
145
+ }
142
146
  export function __wbg_String_8564e559799eccda(arg0, arg1) {
143
147
  const ret = String(getObject(arg1));
144
148
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -168,11 +172,21 @@ export function __wbindgen_cast_0000000000000001(arg0) {
168
172
  const ret = arg0;
169
173
  return addHeapObject(ret);
170
174
  }
171
- export function __wbindgen_cast_0000000000000002(arg0, arg1) {
175
+ export function __wbindgen_cast_0000000000000002(arg0) {
176
+ // Cast intrinsic for `I64 -> Externref`.
177
+ const ret = arg0;
178
+ return addHeapObject(ret);
179
+ }
180
+ export function __wbindgen_cast_0000000000000003(arg0, arg1) {
172
181
  // Cast intrinsic for `Ref(String) -> Externref`.
173
182
  const ret = getStringFromWasm0(arg0, arg1);
174
183
  return addHeapObject(ret);
175
184
  }
185
+ export function __wbindgen_cast_0000000000000004(arg0) {
186
+ // Cast intrinsic for `U64 -> Externref`.
187
+ const ret = BigInt.asUintN(64, arg0);
188
+ return addHeapObject(ret);
189
+ }
176
190
  export function __wbindgen_object_clone_ref(arg0) {
177
191
  const ret = getObject(arg0);
178
192
  return addHeapObject(ret);
Binary file
@@ -146,6 +146,10 @@ exports.WasmDocument = WasmDocument;
146
146
  function __wbg_get_imports() {
147
147
  const import0 = {
148
148
  __proto__: null,
149
+ __wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
150
+ const ret = Error(getStringFromWasm0(arg0, arg1));
151
+ return addHeapObject(ret);
152
+ },
149
153
  __wbg_String_8564e559799eccda: function(arg0, arg1) {
150
154
  const ret = String(getObject(arg1));
151
155
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -175,11 +179,21 @@ function __wbg_get_imports() {
175
179
  const ret = arg0;
176
180
  return addHeapObject(ret);
177
181
  },
178
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
182
+ __wbindgen_cast_0000000000000002: function(arg0) {
183
+ // Cast intrinsic for `I64 -> Externref`.
184
+ const ret = arg0;
185
+ return addHeapObject(ret);
186
+ },
187
+ __wbindgen_cast_0000000000000003: function(arg0, arg1) {
179
188
  // Cast intrinsic for `Ref(String) -> Externref`.
180
189
  const ret = getStringFromWasm0(arg0, arg1);
181
190
  return addHeapObject(ret);
182
191
  },
192
+ __wbindgen_cast_0000000000000004: function(arg0) {
193
+ // Cast intrinsic for `U64 -> Externref`.
194
+ const ret = BigInt.asUintN(64, arg0);
195
+ return addHeapObject(ret);
196
+ },
183
197
  __wbindgen_object_clone_ref: function(arg0) {
184
198
  const ret = getObject(arg0);
185
199
  return addHeapObject(ret);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "office-oxide-wasm",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Fast Office document processing (DOCX/XLSX/PPTX/DOC/XLS/PPT) compiled to WebAssembly. Rust core, zero JS dependencies. Works in Node.js, bundlers, and browsers.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "Yury Fedoseev",
@@ -145,6 +145,10 @@ if (Symbol.dispose) WasmDocument.prototype[Symbol.dispose] = WasmDocument.protot
145
145
  function __wbg_get_imports() {
146
146
  const import0 = {
147
147
  __proto__: null,
148
+ __wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
149
+ const ret = Error(getStringFromWasm0(arg0, arg1));
150
+ return addHeapObject(ret);
151
+ },
148
152
  __wbg_String_8564e559799eccda: function(arg0, arg1) {
149
153
  const ret = String(getObject(arg1));
150
154
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -174,11 +178,21 @@ function __wbg_get_imports() {
174
178
  const ret = arg0;
175
179
  return addHeapObject(ret);
176
180
  },
177
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
181
+ __wbindgen_cast_0000000000000002: function(arg0) {
182
+ // Cast intrinsic for `I64 -> Externref`.
183
+ const ret = arg0;
184
+ return addHeapObject(ret);
185
+ },
186
+ __wbindgen_cast_0000000000000003: function(arg0, arg1) {
178
187
  // Cast intrinsic for `Ref(String) -> Externref`.
179
188
  const ret = getStringFromWasm0(arg0, arg1);
180
189
  return addHeapObject(ret);
181
190
  },
191
+ __wbindgen_cast_0000000000000004: function(arg0) {
192
+ // Cast intrinsic for `U64 -> Externref`.
193
+ const ret = BigInt.asUintN(64, arg0);
194
+ return addHeapObject(ret);
195
+ },
182
196
  __wbindgen_object_clone_ref: function(arg0) {
183
197
  const ret = getObject(arg0);
184
198
  return addHeapObject(ret);
Binary file