@unyt/datex 0.0.5 → 0.0.7
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 +290 -210
- package/esm/datex-core/datex_core_js.internal.d.ts.map +1 -1
- package/esm/datex-core/datex_core_js.internal.js +836 -524
- package/esm/datex-core/datex_core_js.wasm +0 -0
- package/esm/deno.json +11 -2
- 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/definitions.d.ts +116 -0
- package/esm/dif/definitions.d.ts.map +1 -0
- package/esm/dif/definitions.js +70 -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 +688 -0
- package/esm/dif/display.d.ts +8 -0
- package/esm/dif/display.d.ts.map +1 -0
- package/esm/dif/display.js +74 -0
- package/esm/mod.js +8 -6
- 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/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/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 +10 -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,159 @@ 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_11ae636d1356838f(arg0: any, arg1: any): {
|
|
139
175
|
(...args: any[]): any;
|
|
140
176
|
original: {
|
|
141
177
|
a: any;
|
|
@@ -144,7 +180,7 @@ export function __wbindgen_closure_wrapper3633(arg0: any, arg1: any, arg2: any):
|
|
|
144
180
|
dtor: any;
|
|
145
181
|
};
|
|
146
182
|
};
|
|
147
|
-
export function
|
|
183
|
+
export function __wbindgen_cast_134a0c967b50073f(arg0: any, arg1: any): {
|
|
148
184
|
(...args: any[]): any;
|
|
149
185
|
original: {
|
|
150
186
|
a: any;
|
|
@@ -153,7 +189,7 @@ export function __wbindgen_closure_wrapper3666(arg0: any, arg1: any, arg2: any):
|
|
|
153
189
|
dtor: any;
|
|
154
190
|
};
|
|
155
191
|
};
|
|
156
|
-
export function
|
|
192
|
+
export function __wbindgen_cast_1ff25b74e2fbd09e(arg0: any, arg1: any): {
|
|
157
193
|
(...args: any[]): any;
|
|
158
194
|
original: {
|
|
159
195
|
a: any;
|
|
@@ -162,7 +198,10 @@ export function __wbindgen_closure_wrapper745(arg0: any, arg1: any, arg2: any):
|
|
|
162
198
|
dtor: any;
|
|
163
199
|
};
|
|
164
200
|
};
|
|
165
|
-
export function
|
|
201
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0: any, arg1: any): any;
|
|
202
|
+
export function __wbindgen_cast_4625c577ab2ec9ee(arg0: any): bigint;
|
|
203
|
+
export function __wbindgen_cast_77bc3e92745e9a35(arg0: any, arg1: any): any;
|
|
204
|
+
export function __wbindgen_cast_95a4a0c87925efbc(arg0: any, arg1: any): {
|
|
166
205
|
(...args: any[]): any;
|
|
167
206
|
original: {
|
|
168
207
|
a: any;
|
|
@@ -171,7 +210,8 @@ export function __wbindgen_closure_wrapper746(arg0: any, arg1: any, arg2: any):
|
|
|
171
210
|
dtor: any;
|
|
172
211
|
};
|
|
173
212
|
};
|
|
174
|
-
export function
|
|
213
|
+
export function __wbindgen_cast_9ae0607507abb057(arg0: any): any;
|
|
214
|
+
export function __wbindgen_cast_a29edb90b685f3c8(arg0: any, arg1: any): {
|
|
175
215
|
(...args: any[]): any;
|
|
176
216
|
original: {
|
|
177
217
|
a: any;
|
|
@@ -180,7 +220,7 @@ export function __wbindgen_closure_wrapper747(arg0: any, arg1: any, arg2: any):
|
|
|
180
220
|
dtor: any;
|
|
181
221
|
};
|
|
182
222
|
};
|
|
183
|
-
export function
|
|
223
|
+
export function __wbindgen_cast_a3a63b04e48bbf09(arg0: any, arg1: any): {
|
|
184
224
|
(...args: any[]): any;
|
|
185
225
|
original: {
|
|
186
226
|
a: any;
|
|
@@ -189,21 +229,8 @@ export function __wbindgen_closure_wrapper748(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;
|
|
@@ -214,43 +241,44 @@ export class JSComHub {
|
|
|
214
241
|
__destroy_into_raw(): number | undefined;
|
|
215
242
|
__wbg_ptr: number | undefined;
|
|
216
243
|
free(): void;
|
|
217
|
-
register_default_interface_factories(): void;
|
|
218
244
|
/**
|
|
219
|
-
* @param {string}
|
|
220
|
-
* @param {
|
|
221
|
-
* @returns {Promise<
|
|
245
|
+
* @param {string} interface_uuid
|
|
246
|
+
* @param {Uint8Array} answer
|
|
247
|
+
* @returns {Promise<void>}
|
|
222
248
|
*/
|
|
223
|
-
|
|
249
|
+
webrtc_interface_set_answer(interface_uuid: string, answer: Uint8Array): Promise<void>;
|
|
224
250
|
/**
|
|
225
251
|
* @param {string} interface_uuid
|
|
226
|
-
* @returns {Promise<
|
|
252
|
+
* @returns {Promise<Uint8Array>}
|
|
227
253
|
*/
|
|
228
|
-
|
|
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>;
|
|
229
261
|
/**
|
|
262
|
+
* @param {string} interface_uuid
|
|
263
|
+
* @param {Uint8Array} candidate
|
|
230
264
|
* @returns {Promise<void>}
|
|
231
265
|
*/
|
|
232
|
-
|
|
266
|
+
webrtc_interface_add_ice_candidate(interface_uuid: string, candidate: Uint8Array): Promise<void>;
|
|
233
267
|
/**
|
|
234
|
-
* Send a block to the given interface and socket
|
|
235
|
-
* This does not involve the routing on the ComHub level.
|
|
236
|
-
* The socket UUID is used to identify the socket to send the block over
|
|
237
|
-
* The interface UUID is used to identify the interface to send the block over
|
|
238
|
-
* @param {Uint8Array} block
|
|
239
268
|
* @param {string} interface_uuid
|
|
240
|
-
* @
|
|
241
|
-
* @returns {Promise<boolean>}
|
|
269
|
+
* @returns {Promise<void>}
|
|
242
270
|
*/
|
|
243
|
-
|
|
271
|
+
webrtc_interface_wait_for_connection(interface_uuid: string): Promise<void>;
|
|
244
272
|
/**
|
|
245
|
-
* @
|
|
273
|
+
* @param {string} interface_uuid
|
|
274
|
+
* @param {Function} on_ice_candidate
|
|
246
275
|
*/
|
|
247
|
-
|
|
276
|
+
webrtc_interface_set_on_ice_candidate(interface_uuid: string, on_ice_candidate: Function): void;
|
|
248
277
|
/**
|
|
249
278
|
* @param {string} uuid
|
|
250
|
-
* @param {
|
|
251
|
-
* @returns {string}
|
|
279
|
+
* @param {Function} func
|
|
252
280
|
*/
|
|
253
|
-
|
|
281
|
+
base_interface_on_send(uuid: string, func: Function): void;
|
|
254
282
|
/**
|
|
255
283
|
* @param {string} uuid
|
|
256
284
|
* @param {string} socket_uuid
|
|
@@ -264,9 +292,10 @@ export class JSComHub {
|
|
|
264
292
|
base_interface_destroy_socket(uuid: string, socket_uuid: string): void;
|
|
265
293
|
/**
|
|
266
294
|
* @param {string} uuid
|
|
267
|
-
* @param {
|
|
295
|
+
* @param {string} direction
|
|
296
|
+
* @returns {string}
|
|
268
297
|
*/
|
|
269
|
-
|
|
298
|
+
base_interface_register_socket(uuid: string, direction: string): string;
|
|
270
299
|
/**
|
|
271
300
|
* @param {string} uuid
|
|
272
301
|
* @param {string} socket_uuid
|
|
@@ -280,24 +309,48 @@ export class JSComHub {
|
|
|
280
309
|
* @returns {string}
|
|
281
310
|
*/
|
|
282
311
|
websocket_server_interface_add_socket(interface_uuid: string, websocket: WebSocket): string;
|
|
283
|
-
}
|
|
284
|
-
export class JSMemory {
|
|
285
|
-
static __wrap(ptr: any): any;
|
|
286
|
-
__destroy_into_raw(): number | undefined;
|
|
287
|
-
__wbg_ptr: number | undefined;
|
|
288
|
-
free(): void;
|
|
289
312
|
/**
|
|
290
|
-
*
|
|
291
|
-
*
|
|
313
|
+
* Send a block to the given interface and socket
|
|
314
|
+
* This does not involve the routing on the ComHub level.
|
|
315
|
+
* The socket UUID is used to identify the socket to send the block over
|
|
316
|
+
* The interface UUID is used to identify the interface to send the block over
|
|
317
|
+
* @param {Uint8Array} block
|
|
318
|
+
* @param {string} interface_uuid
|
|
319
|
+
* @param {string} socket_uuid
|
|
320
|
+
* @returns {Promise<boolean>}
|
|
321
|
+
*/
|
|
322
|
+
send_block(block: Uint8Array, interface_uuid: string, socket_uuid: string): Promise<boolean>;
|
|
323
|
+
/**
|
|
324
|
+
* @param {string} interface_uuid
|
|
325
|
+
* @returns {Promise<any>}
|
|
292
326
|
*/
|
|
293
|
-
|
|
327
|
+
close_interface(interface_uuid: string): Promise<any>;
|
|
328
|
+
/**
|
|
329
|
+
* @param {string} interface_type
|
|
330
|
+
* @param {string} properties
|
|
331
|
+
* @returns {Promise<any>}
|
|
332
|
+
*/
|
|
333
|
+
create_interface(interface_type: string, properties: string): Promise<any>;
|
|
334
|
+
/**
|
|
335
|
+
* @param {string} endpoint
|
|
336
|
+
* @returns {Promise<string | undefined>}
|
|
337
|
+
*/
|
|
338
|
+
get_trace_string(endpoint: string): Promise<string | undefined>;
|
|
339
|
+
/**
|
|
340
|
+
* @returns {string}
|
|
341
|
+
*/
|
|
342
|
+
get_metadata_string(): string;
|
|
294
343
|
/**
|
|
295
344
|
* @returns {Uint8Array[]}
|
|
296
345
|
*/
|
|
297
|
-
|
|
346
|
+
_drain_incoming_blocks(): Uint8Array[];
|
|
347
|
+
register_default_interface_factories(): void;
|
|
348
|
+
/**
|
|
349
|
+
* @returns {Promise<void>}
|
|
350
|
+
*/
|
|
351
|
+
update(): Promise<void>;
|
|
298
352
|
}
|
|
299
353
|
export class JSPointer {
|
|
300
|
-
static __wrap(ptr: any): any;
|
|
301
354
|
__destroy_into_raw(): number | undefined;
|
|
302
355
|
__wbg_ptr: number | undefined;
|
|
303
356
|
free(): void;
|
|
@@ -316,99 +369,126 @@ export class JSRuntime {
|
|
|
316
369
|
*/
|
|
317
370
|
get com_hub(): JSComHub;
|
|
318
371
|
/**
|
|
319
|
-
* @param {
|
|
372
|
+
* @param {string} script
|
|
373
|
+
* @param {any[] | null} [dif_values]
|
|
374
|
+
* @returns {any}
|
|
320
375
|
*/
|
|
321
|
-
|
|
376
|
+
execute_sync(script: string, dif_values?: any[] | null): any;
|
|
322
377
|
/**
|
|
323
|
-
* @
|
|
378
|
+
* @param {Uint8Array | null | undefined} body
|
|
379
|
+
* @param {string[]} receivers
|
|
380
|
+
* @returns {Uint8Array}
|
|
324
381
|
*/
|
|
325
|
-
|
|
382
|
+
_create_block(body: Uint8Array | null | undefined, receivers: string[]): Uint8Array;
|
|
326
383
|
/**
|
|
327
384
|
* @returns {Promise<Promise<any>>}
|
|
328
385
|
*/
|
|
329
386
|
crypto_test_tmp(): Promise<Promise<any>>;
|
|
330
387
|
/**
|
|
388
|
+
* @param {any} dif_value
|
|
389
|
+
* @param {any} decompile_options
|
|
331
390
|
* @returns {string}
|
|
332
391
|
*/
|
|
333
|
-
|
|
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>;
|
|
334
400
|
/**
|
|
401
|
+
* @param {string} script
|
|
402
|
+
* @param {any[] | null | undefined} dif_values
|
|
403
|
+
* @param {any} decompile_options
|
|
335
404
|
* @returns {string}
|
|
336
405
|
*/
|
|
337
|
-
|
|
406
|
+
execute_sync_with_string_result(script: string, dif_values: any[] | null | undefined, decompile_options: any): string;
|
|
338
407
|
/**
|
|
339
|
-
*
|
|
340
|
-
* @
|
|
341
|
-
* @returns {Uint8Array}
|
|
408
|
+
* Get a handle to the DIF interface of the runtime
|
|
409
|
+
* @returns {RuntimeDIFHandle}
|
|
342
410
|
*/
|
|
343
|
-
|
|
411
|
+
dif(): RuntimeDIFHandle;
|
|
344
412
|
/**
|
|
345
413
|
* @returns {Promise<void>}
|
|
346
414
|
*/
|
|
347
|
-
|
|
415
|
+
_stop(): Promise<void>;
|
|
348
416
|
/**
|
|
349
417
|
* @returns {Promise<void>}
|
|
350
418
|
*/
|
|
351
|
-
|
|
419
|
+
start(): Promise<void>;
|
|
352
420
|
/**
|
|
353
421
|
* @param {string} script
|
|
354
|
-
* @param {
|
|
355
|
-
* @returns {Promise<
|
|
422
|
+
* @param {any[] | null} [dif_values]
|
|
423
|
+
* @returns {Promise<any>}
|
|
356
424
|
*/
|
|
357
|
-
execute(script: string,
|
|
425
|
+
execute(script: string, dif_values?: any[] | null): Promise<any>;
|
|
358
426
|
/**
|
|
359
|
-
* @param {string} script
|
|
360
|
-
* @param {boolean} formatted
|
|
361
427
|
* @returns {string}
|
|
362
428
|
*/
|
|
363
|
-
|
|
429
|
+
get version(): string;
|
|
430
|
+
/**
|
|
431
|
+
* @returns {string}
|
|
432
|
+
*/
|
|
433
|
+
get endpoint(): string;
|
|
364
434
|
}
|
|
365
|
-
export class
|
|
435
|
+
export class RuntimeDIFHandle {
|
|
436
|
+
static __wrap(ptr: any): any;
|
|
366
437
|
__destroy_into_raw(): number | undefined;
|
|
367
438
|
__wbg_ptr: number | undefined;
|
|
368
439
|
free(): void;
|
|
369
440
|
/**
|
|
370
|
-
* @param {
|
|
371
|
-
* @
|
|
441
|
+
* @param {any} value
|
|
442
|
+
* @param {any} allowed_type
|
|
443
|
+
* @param {number} mutability
|
|
444
|
+
* @returns {string}
|
|
372
445
|
*/
|
|
373
|
-
|
|
446
|
+
create_pointer(value: any, allowed_type: any, mutability: number): string;
|
|
374
447
|
/**
|
|
375
|
-
* @param {
|
|
376
|
-
* @
|
|
448
|
+
* @param {number} transceiver_id
|
|
449
|
+
* @param {string} address
|
|
450
|
+
* @param {any} observe_options
|
|
451
|
+
* @param {Function} callback
|
|
452
|
+
* @returns {number}
|
|
377
453
|
*/
|
|
378
|
-
|
|
454
|
+
observe_pointer(transceiver_id: number, address: string, observe_options: any, callback: Function): number;
|
|
379
455
|
/**
|
|
380
|
-
* @param {string}
|
|
381
|
-
* @
|
|
456
|
+
* @param {string} address
|
|
457
|
+
* @param {number} observer_id
|
|
382
458
|
*/
|
|
383
|
-
|
|
459
|
+
unobserve_pointer(address: string, observer_id: number): void;
|
|
384
460
|
/**
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
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}
|
|
388
466
|
*/
|
|
389
|
-
|
|
467
|
+
resolve_pointer_address(address: string): any;
|
|
390
468
|
/**
|
|
391
|
-
* @param {string}
|
|
392
|
-
* @param {
|
|
393
|
-
* @
|
|
469
|
+
* @param {string} address
|
|
470
|
+
* @param {number} observer_id
|
|
471
|
+
* @param {any} observe_options
|
|
394
472
|
*/
|
|
395
|
-
|
|
473
|
+
update_observer_options(address: string, observer_id: number, observe_options: any): void;
|
|
396
474
|
/**
|
|
397
|
-
*
|
|
398
|
-
* @param {
|
|
475
|
+
* Resolve a pointer address synchronously if it's in memory, otherwise return an error
|
|
476
|
+
* @param {string} address
|
|
477
|
+
* @returns {any}
|
|
399
478
|
*/
|
|
400
|
-
|
|
479
|
+
resolve_pointer_address_sync(address: string): any;
|
|
401
480
|
/**
|
|
402
|
-
* @param {
|
|
403
|
-
* @param {
|
|
404
|
-
* @returns {
|
|
481
|
+
* @param {any} callee
|
|
482
|
+
* @param {any} value
|
|
483
|
+
* @returns {any}
|
|
405
484
|
*/
|
|
406
|
-
|
|
485
|
+
apply(callee: any, value: any): any;
|
|
407
486
|
/**
|
|
408
|
-
* @param {
|
|
409
|
-
* @
|
|
487
|
+
* @param {number} transceiver_id
|
|
488
|
+
* @param {string} address
|
|
489
|
+
* @param {any} update
|
|
410
490
|
*/
|
|
411
|
-
|
|
491
|
+
update(transceiver_id: number, address: string, update: any): void;
|
|
412
492
|
}
|
|
413
493
|
export class WebSocketServerRegistry {
|
|
414
494
|
__destroy_into_raw(): number | undefined;
|