@keroway/tdsl-wasm 1.18.0 → 1.20.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/tdsl_wasm.js +6 -6
- package/tdsl_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/tdsl_wasm.js
CHANGED
|
@@ -63,7 +63,7 @@ export class JsRenderOptions {
|
|
|
63
63
|
}
|
|
64
64
|
constructor() {
|
|
65
65
|
const ret = wasm.jsrenderoptions_new();
|
|
66
|
-
this.__wbg_ptr = ret
|
|
66
|
+
this.__wbg_ptr = ret;
|
|
67
67
|
JsRenderOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
68
68
|
return this;
|
|
69
69
|
}
|
|
@@ -481,7 +481,7 @@ export function render_svg_from_source_with_options(source, scale, opts) {
|
|
|
481
481
|
function __wbg_get_imports() {
|
|
482
482
|
const import0 = {
|
|
483
483
|
__proto__: null,
|
|
484
|
-
|
|
484
|
+
__wbg___wbindgen_throw_ea4887a5f8f9a9db: function(arg0, arg1) {
|
|
485
485
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
486
486
|
},
|
|
487
487
|
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
@@ -523,7 +523,7 @@ function __wbg_get_imports() {
|
|
|
523
523
|
|
|
524
524
|
const JsRenderOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
525
525
|
? { register: () => {}, unregister: () => {} }
|
|
526
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_jsrenderoptions_free(ptr
|
|
526
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_jsrenderoptions_free(ptr, 1));
|
|
527
527
|
|
|
528
528
|
function addHeapObject(obj) {
|
|
529
529
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
@@ -555,8 +555,7 @@ function getDataViewMemory0() {
|
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
function getStringFromWasm0(ptr, len) {
|
|
558
|
-
|
|
559
|
-
return decodeText(ptr, len);
|
|
558
|
+
return decodeText(ptr >>> 0, len);
|
|
560
559
|
}
|
|
561
560
|
|
|
562
561
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -646,8 +645,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
646
645
|
|
|
647
646
|
let WASM_VECTOR_LEN = 0;
|
|
648
647
|
|
|
649
|
-
let wasmModule, wasm;
|
|
648
|
+
let wasmModule, wasmInstance, wasm;
|
|
650
649
|
function __wbg_finalize_init(instance, module) {
|
|
650
|
+
wasmInstance = instance;
|
|
651
651
|
wasm = instance.exports;
|
|
652
652
|
wasmModule = module;
|
|
653
653
|
cachedDataViewMemory0 = null;
|
package/tdsl_wasm_bg.wasm
CHANGED
|
Binary file
|