@unyt/datex 0.0.6 → 0.0.8
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/README.md +6 -4
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/datex-core/datex_core_js.internal.d.ts +283 -212
- package/esm/datex-core/datex_core_js.internal.d.ts.map +1 -1
- package/esm/datex-core/datex_core_js.internal.js +857 -571
- package/esm/datex-core/datex_core_js.wasm +0 -0
- package/esm/default.d.ts +12 -0
- package/esm/default.d.ts.map +1 -0
- package/esm/default.js +23 -0
- package/esm/deno.json +30 -6
- package/esm/dif/builders.d.ts +11 -0
- package/esm/dif/builders.d.ts.map +1 -0
- package/esm/dif/builders.js +23 -0
- package/esm/dif/core.d.ts +35 -0
- package/esm/dif/core.d.ts.map +1 -0
- package/esm/dif/core.js +50 -0
- package/esm/dif/definitions.d.ts +81 -0
- package/esm/dif/definitions.d.ts.map +1 -0
- package/esm/dif/definitions.js +19 -0
- package/esm/dif/dif-handler.d.ts +217 -0
- package/esm/dif/dif-handler.d.ts.map +1 -0
- package/esm/dif/dif-handler.js +689 -0
- package/esm/dif/display.d.ts +8 -0
- package/esm/dif/display.d.ts.map +1 -0
- package/esm/dif/display.js +72 -0
- package/esm/dif/mod.d.ts +5 -0
- package/esm/dif/mod.d.ts.map +1 -0
- package/esm/dif/mod.js +4 -0
- package/esm/mod.d.ts +4 -6
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +4 -24
- package/esm/network/com-hub.d.ts +1 -0
- package/esm/network/com-hub.d.ts.map +1 -1
- package/esm/network/com-hub.js +3 -0
- package/esm/network/interface-impls/base.d.ts +11 -0
- package/esm/network/interface-impls/base.d.ts.map +1 -0
- package/esm/network/interface-impls/base.js +21 -0
- package/esm/network/interface-impls/serial.d.ts +6 -0
- package/esm/network/interface-impls/serial.d.ts.map +1 -0
- package/esm/network/interface-impls/serial.js +6 -0
- package/esm/network/interface-impls/webrtc.d.ts +12 -0
- package/esm/network/interface-impls/webrtc.d.ts.map +1 -0
- package/esm/network/interface-impls/webrtc.js +24 -0
- package/esm/network/interface-impls/websocket-client.d.ts +6 -0
- package/esm/network/interface-impls/websocket-client.d.ts.map +1 -0
- package/esm/network/interface-impls/websocket-client.js +6 -0
- package/esm/network/interface-impls/websocket-server-deno.d.ts +9 -0
- package/esm/network/interface-impls/websocket-server-deno.d.ts.map +1 -0
- package/esm/network/interface-impls/websocket-server-deno.js +45 -0
- package/esm/network/mod.d.ts +3 -0
- package/esm/network/mod.d.ts.map +1 -0
- package/esm/network/mod.js +2 -0
- package/esm/refs/ref.d.ts +27 -0
- package/esm/refs/ref.d.ts.map +1 -0
- package/esm/refs/ref.js +58 -0
- package/esm/runtime/runtime.d.ts +97 -5
- package/esm/runtime/runtime.d.ts.map +1 -1
- package/esm/runtime/runtime.js +69 -13
- package/esm/runtime/special-core-types.d.ts +10 -0
- package/esm/runtime/special-core-types.d.ts.map +1 -0
- package/esm/runtime/special-core-types.js +51 -0
- package/package.json +19 -1
|
@@ -5,10 +5,6 @@ export function __wbg_set_wasm(val: any): void;
|
|
|
5
5
|
* @returns {JSRuntime}
|
|
6
6
|
*/
|
|
7
7
|
export function create_runtime(config: string, debug_flags: any): JSRuntime;
|
|
8
|
-
/**
|
|
9
|
-
* @param {string} datex_script
|
|
10
|
-
*/
|
|
11
|
-
export function compile(datex_script: string): void;
|
|
12
8
|
/**
|
|
13
9
|
* Executes a Datex script and returns the result as a string.
|
|
14
10
|
* @param {string} datex_script
|
|
@@ -23,119 +19,160 @@ export function execute(datex_script: string, formatted: boolean): string;
|
|
|
23
19
|
* @returns {boolean}
|
|
24
20
|
*/
|
|
25
21
|
export function execute_internal(datex_script: string): boolean;
|
|
26
|
-
export function
|
|
27
|
-
export function
|
|
28
|
-
export function
|
|
29
|
-
export function
|
|
30
|
-
export function
|
|
31
|
-
export function
|
|
32
|
-
export function
|
|
33
|
-
export function
|
|
22
|
+
export function __wbg_Error_90f14b053b2af32f(arg0: any, arg1: any): Error;
|
|
23
|
+
export function __wbg_String_8f0eb39a4a4c2f66(arg0: any, arg1: any): void;
|
|
24
|
+
export function __wbg_addIceCandidate_d30d0ef80c221bbc(arg0: any, arg1: any): any;
|
|
25
|
+
export function __wbg_buffer_4306305a9644b7a1(arg0: any): any;
|
|
26
|
+
export function __wbg_call_52af042a326d9b3a(...args: any[]): any;
|
|
27
|
+
export function __wbg_call_53657fec28b4db96(...args: any[]): any;
|
|
28
|
+
export function __wbg_call_90bf4b9978d51034(...args: any[]): any;
|
|
29
|
+
export function __wbg_candidate_5fae2324e7403dfa(arg0: any, arg1: any): void;
|
|
30
|
+
export function __wbg_candidate_ead596886b0fedfc(arg0: any): any;
|
|
31
|
+
export function __wbg_channel_61e457f78c31043a(arg0: any): any;
|
|
34
32
|
export function __wbg_clearTimeout_5a54f8841c30079a(arg0: any): void;
|
|
35
|
-
export function
|
|
36
|
-
export function
|
|
37
|
-
export function
|
|
38
|
-
export function
|
|
39
|
-
export function
|
|
40
|
-
export function
|
|
41
|
-
export function
|
|
42
|
-
export function
|
|
43
|
-
export function
|
|
44
|
-
export function
|
|
45
|
-
export function
|
|
46
|
-
export function
|
|
33
|
+
export function __wbg_close_638f149c7d475fe2(...args: any[]): any;
|
|
34
|
+
export function __wbg_close_8549dc01dfea7b11(arg0: any): void;
|
|
35
|
+
export function __wbg_close_d6a549256eca132f(arg0: any): any;
|
|
36
|
+
export function __wbg_createAnswer_e3e0054dec77805c(arg0: any): any;
|
|
37
|
+
export function __wbg_createDataChannel_056c757d04227abd(arg0: any, arg1: any, arg2: any): any;
|
|
38
|
+
export function __wbg_createOffer_b38b38d4bfddded6(arg0: any): any;
|
|
39
|
+
export function __wbg_crypto_2c3cb8e5d6218ee2(...args: any[]): any;
|
|
40
|
+
export function __wbg_data_f0e9cb0e6e0623e9(arg0: any): any;
|
|
41
|
+
export function __wbg_debug_821a62abfb5c8abe(arg0: any): void;
|
|
42
|
+
export function __wbg_decrypt_e716369376a7f617(...args: any[]): any;
|
|
43
|
+
export function __wbg_deriveBits_1a9edc6089a95027(...args: any[]): any;
|
|
44
|
+
export function __wbg_done_73bb10bcf6e0c339(arg0: any): any;
|
|
45
|
+
export function __wbg_encrypt_fb74c4ff01001025(...args: any[]): any;
|
|
46
|
+
export function __wbg_entries_4f3de4ccde51d587(arg0: any): [string, any][];
|
|
47
47
|
export function __wbg_error_7534b8e9a36f1ab4(arg0: any, arg1: any): void;
|
|
48
|
-
export function
|
|
49
|
-
export function
|
|
50
|
-
export function
|
|
51
|
-
export function
|
|
52
|
-
export function
|
|
53
|
-
export function
|
|
54
|
-
export function
|
|
55
|
-
export function
|
|
48
|
+
export function __wbg_error_cddcc4ca22b41392(arg0: any): void;
|
|
49
|
+
export function __wbg_exportKey_f3817c0e47a2214a(...args: any[]): any;
|
|
50
|
+
export function __wbg_generateKey_7268fe0931b0d15b(...args: any[]): any;
|
|
51
|
+
export function __wbg_getRandomValues_3619f455599fc471(...args: any[]): any;
|
|
52
|
+
export function __wbg_getReader_7a22d9552d37d984(arg0: any): any;
|
|
53
|
+
export function __wbg_getWriter_b5f5e1e223a62f8b(...args: any[]): any;
|
|
54
|
+
export function __wbg_get_6e64f6b3af0c61a2(arg0: any, arg1: any): any;
|
|
55
|
+
export function __wbg_get_bb21663672334172(...args: any[]): any;
|
|
56
|
+
export function __wbg_getprivatekey_170ff431c1a416c4(arg0: any): any;
|
|
57
|
+
export function __wbg_getpublickey_01166b94c1b6c58f(arg0: any): any;
|
|
56
58
|
export function __wbg_getwithrefkey_1dc361bd10053bfe(arg0: any, arg1: any): any;
|
|
57
|
-
export function
|
|
58
|
-
export function
|
|
59
|
-
export function
|
|
60
|
-
export function
|
|
61
|
-
export function
|
|
62
|
-
export function
|
|
63
|
-
export function
|
|
64
|
-
export function
|
|
65
|
-
export function
|
|
66
|
-
export function
|
|
67
|
-
export function
|
|
68
|
-
export function
|
|
69
|
-
export function
|
|
70
|
-
export function
|
|
71
|
-
export function
|
|
72
|
-
export function
|
|
73
|
-
export function
|
|
59
|
+
export function __wbg_iceConnectionState_0f6070a8df4a7d2a(arg0: any): number;
|
|
60
|
+
export function __wbg_importKey_74124887ebd6465e(...args: any[]): any;
|
|
61
|
+
export function __wbg_info_3a3a4139acdeb4df(arg0: any): void;
|
|
62
|
+
export function __wbg_instanceof_ArrayBuffer_625e762023eb35cf(arg0: any): boolean;
|
|
63
|
+
export function __wbg_instanceof_CryptoKey_d94aaf75de500efb(arg0: any): boolean;
|
|
64
|
+
export function __wbg_instanceof_Map_7d3de120a6cca988(arg0: any): boolean;
|
|
65
|
+
export function __wbg_instanceof_Object_a18b8a09eff6c66c(arg0: any): boolean;
|
|
66
|
+
export function __wbg_instanceof_ReadableStreamDefaultReader_7ec8ae6c604d9f3d(arg0: any): boolean;
|
|
67
|
+
export function __wbg_instanceof_Uint8Array_6935b7b95ef40080(arg0: any): boolean;
|
|
68
|
+
export function __wbg_instanceof_Window_c876e2ca9d808fb0(arg0: any): boolean;
|
|
69
|
+
export function __wbg_isArray_fe31d4a8d77ae781(arg0: any): arg0 is any[];
|
|
70
|
+
export function __wbg_isSafeInteger_342db8cae87edb4e(arg0: any): boolean;
|
|
71
|
+
export function __wbg_iterator_fe047a6b04943f88(): symbol;
|
|
72
|
+
export function __wbg_label_9af8b6c0978cb673(arg0: any, arg1: any): void;
|
|
73
|
+
export function __wbg_length_09646ad20ebb8534(arg0: any): any;
|
|
74
|
+
export function __wbg_length_537fa63a6103cbdb(arg0: any): any;
|
|
75
|
+
export function __wbg_log_8316aef0a82fc256(arg0: any): void;
|
|
76
|
+
export function __wbg_message_b5e786b918031475(arg0: any, arg1: any): void;
|
|
77
|
+
export function __wbg_navigator_bfcd7da4e07140bf(arg0: any): any;
|
|
78
|
+
export function __wbg_new_1b925e0c0e1d30ba(): Object;
|
|
79
|
+
export function __wbg_new_3c48ee6a683248da(): Map<any, any>;
|
|
74
80
|
export function __wbg_new_8a6f238a6ece86ea(): Error;
|
|
75
|
-
export function
|
|
76
|
-
export function
|
|
77
|
-
export function
|
|
78
|
-
export function
|
|
79
|
-
export function
|
|
80
|
-
export function
|
|
81
|
-
export function
|
|
82
|
-
export function
|
|
83
|
-
export function
|
|
84
|
-
export function
|
|
85
|
-
export function
|
|
86
|
-
export function
|
|
87
|
-
export function
|
|
88
|
-
export function
|
|
89
|
-
export function
|
|
90
|
-
export function
|
|
91
|
-
export function
|
|
92
|
-
export function
|
|
93
|
-
export function
|
|
94
|
-
export function
|
|
95
|
-
export function
|
|
96
|
-
export function
|
|
97
|
-
export function
|
|
98
|
-
export function
|
|
81
|
+
export function __wbg_new_b25e3e4428c04a92(...args: any[]): any;
|
|
82
|
+
export function __wbg_new_b38cbb8a106768cf(arg0: any, arg1: any): Promise<any>;
|
|
83
|
+
export function __wbg_new_d6b08dae7359cebb(arg0: any): Uint8Array<any>;
|
|
84
|
+
export function __wbg_new_d8a154d0939e6bb4(): any[];
|
|
85
|
+
export function __wbg_newfromslice_87a363f6accf981c(arg0: any, arg1: any): Uint8Array<any>;
|
|
86
|
+
export function __wbg_newnoargs_863941679b1933bb(arg0: any, arg1: any): Function;
|
|
87
|
+
export function __wbg_newwithconfiguration_e31d60b169b07345(...args: any[]): any;
|
|
88
|
+
export function __wbg_newwithlength_79dd8226b146df94(arg0: any): Uint8Array<ArrayBuffer>;
|
|
89
|
+
export function __wbg_next_59846e169128a0ea(arg0: any): any;
|
|
90
|
+
export function __wbg_next_c782e76a0400870a(...args: any[]): any;
|
|
91
|
+
export function __wbg_now_5180ef7a3cc4af32(): number;
|
|
92
|
+
export function __wbg_of_2859a6983dba31e5(arg0: any, arg1: any): any[];
|
|
93
|
+
export function __wbg_of_289f191f9197ad69(arg0: any): any[];
|
|
94
|
+
export function __wbg_open_0efe15f86bc721e6(arg0: any, arg1: any): any;
|
|
95
|
+
export function __wbg_prototypesetcall_a81ac58a5b6e988c(arg0: any, arg1: any, arg2: any): void;
|
|
96
|
+
export function __wbg_push_a625ffb414ba40f2(arg0: any, arg1: any): any;
|
|
97
|
+
export function __wbg_queueMicrotask_1d75ffff194a09bc(arg0: any): void;
|
|
98
|
+
export function __wbg_queueMicrotask_b9a8d325fc1ebe35(arg0: any): any;
|
|
99
|
+
export function __wbg_randomUUID_85051d14db410091(arg0: any, arg1: any): void;
|
|
100
|
+
export function __wbg_read_14bb033442221e81(arg0: any): any;
|
|
101
|
+
export function __wbg_readable_7ec80c1586d658e5(arg0: any): any;
|
|
102
|
+
export function __wbg_releaseLock_838e4a60f0d078e3(arg0: any): void;
|
|
103
|
+
export function __wbg_requestPort_a6ccb8604c419278(arg0: any): any;
|
|
104
|
+
export function __wbg_resolve_f9faa06f9350ac82(arg0: any): Promise<any>;
|
|
105
|
+
export function __wbg_sdpMLineIndex_98e1c9feb78bd935(arg0: any): any;
|
|
106
|
+
export function __wbg_sdpMid_8f79fa4a713266f3(arg0: any, arg1: any): void;
|
|
107
|
+
export function __wbg_send_1bcf47fc78631aa0(...args: any[]): any;
|
|
108
|
+
export function __wbg_send_44e731d4290d5a73(...args: any[]): any;
|
|
109
|
+
export function __wbg_serial_40f96691ceac10c3(arg0: any): any;
|
|
110
|
+
export function __wbg_setLocalDescription_e4d3e96a7ea79f26(arg0: any, arg1: any): any;
|
|
111
|
+
export function __wbg_setRemoteDescription_11eaf6e756e370af(arg0: any, arg1: any): any;
|
|
99
112
|
export function __wbg_setTimeout_db2dbaeefb6f39c7(...args: any[]): any;
|
|
100
|
-
export function
|
|
101
|
-
export function
|
|
102
|
-
export function
|
|
103
|
-
export function
|
|
104
|
-
export function
|
|
105
|
-
export function
|
|
106
|
-
export function
|
|
107
|
-
export function
|
|
108
|
-
export function
|
|
109
|
-
export function
|
|
110
|
-
export function
|
|
111
|
-
export function
|
|
112
|
-
export function
|
|
113
|
-
export function
|
|
114
|
-
export function
|
|
115
|
-
export function
|
|
116
|
-
export function
|
|
117
|
-
export function
|
|
118
|
-
export function
|
|
119
|
-
export function
|
|
120
|
-
export function
|
|
121
|
-
export function
|
|
122
|
-
export function
|
|
123
|
-
export function
|
|
113
|
+
export function __wbg_set_038a8a067d895c6a(arg0: any, arg1: any, arg2: any): void;
|
|
114
|
+
export function __wbg_set_3f1d0b984ed272ed(arg0: any, arg1: any, arg2: any): void;
|
|
115
|
+
export function __wbg_set_a15b7b524330d4f1(arg0: any, arg1: any, arg2: any): any;
|
|
116
|
+
export function __wbg_set_d66063c1f1a1157e(...args: any[]): any;
|
|
117
|
+
export function __wbg_set_f59709bcbf07327f(arg0: any, arg1: any, arg2: any): void;
|
|
118
|
+
export function __wbg_setbaudrate_c1408a20012d2fea(arg0: any, arg1: any): void;
|
|
119
|
+
export function __wbg_setbinaryType_6091041926b40e35(arg0: any, arg1: any): void;
|
|
120
|
+
export function __wbg_setcandidate_1e50b3faa4cb6898(arg0: any, arg1: any, arg2: any): void;
|
|
121
|
+
export function __wbg_setcounter_18676403b6ecb17b(arg0: any, arg1: any): void;
|
|
122
|
+
export function __wbg_setcredential_db5f85a45e99080f(arg0: any, arg1: any, arg2: any): void;
|
|
123
|
+
export function __wbg_seticeservers_5d7af60fbe042a35(arg0: any, arg1: any): void;
|
|
124
|
+
export function __wbg_setlength_7f0aa2baf6d66fca(arg0: any, arg1: any): void;
|
|
125
|
+
export function __wbg_setname_4a9a427f573e71fa(arg0: any, arg1: any, arg2: any): void;
|
|
126
|
+
export function __wbg_setonclose_ed36c5c56fb23784(arg0: any, arg1: any): void;
|
|
127
|
+
export function __wbg_setondatachannel_b81d44bff7b6b543(arg0: any, arg1: any): void;
|
|
128
|
+
export function __wbg_setonerror_9368e4812d62d001(arg0: any, arg1: any): void;
|
|
129
|
+
export function __wbg_setonicecandidate_0c6b4a18b7bfc77c(arg0: any, arg1: any): void;
|
|
130
|
+
export function __wbg_setoniceconnectionstatechange_f9c5b45d1c0c51f0(arg0: any, arg1: any): void;
|
|
131
|
+
export function __wbg_setonmessage_030be9b28b78c8a3(arg0: any, arg1: any): void;
|
|
132
|
+
export function __wbg_setonmessage_ffc0f16e27e94b4f(arg0: any, arg1: any): void;
|
|
133
|
+
export function __wbg_setonopen_76f948be177d1574(arg0: any, arg1: any): void;
|
|
134
|
+
export function __wbg_setonopen_efe76fab4b23b530(arg0: any, arg1: any): void;
|
|
135
|
+
export function __wbg_setsdp_fb3173e0c6e78c7b(arg0: any, arg1: any, arg2: any): void;
|
|
136
|
+
export function __wbg_setsdpmid_3c07633e6eebbe04(arg0: any, arg1: any, arg2: any): void;
|
|
137
|
+
export function __wbg_setsdpmlineindex_d42db9413e5bf9a0(arg0: any, arg1: any): void;
|
|
138
|
+
export function __wbg_settype_d383fc16fe2fde7c(arg0: any, arg1: any): void;
|
|
139
|
+
export function __wbg_seturls_93ea5b2e75cf2b4a(arg0: any, arg1: any): void;
|
|
140
|
+
export function __wbg_setusername_42163d74b1e71463(arg0: any, arg1: any, arg2: any): void;
|
|
141
|
+
export function __wbg_sign_19ea6b84becfe8db(...args: any[]): any;
|
|
142
|
+
export function __wbg_signalingState_6034a1804910b307(arg0: any): number;
|
|
124
143
|
export function __wbg_stack_0ed75d68575b0f3c(arg0: any, arg1: any): void;
|
|
125
|
-
export function
|
|
126
|
-
export function
|
|
127
|
-
export function
|
|
128
|
-
export function
|
|
129
|
-
export function
|
|
130
|
-
export function
|
|
131
|
-
export function
|
|
132
|
-
export function
|
|
133
|
-
export function
|
|
134
|
-
export function
|
|
135
|
-
export function
|
|
136
|
-
export function
|
|
137
|
-
export function
|
|
138
|
-
export function
|
|
144
|
+
export function __wbg_static_accessor_GLOBAL_656a564fb01c5b63(): any;
|
|
145
|
+
export function __wbg_static_accessor_GLOBAL_THIS_09a6cc4b9571ef65(): any;
|
|
146
|
+
export function __wbg_static_accessor_SELF_36742aea97854d74(): any;
|
|
147
|
+
export function __wbg_static_accessor_WINDOW_0ce0d90b0830e7e6(): any;
|
|
148
|
+
export function __wbg_subtle_72c6c8c71350ad31(arg0: any): any;
|
|
149
|
+
export function __wbg_then_66350f316a20107b(arg0: any, arg1: any): any;
|
|
150
|
+
export function __wbg_then_a8d64a36c84944e9(arg0: any, arg1: any, arg2: any): any;
|
|
151
|
+
export function __wbg_unwrapKey_76382cc7df3f3261(...args: any[]): any;
|
|
152
|
+
export function __wbg_value_4ae21701b6f5c482(arg0: any): any;
|
|
153
|
+
export function __wbg_verify_7f5ab750759e4bbf(...args: any[]): any;
|
|
154
|
+
export function __wbg_warn_c3f81464a835231a(arg0: any): void;
|
|
155
|
+
export function __wbg_wbindgenbigintgetasi64_d3d568a64e846827(arg0: any, arg1: any): void;
|
|
156
|
+
export function __wbg_wbindgenbooleanget_527bfac1bf7c06df(arg0: any): 1 | 0 | 16777215;
|
|
157
|
+
export function __wbg_wbindgencbdrop_470850fcb28f4519(arg0: any): boolean;
|
|
158
|
+
export function __wbg_wbindgendebugstring_0c28a61befa1f3ce(arg0: any, arg1: any): void;
|
|
159
|
+
export function __wbg_wbindgenin_ed944d66e9a43ef2(arg0: any, arg1: any): boolean;
|
|
160
|
+
export function __wbg_wbindgenisbigint_1a3fbe7ad37b3968(arg0: any): arg0 is bigint;
|
|
161
|
+
export function __wbg_wbindgenisfunction_27a5c72d80bbdf07(arg0: any): boolean;
|
|
162
|
+
export function __wbg_wbindgenisnull_060b7d23e7f07622(arg0: any): boolean;
|
|
163
|
+
export function __wbg_wbindgenisobject_bdb9aa7f2dd707ef(arg0: any): boolean;
|
|
164
|
+
export function __wbg_wbindgenisstring_55b63daa584dc807(arg0: any): arg0 is string;
|
|
165
|
+
export function __wbg_wbindgenisundefined_2e902cd900cf5927(arg0: any): boolean;
|
|
166
|
+
export function __wbg_wbindgenjsvaleq_af67af1ed6574f4f(arg0: any, arg1: any): boolean;
|
|
167
|
+
export function __wbg_wbindgenjsvallooseeq_4f1ced8136023b79(arg0: any, arg1: any): boolean;
|
|
168
|
+
export function __wbg_wbindgennumberget_41a5988c9fc46eeb(arg0: any, arg1: any): void;
|
|
169
|
+
export function __wbg_wbindgenstringget_c45e0c672ada3c64(arg0: any, arg1: any): void;
|
|
170
|
+
export function __wbg_wbindgenthrow_681185b504fabc8e(arg0: any, arg1: any): void;
|
|
171
|
+
export function __wbg_wrapKey_5f8a7476203809ce(...args: any[]): any;
|
|
172
|
+
export function __wbg_writable_9cc2382cd543b064(arg0: any): any;
|
|
173
|
+
export function __wbg_write_e7fe7265c2fa5ddb(arg0: any, arg1: any): any;
|
|
174
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0: any, arg1: any): any;
|
|
175
|
+
export function __wbindgen_cast_2450b3daee74c809(arg0: any, arg1: any): {
|
|
139
176
|
(...args: any[]): any;
|
|
140
177
|
original: {
|
|
141
178
|
a: any;
|
|
@@ -144,7 +181,8 @@ export function __wbindgen_closure_wrapper3688(arg0: any, arg1: any, arg2: any):
|
|
|
144
181
|
dtor: any;
|
|
145
182
|
};
|
|
146
183
|
};
|
|
147
|
-
export function
|
|
184
|
+
export function __wbindgen_cast_4625c577ab2ec9ee(arg0: any): bigint;
|
|
185
|
+
export function __wbindgen_cast_502aa9718db6ec51(arg0: any, arg1: any): {
|
|
148
186
|
(...args: any[]): any;
|
|
149
187
|
original: {
|
|
150
188
|
a: any;
|
|
@@ -153,7 +191,7 @@ export function __wbindgen_closure_wrapper3721(arg0: any, arg1: any, arg2: any):
|
|
|
153
191
|
dtor: any;
|
|
154
192
|
};
|
|
155
193
|
};
|
|
156
|
-
export function
|
|
194
|
+
export function __wbindgen_cast_53dc79ae1ce87073(arg0: any, arg1: any): {
|
|
157
195
|
(...args: any[]): any;
|
|
158
196
|
original: {
|
|
159
197
|
a: any;
|
|
@@ -162,7 +200,7 @@ export function __wbindgen_closure_wrapper410(arg0: any, arg1: any, arg2: any):
|
|
|
162
200
|
dtor: any;
|
|
163
201
|
};
|
|
164
202
|
};
|
|
165
|
-
export function
|
|
203
|
+
export function __wbindgen_cast_6b52fb20aa53bdcd(arg0: any, arg1: any): {
|
|
166
204
|
(...args: any[]): any;
|
|
167
205
|
original: {
|
|
168
206
|
a: any;
|
|
@@ -171,7 +209,9 @@ export function __wbindgen_closure_wrapper411(arg0: any, arg1: any, arg2: any):
|
|
|
171
209
|
dtor: any;
|
|
172
210
|
};
|
|
173
211
|
};
|
|
174
|
-
export function
|
|
212
|
+
export function __wbindgen_cast_77bc3e92745e9a35(arg0: any, arg1: any): any;
|
|
213
|
+
export function __wbindgen_cast_9ae0607507abb057(arg0: any): any;
|
|
214
|
+
export function __wbindgen_cast_cde9a7172311f3a3(arg0: any, arg1: any): {
|
|
175
215
|
(...args: any[]): any;
|
|
176
216
|
original: {
|
|
177
217
|
a: any;
|
|
@@ -180,7 +220,7 @@ export function __wbindgen_closure_wrapper412(arg0: any, arg1: any, arg2: any):
|
|
|
180
220
|
dtor: any;
|
|
181
221
|
};
|
|
182
222
|
};
|
|
183
|
-
export function
|
|
223
|
+
export function __wbindgen_cast_d004e0f207094cc3(arg0: any, arg1: any): {
|
|
184
224
|
(...args: any[]): any;
|
|
185
225
|
original: {
|
|
186
226
|
a: any;
|
|
@@ -189,21 +229,8 @@ export function __wbindgen_closure_wrapper413(arg0: any, arg1: any, arg2: any):
|
|
|
189
229
|
dtor: any;
|
|
190
230
|
};
|
|
191
231
|
};
|
|
192
|
-
export function
|
|
193
|
-
export function __wbindgen_error_new(arg0: any, arg1: any): Error;
|
|
194
|
-
export function __wbindgen_in(arg0: any, arg1: any): boolean;
|
|
232
|
+
export function __wbindgen_cast_d6cd19b81560fd6e(arg0: any): any;
|
|
195
233
|
export function __wbindgen_init_externref_table(): void;
|
|
196
|
-
export function __wbindgen_is_function(arg0: any): boolean;
|
|
197
|
-
export function __wbindgen_is_object(arg0: any): boolean;
|
|
198
|
-
export function __wbindgen_is_undefined(arg0: any): boolean;
|
|
199
|
-
export function __wbindgen_jsval_loose_eq(arg0: any, arg1: any): boolean;
|
|
200
|
-
export function __wbindgen_memory(): any;
|
|
201
|
-
export function __wbindgen_number_get(arg0: any, arg1: any): void;
|
|
202
|
-
export function __wbindgen_number_new(arg0: any): any;
|
|
203
|
-
export function __wbindgen_string_get(arg0: any, arg1: any): void;
|
|
204
|
-
export function __wbindgen_string_new(arg0: any, arg1: any): any;
|
|
205
|
-
export function __wbindgen_throw(arg0: any, arg1: any): void;
|
|
206
|
-
export function __wbindgen_uint8_array_new(arg0: any, arg1: any): any;
|
|
207
234
|
export class BaseJSInterface {
|
|
208
235
|
__destroy_into_raw(): number | undefined;
|
|
209
236
|
__wbg_ptr: number | undefined;
|
|
@@ -216,16 +243,42 @@ export class JSComHub {
|
|
|
216
243
|
free(): void;
|
|
217
244
|
/**
|
|
218
245
|
* @param {string} interface_uuid
|
|
219
|
-
* @param {
|
|
220
|
-
* @returns {
|
|
246
|
+
* @param {Uint8Array} answer
|
|
247
|
+
* @returns {Promise<void>}
|
|
221
248
|
*/
|
|
222
|
-
|
|
249
|
+
webrtc_interface_set_answer(interface_uuid: string, answer: Uint8Array): Promise<void>;
|
|
250
|
+
/**
|
|
251
|
+
* @param {string} interface_uuid
|
|
252
|
+
* @returns {Promise<Uint8Array>}
|
|
253
|
+
*/
|
|
254
|
+
webrtc_interface_create_offer(interface_uuid: string): Promise<Uint8Array>;
|
|
255
|
+
/**
|
|
256
|
+
* @param {string} interface_uuid
|
|
257
|
+
* @param {Uint8Array} offer
|
|
258
|
+
* @returns {Promise<Uint8Array>}
|
|
259
|
+
*/
|
|
260
|
+
webrtc_interface_create_answer(interface_uuid: string, offer: Uint8Array): Promise<Uint8Array>;
|
|
261
|
+
/**
|
|
262
|
+
* @param {string} interface_uuid
|
|
263
|
+
* @param {Uint8Array} candidate
|
|
264
|
+
* @returns {Promise<void>}
|
|
265
|
+
*/
|
|
266
|
+
webrtc_interface_add_ice_candidate(interface_uuid: string, candidate: Uint8Array): Promise<void>;
|
|
267
|
+
/**
|
|
268
|
+
* @param {string} interface_uuid
|
|
269
|
+
* @returns {Promise<void>}
|
|
270
|
+
*/
|
|
271
|
+
webrtc_interface_wait_for_connection(interface_uuid: string): Promise<void>;
|
|
272
|
+
/**
|
|
273
|
+
* @param {string} interface_uuid
|
|
274
|
+
* @param {Function} on_ice_candidate
|
|
275
|
+
*/
|
|
276
|
+
webrtc_interface_set_on_ice_candidate(interface_uuid: string, on_ice_candidate: Function): void;
|
|
223
277
|
/**
|
|
224
278
|
* @param {string} uuid
|
|
225
|
-
* @param {
|
|
226
|
-
* @returns {string}
|
|
279
|
+
* @param {Function} func
|
|
227
280
|
*/
|
|
228
|
-
|
|
281
|
+
base_interface_on_send(uuid: string, func: Function): void;
|
|
229
282
|
/**
|
|
230
283
|
* @param {string} uuid
|
|
231
284
|
* @param {string} socket_uuid
|
|
@@ -239,9 +292,10 @@ export class JSComHub {
|
|
|
239
292
|
base_interface_destroy_socket(uuid: string, socket_uuid: string): void;
|
|
240
293
|
/**
|
|
241
294
|
* @param {string} uuid
|
|
242
|
-
* @param {
|
|
295
|
+
* @param {string} direction
|
|
296
|
+
* @returns {string}
|
|
243
297
|
*/
|
|
244
|
-
|
|
298
|
+
base_interface_register_socket(uuid: string, direction: string): string;
|
|
245
299
|
/**
|
|
246
300
|
* @param {string} uuid
|
|
247
301
|
* @param {string} socket_uuid
|
|
@@ -249,22 +303,12 @@ export class JSComHub {
|
|
|
249
303
|
* @returns {Promise<boolean>}
|
|
250
304
|
*/
|
|
251
305
|
base_interface_test_send_block(uuid: string, socket_uuid: string, data: Uint8Array): Promise<boolean>;
|
|
252
|
-
register_default_interface_factories(): void;
|
|
253
|
-
/**
|
|
254
|
-
* @param {string} interface_type
|
|
255
|
-
* @param {string} properties
|
|
256
|
-
* @returns {Promise<any>}
|
|
257
|
-
*/
|
|
258
|
-
create_interface(interface_type: string, properties: string): Promise<any>;
|
|
259
306
|
/**
|
|
260
307
|
* @param {string} interface_uuid
|
|
261
|
-
* @
|
|
262
|
-
|
|
263
|
-
close_interface(interface_uuid: string): Promise<any>;
|
|
264
|
-
/**
|
|
265
|
-
* @returns {Promise<void>}
|
|
308
|
+
* @param {WebSocket} websocket
|
|
309
|
+
* @returns {string}
|
|
266
310
|
*/
|
|
267
|
-
|
|
311
|
+
websocket_server_interface_add_socket(interface_uuid: string, websocket: WebSocket): string;
|
|
268
312
|
/**
|
|
269
313
|
* Send a block to the given interface and socket
|
|
270
314
|
* This does not involve the routing on the ComHub level.
|
|
@@ -277,36 +321,36 @@ export class JSComHub {
|
|
|
277
321
|
*/
|
|
278
322
|
send_block(block: Uint8Array, interface_uuid: string, socket_uuid: string): Promise<boolean>;
|
|
279
323
|
/**
|
|
280
|
-
* @
|
|
324
|
+
* @param {string} interface_uuid
|
|
325
|
+
* @returns {Promise<any>}
|
|
281
326
|
*/
|
|
282
|
-
|
|
327
|
+
close_interface(interface_uuid: string): Promise<any>;
|
|
283
328
|
/**
|
|
284
|
-
* @
|
|
329
|
+
* @param {string} interface_type
|
|
330
|
+
* @param {string} properties
|
|
331
|
+
* @returns {Promise<any>}
|
|
285
332
|
*/
|
|
286
|
-
|
|
333
|
+
create_interface(interface_type: string, properties: string): Promise<any>;
|
|
287
334
|
/**
|
|
288
335
|
* @param {string} endpoint
|
|
289
336
|
* @returns {Promise<string | undefined>}
|
|
290
337
|
*/
|
|
291
338
|
get_trace_string(endpoint: string): Promise<string | undefined>;
|
|
292
|
-
}
|
|
293
|
-
export class JSMemory {
|
|
294
|
-
static __wrap(ptr: any): any;
|
|
295
|
-
__destroy_into_raw(): number | undefined;
|
|
296
|
-
__wbg_ptr: number | undefined;
|
|
297
|
-
free(): void;
|
|
298
339
|
/**
|
|
299
|
-
* @
|
|
300
|
-
* @returns {JSPointer | undefined}
|
|
340
|
+
* @returns {string}
|
|
301
341
|
*/
|
|
302
|
-
|
|
342
|
+
get_metadata_string(): string;
|
|
303
343
|
/**
|
|
304
344
|
* @returns {Uint8Array[]}
|
|
305
345
|
*/
|
|
306
|
-
|
|
346
|
+
_drain_incoming_blocks(): Uint8Array[];
|
|
347
|
+
register_default_interface_factories(): void;
|
|
348
|
+
/**
|
|
349
|
+
* @returns {Promise<void>}
|
|
350
|
+
*/
|
|
351
|
+
update(): Promise<void>;
|
|
307
352
|
}
|
|
308
353
|
export class JSPointer {
|
|
309
|
-
static __wrap(ptr: any): any;
|
|
310
354
|
__destroy_into_raw(): number | undefined;
|
|
311
355
|
__wbg_ptr: number | undefined;
|
|
312
356
|
free(): void;
|
|
@@ -325,99 +369,126 @@ export class JSRuntime {
|
|
|
325
369
|
*/
|
|
326
370
|
get com_hub(): JSComHub;
|
|
327
371
|
/**
|
|
328
|
-
* @param {
|
|
372
|
+
* @param {string} script
|
|
373
|
+
* @param {any[] | null} [dif_values]
|
|
374
|
+
* @returns {any}
|
|
329
375
|
*/
|
|
330
|
-
|
|
376
|
+
execute_sync(script: string, dif_values?: any[] | null): any;
|
|
331
377
|
/**
|
|
332
|
-
* @
|
|
378
|
+
* @param {Uint8Array | null | undefined} body
|
|
379
|
+
* @param {string[]} receivers
|
|
380
|
+
* @returns {Uint8Array}
|
|
333
381
|
*/
|
|
334
|
-
|
|
382
|
+
_create_block(body: Uint8Array | null | undefined, receivers: string[]): Uint8Array;
|
|
335
383
|
/**
|
|
336
384
|
* @returns {Promise<Promise<any>>}
|
|
337
385
|
*/
|
|
338
386
|
crypto_test_tmp(): Promise<Promise<any>>;
|
|
339
387
|
/**
|
|
388
|
+
* @param {any} dif_value
|
|
389
|
+
* @param {any} decompile_options
|
|
340
390
|
* @returns {string}
|
|
341
391
|
*/
|
|
342
|
-
|
|
392
|
+
value_to_string(dif_value: any, decompile_options: any): string;
|
|
393
|
+
/**
|
|
394
|
+
* @param {string} script
|
|
395
|
+
* @param {any[] | null | undefined} dif_values
|
|
396
|
+
* @param {any} decompile_options
|
|
397
|
+
* @returns {Promise<string>}
|
|
398
|
+
*/
|
|
399
|
+
execute_with_string_result(script: string, dif_values: any[] | null | undefined, decompile_options: any): Promise<string>;
|
|
343
400
|
/**
|
|
401
|
+
* @param {string} script
|
|
402
|
+
* @param {any[] | null | undefined} dif_values
|
|
403
|
+
* @param {any} decompile_options
|
|
344
404
|
* @returns {string}
|
|
345
405
|
*/
|
|
346
|
-
|
|
406
|
+
execute_sync_with_string_result(script: string, dif_values: any[] | null | undefined, decompile_options: any): string;
|
|
347
407
|
/**
|
|
348
|
-
*
|
|
349
|
-
* @
|
|
350
|
-
* @returns {Uint8Array}
|
|
408
|
+
* Get a handle to the DIF interface of the runtime
|
|
409
|
+
* @returns {RuntimeDIFHandle}
|
|
351
410
|
*/
|
|
352
|
-
|
|
411
|
+
dif(): RuntimeDIFHandle;
|
|
353
412
|
/**
|
|
354
413
|
* @returns {Promise<void>}
|
|
355
414
|
*/
|
|
356
|
-
|
|
415
|
+
_stop(): Promise<void>;
|
|
357
416
|
/**
|
|
358
417
|
* @returns {Promise<void>}
|
|
359
418
|
*/
|
|
360
|
-
|
|
419
|
+
start(): Promise<void>;
|
|
361
420
|
/**
|
|
362
421
|
* @param {string} script
|
|
363
|
-
* @param {
|
|
364
|
-
* @returns {Promise<
|
|
422
|
+
* @param {any[] | null} [dif_values]
|
|
423
|
+
* @returns {Promise<any>}
|
|
365
424
|
*/
|
|
366
|
-
execute(script: string,
|
|
425
|
+
execute(script: string, dif_values?: any[] | null): Promise<any>;
|
|
426
|
+
/**
|
|
427
|
+
* @returns {string}
|
|
428
|
+
*/
|
|
429
|
+
get version(): string;
|
|
367
430
|
/**
|
|
368
|
-
* @param {string} script
|
|
369
|
-
* @param {boolean} formatted
|
|
370
431
|
* @returns {string}
|
|
371
432
|
*/
|
|
372
|
-
|
|
433
|
+
get endpoint(): string;
|
|
373
434
|
}
|
|
374
|
-
export class
|
|
435
|
+
export class RuntimeDIFHandle {
|
|
436
|
+
static __wrap(ptr: any): any;
|
|
375
437
|
__destroy_into_raw(): number | undefined;
|
|
376
438
|
__wbg_ptr: number | undefined;
|
|
377
439
|
free(): void;
|
|
378
440
|
/**
|
|
379
|
-
* @param {
|
|
380
|
-
* @
|
|
441
|
+
* @param {any} value
|
|
442
|
+
* @param {any} allowed_type
|
|
443
|
+
* @param {number} mutability
|
|
444
|
+
* @returns {string}
|
|
381
445
|
*/
|
|
382
|
-
|
|
446
|
+
create_pointer(value: any, allowed_type: any, mutability: number): string;
|
|
383
447
|
/**
|
|
384
|
-
* @param {
|
|
385
|
-
* @
|
|
448
|
+
* @param {number} transceiver_id
|
|
449
|
+
* @param {string} address
|
|
450
|
+
* @param {any} observe_options
|
|
451
|
+
* @param {Function} callback
|
|
452
|
+
* @returns {number}
|
|
386
453
|
*/
|
|
387
|
-
|
|
454
|
+
observe_pointer(transceiver_id: number, address: string, observe_options: any, callback: Function): number;
|
|
388
455
|
/**
|
|
389
|
-
* @param {string}
|
|
390
|
-
* @
|
|
456
|
+
* @param {string} address
|
|
457
|
+
* @param {number} observer_id
|
|
391
458
|
*/
|
|
392
|
-
|
|
459
|
+
unobserve_pointer(address: string, observer_id: number): void;
|
|
393
460
|
/**
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
461
|
+
* Resolve a pointer address, returning a Promise
|
|
462
|
+
* If the pointer is in memory, the promise resolves immediately
|
|
463
|
+
* If the pointer is not in memory, it will be loaded first
|
|
464
|
+
* @param {string} address
|
|
465
|
+
* @returns {any}
|
|
397
466
|
*/
|
|
398
|
-
|
|
467
|
+
resolve_pointer_address(address: string): any;
|
|
399
468
|
/**
|
|
400
|
-
* @param {string}
|
|
401
|
-
* @param {
|
|
402
|
-
* @
|
|
469
|
+
* @param {string} address
|
|
470
|
+
* @param {number} observer_id
|
|
471
|
+
* @param {any} observe_options
|
|
403
472
|
*/
|
|
404
|
-
|
|
473
|
+
update_observer_options(address: string, observer_id: number, observe_options: any): void;
|
|
405
474
|
/**
|
|
406
|
-
*
|
|
407
|
-
* @param {
|
|
475
|
+
* Resolve a pointer address synchronously if it's in memory, otherwise return an error
|
|
476
|
+
* @param {string} address
|
|
477
|
+
* @returns {any}
|
|
408
478
|
*/
|
|
409
|
-
|
|
479
|
+
resolve_pointer_address_sync(address: string): any;
|
|
410
480
|
/**
|
|
411
|
-
* @param {
|
|
412
|
-
* @param {
|
|
413
|
-
* @returns {
|
|
481
|
+
* @param {any} callee
|
|
482
|
+
* @param {any} value
|
|
483
|
+
* @returns {any}
|
|
414
484
|
*/
|
|
415
|
-
|
|
485
|
+
apply(callee: any, value: any): any;
|
|
416
486
|
/**
|
|
417
|
-
* @param {
|
|
418
|
-
* @
|
|
487
|
+
* @param {number} transceiver_id
|
|
488
|
+
* @param {string} address
|
|
489
|
+
* @param {any} update
|
|
419
490
|
*/
|
|
420
|
-
|
|
491
|
+
update(transceiver_id: number, address: string, update: any): void;
|
|
421
492
|
}
|
|
422
493
|
export class WebSocketServerRegistry {
|
|
423
494
|
__destroy_into_raw(): number | undefined;
|