brepkit-wasm 4.6.16 → 4.6.18
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/brepkit_wasm_bg.js +21 -3
- package/brepkit_wasm_bg.wasm +0 -0
- package/brepkit_wasm_node.cjs +21 -3
- package/package.json +1 -1
package/brepkit_wasm_bg.js
CHANGED
|
@@ -5352,13 +5352,16 @@ export function __wbg___wbindgen_debug_string_4687d8d8c2017d52(arg0, arg1) {
|
|
|
5352
5352
|
export function __wbg___wbindgen_throw_41e9ee4f547fc59a(arg0, arg1) {
|
|
5353
5353
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5354
5354
|
}
|
|
5355
|
-
export function
|
|
5355
|
+
export function __wbg_error_653dcdb419720e59(arg0, arg1) {
|
|
5356
5356
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5357
5357
|
}
|
|
5358
|
-
export function
|
|
5358
|
+
export function __wbg_getRandomValues_436a51d0629d84e1() { return handleError(function (arg0, arg1) {
|
|
5359
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5360
|
+
}, arguments); }
|
|
5361
|
+
export function __wbg_log_12ab4d83236d336d(arg0, arg1) {
|
|
5359
5362
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
5360
5363
|
}
|
|
5361
|
-
export function
|
|
5364
|
+
export function __wbg_warn_6fc2998da0afc650(arg0, arg1) {
|
|
5362
5365
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
5363
5366
|
}
|
|
5364
5367
|
export function __wbindgen_generic_0000000000000001(arg0, arg1) {
|
|
@@ -5394,6 +5397,12 @@ const JsVec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
5394
5397
|
? { register: () => {}, unregister: () => {} }
|
|
5395
5398
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsvec3_free(ptr, 1));
|
|
5396
5399
|
|
|
5400
|
+
function addToExternrefTable0(obj) {
|
|
5401
|
+
const idx = wasm.__externref_table_alloc();
|
|
5402
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
5403
|
+
return idx;
|
|
5404
|
+
}
|
|
5405
|
+
|
|
5397
5406
|
function debugString(val) {
|
|
5398
5407
|
// primitive types
|
|
5399
5408
|
const type = typeof val;
|
|
@@ -5523,6 +5532,15 @@ function getUint8ArrayMemory0() {
|
|
|
5523
5532
|
return cachedUint8ArrayMemory0;
|
|
5524
5533
|
}
|
|
5525
5534
|
|
|
5535
|
+
function handleError(f, args) {
|
|
5536
|
+
try {
|
|
5537
|
+
return f.apply(this, args);
|
|
5538
|
+
} catch (e) {
|
|
5539
|
+
const idx = addToExternrefTable0(e);
|
|
5540
|
+
wasm.__wbindgen_exn_store(idx);
|
|
5541
|
+
}
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5526
5544
|
function isLikeNone(x) {
|
|
5527
5545
|
return x === undefined || x === null;
|
|
5528
5546
|
}
|
package/brepkit_wasm_bg.wasm
CHANGED
|
Binary file
|
package/brepkit_wasm_node.cjs
CHANGED
|
@@ -5366,13 +5366,16 @@ function __wbg_get_imports() {
|
|
|
5366
5366
|
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
|
|
5367
5367
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
5368
5368
|
},
|
|
5369
|
-
|
|
5369
|
+
__wbg_error_653dcdb419720e59: function(arg0, arg1) {
|
|
5370
5370
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
5371
5371
|
},
|
|
5372
|
-
|
|
5372
|
+
__wbg_getRandomValues_436a51d0629d84e1: function() { return handleError(function (arg0, arg1) {
|
|
5373
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
5374
|
+
}, arguments); },
|
|
5375
|
+
__wbg_log_12ab4d83236d336d: function(arg0, arg1) {
|
|
5373
5376
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
5374
5377
|
},
|
|
5375
|
-
|
|
5378
|
+
__wbg_warn_6fc2998da0afc650: function(arg0, arg1) {
|
|
5376
5379
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
5377
5380
|
},
|
|
5378
5381
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
@@ -5415,6 +5418,12 @@ const JsVec3Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
5415
5418
|
? { register: () => {}, unregister: () => {} }
|
|
5416
5419
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsvec3_free(ptr, 1));
|
|
5417
5420
|
|
|
5421
|
+
function addToExternrefTable0(obj) {
|
|
5422
|
+
const idx = wasm.__externref_table_alloc();
|
|
5423
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
5424
|
+
return idx;
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5418
5427
|
function debugString(val) {
|
|
5419
5428
|
// primitive types
|
|
5420
5429
|
const type = typeof val;
|
|
@@ -5544,6 +5553,15 @@ function getUint8ArrayMemory0() {
|
|
|
5544
5553
|
return cachedUint8ArrayMemory0;
|
|
5545
5554
|
}
|
|
5546
5555
|
|
|
5556
|
+
function handleError(f, args) {
|
|
5557
|
+
try {
|
|
5558
|
+
return f.apply(this, args);
|
|
5559
|
+
} catch (e) {
|
|
5560
|
+
const idx = addToExternrefTable0(e);
|
|
5561
|
+
wasm.__wbindgen_exn_store(idx);
|
|
5562
|
+
}
|
|
5563
|
+
}
|
|
5564
|
+
|
|
5547
5565
|
function isLikeNone(x) {
|
|
5548
5566
|
return x === undefined || x === null;
|
|
5549
5567
|
}
|
package/package.json
CHANGED