@diaryx/wasm 1.1.0-dev.cc48ab8 → 1.1.0-dev.cd04b36
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/diaryx_wasm.d.ts +31 -31
- package/diaryx_wasm.js +10 -10
- package/diaryx_wasm_bg.wasm.d.ts +31 -31
- package/package.json +1 -1
package/diaryx_wasm.d.ts
CHANGED
|
@@ -579,28 +579,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
579
579
|
|
|
580
580
|
export interface InitOutput {
|
|
581
581
|
readonly memory: WebAssembly.Memory;
|
|
582
|
-
readonly
|
|
583
|
-
readonly __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
584
|
-
readonly jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
585
|
-
readonly jsasyncfilesystem_new: (a: any) => number;
|
|
586
|
-
readonly wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
587
|
-
readonly wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
588
|
-
readonly wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
589
|
-
readonly wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
590
|
-
readonly wasmsyncclient_hasEvents: (a: number) => number;
|
|
591
|
-
readonly wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
592
|
-
readonly wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
593
|
-
readonly wasmsyncclient_onConnected: (a: number) => any;
|
|
594
|
-
readonly wasmsyncclient_onDisconnected: (a: number) => any;
|
|
595
|
-
readonly wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
596
|
-
readonly wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
597
|
-
readonly wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
598
|
-
readonly wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
599
|
-
readonly wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
600
|
-
readonly wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
601
|
-
readonly wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
602
|
-
readonly wasmsyncclient_syncBodyFiles: (a: number, b: number, c: number) => any;
|
|
603
|
-
readonly wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
582
|
+
readonly init: () => void;
|
|
604
583
|
readonly __wbg_diaryxbackend_free: (a: number, b: number) => void;
|
|
605
584
|
readonly diaryxbackend_create: (a: number, b: number) => any;
|
|
606
585
|
readonly diaryxbackend_createFromDirectoryHandle: (a: any) => [number, number, number];
|
|
@@ -621,23 +600,44 @@ export interface InitOutput {
|
|
|
621
600
|
readonly diaryxbackend_saveConfig: (a: number, b: any) => any;
|
|
622
601
|
readonly diaryxbackend_setCrdtEnabled: (a: number, b: number) => void;
|
|
623
602
|
readonly diaryxbackend_writeBinary: (a: number, b: number, c: number, d: any) => any;
|
|
624
|
-
readonly init: () => void;
|
|
625
|
-
readonly __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
626
|
-
readonly now_timestamp: () => [number, number];
|
|
627
|
-
readonly opfsfilesystem_create: () => any;
|
|
628
|
-
readonly opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
629
|
-
readonly today_formatted: (a: number, b: number) => [number, number];
|
|
630
603
|
readonly __wbg_fsafilesystem_free: (a: number, b: number) => void;
|
|
631
604
|
readonly __wbg_indexeddbfilesystem_free: (a: number, b: number) => void;
|
|
632
605
|
readonly fsafilesystem_fromHandle: (a: any) => number;
|
|
633
606
|
readonly indexeddbfilesystem_create: () => any;
|
|
634
607
|
readonly indexeddbfilesystem_createWithName: (a: number, b: number) => any;
|
|
635
|
-
readonly
|
|
608
|
+
readonly __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
609
|
+
readonly now_timestamp: () => [number, number];
|
|
610
|
+
readonly opfsfilesystem_create: () => any;
|
|
611
|
+
readonly opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
612
|
+
readonly today_formatted: (a: number, b: number) => [number, number];
|
|
613
|
+
readonly __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
|
|
614
|
+
readonly __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
615
|
+
readonly jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
616
|
+
readonly jsasyncfilesystem_new: (a: any) => number;
|
|
617
|
+
readonly wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
618
|
+
readonly wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
619
|
+
readonly wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
620
|
+
readonly wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
621
|
+
readonly wasmsyncclient_hasEvents: (a: number) => number;
|
|
622
|
+
readonly wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
623
|
+
readonly wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
624
|
+
readonly wasmsyncclient_onConnected: (a: number) => any;
|
|
625
|
+
readonly wasmsyncclient_onDisconnected: (a: number) => any;
|
|
626
|
+
readonly wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
627
|
+
readonly wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
628
|
+
readonly wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
629
|
+
readonly wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
630
|
+
readonly wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
631
|
+
readonly wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
632
|
+
readonly wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
633
|
+
readonly wasmsyncclient_syncBodyFiles: (a: number, b: number, c: number) => any;
|
|
634
|
+
readonly wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
635
|
+
readonly wasm_bindgen__closure__destroy__h16eb7d9565b27134: (a: number, b: number) => void;
|
|
636
636
|
readonly wasm_bindgen__closure__destroy__h54a6b627d1123dca: (a: number, b: number) => void;
|
|
637
637
|
readonly wasm_bindgen__closure__destroy__h440f08373ff30a05: (a: number, b: number) => void;
|
|
638
|
-
readonly
|
|
638
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2801498da307dd40: (a: number, b: number, c: any) => [number, number];
|
|
639
639
|
readonly wasm_bindgen__convert__closures_____invoke__h4e796b59e8c15a06: (a: number, b: number, c: any, d: any) => void;
|
|
640
|
-
readonly
|
|
640
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c: (a: number, b: number, c: any) => void;
|
|
641
641
|
readonly wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3: (a: number, b: number, c: any) => void;
|
|
642
642
|
readonly wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746: (a: number, b: number, c: any) => void;
|
|
643
643
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
package/diaryx_wasm.js
CHANGED
|
@@ -1552,22 +1552,22 @@ function __wbg_get_imports() {
|
|
|
1552
1552
|
return ret;
|
|
1553
1553
|
}, arguments); },
|
|
1554
1554
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1555
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1556
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1555
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 682, function: Function { arguments: [NamedExternref("Event")], shim_idx: 614, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1556
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h16eb7d9565b27134, wasm_bindgen__convert__closures_____invoke__h2801498da307dd40);
|
|
1557
1557
|
return ret;
|
|
1558
1558
|
},
|
|
1559
1559
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1560
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1561
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1560
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 682, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 613, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1561
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h16eb7d9565b27134, wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c);
|
|
1562
1562
|
return ret;
|
|
1563
1563
|
},
|
|
1564
1564
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1565
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1565
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 801, function: Function { arguments: [NamedExternref("Event")], shim_idx: 802, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1566
1566
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h54a6b627d1123dca, wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3);
|
|
1567
1567
|
return ret;
|
|
1568
1568
|
},
|
|
1569
1569
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1570
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1570
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 827, function: Function { arguments: [Externref], shim_idx: 828, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1571
1571
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h440f08373ff30a05, wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746);
|
|
1572
1572
|
return ret;
|
|
1573
1573
|
},
|
|
@@ -1612,8 +1612,8 @@ function __wbg_get_imports() {
|
|
|
1612
1612
|
};
|
|
1613
1613
|
}
|
|
1614
1614
|
|
|
1615
|
-
function
|
|
1616
|
-
wasm.
|
|
1615
|
+
function wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c(arg0, arg1, arg2) {
|
|
1616
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c(arg0, arg1, arg2);
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
1619
|
function wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3(arg0, arg1, arg2) {
|
|
@@ -1624,8 +1624,8 @@ function wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746(arg0, arg
|
|
|
1624
1624
|
wasm.wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746(arg0, arg1, arg2);
|
|
1625
1625
|
}
|
|
1626
1626
|
|
|
1627
|
-
function
|
|
1628
|
-
const ret = wasm.
|
|
1627
|
+
function wasm_bindgen__convert__closures_____invoke__h2801498da307dd40(arg0, arg1, arg2) {
|
|
1628
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h2801498da307dd40(arg0, arg1, arg2);
|
|
1629
1629
|
if (ret[1]) {
|
|
1630
1630
|
throw takeFromExternrefTable0(ret[0]);
|
|
1631
1631
|
}
|
package/diaryx_wasm_bg.wasm.d.ts
CHANGED
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
5
|
-
export const __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
6
|
-
export const jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
7
|
-
export const jsasyncfilesystem_new: (a: any) => number;
|
|
8
|
-
export const wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
9
|
-
export const wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
10
|
-
export const wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
11
|
-
export const wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
12
|
-
export const wasmsyncclient_hasEvents: (a: number) => number;
|
|
13
|
-
export const wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
14
|
-
export const wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
15
|
-
export const wasmsyncclient_onConnected: (a: number) => any;
|
|
16
|
-
export const wasmsyncclient_onDisconnected: (a: number) => any;
|
|
17
|
-
export const wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
18
|
-
export const wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
19
|
-
export const wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
20
|
-
export const wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
21
|
-
export const wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
22
|
-
export const wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
23
|
-
export const wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
24
|
-
export const wasmsyncclient_syncBodyFiles: (a: number, b: number, c: number) => any;
|
|
25
|
-
export const wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
4
|
+
export const init: () => void;
|
|
26
5
|
export const __wbg_diaryxbackend_free: (a: number, b: number) => void;
|
|
27
6
|
export const diaryxbackend_create: (a: number, b: number) => any;
|
|
28
7
|
export const diaryxbackend_createFromDirectoryHandle: (a: any) => [number, number, number];
|
|
@@ -43,23 +22,44 @@ export const diaryxbackend_readBinary: (a: number, b: number, c: number) => any;
|
|
|
43
22
|
export const diaryxbackend_saveConfig: (a: number, b: any) => any;
|
|
44
23
|
export const diaryxbackend_setCrdtEnabled: (a: number, b: number) => void;
|
|
45
24
|
export const diaryxbackend_writeBinary: (a: number, b: number, c: number, d: any) => any;
|
|
46
|
-
export const init: () => void;
|
|
47
|
-
export const __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
48
|
-
export const now_timestamp: () => [number, number];
|
|
49
|
-
export const opfsfilesystem_create: () => any;
|
|
50
|
-
export const opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
51
|
-
export const today_formatted: (a: number, b: number) => [number, number];
|
|
52
25
|
export const __wbg_fsafilesystem_free: (a: number, b: number) => void;
|
|
53
26
|
export const __wbg_indexeddbfilesystem_free: (a: number, b: number) => void;
|
|
54
27
|
export const fsafilesystem_fromHandle: (a: any) => number;
|
|
55
28
|
export const indexeddbfilesystem_create: () => any;
|
|
56
29
|
export const indexeddbfilesystem_createWithName: (a: number, b: number) => any;
|
|
57
|
-
export const
|
|
30
|
+
export const __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
31
|
+
export const now_timestamp: () => [number, number];
|
|
32
|
+
export const opfsfilesystem_create: () => any;
|
|
33
|
+
export const opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
34
|
+
export const today_formatted: (a: number, b: number) => [number, number];
|
|
35
|
+
export const __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
|
|
36
|
+
export const __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
37
|
+
export const jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
38
|
+
export const jsasyncfilesystem_new: (a: any) => number;
|
|
39
|
+
export const wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
40
|
+
export const wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
41
|
+
export const wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
42
|
+
export const wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
43
|
+
export const wasmsyncclient_hasEvents: (a: number) => number;
|
|
44
|
+
export const wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
45
|
+
export const wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
46
|
+
export const wasmsyncclient_onConnected: (a: number) => any;
|
|
47
|
+
export const wasmsyncclient_onDisconnected: (a: number) => any;
|
|
48
|
+
export const wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
49
|
+
export const wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
50
|
+
export const wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
51
|
+
export const wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
52
|
+
export const wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
53
|
+
export const wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
54
|
+
export const wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
55
|
+
export const wasmsyncclient_syncBodyFiles: (a: number, b: number, c: number) => any;
|
|
56
|
+
export const wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
57
|
+
export const wasm_bindgen__closure__destroy__h16eb7d9565b27134: (a: number, b: number) => void;
|
|
58
58
|
export const wasm_bindgen__closure__destroy__h54a6b627d1123dca: (a: number, b: number) => void;
|
|
59
59
|
export const wasm_bindgen__closure__destroy__h440f08373ff30a05: (a: number, b: number) => void;
|
|
60
|
-
export const
|
|
60
|
+
export const wasm_bindgen__convert__closures_____invoke__h2801498da307dd40: (a: number, b: number, c: any) => [number, number];
|
|
61
61
|
export const wasm_bindgen__convert__closures_____invoke__h4e796b59e8c15a06: (a: number, b: number, c: any, d: any) => void;
|
|
62
|
-
export const
|
|
62
|
+
export const wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c: (a: number, b: number, c: any) => void;
|
|
63
63
|
export const wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3: (a: number, b: number, c: any) => void;
|
|
64
64
|
export const wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746: (a: number, b: number, c: any) => void;
|
|
65
65
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
package/package.json
CHANGED