@unyt/datex 0.0.9 → 0.0.11
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/esm/datex-core/datex_core_js.internal.d.ts +248 -264
- package/esm/datex-core/datex_core_js.internal.d.ts.map +1 -1
- package/esm/datex-core/datex_core_js.internal.js +584 -547
- package/esm/datex-core/datex_core_js.js +7 -3
- package/esm/datex-core/datex_core_js.wasm +0 -0
- package/esm/datex-core/wasm_url.node.js +1 -1
- package/esm/default.d.ts +8 -0
- package/esm/default.d.ts.map +1 -1
- package/esm/default.js +8 -0
- package/esm/deno.json +5 -3
- package/esm/dif/core.d.ts +5 -3
- package/esm/dif/core.d.ts.map +1 -1
- package/esm/dif/core.js +7 -5
- package/esm/dif/definitions.d.ts +45 -34
- package/esm/dif/definitions.d.ts.map +1 -1
- package/esm/dif/definitions.js +14 -9
- package/esm/dif/dif-handler.d.ts +125 -34
- package/esm/dif/dif-handler.d.ts.map +1 -1
- package/esm/dif/dif-handler.js +366 -159
- package/esm/dif/display.d.ts +3 -3
- package/esm/dif/display.d.ts.map +1 -1
- package/esm/dif/display.js +5 -5
- package/esm/dif/js-lib.d.ts +8 -0
- package/esm/dif/js-lib.d.ts.map +1 -0
- package/esm/dif/js-lib.js +3 -0
- package/esm/dif/mod.d.ts +5 -1
- package/esm/dif/mod.d.ts.map +1 -1
- package/esm/dif/mod.js +5 -1
- package/esm/dif/type-registry.d.ts +80 -0
- package/esm/dif/type-registry.d.ts.map +1 -0
- package/esm/dif/type-registry.js +166 -0
- package/esm/global.d.ts +2 -0
- package/esm/global.d.ts.map +1 -0
- package/esm/global.js +1 -0
- package/esm/{runtime/special-core-types.d.ts → lib/special-core-types/endpoint.d.ts} +1 -1
- package/esm/lib/special-core-types/endpoint.d.ts.map +1 -0
- package/esm/mod.d.ts +16 -10
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +16 -10
- package/esm/network/interface-impls/base.d.ts +9 -1
- package/esm/network/interface-impls/base.d.ts.map +1 -1
- package/esm/refs/ref.d.ts.map +1 -1
- package/esm/refs/ref.js +1 -2
- package/esm/runtime/runtime.d.ts +19 -49
- package/esm/runtime/runtime.d.ts.map +1 -1
- package/esm/runtime/runtime.js +32 -7
- package/esm/utils/exceptions.d.ts +4 -0
- package/esm/utils/exceptions.d.ts.map +1 -0
- package/esm/utils/exceptions.js +9 -0
- package/esm/utils/js-runtime-compat/js-runtime.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm/dif/builders.d.ts +0 -16
- package/esm/dif/builders.d.ts.map +0 -1
- package/esm/dif/builders.js +0 -28
- package/esm/runtime/special-core-types.d.ts.map +0 -1
- /package/esm/{runtime/special-core-types.js → lib/special-core-types/endpoint.js} +0 -0
|
@@ -8,10 +8,10 @@ export function create_runtime(config: string, debug_flags: any): JSRuntime;
|
|
|
8
8
|
/**
|
|
9
9
|
* Executes a Datex script and returns the result as a string.
|
|
10
10
|
* @param {string} datex_script
|
|
11
|
-
* @param {
|
|
11
|
+
* @param {any} decompile_options
|
|
12
12
|
* @returns {string}
|
|
13
13
|
*/
|
|
14
|
-
export function execute(datex_script: string,
|
|
14
|
+
export function execute(datex_script: string, decompile_options: any): string;
|
|
15
15
|
/**
|
|
16
16
|
* Executes a Datex script and returns true when execution was successful.
|
|
17
17
|
* Does not return the result of the script, but only indicates success or failure.
|
|
@@ -19,217 +19,195 @@ export function execute(datex_script: string, formatted: boolean): string;
|
|
|
19
19
|
* @returns {boolean}
|
|
20
20
|
*/
|
|
21
21
|
export function execute_internal(datex_script: string): boolean;
|
|
22
|
-
export function
|
|
22
|
+
export function __wbg_Error_e83987f665cf5504(arg0: any, arg1: any): Error;
|
|
23
|
+
export function __wbg_Number_bb48ca12f395cd08(arg0: any): number;
|
|
23
24
|
export function __wbg_String_8f0eb39a4a4c2f66(arg0: any, arg1: any): void;
|
|
24
|
-
export function
|
|
25
|
-
export function
|
|
26
|
-
export function
|
|
27
|
-
export function
|
|
28
|
-
export function
|
|
29
|
-
export function
|
|
30
|
-
export function
|
|
31
|
-
export function
|
|
32
|
-
export function
|
|
25
|
+
export function __wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd(arg0: any, arg1: any): void;
|
|
26
|
+
export function __wbg___wbindgen_boolean_get_6d5a1ee65bab5f68(arg0: any): 1 | 0 | 16777215;
|
|
27
|
+
export function __wbg___wbindgen_debug_string_df47ffb5e35e6763(arg0: any, arg1: any): void;
|
|
28
|
+
export function __wbg___wbindgen_in_bb933bd9e1b3bc0f(arg0: any, arg1: any): boolean;
|
|
29
|
+
export function __wbg___wbindgen_is_bigint_cb320707dcd35f0b(arg0: any): arg0 is bigint;
|
|
30
|
+
export function __wbg___wbindgen_is_function_ee8a6c5833c90377(arg0: any): boolean;
|
|
31
|
+
export function __wbg___wbindgen_is_null_5e69f72e906cc57c(arg0: any): boolean;
|
|
32
|
+
export function __wbg___wbindgen_is_object_c818261d21f283a4(arg0: any): boolean;
|
|
33
|
+
export function __wbg___wbindgen_is_string_fbb76cb2940daafd(arg0: any): arg0 is string;
|
|
34
|
+
export function __wbg___wbindgen_is_undefined_2d472862bd29a478(arg0: any): boolean;
|
|
35
|
+
export function __wbg___wbindgen_jsval_eq_6b13ab83478b1c50(arg0: any, arg1: any): boolean;
|
|
36
|
+
export function __wbg___wbindgen_jsval_loose_eq_b664b38a2f582147(arg0: any, arg1: any): boolean;
|
|
37
|
+
export function __wbg___wbindgen_number_get_a20bf9b85341449d(arg0: any, arg1: any): void;
|
|
38
|
+
export function __wbg___wbindgen_string_get_e4f06c90489ad01b(arg0: any, arg1: any): void;
|
|
39
|
+
export function __wbg___wbindgen_throw_b855445ff6a94295(arg0: any, arg1: any): void;
|
|
40
|
+
export function __wbg__wbg_cb_unref_2454a539ea5790d9(arg0: any): void;
|
|
41
|
+
export function __wbg_addIceCandidate_640e0bb689123302(arg0: any, arg1: any): any;
|
|
42
|
+
export function __wbg_buffer_ccc4520b36d3ccf4(arg0: any): any;
|
|
43
|
+
export function __wbg_call_357bb72daee10695(...args: any[]): any;
|
|
44
|
+
export function __wbg_call_525440f72fbfc0ea(...args: any[]): any;
|
|
45
|
+
export function __wbg_call_e45d2cf9fc925fcf(...args: any[]): any;
|
|
46
|
+
export function __wbg_call_e762c39fa8ea36bf(...args: any[]): any;
|
|
47
|
+
export function __wbg_candidate_481747b2d85374f5(arg0: any, arg1: any): void;
|
|
48
|
+
export function __wbg_candidate_5f937d1d65e47c01(arg0: any): any;
|
|
49
|
+
export function __wbg_channel_592ae18783344afb(arg0: any): any;
|
|
33
50
|
export function __wbg_clearTimeout_5a54f8841c30079a(arg0: any): any;
|
|
34
|
-
export function
|
|
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
|
|
47
|
-
export function
|
|
51
|
+
export function __wbg_close_398d767f74ef8ed0(arg0: any): any;
|
|
52
|
+
export function __wbg_close_885e277edf06b3fa(...args: any[]): any;
|
|
53
|
+
export function __wbg_close_edf4a14b3cb82bca(arg0: any): void;
|
|
54
|
+
export function __wbg_createAnswer_572b7c1578f68a31(arg0: any): any;
|
|
55
|
+
export function __wbg_createDataChannel_2c80fcae96c3f118(arg0: any, arg1: any, arg2: any): any;
|
|
56
|
+
export function __wbg_createOffer_f0003c393c14496b(arg0: any): any;
|
|
57
|
+
export function __wbg_crypto_f5dce82c355d159f(...args: any[]): any;
|
|
58
|
+
export function __wbg_data_ee4306d069f24f2d(arg0: any): any;
|
|
59
|
+
export function __wbg_debug_f4b0c59db649db48(arg0: any): void;
|
|
60
|
+
export function __wbg_decrypt_45277e4601d6ada4(...args: any[]): any;
|
|
61
|
+
export function __wbg_deriveBits_28ff8a809aa473ec(...args: any[]): any;
|
|
62
|
+
export function __wbg_digest_78c58e89f8153afb(...args: any[]): any;
|
|
63
|
+
export function __wbg_done_2042aa2670fb1db1(arg0: any): any;
|
|
64
|
+
export function __wbg_encrypt_0ceb389496419d4e(...args: any[]): any;
|
|
65
|
+
export function __wbg_entries_e171b586f8f6bdbf(arg0: any): [string, any][];
|
|
48
66
|
export function __wbg_error_7534b8e9a36f1ab4(arg0: any, arg1: any): void;
|
|
49
|
-
export function
|
|
50
|
-
export function
|
|
51
|
-
export function
|
|
52
|
-
export function
|
|
53
|
-
export function
|
|
54
|
-
export function
|
|
55
|
-
export function
|
|
56
|
-
export function
|
|
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
|
|
74
|
-
export function
|
|
75
|
-
export function
|
|
76
|
-
export function
|
|
77
|
-
export function
|
|
78
|
-
export function
|
|
79
|
-
export function
|
|
80
|
-
export function
|
|
67
|
+
export function __wbg_error_a7f8fbb0523dae15(arg0: any): void;
|
|
68
|
+
export function __wbg_exportKey_14f4c9c1691e79dc(...args: any[]): any;
|
|
69
|
+
export function __wbg_generateKey_b0e4794bd9d639b0(...args: any[]): any;
|
|
70
|
+
export function __wbg_getRandomValues_6357e7b583eb49cc(...args: any[]): any;
|
|
71
|
+
export function __wbg_getReader_15e2d3098e32c359(arg0: any): any;
|
|
72
|
+
export function __wbg_getWriter_c891ce50cc187493(...args: any[]): any;
|
|
73
|
+
export function __wbg_get_7bed016f185add81(arg0: any, arg1: any): any;
|
|
74
|
+
export function __wbg_get_efcb449f58ec27c2(...args: any[]): any;
|
|
75
|
+
export function __wbg_get_private_key_0a3a263ca613b0c0(arg0: any): any;
|
|
76
|
+
export function __wbg_get_public_key_1e2c11d159e34827(arg0: any): any;
|
|
77
|
+
export function __wbg_get_with_ref_key_1dc361bd10053bfe(arg0: any, arg1: any): any;
|
|
78
|
+
export function __wbg_iceConnectionState_eacc62ca1ef48b7c(arg0: any): number;
|
|
79
|
+
export function __wbg_importKey_2be19189a1451235(...args: any[]): any;
|
|
80
|
+
export function __wbg_info_e674a11f4f50cc0c(arg0: any): void;
|
|
81
|
+
export function __wbg_instanceof_ArrayBuffer_70beb1189ca63b38(arg0: any): boolean;
|
|
82
|
+
export function __wbg_instanceof_CryptoKey_9fbbefded7590b8c(arg0: any): boolean;
|
|
83
|
+
export function __wbg_instanceof_Map_8579b5e2ab5437c7(arg0: any): boolean;
|
|
84
|
+
export function __wbg_instanceof_Object_10bb762262230c68(arg0: any): boolean;
|
|
85
|
+
export function __wbg_instanceof_ReadableStreamDefaultReader_33a4601dd218c69d(arg0: any): boolean;
|
|
86
|
+
export function __wbg_instanceof_Uint8Array_20c8e73002f7af98(arg0: any): boolean;
|
|
87
|
+
export function __wbg_instanceof_Window_4846dbb3de56c84c(arg0: any): boolean;
|
|
88
|
+
export function __wbg_isArray_96e0af9891d0945d(arg0: any): arg0 is any[];
|
|
89
|
+
export function __wbg_isSafeInteger_d216eda7911dde36(arg0: any): boolean;
|
|
90
|
+
export function __wbg_iterator_e5822695327a3c39(): symbol;
|
|
91
|
+
export function __wbg_label_51d81ae5c3577deb(arg0: any, arg1: any): void;
|
|
92
|
+
export function __wbg_length_69bca3cb64fc8748(arg0: any): any;
|
|
93
|
+
export function __wbg_length_cdd215e10d9dd507(arg0: any): any;
|
|
94
|
+
export function __wbg_log_8cec76766b8c0e33(arg0: any): void;
|
|
95
|
+
export function __wbg_message_3abccea43568e0bd(arg0: any, arg1: any): void;
|
|
96
|
+
export function __wbg_navigator_971384882e8ea23a(arg0: any): any;
|
|
97
|
+
export function __wbg_new_1acc0b6eea89d040(): Object;
|
|
98
|
+
export function __wbg_new_3c3d849046688a66(arg0: any, arg1: any): Promise<any>;
|
|
99
|
+
export function __wbg_new_5a79be3ab53b8aa5(arg0: any): Uint8Array<any>;
|
|
100
|
+
export function __wbg_new_68651c719dcda04e(): Map<any, any>;
|
|
101
|
+
export function __wbg_new_881c4fe631eee9ad(...args: any[]): any;
|
|
81
102
|
export function __wbg_new_8a6f238a6ece86ea(): Error;
|
|
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
|
|
99
|
-
export function
|
|
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 __wbg_setRemoteDescription_11eaf6e756e370af(arg0: any, arg1: any): any;
|
|
103
|
+
export function __wbg_new_e17d9f43105b08be(): any[];
|
|
104
|
+
export function __wbg_new_from_slice_92f4d78ca282a2d2(arg0: any, arg1: any): Uint8Array<any>;
|
|
105
|
+
export function __wbg_new_no_args_ee98eee5275000a4(arg0: any, arg1: any): Function;
|
|
106
|
+
export function __wbg_new_with_configuration_a1cd3f4d87d41876(...args: any[]): any;
|
|
107
|
+
export function __wbg_new_with_length_01aa0dc35aa13543(arg0: any): Uint8Array<ArrayBuffer>;
|
|
108
|
+
export function __wbg_next_020810e0ae8ebcb0(...args: any[]): any;
|
|
109
|
+
export function __wbg_next_2c826fe5dfec6b6a(arg0: any): any;
|
|
110
|
+
export function __wbg_now_2c95c9de01293173(arg0: any): any;
|
|
111
|
+
export function __wbg_now_793306c526e2e3b6(): number;
|
|
112
|
+
export function __wbg_of_035271b9e67a3bd9(arg0: any): any[];
|
|
113
|
+
export function __wbg_of_288d2471f5767a12(arg0: any, arg1: any): any[];
|
|
114
|
+
export function __wbg_open_fe29bb2df6de0b4c(arg0: any, arg1: any): any;
|
|
115
|
+
export function __wbg_performance_7a3ffd0b17f663ad(arg0: any): any;
|
|
116
|
+
export function __wbg_prototypesetcall_2a6620b6922694b2(arg0: any, arg1: any, arg2: any): void;
|
|
117
|
+
export function __wbg_push_df81a39d04db858c(arg0: any, arg1: any): any;
|
|
118
|
+
export function __wbg_queueMicrotask_34d692c25c47d05b(arg0: any): any;
|
|
119
|
+
export function __wbg_queueMicrotask_9d76cacb20c84d58(arg0: any): void;
|
|
120
|
+
export function __wbg_randomUUID_f5597397f97d1e44(arg0: any, arg1: any): void;
|
|
121
|
+
export function __wbg_read_48f1593df542f968(arg0: any): any;
|
|
122
|
+
export function __wbg_readable_1f11b5bdc6b1c439(arg0: any): any;
|
|
123
|
+
export function __wbg_releaseLock_5d0b5a68887b891d(arg0: any): void;
|
|
124
|
+
export function __wbg_requestPort_bce3f3626a6900f7(arg0: any): any;
|
|
125
|
+
export function __wbg_resolve_caf97c30b83f7053(arg0: any): Promise<any>;
|
|
126
|
+
export function __wbg_sdpMLineIndex_7e2abd17908820fb(arg0: any): any;
|
|
127
|
+
export function __wbg_sdpMid_524b91d9afabd2cc(arg0: any, arg1: any): void;
|
|
128
|
+
export function __wbg_send_3d2cf376613294f0(...args: any[]): any;
|
|
129
|
+
export function __wbg_send_3d93963ba80250ff(...args: any[]): any;
|
|
130
|
+
export function __wbg_serial_ebad1b1c9075169a(arg0: any): any;
|
|
131
|
+
export function __wbg_setLocalDescription_65cd8a6ccfe86e28(arg0: any, arg1: any): any;
|
|
132
|
+
export function __wbg_setRemoteDescription_f77d823b45b689fb(arg0: any, arg1: any): any;
|
|
113
133
|
export function __wbg_setTimeout_db2dbaeefb6f39c7(...args: any[]): any;
|
|
114
|
-
export function __wbg_set_038a8a067d895c6a(arg0: any, arg1: any, arg2: any): void;
|
|
115
134
|
export function __wbg_set_3f1d0b984ed272ed(arg0: any, arg1: any, arg2: any): void;
|
|
116
|
-
export function
|
|
117
|
-
export function
|
|
118
|
-
export function
|
|
119
|
-
export function
|
|
120
|
-
export function
|
|
121
|
-
export function
|
|
122
|
-
export function
|
|
123
|
-
export function
|
|
124
|
-
export function
|
|
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
|
|
139
|
-
export function
|
|
140
|
-
export function
|
|
141
|
-
export function
|
|
142
|
-
export function
|
|
143
|
-
export function
|
|
135
|
+
export function __wbg_set_907fb406c34a251d(arg0: any, arg1: any, arg2: any): any;
|
|
136
|
+
export function __wbg_set_9e6516df7b7d0f19(arg0: any, arg1: any, arg2: any): void;
|
|
137
|
+
export function __wbg_set_baud_rate_0d3d4098ad0007bd(arg0: any, arg1: any): void;
|
|
138
|
+
export function __wbg_set_binaryType_9d839cea8fcdc5c3(arg0: any, arg1: any): void;
|
|
139
|
+
export function __wbg_set_c213c871859d6500(arg0: any, arg1: any, arg2: any): void;
|
|
140
|
+
export function __wbg_set_c2abbebe8b9ebee1(...args: any[]): any;
|
|
141
|
+
export function __wbg_set_candidate_c95c6639c1ddc40c(arg0: any, arg1: any, arg2: any): void;
|
|
142
|
+
export function __wbg_set_counter_8cf891ddbb09c405(arg0: any, arg1: any): void;
|
|
143
|
+
export function __wbg_set_credential_a3cba9eb4bce068c(arg0: any, arg1: any, arg2: any): void;
|
|
144
|
+
export function __wbg_set_ice_servers_2fe64c1f7030a20f(arg0: any, arg1: any): void;
|
|
145
|
+
export function __wbg_set_length_9b3abd6e75f20e65(arg0: any, arg1: any): void;
|
|
146
|
+
export function __wbg_set_name_30c7450c8511ee95(arg0: any, arg1: any, arg2: any): void;
|
|
147
|
+
export function __wbg_set_onclose_c09e4f7422de8dae(arg0: any, arg1: any): void;
|
|
148
|
+
export function __wbg_set_ondatachannel_d3587e15167e215b(arg0: any, arg1: any): void;
|
|
149
|
+
export function __wbg_set_onerror_337a3a2db9517378(arg0: any, arg1: any): void;
|
|
150
|
+
export function __wbg_set_onicecandidate_fa449483ade769ae(arg0: any, arg1: any): void;
|
|
151
|
+
export function __wbg_set_oniceconnectionstatechange_11dbe6c347a5d4d2(arg0: any, arg1: any): void;
|
|
152
|
+
export function __wbg_set_onmessage_3a8d6c4b2e1962d7(arg0: any, arg1: any): void;
|
|
153
|
+
export function __wbg_set_onmessage_8661558551a89792(arg0: any, arg1: any): void;
|
|
154
|
+
export function __wbg_set_onopen_ac1685e688d0fbcf(arg0: any, arg1: any): void;
|
|
155
|
+
export function __wbg_set_onopen_efccb9305427b907(arg0: any, arg1: any): void;
|
|
156
|
+
export function __wbg_set_sdp_b8e3939b73c0ad0f(arg0: any, arg1: any, arg2: any): void;
|
|
157
|
+
export function __wbg_set_sdp_m_line_index_8fc884801bfc6173(arg0: any, arg1: any): void;
|
|
158
|
+
export function __wbg_set_sdp_mid_4a6d24c6bec77f74(arg0: any, arg1: any, arg2: any): void;
|
|
159
|
+
export function __wbg_set_type_2e7e493a02f43e56(arg0: any, arg1: any): void;
|
|
160
|
+
export function __wbg_set_urls_835196658d97779c(arg0: any, arg1: any): void;
|
|
161
|
+
export function __wbg_set_username_305ae082fdb063b0(arg0: any, arg1: any, arg2: any): void;
|
|
162
|
+
export function __wbg_sign_0077f2aabd37825a(...args: any[]): any;
|
|
163
|
+
export function __wbg_signalingState_9a34f568c00c8208(arg0: any): number;
|
|
144
164
|
export function __wbg_stack_0ed75d68575b0f3c(arg0: any, arg1: any): void;
|
|
145
|
-
export function
|
|
146
|
-
export function
|
|
147
|
-
export function
|
|
148
|
-
export function
|
|
149
|
-
export function
|
|
150
|
-
export function
|
|
151
|
-
export function
|
|
152
|
-
export function
|
|
153
|
-
export function
|
|
154
|
-
export function
|
|
155
|
-
export function
|
|
156
|
-
export function
|
|
157
|
-
export function
|
|
158
|
-
export function
|
|
159
|
-
export function
|
|
160
|
-
export function __wbg_wbindgenin_ed944d66e9a43ef2(arg0: any, arg1: any): boolean;
|
|
161
|
-
export function __wbg_wbindgenisbigint_1a3fbe7ad37b3968(arg0: any): arg0 is bigint;
|
|
162
|
-
export function __wbg_wbindgenisfunction_27a5c72d80bbdf07(arg0: any): boolean;
|
|
163
|
-
export function __wbg_wbindgenisnull_060b7d23e7f07622(arg0: any): boolean;
|
|
164
|
-
export function __wbg_wbindgenisobject_bdb9aa7f2dd707ef(arg0: any): boolean;
|
|
165
|
-
export function __wbg_wbindgenisstring_55b63daa584dc807(arg0: any): arg0 is string;
|
|
166
|
-
export function __wbg_wbindgenisundefined_2e902cd900cf5927(arg0: any): boolean;
|
|
167
|
-
export function __wbg_wbindgenjsvaleq_af67af1ed6574f4f(arg0: any, arg1: any): boolean;
|
|
168
|
-
export function __wbg_wbindgenjsvallooseeq_4f1ced8136023b79(arg0: any, arg1: any): boolean;
|
|
169
|
-
export function __wbg_wbindgennumberget_41a5988c9fc46eeb(arg0: any, arg1: any): void;
|
|
170
|
-
export function __wbg_wbindgenstringget_c45e0c672ada3c64(arg0: any, arg1: any): void;
|
|
171
|
-
export function __wbg_wbindgenthrow_681185b504fabc8e(arg0: any, arg1: any): void;
|
|
172
|
-
export function __wbg_wrapKey_5f8a7476203809ce(...args: any[]): any;
|
|
173
|
-
export function __wbg_writable_9cc2382cd543b064(arg0: any): any;
|
|
174
|
-
export function __wbg_write_e7fe7265c2fa5ddb(arg0: any, arg1: any): any;
|
|
175
|
-
export function __wbindgen_cast_2241b6af4c4b2941(arg0: any, arg1: any): any;
|
|
176
|
-
export function __wbindgen_cast_278f9477a3e01cd9(arg0: any, arg1: any): {
|
|
165
|
+
export function __wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e(): any;
|
|
166
|
+
export function __wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac(): any;
|
|
167
|
+
export function __wbg_static_accessor_SELF_6fdf4b64710cc91b(): any;
|
|
168
|
+
export function __wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2(): any;
|
|
169
|
+
export function __wbg_subtle_a158c8cba320b8ed(arg0: any): any;
|
|
170
|
+
export function __wbg_then_4f46f6544e6b4a28(arg0: any, arg1: any): any;
|
|
171
|
+
export function __wbg_then_70d05cf780a18d77(arg0: any, arg1: any, arg2: any): any;
|
|
172
|
+
export function __wbg_unwrapKey_91db60c1c1da6b02(...args: any[]): any;
|
|
173
|
+
export function __wbg_value_692627309814bb8c(arg0: any): any;
|
|
174
|
+
export function __wbg_verify_47e017cd0770194c(...args: any[]): any;
|
|
175
|
+
export function __wbg_warn_1d74dddbe2fd1dbb(arg0: any): void;
|
|
176
|
+
export function __wbg_wrapKey_1b54a5ca6fa71c99(...args: any[]): any;
|
|
177
|
+
export function __wbg_writable_914f96f3361cf74a(arg0: any): any;
|
|
178
|
+
export function __wbg_write_5f693b62e780062e(arg0: any, arg1: any): any;
|
|
179
|
+
export function __wbindgen_cast_0483c6432e6bb3b6(arg0: any, arg1: any): {
|
|
177
180
|
(...args: any[]): any;
|
|
178
|
-
|
|
179
|
-
a: any;
|
|
180
|
-
b: any;
|
|
181
|
-
cnt: number;
|
|
182
|
-
dtor: any;
|
|
183
|
-
};
|
|
181
|
+
_wbg_cb_unref(): void;
|
|
184
182
|
};
|
|
185
|
-
export function
|
|
183
|
+
export function __wbindgen_cast_0870598a3ac49758(arg0: any, arg1: any): {
|
|
186
184
|
(...args: any[]): any;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
185
|
+
_wbg_cb_unref(): void;
|
|
186
|
+
};
|
|
187
|
+
export function __wbindgen_cast_2241b6af4c4b2941(arg0: any, arg1: any): any;
|
|
188
|
+
export function __wbindgen_cast_3df71bd50e2a2cfe(arg0: any, arg1: any): {
|
|
189
|
+
(...args: any[]): any;
|
|
190
|
+
_wbg_cb_unref(): void;
|
|
193
191
|
};
|
|
194
192
|
export function __wbindgen_cast_4625c577ab2ec9ee(arg0: any): bigint;
|
|
195
|
-
export function
|
|
193
|
+
export function __wbindgen_cast_77bc3e92745e9a35(arg0: any, arg1: any): any;
|
|
194
|
+
export function __wbindgen_cast_9229580bb106f983(arg0: any, arg1: any): {
|
|
196
195
|
(...args: any[]): any;
|
|
197
|
-
|
|
198
|
-
a: any;
|
|
199
|
-
b: any;
|
|
200
|
-
cnt: number;
|
|
201
|
-
dtor: any;
|
|
202
|
-
};
|
|
196
|
+
_wbg_cb_unref(): void;
|
|
203
197
|
};
|
|
204
|
-
export function
|
|
198
|
+
export function __wbindgen_cast_942e1b1306809e74(arg0: any, arg1: any): {
|
|
205
199
|
(...args: any[]): any;
|
|
206
|
-
|
|
207
|
-
a: any;
|
|
208
|
-
b: any;
|
|
209
|
-
cnt: number;
|
|
210
|
-
dtor: any;
|
|
211
|
-
};
|
|
200
|
+
_wbg_cb_unref(): void;
|
|
212
201
|
};
|
|
213
|
-
export function __wbindgen_cast_77bc3e92745e9a35(arg0: any, arg1: any): any;
|
|
214
202
|
export function __wbindgen_cast_9ae0607507abb057(arg0: any): any;
|
|
215
|
-
export function
|
|
203
|
+
export function __wbindgen_cast_b5784ace92b0fffe(arg0: any, arg1: any): {
|
|
216
204
|
(...args: any[]): any;
|
|
217
|
-
|
|
218
|
-
a: any;
|
|
219
|
-
b: any;
|
|
220
|
-
cnt: number;
|
|
221
|
-
dtor: any;
|
|
222
|
-
};
|
|
205
|
+
_wbg_cb_unref(): void;
|
|
223
206
|
};
|
|
224
207
|
export function __wbindgen_cast_d6cd19b81560fd6e(arg0: any): any;
|
|
225
|
-
export function
|
|
208
|
+
export function __wbindgen_cast_e30fea0391e3bac3(arg0: any, arg1: any): {
|
|
226
209
|
(...args: any[]): any;
|
|
227
|
-
|
|
228
|
-
a: any;
|
|
229
|
-
b: any;
|
|
230
|
-
cnt: number;
|
|
231
|
-
dtor: any;
|
|
232
|
-
};
|
|
210
|
+
_wbg_cb_unref(): void;
|
|
233
211
|
};
|
|
234
212
|
export function __wbindgen_init_externref_table(): void;
|
|
235
213
|
export class BaseJSInterface {
|
|
@@ -242,35 +220,6 @@ export class JSComHub {
|
|
|
242
220
|
__destroy_into_raw(): number | undefined;
|
|
243
221
|
__wbg_ptr: number | undefined;
|
|
244
222
|
free(): void;
|
|
245
|
-
/**
|
|
246
|
-
* @param {string} uuid
|
|
247
|
-
* @param {Function} func
|
|
248
|
-
*/
|
|
249
|
-
base_interface_on_send(uuid: string, func: Function): void;
|
|
250
|
-
/**
|
|
251
|
-
* @param {string} uuid
|
|
252
|
-
* @param {string} socket_uuid
|
|
253
|
-
* @param {Uint8Array} data
|
|
254
|
-
*/
|
|
255
|
-
base_interface_receive(uuid: string, socket_uuid: string, data: Uint8Array): void;
|
|
256
|
-
/**
|
|
257
|
-
* @param {string} uuid
|
|
258
|
-
* @param {string} socket_uuid
|
|
259
|
-
*/
|
|
260
|
-
base_interface_destroy_socket(uuid: string, socket_uuid: string): void;
|
|
261
|
-
/**
|
|
262
|
-
* @param {string} uuid
|
|
263
|
-
* @param {string} direction
|
|
264
|
-
* @returns {string}
|
|
265
|
-
*/
|
|
266
|
-
base_interface_register_socket(uuid: string, direction: string): string;
|
|
267
|
-
/**
|
|
268
|
-
* @param {string} uuid
|
|
269
|
-
* @param {string} socket_uuid
|
|
270
|
-
* @param {Uint8Array} data
|
|
271
|
-
* @returns {Promise<boolean>}
|
|
272
|
-
*/
|
|
273
|
-
base_interface_test_send_block(uuid: string, socket_uuid: string, data: Uint8Array): Promise<boolean>;
|
|
274
223
|
/**
|
|
275
224
|
* @param {string} interface_uuid
|
|
276
225
|
* @param {Uint8Array} answer
|
|
@@ -299,17 +248,6 @@ export class JSComHub {
|
|
|
299
248
|
* @returns {Promise<void>}
|
|
300
249
|
*/
|
|
301
250
|
webrtc_interface_wait_for_connection(interface_uuid: string): Promise<void>;
|
|
302
|
-
/**
|
|
303
|
-
* @param {string} interface_uuid
|
|
304
|
-
* @param {Function} on_ice_candidate
|
|
305
|
-
*/
|
|
306
|
-
webrtc_interface_set_on_ice_candidate(interface_uuid: string, on_ice_candidate: Function): void;
|
|
307
|
-
/**
|
|
308
|
-
* @param {string} interface_uuid
|
|
309
|
-
* @param {WebSocket} websocket
|
|
310
|
-
* @returns {string}
|
|
311
|
-
*/
|
|
312
|
-
websocket_server_interface_add_socket(interface_uuid: string, websocket: WebSocket): string;
|
|
313
251
|
/**
|
|
314
252
|
* Send a block to the given interface and socket
|
|
315
253
|
* This does not involve the routing on the ComHub level.
|
|
@@ -321,6 +259,20 @@ export class JSComHub {
|
|
|
321
259
|
* @returns {Promise<boolean>}
|
|
322
260
|
*/
|
|
323
261
|
send_block(block: Uint8Array, interface_uuid: string, socket_uuid: string): Promise<boolean>;
|
|
262
|
+
/**
|
|
263
|
+
* @param {string} endpoint
|
|
264
|
+
* @returns {Promise<string | undefined>}
|
|
265
|
+
*/
|
|
266
|
+
get_trace_string(endpoint: string): Promise<string | undefined>;
|
|
267
|
+
/**
|
|
268
|
+
* @returns {Promise<void>}
|
|
269
|
+
*/
|
|
270
|
+
update(): Promise<void>;
|
|
271
|
+
/**
|
|
272
|
+
* @param {string} interface_uuid
|
|
273
|
+
* @param {Function} on_ice_candidate
|
|
274
|
+
*/
|
|
275
|
+
webrtc_interface_set_on_ice_candidate(interface_uuid: string, on_ice_candidate: Function): void;
|
|
324
276
|
/**
|
|
325
277
|
* @param {string} interface_uuid
|
|
326
278
|
* @returns {Promise<any>}
|
|
@@ -332,11 +284,6 @@ export class JSComHub {
|
|
|
332
284
|
* @returns {Promise<any>}
|
|
333
285
|
*/
|
|
334
286
|
create_interface(interface_type: string, properties: string): Promise<any>;
|
|
335
|
-
/**
|
|
336
|
-
* @param {string} endpoint
|
|
337
|
-
* @returns {Promise<string | undefined>}
|
|
338
|
-
*/
|
|
339
|
-
get_trace_string(endpoint: string): Promise<string | undefined>;
|
|
340
287
|
/**
|
|
341
288
|
* @returns {string}
|
|
342
289
|
*/
|
|
@@ -355,9 +302,40 @@ export class JSComHub {
|
|
|
355
302
|
register_outgoing_block_interceptor(callback: Function): void;
|
|
356
303
|
register_default_interface_factories(): void;
|
|
357
304
|
/**
|
|
358
|
-
* @
|
|
305
|
+
* @param {string} uuid
|
|
306
|
+
* @param {string} socket_uuid
|
|
307
|
+
* @param {Uint8Array} data
|
|
308
|
+
* @returns {Promise<boolean>}
|
|
359
309
|
*/
|
|
360
|
-
|
|
310
|
+
base_interface_test_send_block(uuid: string, socket_uuid: string, data: Uint8Array): Promise<boolean>;
|
|
311
|
+
/**
|
|
312
|
+
* @param {string} uuid
|
|
313
|
+
* @param {Function} func
|
|
314
|
+
*/
|
|
315
|
+
base_interface_on_send(uuid: string, func: Function): void;
|
|
316
|
+
/**
|
|
317
|
+
* @param {string} uuid
|
|
318
|
+
* @param {string} socket_uuid
|
|
319
|
+
* @param {Uint8Array} data
|
|
320
|
+
*/
|
|
321
|
+
base_interface_receive(uuid: string, socket_uuid: string, data: Uint8Array): void;
|
|
322
|
+
/**
|
|
323
|
+
* @param {string} uuid
|
|
324
|
+
* @param {string} socket_uuid
|
|
325
|
+
*/
|
|
326
|
+
base_interface_destroy_socket(uuid: string, socket_uuid: string): void;
|
|
327
|
+
/**
|
|
328
|
+
* @param {string} uuid
|
|
329
|
+
* @param {string} direction
|
|
330
|
+
* @returns {string}
|
|
331
|
+
*/
|
|
332
|
+
base_interface_register_socket(uuid: string, direction: string): string;
|
|
333
|
+
/**
|
|
334
|
+
* @param {string} interface_uuid
|
|
335
|
+
* @param {WebSocket} websocket
|
|
336
|
+
* @returns {string}
|
|
337
|
+
*/
|
|
338
|
+
websocket_server_interface_add_socket(interface_uuid: string, websocket: WebSocket): string;
|
|
361
339
|
}
|
|
362
340
|
export class JSPointer {
|
|
363
341
|
__destroy_into_raw(): number | undefined;
|
|
@@ -369,6 +347,31 @@ export class JSRuntime {
|
|
|
369
347
|
__destroy_into_raw(): number | undefined;
|
|
370
348
|
__wbg_ptr: number | undefined;
|
|
371
349
|
free(): void;
|
|
350
|
+
/**
|
|
351
|
+
* @returns {Promise<Promise<any>>}
|
|
352
|
+
*/
|
|
353
|
+
crypto_test_tmp(): Promise<Promise<any>>;
|
|
354
|
+
/**
|
|
355
|
+
* @param {string} script
|
|
356
|
+
* @param {any[] | null | undefined} dif_values
|
|
357
|
+
* @param {any} decompile_options
|
|
358
|
+
* @returns {Promise<string>}
|
|
359
|
+
*/
|
|
360
|
+
execute_with_string_result(script: string, dif_values: any[] | null | undefined, decompile_options: any): Promise<string>;
|
|
361
|
+
/**
|
|
362
|
+
* @returns {Promise<void>}
|
|
363
|
+
*/
|
|
364
|
+
_stop(): Promise<void>;
|
|
365
|
+
/**
|
|
366
|
+
* @returns {Promise<void>}
|
|
367
|
+
*/
|
|
368
|
+
start(): Promise<void>;
|
|
369
|
+
/**
|
|
370
|
+
* @param {string} script
|
|
371
|
+
* @param {any[] | null} [dif_values]
|
|
372
|
+
* @returns {Promise<any>}
|
|
373
|
+
*/
|
|
374
|
+
execute(script: string, dif_values?: any[] | null): Promise<any>;
|
|
372
375
|
/**
|
|
373
376
|
* @param {JSComHub} arg0
|
|
374
377
|
*/
|
|
@@ -389,23 +392,12 @@ export class JSRuntime {
|
|
|
389
392
|
* @returns {Uint8Array}
|
|
390
393
|
*/
|
|
391
394
|
_create_block(body: Uint8Array | null | undefined, receivers: string[]): Uint8Array;
|
|
392
|
-
/**
|
|
393
|
-
* @returns {Promise<Promise<any>>}
|
|
394
|
-
*/
|
|
395
|
-
crypto_test_tmp(): Promise<Promise<any>>;
|
|
396
395
|
/**
|
|
397
396
|
* @param {any} dif_value
|
|
398
397
|
* @param {any} decompile_options
|
|
399
398
|
* @returns {string}
|
|
400
399
|
*/
|
|
401
400
|
value_to_string(dif_value: any, decompile_options: any): string;
|
|
402
|
-
/**
|
|
403
|
-
* @param {string} script
|
|
404
|
-
* @param {any[] | null | undefined} dif_values
|
|
405
|
-
* @param {any} decompile_options
|
|
406
|
-
* @returns {Promise<string>}
|
|
407
|
-
*/
|
|
408
|
-
execute_with_string_result(script: string, dif_values: any[] | null | undefined, decompile_options: any): Promise<string>;
|
|
409
401
|
/**
|
|
410
402
|
* @param {string} script
|
|
411
403
|
* @param {any[] | null | undefined} dif_values
|
|
@@ -418,20 +410,6 @@ export class JSRuntime {
|
|
|
418
410
|
* @returns {RuntimeDIFHandle}
|
|
419
411
|
*/
|
|
420
412
|
dif(): RuntimeDIFHandle;
|
|
421
|
-
/**
|
|
422
|
-
* @returns {Promise<void>}
|
|
423
|
-
*/
|
|
424
|
-
_stop(): Promise<void>;
|
|
425
|
-
/**
|
|
426
|
-
* @returns {Promise<void>}
|
|
427
|
-
*/
|
|
428
|
-
start(): Promise<void>;
|
|
429
|
-
/**
|
|
430
|
-
* @param {string} script
|
|
431
|
-
* @param {any[] | null} [dif_values]
|
|
432
|
-
* @returns {Promise<any>}
|
|
433
|
-
*/
|
|
434
|
-
execute(script: string, dif_values?: any[] | null): Promise<any>;
|
|
435
413
|
/**
|
|
436
414
|
* @returns {string}
|
|
437
415
|
*/
|
|
@@ -440,6 +418,12 @@ export class JSRuntime {
|
|
|
440
418
|
* @returns {string}
|
|
441
419
|
*/
|
|
442
420
|
get endpoint(): string;
|
|
421
|
+
/**
|
|
422
|
+
* Start the LSP server, returning a JS function to send messages to Rust
|
|
423
|
+
* @param {Function} send_to_js
|
|
424
|
+
* @returns {Function}
|
|
425
|
+
*/
|
|
426
|
+
start_lsp(send_to_js: Function): Function;
|
|
443
427
|
}
|
|
444
428
|
export class RuntimeDIFHandle {
|
|
445
429
|
static __wrap(ptr: any): any;
|