kordweb 0.5.13 → 0.5.14
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/klib.js +6 -16
- package/klib_bg.wasm +0 -0
- package/package.json +1 -1
package/klib.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { sleep } from './snippets/kord-b47e0f234bbe2c8c/inline0.js';
|
|
2
|
-
|
|
3
1
|
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
4
2
|
let wasm;
|
|
5
3
|
|
|
@@ -268,7 +266,7 @@ function handleError(f, args) {
|
|
|
268
266
|
function getArrayF32FromWasm0(ptr, len) {
|
|
269
267
|
return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);
|
|
270
268
|
}
|
|
271
|
-
function
|
|
269
|
+
function __wbg_adapter_152(arg0, arg1, arg2, arg3) {
|
|
272
270
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h2d4abc1ddedd8c19(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
273
271
|
}
|
|
274
272
|
|
|
@@ -1357,10 +1355,6 @@ function getImports() {
|
|
|
1357
1355
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
1358
1356
|
takeObject(arg0);
|
|
1359
1357
|
};
|
|
1360
|
-
imports.wbg.__wbg_sleep_ccf9b55ee0ffaf3a = function(arg0) {
|
|
1361
|
-
const ret = sleep(arg0 >>> 0);
|
|
1362
|
-
return addHeapObject(ret);
|
|
1363
|
-
};
|
|
1364
1358
|
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
1365
1359
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1366
1360
|
return addHeapObject(ret);
|
|
@@ -1570,7 +1564,7 @@ function getImports() {
|
|
|
1570
1564
|
const a = state0.a;
|
|
1571
1565
|
state0.a = 0;
|
|
1572
1566
|
try {
|
|
1573
|
-
return
|
|
1567
|
+
return __wbg_adapter_152(a, state0.b, arg0, arg1);
|
|
1574
1568
|
} finally {
|
|
1575
1569
|
state0.a = a;
|
|
1576
1570
|
}
|
|
@@ -1589,10 +1583,6 @@ function getImports() {
|
|
|
1589
1583
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
1590
1584
|
return addHeapObject(ret);
|
|
1591
1585
|
};
|
|
1592
|
-
imports.wbg.__wbg_then_f753623316e2873a = function(arg0, arg1, arg2) {
|
|
1593
|
-
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
1594
|
-
return addHeapObject(ret);
|
|
1595
|
-
};
|
|
1596
1586
|
imports.wbg.__wbg_set_6aa458a4ebdb65cb = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1597
1587
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
1598
1588
|
return ret;
|
|
@@ -1607,12 +1597,12 @@ function getImports() {
|
|
|
1607
1597
|
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
1608
1598
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1609
1599
|
};
|
|
1610
|
-
imports.wbg.
|
|
1611
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1600
|
+
imports.wbg.__wbindgen_closure_wrapper1089 = function(arg0, arg1, arg2) {
|
|
1601
|
+
const ret = makeMutClosure(arg0, arg1, 477, __wbg_adapter_24);
|
|
1612
1602
|
return addHeapObject(ret);
|
|
1613
1603
|
};
|
|
1614
|
-
imports.wbg.
|
|
1615
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1604
|
+
imports.wbg.__wbindgen_closure_wrapper1420 = function(arg0, arg1, arg2) {
|
|
1605
|
+
const ret = makeMutClosure(arg0, arg1, 657, __wbg_adapter_27);
|
|
1616
1606
|
return addHeapObject(ret);
|
|
1617
1607
|
};
|
|
1618
1608
|
|
package/klib_bg.wasm
CHANGED
|
Binary file
|