@xberg-io/liter-llm-wasm 2.1.0 → 2.1.2
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/liter_llm_wasm.d.ts +209 -31
- package/liter_llm_wasm.js +398 -345
- package/liter_llm_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/liter_llm_wasm.js
CHANGED
|
@@ -158,6 +158,9 @@ export class WasmAssistantMessage {
|
|
|
158
158
|
const ptr = this.__destroy_into_raw();
|
|
159
159
|
wasm.__wbg_wasmassistantmessage_free(ptr, 0);
|
|
160
160
|
}
|
|
161
|
+
clearFunctionCall() {
|
|
162
|
+
wasm.wasmassistantmessage_clearFunctionCall(this.__wbg_ptr);
|
|
163
|
+
}
|
|
161
164
|
/**
|
|
162
165
|
* @returns {string | undefined}
|
|
163
166
|
*/
|
|
@@ -197,6 +200,11 @@ export class WasmAssistantMessage {
|
|
|
197
200
|
return v1;
|
|
198
201
|
}
|
|
199
202
|
/**
|
|
203
|
+
* Takes ownership of `functionCall`.
|
|
204
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
205
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
206
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
207
|
+
* the generated setter borrows and leaves your handle alive.
|
|
200
208
|
* @param {string | null} [content]
|
|
201
209
|
* @param {string | null} [name]
|
|
202
210
|
* @param {WasmToolCall[] | null} [toolCalls]
|
|
@@ -307,15 +315,11 @@ export class WasmAssistantMessage {
|
|
|
307
315
|
wasm.wasmassistantmessage_set_content(this.__wbg_ptr, ptr0, len0);
|
|
308
316
|
}
|
|
309
317
|
/**
|
|
310
|
-
* @param {WasmFunctionCall
|
|
318
|
+
* @param {WasmFunctionCall} value
|
|
311
319
|
*/
|
|
312
320
|
set functionCall(value) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
_assertClass(value, WasmFunctionCall);
|
|
316
|
-
ptr0 = value.__destroy_into_raw();
|
|
317
|
-
}
|
|
318
|
-
wasm.wasmassistantmessage_set_functionCall(this.__wbg_ptr, ptr0);
|
|
321
|
+
_assertClass(value, WasmFunctionCall);
|
|
322
|
+
wasm.wasmassistantmessage_set_functionCall(this.__wbg_ptr, value.__wbg_ptr);
|
|
319
323
|
}
|
|
320
324
|
/**
|
|
321
325
|
* @param {string | null} [value]
|
|
@@ -405,6 +409,12 @@ export class WasmAssistantPart {
|
|
|
405
409
|
const ret = wasm.wasmassistantpart_audio(this.__wbg_ptr);
|
|
406
410
|
return ret === 0 ? undefined : WasmAudioContent.__wrap(ret);
|
|
407
411
|
}
|
|
412
|
+
clearAudio() {
|
|
413
|
+
wasm.wasmassistantpart_clearAudio(this.__wbg_ptr);
|
|
414
|
+
}
|
|
415
|
+
clearImageUrl() {
|
|
416
|
+
wasm.wasmassistantpart_clearImageUrl(this.__wbg_ptr);
|
|
417
|
+
}
|
|
408
418
|
/**
|
|
409
419
|
* @returns {WasmAssistantPart}
|
|
410
420
|
*/
|
|
@@ -438,26 +448,18 @@ export class WasmAssistantPart {
|
|
|
438
448
|
return v1;
|
|
439
449
|
}
|
|
440
450
|
/**
|
|
441
|
-
* @param {WasmAudioContent
|
|
451
|
+
* @param {WasmAudioContent} value
|
|
442
452
|
*/
|
|
443
453
|
set audio(value) {
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
_assertClass(value, WasmAudioContent);
|
|
447
|
-
ptr0 = value.__destroy_into_raw();
|
|
448
|
-
}
|
|
449
|
-
wasm.wasmassistantpart_set_audio(this.__wbg_ptr, ptr0);
|
|
454
|
+
_assertClass(value, WasmAudioContent);
|
|
455
|
+
wasm.wasmassistantpart_set_audio(this.__wbg_ptr, value.__wbg_ptr);
|
|
450
456
|
}
|
|
451
457
|
/**
|
|
452
|
-
* @param {WasmImageUrl
|
|
458
|
+
* @param {WasmImageUrl} value
|
|
453
459
|
*/
|
|
454
460
|
set imageUrl(value) {
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
_assertClass(value, WasmImageUrl);
|
|
458
|
-
ptr0 = value.__destroy_into_raw();
|
|
459
|
-
}
|
|
460
|
-
wasm.wasmassistantpart_set_imageUrl(this.__wbg_ptr, ptr0);
|
|
461
|
+
_assertClass(value, WasmImageUrl);
|
|
462
|
+
wasm.wasmassistantpart_set_imageUrl(this.__wbg_ptr, value.__wbg_ptr);
|
|
461
463
|
}
|
|
462
464
|
/**
|
|
463
465
|
* @param {string | null} [value]
|
|
@@ -1024,6 +1026,9 @@ export class WasmBatchObject {
|
|
|
1024
1026
|
const ptr = this.__destroy_into_raw();
|
|
1025
1027
|
wasm.__wbg_wasmbatchobject_free(ptr, 0);
|
|
1026
1028
|
}
|
|
1029
|
+
clearRequestCounts() {
|
|
1030
|
+
wasm.wasmbatchobject_clearRequestCounts(this.__wbg_ptr);
|
|
1031
|
+
}
|
|
1027
1032
|
/**
|
|
1028
1033
|
* @returns {bigint | undefined}
|
|
1029
1034
|
*/
|
|
@@ -1139,6 +1144,11 @@ export class WasmBatchObject {
|
|
|
1139
1144
|
return ret;
|
|
1140
1145
|
}
|
|
1141
1146
|
/**
|
|
1147
|
+
* Takes ownership of `requestCounts`.
|
|
1148
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1149
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1150
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1151
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1142
1152
|
* @param {string | null} [id]
|
|
1143
1153
|
* @param {string | null} [object]
|
|
1144
1154
|
* @param {string | null} [endpoint]
|
|
@@ -1300,15 +1310,11 @@ export class WasmBatchObject {
|
|
|
1300
1310
|
wasm.wasmbatchobject_set_outputFileId(this.__wbg_ptr, ptr0, len0);
|
|
1301
1311
|
}
|
|
1302
1312
|
/**
|
|
1303
|
-
* @param {WasmBatchRequestCounts
|
|
1313
|
+
* @param {WasmBatchRequestCounts} value
|
|
1304
1314
|
*/
|
|
1305
1315
|
set requestCounts(value) {
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
_assertClass(value, WasmBatchRequestCounts);
|
|
1309
|
-
ptr0 = value.__destroy_into_raw();
|
|
1310
|
-
}
|
|
1311
|
-
wasm.wasmbatchobject_set_requestCounts(this.__wbg_ptr, ptr0);
|
|
1316
|
+
_assertClass(value, WasmBatchRequestCounts);
|
|
1317
|
+
wasm.wasmbatchobject_set_requestCounts(this.__wbg_ptr, value.__wbg_ptr);
|
|
1312
1318
|
}
|
|
1313
1319
|
/**
|
|
1314
1320
|
* @param {WasmBatchStatus} value
|
|
@@ -1742,6 +1748,9 @@ export class WasmChatCompletionChunk {
|
|
|
1742
1748
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
1743
1749
|
return v1;
|
|
1744
1750
|
}
|
|
1751
|
+
clearUsage() {
|
|
1752
|
+
wasm.wasmchatcompletionchunk_clearUsage(this.__wbg_ptr);
|
|
1753
|
+
}
|
|
1745
1754
|
/**
|
|
1746
1755
|
* @returns {bigint}
|
|
1747
1756
|
*/
|
|
@@ -1787,6 +1796,11 @@ export class WasmChatCompletionChunk {
|
|
|
1787
1796
|
}
|
|
1788
1797
|
}
|
|
1789
1798
|
/**
|
|
1799
|
+
* Takes ownership of `usage`.
|
|
1800
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1801
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1802
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1803
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1790
1804
|
* @param {string | null} [id]
|
|
1791
1805
|
* @param {string | null} [object]
|
|
1792
1806
|
* @param {bigint | null} [created]
|
|
@@ -1901,15 +1915,11 @@ export class WasmChatCompletionChunk {
|
|
|
1901
1915
|
wasm.wasmchatcompletionchunk_set_systemFingerprint(this.__wbg_ptr, ptr0, len0);
|
|
1902
1916
|
}
|
|
1903
1917
|
/**
|
|
1904
|
-
* @param {WasmUsage
|
|
1918
|
+
* @param {WasmUsage} value
|
|
1905
1919
|
*/
|
|
1906
1920
|
set usage(value) {
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
_assertClass(value, WasmUsage);
|
|
1910
|
-
ptr0 = value.__destroy_into_raw();
|
|
1911
|
-
}
|
|
1912
|
-
wasm.wasmchatcompletionchunk_set_usage(this.__wbg_ptr, ptr0);
|
|
1921
|
+
_assertClass(value, WasmUsage);
|
|
1922
|
+
wasm.wasmchatcompletionchunk_set_usage(this.__wbg_ptr, value.__wbg_ptr);
|
|
1913
1923
|
}
|
|
1914
1924
|
/**
|
|
1915
1925
|
* @returns {string | undefined}
|
|
@@ -1960,6 +1970,9 @@ export class WasmChatCompletionRequest {
|
|
|
1960
1970
|
const ret = wasm.wasmchatcompletionrequest_audio(this.__wbg_ptr);
|
|
1961
1971
|
return ret;
|
|
1962
1972
|
}
|
|
1973
|
+
clearStreamOptions() {
|
|
1974
|
+
wasm.wasmchatcompletionrequest_clearStreamOptions(this.__wbg_ptr);
|
|
1975
|
+
}
|
|
1963
1976
|
/**
|
|
1964
1977
|
* @returns {WasmChatCompletionRequest}
|
|
1965
1978
|
*/
|
|
@@ -2058,6 +2071,11 @@ export class WasmChatCompletionRequest {
|
|
|
2058
2071
|
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2059
2072
|
}
|
|
2060
2073
|
/**
|
|
2074
|
+
* Takes ownership of `streamOptions`.
|
|
2075
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2076
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2077
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2078
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2061
2079
|
* @param {string | null} [model]
|
|
2062
2080
|
* @param {any | null} [messages]
|
|
2063
2081
|
* @param {number | null} [temperature]
|
|
@@ -2302,15 +2320,11 @@ export class WasmChatCompletionRequest {
|
|
|
2302
2320
|
wasm.wasmchatcompletionrequest_set_store(this.__wbg_ptr, isLikeNone(value) ? 0xFFFFFF : value ? 1 : 0);
|
|
2303
2321
|
}
|
|
2304
2322
|
/**
|
|
2305
|
-
* @param {WasmStreamOptions
|
|
2323
|
+
* @param {WasmStreamOptions} value
|
|
2306
2324
|
*/
|
|
2307
2325
|
set streamOptions(value) {
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
_assertClass(value, WasmStreamOptions);
|
|
2311
|
-
ptr0 = value.__destroy_into_raw();
|
|
2312
|
-
}
|
|
2313
|
-
wasm.wasmchatcompletionrequest_set_streamOptions(this.__wbg_ptr, ptr0);
|
|
2326
|
+
_assertClass(value, WasmStreamOptions);
|
|
2327
|
+
wasm.wasmchatcompletionrequest_set_streamOptions(this.__wbg_ptr, value.__wbg_ptr);
|
|
2314
2328
|
}
|
|
2315
2329
|
/**
|
|
2316
2330
|
* @param {boolean | null} [value]
|
|
@@ -2478,6 +2492,9 @@ export class WasmChatCompletionResponse {
|
|
|
2478
2492
|
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
2479
2493
|
return v1;
|
|
2480
2494
|
}
|
|
2495
|
+
clearUsage() {
|
|
2496
|
+
wasm.wasmchatcompletionresponse_clearUsage(this.__wbg_ptr);
|
|
2497
|
+
}
|
|
2481
2498
|
/**
|
|
2482
2499
|
* @returns {bigint}
|
|
2483
2500
|
*/
|
|
@@ -2523,6 +2540,11 @@ export class WasmChatCompletionResponse {
|
|
|
2523
2540
|
}
|
|
2524
2541
|
}
|
|
2525
2542
|
/**
|
|
2543
|
+
* Takes ownership of `usage`.
|
|
2544
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2545
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2546
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2547
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2526
2548
|
* @param {string | null} [id]
|
|
2527
2549
|
* @param {string | null} [object]
|
|
2528
2550
|
* @param {bigint | null} [created]
|
|
@@ -2637,15 +2659,11 @@ export class WasmChatCompletionResponse {
|
|
|
2637
2659
|
wasm.wasmchatcompletionresponse_set_systemFingerprint(this.__wbg_ptr, ptr0, len0);
|
|
2638
2660
|
}
|
|
2639
2661
|
/**
|
|
2640
|
-
* @param {WasmUsage
|
|
2662
|
+
* @param {WasmUsage} value
|
|
2641
2663
|
*/
|
|
2642
2664
|
set usage(value) {
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
_assertClass(value, WasmUsage);
|
|
2646
|
-
ptr0 = value.__destroy_into_raw();
|
|
2647
|
-
}
|
|
2648
|
-
wasm.wasmchatcompletionresponse_set_usage(this.__wbg_ptr, ptr0);
|
|
2665
|
+
_assertClass(value, WasmUsage);
|
|
2666
|
+
wasm.wasmchatcompletionresponse_set_usage(this.__wbg_ptr, value.__wbg_ptr);
|
|
2649
2667
|
}
|
|
2650
2668
|
/**
|
|
2651
2669
|
* @returns {string | undefined}
|
|
@@ -2715,8 +2733,7 @@ export class WasmChatCompletionTool {
|
|
|
2715
2733
|
*/
|
|
2716
2734
|
constructor(toolType, _function) {
|
|
2717
2735
|
_assertClass(_function, WasmFunctionDefinition);
|
|
2718
|
-
|
|
2719
|
-
const ret = wasm.wasmchatcompletiontool_new(toolType, ptr0);
|
|
2736
|
+
const ret = wasm.wasmchatcompletiontool_new(toolType, _function.__wbg_ptr);
|
|
2720
2737
|
this.__wbg_ptr = ret;
|
|
2721
2738
|
WasmChatCompletionToolFinalization.register(this, this.__wbg_ptr, this);
|
|
2722
2739
|
return this;
|
|
@@ -2726,8 +2743,7 @@ export class WasmChatCompletionTool {
|
|
|
2726
2743
|
*/
|
|
2727
2744
|
set function(value) {
|
|
2728
2745
|
_assertClass(value, WasmFunctionDefinition);
|
|
2729
|
-
|
|
2730
|
-
wasm.wasmchatcompletiontool_set_function(this.__wbg_ptr, ptr0);
|
|
2746
|
+
wasm.wasmchatcompletiontool_set_function(this.__wbg_ptr, value.__wbg_ptr);
|
|
2731
2747
|
}
|
|
2732
2748
|
/**
|
|
2733
2749
|
* @param {WasmToolType} value
|
|
@@ -2820,6 +2836,11 @@ export class WasmChoice {
|
|
|
2820
2836
|
return WasmAssistantMessage.__wrap(ret);
|
|
2821
2837
|
}
|
|
2822
2838
|
/**
|
|
2839
|
+
* Takes ownership of `message`.
|
|
2840
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2841
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2842
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2843
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2823
2844
|
* @param {number | null} [index]
|
|
2824
2845
|
* @param {WasmAssistantMessage | null} [message]
|
|
2825
2846
|
* @param {WasmFinishReason | null} [finishReason]
|
|
@@ -2859,8 +2880,7 @@ export class WasmChoice {
|
|
|
2859
2880
|
*/
|
|
2860
2881
|
set message(value) {
|
|
2861
2882
|
_assertClass(value, WasmAssistantMessage);
|
|
2862
|
-
|
|
2863
|
-
wasm.wasmchoice_set_message(this.__wbg_ptr, ptr0);
|
|
2883
|
+
wasm.wasmchoice_set_message(this.__wbg_ptr, value.__wbg_ptr);
|
|
2864
2884
|
}
|
|
2865
2885
|
}
|
|
2866
2886
|
if (Symbol.dispose) WasmChoice.prototype[Symbol.dispose] = WasmChoice.prototype.free;
|
|
@@ -2885,6 +2905,15 @@ export class WasmContentPart {
|
|
|
2885
2905
|
const ptr = this.__destroy_into_raw();
|
|
2886
2906
|
wasm.__wbg_wasmcontentpart_free(ptr, 0);
|
|
2887
2907
|
}
|
|
2908
|
+
clearDocument() {
|
|
2909
|
+
wasm.wasmcontentpart_clearDocument(this.__wbg_ptr);
|
|
2910
|
+
}
|
|
2911
|
+
clearImageUrl() {
|
|
2912
|
+
wasm.wasmcontentpart_clearImageUrl(this.__wbg_ptr);
|
|
2913
|
+
}
|
|
2914
|
+
clearInputAudio() {
|
|
2915
|
+
wasm.wasmcontentpart_clearInputAudio(this.__wbg_ptr);
|
|
2916
|
+
}
|
|
2888
2917
|
/**
|
|
2889
2918
|
* @returns {WasmContentPart}
|
|
2890
2919
|
*/
|
|
@@ -2920,37 +2949,25 @@ export class WasmContentPart {
|
|
|
2920
2949
|
return this;
|
|
2921
2950
|
}
|
|
2922
2951
|
/**
|
|
2923
|
-
* @param {WasmDocumentContent
|
|
2952
|
+
* @param {WasmDocumentContent} value
|
|
2924
2953
|
*/
|
|
2925
2954
|
set document(value) {
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
_assertClass(value, WasmDocumentContent);
|
|
2929
|
-
ptr0 = value.__destroy_into_raw();
|
|
2930
|
-
}
|
|
2931
|
-
wasm.wasmcontentpart_set_document(this.__wbg_ptr, ptr0);
|
|
2955
|
+
_assertClass(value, WasmDocumentContent);
|
|
2956
|
+
wasm.wasmcontentpart_set_document(this.__wbg_ptr, value.__wbg_ptr);
|
|
2932
2957
|
}
|
|
2933
2958
|
/**
|
|
2934
|
-
* @param {WasmImageUrl
|
|
2959
|
+
* @param {WasmImageUrl} value
|
|
2935
2960
|
*/
|
|
2936
2961
|
set imageUrl(value) {
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
_assertClass(value, WasmImageUrl);
|
|
2940
|
-
ptr0 = value.__destroy_into_raw();
|
|
2941
|
-
}
|
|
2942
|
-
wasm.wasmcontentpart_set_imageUrl(this.__wbg_ptr, ptr0);
|
|
2962
|
+
_assertClass(value, WasmImageUrl);
|
|
2963
|
+
wasm.wasmcontentpart_set_imageUrl(this.__wbg_ptr, value.__wbg_ptr);
|
|
2943
2964
|
}
|
|
2944
2965
|
/**
|
|
2945
|
-
* @param {WasmAudioContent
|
|
2966
|
+
* @param {WasmAudioContent} value
|
|
2946
2967
|
*/
|
|
2947
2968
|
set inputAudio(value) {
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
_assertClass(value, WasmAudioContent);
|
|
2951
|
-
ptr0 = value.__destroy_into_raw();
|
|
2952
|
-
}
|
|
2953
|
-
wasm.wasmcontentpart_set_inputAudio(this.__wbg_ptr, ptr0);
|
|
2969
|
+
_assertClass(value, WasmAudioContent);
|
|
2970
|
+
wasm.wasmcontentpart_set_inputAudio(this.__wbg_ptr, value.__wbg_ptr);
|
|
2954
2971
|
}
|
|
2955
2972
|
/**
|
|
2956
2973
|
* @param {string | null} [value]
|
|
@@ -4802,6 +4819,9 @@ export class WasmEmbeddingContentPart {
|
|
|
4802
4819
|
const ptr = this.__destroy_into_raw();
|
|
4803
4820
|
wasm.__wbg_wasmembeddingcontentpart_free(ptr, 0);
|
|
4804
4821
|
}
|
|
4822
|
+
clearImageUrl() {
|
|
4823
|
+
wasm.wasmembeddingcontentpart_clearImageUrl(this.__wbg_ptr);
|
|
4824
|
+
}
|
|
4805
4825
|
/**
|
|
4806
4826
|
* @returns {WasmEmbeddingContentPart}
|
|
4807
4827
|
*/
|
|
@@ -4843,15 +4863,11 @@ export class WasmEmbeddingContentPart {
|
|
|
4843
4863
|
wasm.wasmembeddingcontentpart_set_imageBase64(this.__wbg_ptr, ptr0, len0);
|
|
4844
4864
|
}
|
|
4845
4865
|
/**
|
|
4846
|
-
* @param {WasmImageUrl
|
|
4866
|
+
* @param {WasmImageUrl} value
|
|
4847
4867
|
*/
|
|
4848
4868
|
set imageUrl(value) {
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
_assertClass(value, WasmImageUrl);
|
|
4852
|
-
ptr0 = value.__destroy_into_raw();
|
|
4853
|
-
}
|
|
4854
|
-
wasm.wasmembeddingcontentpart_set_imageUrl(this.__wbg_ptr, ptr0);
|
|
4869
|
+
_assertClass(value, WasmImageUrl);
|
|
4870
|
+
wasm.wasmembeddingcontentpart_set_imageUrl(this.__wbg_ptr, value.__wbg_ptr);
|
|
4855
4871
|
}
|
|
4856
4872
|
/**
|
|
4857
4873
|
* @param {string | null} [value]
|
|
@@ -5166,6 +5182,9 @@ export class WasmEmbeddingResponse {
|
|
|
5166
5182
|
const ptr = this.__destroy_into_raw();
|
|
5167
5183
|
wasm.__wbg_wasmembeddingresponse_free(ptr, 0);
|
|
5168
5184
|
}
|
|
5185
|
+
clearUsage() {
|
|
5186
|
+
wasm.wasmembeddingresponse_clearUsage(this.__wbg_ptr);
|
|
5187
|
+
}
|
|
5169
5188
|
/**
|
|
5170
5189
|
* @returns {WasmEmbeddingObject[]}
|
|
5171
5190
|
*/
|
|
@@ -5198,6 +5217,11 @@ export class WasmEmbeddingResponse {
|
|
|
5198
5217
|
}
|
|
5199
5218
|
}
|
|
5200
5219
|
/**
|
|
5220
|
+
* Takes ownership of `usage`.
|
|
5221
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5222
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5223
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5224
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5201
5225
|
* @param {string} object
|
|
5202
5226
|
* @param {WasmEmbeddingObject[]} data
|
|
5203
5227
|
* @param {string} model
|
|
@@ -5260,15 +5284,11 @@ export class WasmEmbeddingResponse {
|
|
|
5260
5284
|
wasm.wasmembeddingresponse_set_object(this.__wbg_ptr, ptr0, len0);
|
|
5261
5285
|
}
|
|
5262
5286
|
/**
|
|
5263
|
-
* @param {WasmUsage
|
|
5287
|
+
* @param {WasmUsage} value
|
|
5264
5288
|
*/
|
|
5265
5289
|
set usage(value) {
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
_assertClass(value, WasmUsage);
|
|
5269
|
-
ptr0 = value.__destroy_into_raw();
|
|
5270
|
-
}
|
|
5271
|
-
wasm.wasmembeddingresponse_set_usage(this.__wbg_ptr, ptr0);
|
|
5290
|
+
_assertClass(value, WasmUsage);
|
|
5291
|
+
wasm.wasmembeddingresponse_set_usage(this.__wbg_ptr, value.__wbg_ptr);
|
|
5272
5292
|
}
|
|
5273
5293
|
/**
|
|
5274
5294
|
* @returns {WasmUsage | undefined}
|
|
@@ -6712,6 +6732,21 @@ export class WasmLlmConfig {
|
|
|
6712
6732
|
const ret = wasm.wasmllmconfig_cache(this.__wbg_ptr);
|
|
6713
6733
|
return ret === 0 ? undefined : WasmLlmCacheConfig.__wrap(ret);
|
|
6714
6734
|
}
|
|
6735
|
+
clearBedrock() {
|
|
6736
|
+
wasm.wasmllmconfig_clearBedrock(this.__wbg_ptr);
|
|
6737
|
+
}
|
|
6738
|
+
clearBudget() {
|
|
6739
|
+
wasm.wasmllmconfig_clearBudget(this.__wbg_ptr);
|
|
6740
|
+
}
|
|
6741
|
+
clearCache() {
|
|
6742
|
+
wasm.wasmllmconfig_clearCache(this.__wbg_ptr);
|
|
6743
|
+
}
|
|
6744
|
+
clearInFlightLimit() {
|
|
6745
|
+
wasm.wasmllmconfig_clearInFlightLimit(this.__wbg_ptr);
|
|
6746
|
+
}
|
|
6747
|
+
clearRateLimit() {
|
|
6748
|
+
wasm.wasmllmconfig_clearRateLimit(this.__wbg_ptr);
|
|
6749
|
+
}
|
|
6715
6750
|
/**
|
|
6716
6751
|
* @returns {bigint | undefined}
|
|
6717
6752
|
*/
|
|
@@ -6791,6 +6826,11 @@ export class WasmLlmConfig {
|
|
|
6791
6826
|
}
|
|
6792
6827
|
}
|
|
6793
6828
|
/**
|
|
6829
|
+
* Takes ownership of `cache`, `budget`, `rateLimit`, `inFlightLimit`, `bedrock`.
|
|
6830
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6831
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6832
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6833
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6794
6834
|
* @param {string | null} [model]
|
|
6795
6835
|
* @param {string | null} [apiKey]
|
|
6796
6836
|
* @param {string | null} [baseUrl]
|
|
@@ -6881,37 +6921,25 @@ export class WasmLlmConfig {
|
|
|
6881
6921
|
wasm.wasmllmconfig_set_baseUrl(this.__wbg_ptr, ptr0, len0);
|
|
6882
6922
|
}
|
|
6883
6923
|
/**
|
|
6884
|
-
* @param {WasmBedrockConfig
|
|
6924
|
+
* @param {WasmBedrockConfig} value
|
|
6885
6925
|
*/
|
|
6886
6926
|
set bedrock(value) {
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
_assertClass(value, WasmBedrockConfig);
|
|
6890
|
-
ptr0 = value.__destroy_into_raw();
|
|
6891
|
-
}
|
|
6892
|
-
wasm.wasmllmconfig_set_bedrock(this.__wbg_ptr, ptr0);
|
|
6927
|
+
_assertClass(value, WasmBedrockConfig);
|
|
6928
|
+
wasm.wasmllmconfig_set_bedrock(this.__wbg_ptr, value.__wbg_ptr);
|
|
6893
6929
|
}
|
|
6894
6930
|
/**
|
|
6895
|
-
* @param {WasmLlmBudgetConfig
|
|
6931
|
+
* @param {WasmLlmBudgetConfig} value
|
|
6896
6932
|
*/
|
|
6897
6933
|
set budget(value) {
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
_assertClass(value, WasmLlmBudgetConfig);
|
|
6901
|
-
ptr0 = value.__destroy_into_raw();
|
|
6902
|
-
}
|
|
6903
|
-
wasm.wasmllmconfig_set_budget(this.__wbg_ptr, ptr0);
|
|
6934
|
+
_assertClass(value, WasmLlmBudgetConfig);
|
|
6935
|
+
wasm.wasmllmconfig_set_budget(this.__wbg_ptr, value.__wbg_ptr);
|
|
6904
6936
|
}
|
|
6905
6937
|
/**
|
|
6906
|
-
* @param {WasmLlmCacheConfig
|
|
6938
|
+
* @param {WasmLlmCacheConfig} value
|
|
6907
6939
|
*/
|
|
6908
6940
|
set cache(value) {
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
_assertClass(value, WasmLlmCacheConfig);
|
|
6912
|
-
ptr0 = value.__destroy_into_raw();
|
|
6913
|
-
}
|
|
6914
|
-
wasm.wasmllmconfig_set_cache(this.__wbg_ptr, ptr0);
|
|
6941
|
+
_assertClass(value, WasmLlmCacheConfig);
|
|
6942
|
+
wasm.wasmllmconfig_set_cache(this.__wbg_ptr, value.__wbg_ptr);
|
|
6915
6943
|
}
|
|
6916
6944
|
/**
|
|
6917
6945
|
* @param {bigint | null} [value]
|
|
@@ -6938,15 +6966,11 @@ export class WasmLlmConfig {
|
|
|
6938
6966
|
wasm.wasmllmconfig_set_healthCheckSecs(this.__wbg_ptr, !isLikeNone(value), isLikeNone(value) ? BigInt(0) : value);
|
|
6939
6967
|
}
|
|
6940
6968
|
/**
|
|
6941
|
-
* @param {WasmLlmInFlightLimitConfig
|
|
6969
|
+
* @param {WasmLlmInFlightLimitConfig} value
|
|
6942
6970
|
*/
|
|
6943
6971
|
set inFlightLimit(value) {
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
_assertClass(value, WasmLlmInFlightLimitConfig);
|
|
6947
|
-
ptr0 = value.__destroy_into_raw();
|
|
6948
|
-
}
|
|
6949
|
-
wasm.wasmllmconfig_set_inFlightLimit(this.__wbg_ptr, ptr0);
|
|
6972
|
+
_assertClass(value, WasmLlmInFlightLimitConfig);
|
|
6973
|
+
wasm.wasmllmconfig_set_inFlightLimit(this.__wbg_ptr, value.__wbg_ptr);
|
|
6950
6974
|
}
|
|
6951
6975
|
/**
|
|
6952
6976
|
* @param {boolean | null} [value]
|
|
@@ -6983,15 +7007,11 @@ export class WasmLlmConfig {
|
|
|
6983
7007
|
wasm.wasmllmconfig_set_providers(this.__wbg_ptr, ptr0, len0);
|
|
6984
7008
|
}
|
|
6985
7009
|
/**
|
|
6986
|
-
* @param {WasmLlmRateLimitConfig
|
|
7010
|
+
* @param {WasmLlmRateLimitConfig} value
|
|
6987
7011
|
*/
|
|
6988
7012
|
set rateLimit(value) {
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
_assertClass(value, WasmLlmRateLimitConfig);
|
|
6992
|
-
ptr0 = value.__destroy_into_raw();
|
|
6993
|
-
}
|
|
6994
|
-
wasm.wasmllmconfig_set_rateLimit(this.__wbg_ptr, ptr0);
|
|
7013
|
+
_assertClass(value, WasmLlmRateLimitConfig);
|
|
7014
|
+
wasm.wasmllmconfig_set_rateLimit(this.__wbg_ptr, value.__wbg_ptr);
|
|
6995
7015
|
}
|
|
6996
7016
|
/**
|
|
6997
7017
|
* @param {number | null} [value]
|
|
@@ -8652,10 +8672,8 @@ export class WasmModerationResult {
|
|
|
8652
8672
|
*/
|
|
8653
8673
|
constructor(flagged, categories, categoryScores) {
|
|
8654
8674
|
_assertClass(categories, WasmModerationCategories);
|
|
8655
|
-
var ptr0 = categories.__destroy_into_raw();
|
|
8656
8675
|
_assertClass(categoryScores, WasmModerationCategoryScores);
|
|
8657
|
-
|
|
8658
|
-
const ret = wasm.wasmmoderationresult_new(flagged, ptr0, ptr1);
|
|
8676
|
+
const ret = wasm.wasmmoderationresult_new(flagged, categories.__wbg_ptr, categoryScores.__wbg_ptr);
|
|
8659
8677
|
this.__wbg_ptr = ret;
|
|
8660
8678
|
WasmModerationResultFinalization.register(this, this.__wbg_ptr, this);
|
|
8661
8679
|
return this;
|
|
@@ -8665,16 +8683,14 @@ export class WasmModerationResult {
|
|
|
8665
8683
|
*/
|
|
8666
8684
|
set categories(value) {
|
|
8667
8685
|
_assertClass(value, WasmModerationCategories);
|
|
8668
|
-
|
|
8669
|
-
wasm.wasmmoderationresult_set_categories(this.__wbg_ptr, ptr0);
|
|
8686
|
+
wasm.wasmmoderationresult_set_categories(this.__wbg_ptr, value.__wbg_ptr);
|
|
8670
8687
|
}
|
|
8671
8688
|
/**
|
|
8672
8689
|
* @param {WasmModerationCategoryScores} value
|
|
8673
8690
|
*/
|
|
8674
8691
|
set categoryScores(value) {
|
|
8675
8692
|
_assertClass(value, WasmModerationCategoryScores);
|
|
8676
|
-
|
|
8677
|
-
wasm.wasmmoderationresult_set_categoryScores(this.__wbg_ptr, ptr0);
|
|
8693
|
+
wasm.wasmmoderationresult_set_categoryScores(this.__wbg_ptr, value.__wbg_ptr);
|
|
8678
8694
|
}
|
|
8679
8695
|
/**
|
|
8680
8696
|
* @param {boolean} value
|
|
@@ -8923,6 +8939,9 @@ export class WasmOcrPage {
|
|
|
8923
8939
|
const ptr = this.__destroy_into_raw();
|
|
8924
8940
|
wasm.__wbg_wasmocrpage_free(ptr, 0);
|
|
8925
8941
|
}
|
|
8942
|
+
clearDimensions() {
|
|
8943
|
+
wasm.wasmocrpage_clearDimensions(this.__wbg_ptr);
|
|
8944
|
+
}
|
|
8926
8945
|
/**
|
|
8927
8946
|
* @returns {WasmOcrPage}
|
|
8928
8947
|
*/
|
|
@@ -8967,6 +8986,11 @@ export class WasmOcrPage {
|
|
|
8967
8986
|
}
|
|
8968
8987
|
}
|
|
8969
8988
|
/**
|
|
8989
|
+
* Takes ownership of `dimensions`.
|
|
8990
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
8991
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
8992
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
8993
|
+
* the generated setter borrows and leaves your handle alive.
|
|
8970
8994
|
* @param {number} index
|
|
8971
8995
|
* @param {string} markdown
|
|
8972
8996
|
* @param {WasmOcrImage[] | null} [images]
|
|
@@ -8988,15 +9012,11 @@ export class WasmOcrPage {
|
|
|
8988
9012
|
return this;
|
|
8989
9013
|
}
|
|
8990
9014
|
/**
|
|
8991
|
-
* @param {WasmPageDimensions
|
|
9015
|
+
* @param {WasmPageDimensions} value
|
|
8992
9016
|
*/
|
|
8993
9017
|
set dimensions(value) {
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
_assertClass(value, WasmPageDimensions);
|
|
8997
|
-
ptr0 = value.__destroy_into_raw();
|
|
8998
|
-
}
|
|
8999
|
-
wasm.wasmocrpage_set_dimensions(this.__wbg_ptr, ptr0);
|
|
9018
|
+
_assertClass(value, WasmPageDimensions);
|
|
9019
|
+
wasm.wasmocrpage_set_dimensions(this.__wbg_ptr, value.__wbg_ptr);
|
|
9000
9020
|
}
|
|
9001
9021
|
/**
|
|
9002
9022
|
* @param {WasmOcrImage[] | null} [value]
|
|
@@ -9158,6 +9178,9 @@ export class WasmOcrResponse {
|
|
|
9158
9178
|
const ptr = this.__destroy_into_raw();
|
|
9159
9179
|
wasm.__wbg_wasmocrresponse_free(ptr, 0);
|
|
9160
9180
|
}
|
|
9181
|
+
clearUsage() {
|
|
9182
|
+
wasm.wasmocrresponse_clearUsage(this.__wbg_ptr);
|
|
9183
|
+
}
|
|
9161
9184
|
/**
|
|
9162
9185
|
* @returns {WasmOcrResponse}
|
|
9163
9186
|
*/
|
|
@@ -9181,6 +9204,11 @@ export class WasmOcrResponse {
|
|
|
9181
9204
|
}
|
|
9182
9205
|
}
|
|
9183
9206
|
/**
|
|
9207
|
+
* Takes ownership of `usage`.
|
|
9208
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
9209
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
9210
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
9211
|
+
* the generated setter borrows and leaves your handle alive.
|
|
9184
9212
|
* @param {WasmOcrPage[]} pages
|
|
9185
9213
|
* @param {string} model
|
|
9186
9214
|
* @param {WasmUsage | null} [usage]
|
|
@@ -9226,15 +9254,11 @@ export class WasmOcrResponse {
|
|
|
9226
9254
|
wasm.wasmocrresponse_set_pages(this.__wbg_ptr, ptr0, len0);
|
|
9227
9255
|
}
|
|
9228
9256
|
/**
|
|
9229
|
-
* @param {WasmUsage
|
|
9257
|
+
* @param {WasmUsage} value
|
|
9230
9258
|
*/
|
|
9231
9259
|
set usage(value) {
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
_assertClass(value, WasmUsage);
|
|
9235
|
-
ptr0 = value.__destroy_into_raw();
|
|
9236
|
-
}
|
|
9237
|
-
wasm.wasmocrresponse_set_usage(this.__wbg_ptr, ptr0);
|
|
9260
|
+
_assertClass(value, WasmUsage);
|
|
9261
|
+
wasm.wasmocrresponse_set_usage(this.__wbg_ptr, value.__wbg_ptr);
|
|
9238
9262
|
}
|
|
9239
9263
|
/**
|
|
9240
9264
|
* @returns {WasmUsage | undefined}
|
|
@@ -9571,6 +9595,9 @@ export class WasmProviderConfig {
|
|
|
9571
9595
|
}
|
|
9572
9596
|
return v1;
|
|
9573
9597
|
}
|
|
9598
|
+
clearAuth() {
|
|
9599
|
+
wasm.wasmproviderconfig_clearAuth(this.__wbg_ptr);
|
|
9600
|
+
}
|
|
9574
9601
|
/**
|
|
9575
9602
|
* @returns {WasmProviderConfig}
|
|
9576
9603
|
*/
|
|
@@ -9630,6 +9657,11 @@ export class WasmProviderConfig {
|
|
|
9630
9657
|
}
|
|
9631
9658
|
}
|
|
9632
9659
|
/**
|
|
9660
|
+
* Takes ownership of `auth`.
|
|
9661
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
9662
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
9663
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
9664
|
+
* the generated setter borrows and leaves your handle alive.
|
|
9633
9665
|
* @param {string} name
|
|
9634
9666
|
* @param {string | null} [displayName]
|
|
9635
9667
|
* @param {string | null} [baseUrl]
|
|
@@ -9667,15 +9699,11 @@ export class WasmProviderConfig {
|
|
|
9667
9699
|
return ret;
|
|
9668
9700
|
}
|
|
9669
9701
|
/**
|
|
9670
|
-
* @param {WasmAuthConfig
|
|
9702
|
+
* @param {WasmAuthConfig} value
|
|
9671
9703
|
*/
|
|
9672
9704
|
set auth(value) {
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
_assertClass(value, WasmAuthConfig);
|
|
9676
|
-
ptr0 = value.__destroy_into_raw();
|
|
9677
|
-
}
|
|
9678
|
-
wasm.wasmproviderconfig_set_auth(this.__wbg_ptr, ptr0);
|
|
9705
|
+
_assertClass(value, WasmAuthConfig);
|
|
9706
|
+
wasm.wasmproviderconfig_set_auth(this.__wbg_ptr, value.__wbg_ptr);
|
|
9679
9707
|
}
|
|
9680
9708
|
/**
|
|
9681
9709
|
* @param {string | null} [value]
|
|
@@ -10001,6 +10029,9 @@ export class WasmRerankResult {
|
|
|
10001
10029
|
const ptr = this.__destroy_into_raw();
|
|
10002
10030
|
wasm.__wbg_wasmrerankresult_free(ptr, 0);
|
|
10003
10031
|
}
|
|
10032
|
+
clearDocument() {
|
|
10033
|
+
wasm.wasmrerankresult_clearDocument(this.__wbg_ptr);
|
|
10034
|
+
}
|
|
10004
10035
|
/**
|
|
10005
10036
|
* @returns {WasmRerankResult}
|
|
10006
10037
|
*/
|
|
@@ -10023,6 +10054,11 @@ export class WasmRerankResult {
|
|
|
10023
10054
|
return ret >>> 0;
|
|
10024
10055
|
}
|
|
10025
10056
|
/**
|
|
10057
|
+
* Takes ownership of `document`.
|
|
10058
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
10059
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
10060
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
10061
|
+
* the generated setter borrows and leaves your handle alive.
|
|
10026
10062
|
* @param {number} index
|
|
10027
10063
|
* @param {number} relevanceScore
|
|
10028
10064
|
* @param {WasmRerankResultDocument | null} [document]
|
|
@@ -10046,15 +10082,11 @@ export class WasmRerankResult {
|
|
|
10046
10082
|
return ret;
|
|
10047
10083
|
}
|
|
10048
10084
|
/**
|
|
10049
|
-
* @param {WasmRerankResultDocument
|
|
10085
|
+
* @param {WasmRerankResultDocument} value
|
|
10050
10086
|
*/
|
|
10051
10087
|
set document(value) {
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
_assertClass(value, WasmRerankResultDocument);
|
|
10055
|
-
ptr0 = value.__destroy_into_raw();
|
|
10056
|
-
}
|
|
10057
|
-
wasm.wasmrerankresult_set_document(this.__wbg_ptr, ptr0);
|
|
10088
|
+
_assertClass(value, WasmRerankResultDocument);
|
|
10089
|
+
wasm.wasmrerankresult_set_document(this.__wbg_ptr, value.__wbg_ptr);
|
|
10058
10090
|
}
|
|
10059
10091
|
/**
|
|
10060
10092
|
* @param {number} value
|
|
@@ -10172,6 +10204,9 @@ export class WasmResponseFormat {
|
|
|
10172
10204
|
const ptr = this.__destroy_into_raw();
|
|
10173
10205
|
wasm.__wbg_wasmresponseformat_free(ptr, 0);
|
|
10174
10206
|
}
|
|
10207
|
+
clearJsonSchema() {
|
|
10208
|
+
wasm.wasmresponseformat_clearJsonSchema(this.__wbg_ptr);
|
|
10209
|
+
}
|
|
10175
10210
|
/**
|
|
10176
10211
|
* @returns {WasmResponseFormat}
|
|
10177
10212
|
*/
|
|
@@ -10193,15 +10228,11 @@ export class WasmResponseFormat {
|
|
|
10193
10228
|
return this;
|
|
10194
10229
|
}
|
|
10195
10230
|
/**
|
|
10196
|
-
* @param {WasmJsonSchemaFormat
|
|
10231
|
+
* @param {WasmJsonSchemaFormat} value
|
|
10197
10232
|
*/
|
|
10198
10233
|
set jsonSchema(value) {
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
_assertClass(value, WasmJsonSchemaFormat);
|
|
10202
|
-
ptr0 = value.__destroy_into_raw();
|
|
10203
|
-
}
|
|
10204
|
-
wasm.wasmresponseformat_set_jsonSchema(this.__wbg_ptr, ptr0);
|
|
10234
|
+
_assertClass(value, WasmJsonSchemaFormat);
|
|
10235
|
+
wasm.wasmresponseformat_set_jsonSchema(this.__wbg_ptr, value.__wbg_ptr);
|
|
10205
10236
|
}
|
|
10206
10237
|
/**
|
|
10207
10238
|
* @param {string} value
|
|
@@ -10249,6 +10280,9 @@ export class WasmResponseObject {
|
|
|
10249
10280
|
const ptr = this.__destroy_into_raw();
|
|
10250
10281
|
wasm.__wbg_wasmresponseobject_free(ptr, 0);
|
|
10251
10282
|
}
|
|
10283
|
+
clearUsage() {
|
|
10284
|
+
wasm.wasmresponseobject_clearUsage(this.__wbg_ptr);
|
|
10285
|
+
}
|
|
10252
10286
|
/**
|
|
10253
10287
|
* @returns {bigint}
|
|
10254
10288
|
*/
|
|
@@ -10301,6 +10335,11 @@ export class WasmResponseObject {
|
|
|
10301
10335
|
}
|
|
10302
10336
|
}
|
|
10303
10337
|
/**
|
|
10338
|
+
* Takes ownership of `usage`.
|
|
10339
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
10340
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
10341
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
10342
|
+
* the generated setter borrows and leaves your handle alive.
|
|
10304
10343
|
* @param {string | null} [id]
|
|
10305
10344
|
* @param {string | null} [object]
|
|
10306
10345
|
* @param {bigint | null} [createdAt]
|
|
@@ -10408,15 +10447,11 @@ export class WasmResponseObject {
|
|
|
10408
10447
|
wasm.wasmresponseobject_set_status(this.__wbg_ptr, ptr0, len0);
|
|
10409
10448
|
}
|
|
10410
10449
|
/**
|
|
10411
|
-
* @param {WasmResponseUsage
|
|
10450
|
+
* @param {WasmResponseUsage} value
|
|
10412
10451
|
*/
|
|
10413
10452
|
set usage(value) {
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
_assertClass(value, WasmResponseUsage);
|
|
10417
|
-
ptr0 = value.__destroy_into_raw();
|
|
10418
|
-
}
|
|
10419
|
-
wasm.wasmresponseobject_set_usage(this.__wbg_ptr, ptr0);
|
|
10453
|
+
_assertClass(value, WasmResponseUsage);
|
|
10454
|
+
wasm.wasmresponseobject_set_usage(this.__wbg_ptr, value.__wbg_ptr);
|
|
10420
10455
|
}
|
|
10421
10456
|
/**
|
|
10422
10457
|
* @returns {string}
|
|
@@ -11184,6 +11219,11 @@ export class WasmSpecificToolChoice {
|
|
|
11184
11219
|
return WasmSpecificFunction.__wrap(ret);
|
|
11185
11220
|
}
|
|
11186
11221
|
/**
|
|
11222
|
+
* Takes ownership of `function`.
|
|
11223
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
11224
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
11225
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
11226
|
+
* the generated setter borrows and leaves your handle alive.
|
|
11187
11227
|
* @param {WasmToolType | null} [choiceType]
|
|
11188
11228
|
* @param {WasmSpecificFunction | null} [_function]
|
|
11189
11229
|
*/
|
|
@@ -11209,8 +11249,7 @@ export class WasmSpecificToolChoice {
|
|
|
11209
11249
|
*/
|
|
11210
11250
|
set function(value) {
|
|
11211
11251
|
_assertClass(value, WasmSpecificFunction);
|
|
11212
|
-
|
|
11213
|
-
wasm.wasmspecifictoolchoice_set_function(this.__wbg_ptr, ptr0);
|
|
11252
|
+
wasm.wasmspecifictoolchoice_set_function(this.__wbg_ptr, value.__wbg_ptr);
|
|
11214
11253
|
}
|
|
11215
11254
|
}
|
|
11216
11255
|
if (Symbol.dispose) WasmSpecificToolChoice.prototype[Symbol.dispose] = WasmSpecificToolChoice.prototype.free;
|
|
@@ -11275,6 +11314,11 @@ export class WasmStreamChoice {
|
|
|
11275
11314
|
return ret >>> 0;
|
|
11276
11315
|
}
|
|
11277
11316
|
/**
|
|
11317
|
+
* Takes ownership of `delta`.
|
|
11318
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
11319
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
11320
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
11321
|
+
* the generated setter borrows and leaves your handle alive.
|
|
11278
11322
|
* @param {number | null} [index]
|
|
11279
11323
|
* @param {WasmStreamDelta | null} [delta]
|
|
11280
11324
|
* @param {WasmFinishReason | null} [finishReason]
|
|
@@ -11295,8 +11339,7 @@ export class WasmStreamChoice {
|
|
|
11295
11339
|
*/
|
|
11296
11340
|
set delta(value) {
|
|
11297
11341
|
_assertClass(value, WasmStreamDelta);
|
|
11298
|
-
|
|
11299
|
-
wasm.wasmstreamchoice_set_delta(this.__wbg_ptr, ptr0);
|
|
11342
|
+
wasm.wasmstreamchoice_set_delta(this.__wbg_ptr, value.__wbg_ptr);
|
|
11300
11343
|
}
|
|
11301
11344
|
/**
|
|
11302
11345
|
* @param {WasmFinishReason | null} [value]
|
|
@@ -11333,6 +11376,9 @@ export class WasmStreamDelta {
|
|
|
11333
11376
|
const ptr = this.__destroy_into_raw();
|
|
11334
11377
|
wasm.__wbg_wasmstreamdelta_free(ptr, 0);
|
|
11335
11378
|
}
|
|
11379
|
+
clearFunctionCall() {
|
|
11380
|
+
wasm.wasmstreamdelta_clearFunctionCall(this.__wbg_ptr);
|
|
11381
|
+
}
|
|
11336
11382
|
/**
|
|
11337
11383
|
* @returns {string | undefined}
|
|
11338
11384
|
*/
|
|
@@ -11360,6 +11406,11 @@ export class WasmStreamDelta {
|
|
|
11360
11406
|
return ret === 0 ? undefined : WasmStreamFunctionCall.__wrap(ret);
|
|
11361
11407
|
}
|
|
11362
11408
|
/**
|
|
11409
|
+
* Takes ownership of `functionCall`.
|
|
11410
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
11411
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
11412
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
11413
|
+
* the generated setter borrows and leaves your handle alive.
|
|
11363
11414
|
* @param {string | null} [role]
|
|
11364
11415
|
* @param {string | null} [content]
|
|
11365
11416
|
* @param {WasmStreamToolCall[] | null} [toolCalls]
|
|
@@ -11433,15 +11484,11 @@ export class WasmStreamDelta {
|
|
|
11433
11484
|
wasm.wasmstreamdelta_set_content(this.__wbg_ptr, ptr0, len0);
|
|
11434
11485
|
}
|
|
11435
11486
|
/**
|
|
11436
|
-
* @param {WasmStreamFunctionCall
|
|
11487
|
+
* @param {WasmStreamFunctionCall} value
|
|
11437
11488
|
*/
|
|
11438
11489
|
set functionCall(value) {
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
_assertClass(value, WasmStreamFunctionCall);
|
|
11442
|
-
ptr0 = value.__destroy_into_raw();
|
|
11443
|
-
}
|
|
11444
|
-
wasm.wasmstreamdelta_set_functionCall(this.__wbg_ptr, ptr0);
|
|
11490
|
+
_assertClass(value, WasmStreamFunctionCall);
|
|
11491
|
+
wasm.wasmstreamdelta_set_functionCall(this.__wbg_ptr, value.__wbg_ptr);
|
|
11445
11492
|
}
|
|
11446
11493
|
/**
|
|
11447
11494
|
* @param {string | null} [value]
|
|
@@ -11673,6 +11720,9 @@ export class WasmStreamToolCall {
|
|
|
11673
11720
|
}
|
|
11674
11721
|
return v1;
|
|
11675
11722
|
}
|
|
11723
|
+
clearFunction() {
|
|
11724
|
+
wasm.wasmstreamtoolcall_clearFunction(this.__wbg_ptr);
|
|
11725
|
+
}
|
|
11676
11726
|
/**
|
|
11677
11727
|
* @returns {WasmStreamToolCall}
|
|
11678
11728
|
*/
|
|
@@ -11707,6 +11757,11 @@ export class WasmStreamToolCall {
|
|
|
11707
11757
|
return ret >>> 0;
|
|
11708
11758
|
}
|
|
11709
11759
|
/**
|
|
11760
|
+
* Takes ownership of `function`.
|
|
11761
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
11762
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
11763
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
11764
|
+
* the generated setter borrows and leaves your handle alive.
|
|
11710
11765
|
* @param {number | null} [index]
|
|
11711
11766
|
* @param {string | null} [id]
|
|
11712
11767
|
* @param {WasmToolType | null} [callType]
|
|
@@ -11732,15 +11787,11 @@ export class WasmStreamToolCall {
|
|
|
11732
11787
|
wasm.wasmstreamtoolcall_set_callType(this.__wbg_ptr, isLikeNone(value) ? 1 : value);
|
|
11733
11788
|
}
|
|
11734
11789
|
/**
|
|
11735
|
-
* @param {WasmStreamFunctionCall
|
|
11790
|
+
* @param {WasmStreamFunctionCall} value
|
|
11736
11791
|
*/
|
|
11737
11792
|
set function(value) {
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
_assertClass(value, WasmStreamFunctionCall);
|
|
11741
|
-
ptr0 = value.__destroy_into_raw();
|
|
11742
|
-
}
|
|
11743
|
-
wasm.wasmstreamtoolcall_set_function(this.__wbg_ptr, ptr0);
|
|
11793
|
+
_assertClass(value, WasmStreamFunctionCall);
|
|
11794
|
+
wasm.wasmstreamtoolcall_set_function(this.__wbg_ptr, value.__wbg_ptr);
|
|
11744
11795
|
}
|
|
11745
11796
|
/**
|
|
11746
11797
|
* @param {string | null} [value]
|
|
@@ -11913,8 +11964,7 @@ export class WasmToolCall {
|
|
|
11913
11964
|
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
11914
11965
|
const len0 = WASM_VECTOR_LEN;
|
|
11915
11966
|
_assertClass(_function, WasmFunctionCall);
|
|
11916
|
-
|
|
11917
|
-
const ret = wasm.wasmtoolcall_new(ptr0, len0, callType, ptr1);
|
|
11967
|
+
const ret = wasm.wasmtoolcall_new(ptr0, len0, callType, _function.__wbg_ptr);
|
|
11918
11968
|
this.__wbg_ptr = ret;
|
|
11919
11969
|
WasmToolCallFinalization.register(this, this.__wbg_ptr, this);
|
|
11920
11970
|
return this;
|
|
@@ -11930,8 +11980,7 @@ export class WasmToolCall {
|
|
|
11930
11980
|
*/
|
|
11931
11981
|
set function(value) {
|
|
11932
11982
|
_assertClass(value, WasmFunctionCall);
|
|
11933
|
-
|
|
11934
|
-
wasm.wasmtoolcall_set_function(this.__wbg_ptr, ptr0);
|
|
11983
|
+
wasm.wasmtoolcall_set_function(this.__wbg_ptr, value.__wbg_ptr);
|
|
11935
11984
|
}
|
|
11936
11985
|
/**
|
|
11937
11986
|
* @param {string} value
|
|
@@ -12318,6 +12367,9 @@ export class WasmUsage {
|
|
|
12318
12367
|
const ptr = this.__destroy_into_raw();
|
|
12319
12368
|
wasm.__wbg_wasmusage_free(ptr, 0);
|
|
12320
12369
|
}
|
|
12370
|
+
clearPromptTokensDetails() {
|
|
12371
|
+
wasm.wasmusage_clearPromptTokensDetails(this.__wbg_ptr);
|
|
12372
|
+
}
|
|
12321
12373
|
/**
|
|
12322
12374
|
* @returns {bigint}
|
|
12323
12375
|
*/
|
|
@@ -12333,6 +12385,11 @@ export class WasmUsage {
|
|
|
12333
12385
|
return WasmUsage.__wrap(ret);
|
|
12334
12386
|
}
|
|
12335
12387
|
/**
|
|
12388
|
+
* Takes ownership of `promptTokensDetails`.
|
|
12389
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
12390
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
12391
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
12392
|
+
* the generated setter borrows and leaves your handle alive.
|
|
12336
12393
|
* @param {bigint | null} [promptTokens]
|
|
12337
12394
|
* @param {bigint | null} [completionTokens]
|
|
12338
12395
|
* @param {bigint | null} [totalTokens]
|
|
@@ -12370,15 +12427,11 @@ export class WasmUsage {
|
|
|
12370
12427
|
wasm.wasmusage_set_completionTokens(this.__wbg_ptr, value);
|
|
12371
12428
|
}
|
|
12372
12429
|
/**
|
|
12373
|
-
* @param {WasmPromptTokensDetails
|
|
12430
|
+
* @param {WasmPromptTokensDetails} value
|
|
12374
12431
|
*/
|
|
12375
12432
|
set promptTokensDetails(value) {
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
_assertClass(value, WasmPromptTokensDetails);
|
|
12379
|
-
ptr0 = value.__destroy_into_raw();
|
|
12380
|
-
}
|
|
12381
|
-
wasm.wasmusage_set_promptTokensDetails(this.__wbg_ptr, ptr0);
|
|
12433
|
+
_assertClass(value, WasmPromptTokensDetails);
|
|
12434
|
+
wasm.wasmusage_set_promptTokensDetails(this.__wbg_ptr, value.__wbg_ptr);
|
|
12382
12435
|
}
|
|
12383
12436
|
/**
|
|
12384
12437
|
* @param {bigint} value
|
|
@@ -12961,68 +13014,68 @@ export function unregisterCustomProvider(name) {
|
|
|
12961
13014
|
function __wbg_get_imports() {
|
|
12962
13015
|
const import0 = {
|
|
12963
13016
|
__proto__: null,
|
|
12964
|
-
|
|
13017
|
+
__wbg_Error_30c8987f7c2ed4e2: function(arg0, arg1) {
|
|
12965
13018
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
12966
13019
|
return ret;
|
|
12967
13020
|
},
|
|
12968
|
-
|
|
13021
|
+
__wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(arg0, arg1) {
|
|
12969
13022
|
const v = arg1;
|
|
12970
13023
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
12971
13024
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
12972
13025
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
12973
13026
|
},
|
|
12974
|
-
|
|
13027
|
+
__wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
|
|
12975
13028
|
const v = arg0;
|
|
12976
13029
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
12977
13030
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
12978
13031
|
},
|
|
12979
|
-
|
|
13032
|
+
__wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
|
|
12980
13033
|
const ret = debugString(arg1);
|
|
12981
13034
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
12982
13035
|
const len1 = WASM_VECTOR_LEN;
|
|
12983
13036
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
12984
13037
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
12985
13038
|
},
|
|
12986
|
-
|
|
13039
|
+
__wbg___wbindgen_in_92f62ee1427d9e49: function(arg0, arg1) {
|
|
12987
13040
|
const ret = arg0 in arg1;
|
|
12988
13041
|
return ret;
|
|
12989
13042
|
},
|
|
12990
|
-
|
|
13043
|
+
__wbg___wbindgen_is_bigint_b123553bed3bb382: function(arg0) {
|
|
12991
13044
|
const ret = typeof(arg0) === 'bigint';
|
|
12992
13045
|
return ret;
|
|
12993
13046
|
},
|
|
12994
|
-
|
|
13047
|
+
__wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
|
|
12995
13048
|
const ret = typeof(arg0) === 'function';
|
|
12996
13049
|
return ret;
|
|
12997
13050
|
},
|
|
12998
|
-
|
|
13051
|
+
__wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
|
|
12999
13052
|
const val = arg0;
|
|
13000
13053
|
const ret = typeof(val) === 'object' && val !== null;
|
|
13001
13054
|
return ret;
|
|
13002
13055
|
},
|
|
13003
|
-
|
|
13056
|
+
__wbg___wbindgen_is_string_90b56bc79aad6f6c: function(arg0) {
|
|
13004
13057
|
const ret = typeof(arg0) === 'string';
|
|
13005
13058
|
return ret;
|
|
13006
13059
|
},
|
|
13007
|
-
|
|
13060
|
+
__wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
|
|
13008
13061
|
const ret = arg0 === undefined;
|
|
13009
13062
|
return ret;
|
|
13010
13063
|
},
|
|
13011
|
-
|
|
13064
|
+
__wbg___wbindgen_jsval_eq_02babf21faa37971: function(arg0, arg1) {
|
|
13012
13065
|
const ret = arg0 === arg1;
|
|
13013
13066
|
return ret;
|
|
13014
13067
|
},
|
|
13015
|
-
|
|
13068
|
+
__wbg___wbindgen_jsval_loose_eq_677f21e468d6b461: function(arg0, arg1) {
|
|
13016
13069
|
const ret = arg0 == arg1;
|
|
13017
13070
|
return ret;
|
|
13018
13071
|
},
|
|
13019
|
-
|
|
13072
|
+
__wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
|
|
13020
13073
|
const obj = arg1;
|
|
13021
13074
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
13022
13075
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
13023
13076
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
13024
13077
|
},
|
|
13025
|
-
|
|
13078
|
+
__wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
|
|
13026
13079
|
const obj = arg1;
|
|
13027
13080
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
13028
13081
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -13030,67 +13083,67 @@ function __wbg_get_imports() {
|
|
|
13030
13083
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
13031
13084
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
13032
13085
|
},
|
|
13033
|
-
|
|
13086
|
+
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
|
|
13034
13087
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
13035
13088
|
},
|
|
13036
|
-
|
|
13089
|
+
__wbg__wbg_cb_unref_dcc1a90847f04c41: function(arg0) {
|
|
13037
13090
|
arg0._wbg_cb_unref();
|
|
13038
13091
|
},
|
|
13039
|
-
|
|
13092
|
+
__wbg_abort_334e7f918b7c5047: function(arg0, arg1) {
|
|
13040
13093
|
arg0.abort(arg1);
|
|
13041
13094
|
},
|
|
13042
|
-
|
|
13095
|
+
__wbg_abort_f78b99d80248bacb: function(arg0) {
|
|
13043
13096
|
arg0.abort();
|
|
13044
13097
|
},
|
|
13045
|
-
|
|
13046
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
13047
|
-
}, arguments); },
|
|
13048
|
-
__wbg_append_8e87c13f0f08f8cd: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
13098
|
+
__wbg_append_1938ed58fb5613b8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
13049
13099
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
13050
13100
|
}, arguments); },
|
|
13051
|
-
|
|
13101
|
+
__wbg_append_627a9b311ac9993b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
13052
13102
|
arg0.append(getStringFromWasm0(arg1, arg2), arg3);
|
|
13053
13103
|
}, arguments); },
|
|
13054
|
-
|
|
13104
|
+
__wbg_append_9b7024062a618f5d: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
13105
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
13106
|
+
}, arguments); },
|
|
13107
|
+
__wbg_append_cfa1814e91387699: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
13055
13108
|
arg0.append(getStringFromWasm0(arg1, arg2), arg3, getStringFromWasm0(arg4, arg5));
|
|
13056
13109
|
}, arguments); },
|
|
13057
|
-
|
|
13110
|
+
__wbg_arrayBuffer_f07be74819944ea2: function() { return handleError(function (arg0) {
|
|
13058
13111
|
const ret = arg0.arrayBuffer();
|
|
13059
13112
|
return ret;
|
|
13060
13113
|
}, arguments); },
|
|
13061
|
-
|
|
13114
|
+
__wbg_body_4e088733babc630d: function(arg0) {
|
|
13062
13115
|
const ret = arg0.body;
|
|
13063
13116
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13064
13117
|
},
|
|
13065
|
-
|
|
13118
|
+
__wbg_buffer_56ec2905a66f58b9: function(arg0) {
|
|
13066
13119
|
const ret = arg0.buffer;
|
|
13067
13120
|
return ret;
|
|
13068
13121
|
},
|
|
13069
|
-
|
|
13122
|
+
__wbg_byobRequest_54f7ce41d584549a: function(arg0) {
|
|
13070
13123
|
const ret = arg0.byobRequest;
|
|
13071
13124
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13072
13125
|
},
|
|
13073
|
-
|
|
13126
|
+
__wbg_byteLength_9f985b8373f1f3fe: function(arg0) {
|
|
13074
13127
|
const ret = arg0.byteLength;
|
|
13075
13128
|
return ret;
|
|
13076
13129
|
},
|
|
13077
|
-
|
|
13130
|
+
__wbg_byteOffset_0bd5a6a03553639c: function(arg0) {
|
|
13078
13131
|
const ret = arg0.byteOffset;
|
|
13079
13132
|
return ret;
|
|
13080
13133
|
},
|
|
13081
|
-
|
|
13082
|
-
const ret = arg0.call(arg1);
|
|
13134
|
+
__wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
|
|
13135
|
+
const ret = arg0.call(arg1, arg2);
|
|
13083
13136
|
return ret;
|
|
13084
13137
|
}, arguments); },
|
|
13085
|
-
|
|
13086
|
-
const ret = arg0.call(arg1
|
|
13138
|
+
__wbg_call_6137034ef55c9d0f: function() { return handleError(function (arg0, arg1) {
|
|
13139
|
+
const ret = arg0.call(arg1);
|
|
13087
13140
|
return ret;
|
|
13088
13141
|
}, arguments); },
|
|
13089
|
-
|
|
13142
|
+
__wbg_cancel_7c2a08c8db4c73f3: function(arg0) {
|
|
13090
13143
|
const ret = arg0.cancel();
|
|
13091
13144
|
return ret;
|
|
13092
13145
|
},
|
|
13093
|
-
|
|
13146
|
+
__wbg_catch_92594c2d17f55f12: function(arg0, arg1) {
|
|
13094
13147
|
const ret = arg0.catch(arg1);
|
|
13095
13148
|
return ret;
|
|
13096
13149
|
},
|
|
@@ -13106,32 +13159,32 @@ function __wbg_get_imports() {
|
|
|
13106
13159
|
const ret = clearTimeout(arg0);
|
|
13107
13160
|
return ret;
|
|
13108
13161
|
},
|
|
13109
|
-
|
|
13162
|
+
__wbg_close_185286988f30f252: function() { return handleError(function (arg0) {
|
|
13110
13163
|
arg0.close();
|
|
13111
13164
|
}, arguments); },
|
|
13112
|
-
|
|
13165
|
+
__wbg_close_748f26698dabe269: function() { return handleError(function (arg0) {
|
|
13113
13166
|
arg0.close();
|
|
13114
13167
|
}, arguments); },
|
|
13115
|
-
|
|
13168
|
+
__wbg_done_b41a1d26cdb37fb6: function(arg0) {
|
|
13116
13169
|
const ret = arg0.done;
|
|
13117
13170
|
return ret;
|
|
13118
13171
|
},
|
|
13119
|
-
|
|
13172
|
+
__wbg_enqueue_4a01c128f9a0de16: function() { return handleError(function (arg0, arg1) {
|
|
13120
13173
|
arg0.enqueue(arg1);
|
|
13121
13174
|
}, arguments); },
|
|
13122
|
-
|
|
13123
|
-
const ret =
|
|
13175
|
+
__wbg_entries_b55ec7e0dc443355: function(arg0) {
|
|
13176
|
+
const ret = arg0.entries();
|
|
13124
13177
|
return ret;
|
|
13125
13178
|
},
|
|
13126
|
-
|
|
13127
|
-
const ret =
|
|
13179
|
+
__wbg_entries_fb6397112b1de25f: function(arg0) {
|
|
13180
|
+
const ret = Object.entries(arg0);
|
|
13128
13181
|
return ret;
|
|
13129
13182
|
},
|
|
13130
13183
|
__wbg_fetch_7a37768ab67c5bd8: function(arg0) {
|
|
13131
13184
|
const ret = fetch(arg0);
|
|
13132
13185
|
return ret;
|
|
13133
13186
|
},
|
|
13134
|
-
|
|
13187
|
+
__wbg_fetch_efc64baf325b084d: function(arg0, arg1) {
|
|
13135
13188
|
const ret = arg0.fetch(arg1);
|
|
13136
13189
|
return ret;
|
|
13137
13190
|
},
|
|
@@ -13139,35 +13192,35 @@ function __wbg_get_imports() {
|
|
|
13139
13192
|
const ret = arg0.getReader();
|
|
13140
13193
|
return ret;
|
|
13141
13194
|
}, arguments); },
|
|
13142
|
-
|
|
13195
|
+
__wbg_get_658f6698067d9515: function() { return handleError(function (arg0, arg1) {
|
|
13143
13196
|
const ret = Reflect.get(arg0, arg1);
|
|
13144
13197
|
return ret;
|
|
13145
13198
|
}, arguments); },
|
|
13146
|
-
|
|
13199
|
+
__wbg_get_6c896e0571ddae51: function(arg0, arg1) {
|
|
13147
13200
|
const ret = arg0[arg1 >>> 0];
|
|
13148
13201
|
return ret;
|
|
13149
13202
|
},
|
|
13150
|
-
|
|
13203
|
+
__wbg_get_done_7020b91c987365c7: function(arg0) {
|
|
13151
13204
|
const ret = arg0.done;
|
|
13152
13205
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
13153
13206
|
},
|
|
13154
|
-
|
|
13207
|
+
__wbg_get_unchecked_288889d017702237: function(arg0, arg1) {
|
|
13155
13208
|
const ret = arg0[arg1 >>> 0];
|
|
13156
13209
|
return ret;
|
|
13157
13210
|
},
|
|
13158
|
-
|
|
13211
|
+
__wbg_get_value_87fbd6ad1283f2e7: function(arg0) {
|
|
13159
13212
|
const ret = arg0.value;
|
|
13160
13213
|
return ret;
|
|
13161
13214
|
},
|
|
13162
|
-
|
|
13215
|
+
__wbg_has_5d6706e5209576c1: function() { return handleError(function (arg0, arg1) {
|
|
13163
13216
|
const ret = Reflect.has(arg0, arg1);
|
|
13164
13217
|
return ret;
|
|
13165
13218
|
}, arguments); },
|
|
13166
|
-
|
|
13219
|
+
__wbg_headers_eba93595f8944c2f: function(arg0) {
|
|
13167
13220
|
const ret = arg0.headers;
|
|
13168
13221
|
return ret;
|
|
13169
13222
|
},
|
|
13170
|
-
|
|
13223
|
+
__wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function(arg0) {
|
|
13171
13224
|
let result;
|
|
13172
13225
|
try {
|
|
13173
13226
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -13177,7 +13230,7 @@ function __wbg_get_imports() {
|
|
|
13177
13230
|
const ret = result;
|
|
13178
13231
|
return ret;
|
|
13179
13232
|
},
|
|
13180
|
-
|
|
13233
|
+
__wbg_instanceof_Map_b2611749102d7ba3: function(arg0) {
|
|
13181
13234
|
let result;
|
|
13182
13235
|
try {
|
|
13183
13236
|
result = arg0 instanceof Map;
|
|
@@ -13187,7 +13240,7 @@ function __wbg_get_imports() {
|
|
|
13187
13240
|
const ret = result;
|
|
13188
13241
|
return ret;
|
|
13189
13242
|
},
|
|
13190
|
-
|
|
13243
|
+
__wbg_instanceof_Response_b8758567269c30b2: function(arg0) {
|
|
13191
13244
|
let result;
|
|
13192
13245
|
try {
|
|
13193
13246
|
result = arg0 instanceof Response;
|
|
@@ -13197,7 +13250,7 @@ function __wbg_get_imports() {
|
|
|
13197
13250
|
const ret = result;
|
|
13198
13251
|
return ret;
|
|
13199
13252
|
},
|
|
13200
|
-
|
|
13253
|
+
__wbg_instanceof_Uint8Array_828cef2aaacafc31: function(arg0) {
|
|
13201
13254
|
let result;
|
|
13202
13255
|
try {
|
|
13203
13256
|
result = arg0 instanceof Uint8Array;
|
|
@@ -13207,70 +13260,70 @@ function __wbg_get_imports() {
|
|
|
13207
13260
|
const ret = result;
|
|
13208
13261
|
return ret;
|
|
13209
13262
|
},
|
|
13210
|
-
|
|
13263
|
+
__wbg_isArray_e15a2ff68ffdbef2: function(arg0) {
|
|
13211
13264
|
const ret = Array.isArray(arg0);
|
|
13212
13265
|
return ret;
|
|
13213
13266
|
},
|
|
13214
|
-
|
|
13267
|
+
__wbg_isSafeInteger_717808ad6a54bd9e: function(arg0) {
|
|
13215
13268
|
const ret = Number.isSafeInteger(arg0);
|
|
13216
13269
|
return ret;
|
|
13217
13270
|
},
|
|
13218
|
-
|
|
13271
|
+
__wbg_iterator_e3c31c892080e444: function() {
|
|
13219
13272
|
const ret = Symbol.iterator;
|
|
13220
13273
|
return ret;
|
|
13221
13274
|
},
|
|
13222
|
-
|
|
13275
|
+
__wbg_length_7f3c00c40364105e: function(arg0) {
|
|
13223
13276
|
const ret = arg0.length;
|
|
13224
13277
|
return ret;
|
|
13225
13278
|
},
|
|
13226
|
-
|
|
13279
|
+
__wbg_length_d4bdea10311bd9cf: function(arg0) {
|
|
13227
13280
|
const ret = arg0.length;
|
|
13228
13281
|
return ret;
|
|
13229
13282
|
},
|
|
13230
|
-
|
|
13231
|
-
const ret = new Headers();
|
|
13232
|
-
return ret;
|
|
13233
|
-
}, arguments); },
|
|
13234
|
-
__wbg_new_1da3429bc3c4541c: function(arg0) {
|
|
13283
|
+
__wbg_new_1dbf7428bba60a42: function(arg0) {
|
|
13235
13284
|
const ret = new Uint8Array(arg0);
|
|
13236
13285
|
return ret;
|
|
13237
13286
|
},
|
|
13238
|
-
|
|
13239
|
-
const ret = new FormData();
|
|
13240
|
-
return ret;
|
|
13241
|
-
}, arguments); },
|
|
13242
|
-
__wbg_new_8d36e20aa758e411: function() {
|
|
13287
|
+
__wbg_new_28744009d011f847: function() {
|
|
13243
13288
|
const ret = new Map();
|
|
13244
13289
|
return ret;
|
|
13245
13290
|
},
|
|
13246
|
-
|
|
13247
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
13248
|
-
return ret;
|
|
13249
|
-
},
|
|
13250
|
-
__wbg_new_baa0a0207935dd43: function() { return handleError(function () {
|
|
13291
|
+
__wbg_new_2e41357094e99294: function() { return handleError(function () {
|
|
13251
13292
|
const ret = new AbortController();
|
|
13252
13293
|
return ret;
|
|
13253
13294
|
}, arguments); },
|
|
13254
|
-
|
|
13295
|
+
__wbg_new_343a093a3c2ffb4e: function(arg0, arg1) {
|
|
13296
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
13297
|
+
return ret;
|
|
13298
|
+
},
|
|
13299
|
+
__wbg_new_617a8cdb8bb1130e: function() {
|
|
13255
13300
|
const ret = new Object();
|
|
13256
13301
|
return ret;
|
|
13257
13302
|
},
|
|
13258
|
-
|
|
13303
|
+
__wbg_new_83ca405eae412a62: function() { return handleError(function () {
|
|
13304
|
+
const ret = new Headers();
|
|
13305
|
+
return ret;
|
|
13306
|
+
}, arguments); },
|
|
13307
|
+
__wbg_new_d429ac7f5b1a2c5c: function() { return handleError(function () {
|
|
13308
|
+
const ret = new FormData();
|
|
13309
|
+
return ret;
|
|
13310
|
+
}, arguments); },
|
|
13311
|
+
__wbg_new_ee2291f50781bf1d: function() {
|
|
13259
13312
|
const ret = new Array();
|
|
13260
13313
|
return ret;
|
|
13261
13314
|
},
|
|
13262
|
-
|
|
13315
|
+
__wbg_new_from_slice_9a868026ffa4208a: function(arg0, arg1) {
|
|
13263
13316
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
13264
13317
|
return ret;
|
|
13265
13318
|
},
|
|
13266
|
-
|
|
13319
|
+
__wbg_new_typed_b01cb72a8af741a3: function(arg0, arg1) {
|
|
13267
13320
|
try {
|
|
13268
13321
|
var state0 = {a: arg0, b: arg1};
|
|
13269
13322
|
var cb0 = (arg0, arg1) => {
|
|
13270
13323
|
const a = state0.a;
|
|
13271
13324
|
state0.a = 0;
|
|
13272
13325
|
try {
|
|
13273
|
-
return
|
|
13326
|
+
return wasm_bindgen__convert__closures_____invoke__h14136a31f7a759a2(a, state0.b, arg0, arg1);
|
|
13274
13327
|
} finally {
|
|
13275
13328
|
state0.a = a;
|
|
13276
13329
|
}
|
|
@@ -13281,23 +13334,23 @@ function __wbg_get_imports() {
|
|
|
13281
13334
|
state0.a = 0;
|
|
13282
13335
|
}
|
|
13283
13336
|
},
|
|
13284
|
-
|
|
13337
|
+
__wbg_new_with_byte_offset_and_length_2f5d7fc2a828b74d: function(arg0, arg1, arg2) {
|
|
13285
13338
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
13286
13339
|
return ret;
|
|
13287
13340
|
},
|
|
13288
|
-
|
|
13341
|
+
__wbg_new_with_str_and_init_4618dee4e950224f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
13289
13342
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
13290
13343
|
return ret;
|
|
13291
13344
|
}, arguments); },
|
|
13292
|
-
|
|
13345
|
+
__wbg_new_with_u8_array_sequence_and_options_fccc08fe93f4b8fd: function() { return handleError(function (arg0, arg1) {
|
|
13293
13346
|
const ret = new Blob(arg0, arg1);
|
|
13294
13347
|
return ret;
|
|
13295
13348
|
}, arguments); },
|
|
13296
|
-
|
|
13349
|
+
__wbg_next_33784799010f1bbe: function(arg0) {
|
|
13297
13350
|
const ret = arg0.next;
|
|
13298
13351
|
return ret;
|
|
13299
13352
|
},
|
|
13300
|
-
|
|
13353
|
+
__wbg_next_f4aac29c42af995c: function() { return handleError(function (arg0) {
|
|
13301
13354
|
const ret = arg0.next();
|
|
13302
13355
|
return ret;
|
|
13303
13356
|
}, arguments); },
|
|
@@ -13305,7 +13358,7 @@ function __wbg_get_imports() {
|
|
|
13305
13358
|
const ret = arg0.now();
|
|
13306
13359
|
return ret;
|
|
13307
13360
|
},
|
|
13308
|
-
|
|
13361
|
+
__wbg_parse_0fc53dead14b3b42: function() { return handleError(function (arg0, arg1) {
|
|
13309
13362
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
13310
13363
|
return ret;
|
|
13311
13364
|
}, arguments); },
|
|
@@ -13313,32 +13366,32 @@ function __wbg_get_imports() {
|
|
|
13313
13366
|
const ret = arg0.performance;
|
|
13314
13367
|
return ret;
|
|
13315
13368
|
},
|
|
13316
|
-
|
|
13369
|
+
__wbg_prototypesetcall_bc27214492979395: function(arg0, arg1, arg2) {
|
|
13317
13370
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
13318
13371
|
},
|
|
13319
|
-
|
|
13372
|
+
__wbg_push_2baf45db356cf468: function(arg0, arg1) {
|
|
13320
13373
|
const ret = arg0.push(arg1);
|
|
13321
13374
|
return ret;
|
|
13322
13375
|
},
|
|
13323
|
-
|
|
13376
|
+
__wbg_queueMicrotask_9833f9a49df95a49: function(arg0) {
|
|
13324
13377
|
const ret = arg0.queueMicrotask;
|
|
13325
13378
|
return ret;
|
|
13326
13379
|
},
|
|
13327
|
-
|
|
13380
|
+
__wbg_queueMicrotask_a72f977e97f23c5f: function(arg0) {
|
|
13328
13381
|
queueMicrotask(arg0);
|
|
13329
13382
|
},
|
|
13330
|
-
|
|
13383
|
+
__wbg_read_2a943774344c9728: function(arg0) {
|
|
13331
13384
|
const ret = arg0.read();
|
|
13332
13385
|
return ret;
|
|
13333
13386
|
},
|
|
13334
|
-
|
|
13387
|
+
__wbg_releaseLock_eb64cd83aa9fcfe4: function(arg0) {
|
|
13335
13388
|
arg0.releaseLock();
|
|
13336
13389
|
},
|
|
13337
|
-
|
|
13390
|
+
__wbg_resolve_0076e10020304ede: function(arg0) {
|
|
13338
13391
|
const ret = Promise.resolve(arg0);
|
|
13339
13392
|
return ret;
|
|
13340
13393
|
},
|
|
13341
|
-
|
|
13394
|
+
__wbg_respond_c102fabcc79e5ef0: function() { return handleError(function (arg0, arg1) {
|
|
13342
13395
|
arg0.respond(arg1 >>> 0);
|
|
13343
13396
|
}, arguments); },
|
|
13344
13397
|
__wbg_setTimeout_56bcdccbad22fd44: function() { return handleError(function (arg0, arg1) {
|
|
@@ -13349,97 +13402,97 @@ function __wbg_get_imports() {
|
|
|
13349
13402
|
const ret = setTimeout(arg0, arg1);
|
|
13350
13403
|
return ret;
|
|
13351
13404
|
},
|
|
13352
|
-
|
|
13353
|
-
arg0[arg1 >>> 0] = arg2;
|
|
13354
|
-
},
|
|
13355
|
-
__wbg_set_5f2ad37e5e02dc7b: function(arg0, arg1, arg2) {
|
|
13405
|
+
__wbg_set_575d3ddb70fe831d: function(arg0, arg1, arg2) {
|
|
13356
13406
|
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
13357
13407
|
},
|
|
13408
|
+
__wbg_set_6ae97e73113c4f0b: function(arg0, arg1, arg2) {
|
|
13409
|
+
const ret = arg0.set(arg1, arg2);
|
|
13410
|
+
return ret;
|
|
13411
|
+
},
|
|
13358
13412
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
13359
13413
|
arg0[arg1] = arg2;
|
|
13360
13414
|
},
|
|
13361
|
-
|
|
13362
|
-
|
|
13363
|
-
return ret;
|
|
13415
|
+
__wbg_set_bea140a88be9b277: function(arg0, arg1, arg2) {
|
|
13416
|
+
arg0[arg1 >>> 0] = arg2;
|
|
13364
13417
|
},
|
|
13365
|
-
|
|
13418
|
+
__wbg_set_body_1fb0f1008bfc7df6: function(arg0, arg1) {
|
|
13366
13419
|
arg0.body = arg1;
|
|
13367
13420
|
},
|
|
13368
|
-
|
|
13421
|
+
__wbg_set_cache_7507c4cc5938ccc7: function(arg0, arg1) {
|
|
13369
13422
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
13370
13423
|
},
|
|
13371
|
-
|
|
13424
|
+
__wbg_set_credentials_e0dcce31ca532b7d: function(arg0, arg1) {
|
|
13372
13425
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
13373
13426
|
},
|
|
13374
|
-
|
|
13427
|
+
__wbg_set_headers_40ad33dcf016613f: function(arg0, arg1) {
|
|
13375
13428
|
arg0.headers = arg1;
|
|
13376
13429
|
},
|
|
13377
|
-
|
|
13430
|
+
__wbg_set_method_dcb32343247ec427: function(arg0, arg1, arg2) {
|
|
13378
13431
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
13379
13432
|
},
|
|
13380
|
-
|
|
13433
|
+
__wbg_set_mode_74e772635acb96ec: function(arg0, arg1) {
|
|
13381
13434
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
13382
13435
|
},
|
|
13383
|
-
|
|
13436
|
+
__wbg_set_referrer_efd0fb956d6b70b2: function(arg0, arg1, arg2) {
|
|
13384
13437
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
13385
13438
|
},
|
|
13386
|
-
|
|
13439
|
+
__wbg_set_referrer_policy_465382f52c1a03d3: function(arg0, arg1) {
|
|
13387
13440
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
13388
13441
|
},
|
|
13389
|
-
|
|
13442
|
+
__wbg_set_signal_2dbd377604627f26: function(arg0, arg1) {
|
|
13390
13443
|
arg0.signal = arg1;
|
|
13391
13444
|
},
|
|
13392
|
-
|
|
13445
|
+
__wbg_set_type_dcf75b2afa60c694: function(arg0, arg1, arg2) {
|
|
13393
13446
|
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
13394
13447
|
},
|
|
13395
|
-
|
|
13448
|
+
__wbg_signal_e5a49a2d9c65b7f6: function(arg0) {
|
|
13396
13449
|
const ret = arg0.signal;
|
|
13397
13450
|
return ret;
|
|
13398
13451
|
},
|
|
13399
|
-
|
|
13452
|
+
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
13400
13453
|
const ret = typeof global === 'undefined' ? null : global;
|
|
13401
13454
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13402
13455
|
},
|
|
13403
|
-
|
|
13456
|
+
__wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
|
|
13404
13457
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
13405
13458
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13406
13459
|
},
|
|
13407
|
-
|
|
13460
|
+
__wbg_static_accessor_SELF_0b583911f537483a: function() {
|
|
13408
13461
|
const ret = typeof self === 'undefined' ? null : self;
|
|
13409
13462
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13410
13463
|
},
|
|
13411
|
-
|
|
13464
|
+
__wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
|
|
13412
13465
|
const ret = typeof window === 'undefined' ? null : window;
|
|
13413
13466
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13414
13467
|
},
|
|
13415
|
-
|
|
13468
|
+
__wbg_status_ce0a98d3c57125f3: function(arg0) {
|
|
13416
13469
|
const ret = arg0.status;
|
|
13417
13470
|
return ret;
|
|
13418
13471
|
},
|
|
13419
|
-
|
|
13472
|
+
__wbg_text_ff3f476b3d6b1246: function() { return handleError(function (arg0) {
|
|
13420
13473
|
const ret = arg0.text();
|
|
13421
13474
|
return ret;
|
|
13422
13475
|
}, arguments); },
|
|
13423
|
-
|
|
13476
|
+
__wbg_then_c949d5a25a4e78f8: function(arg0, arg1, arg2) {
|
|
13424
13477
|
const ret = arg0.then(arg1, arg2);
|
|
13425
13478
|
return ret;
|
|
13426
13479
|
},
|
|
13427
|
-
|
|
13480
|
+
__wbg_then_e71170d78fcf8954: function(arg0, arg1) {
|
|
13428
13481
|
const ret = arg0.then(arg1);
|
|
13429
13482
|
return ret;
|
|
13430
13483
|
},
|
|
13431
|
-
|
|
13484
|
+
__wbg_url_8e28edeab4cd6bed: function(arg0, arg1) {
|
|
13432
13485
|
const ret = arg1.url;
|
|
13433
13486
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
13434
13487
|
const len1 = WASM_VECTOR_LEN;
|
|
13435
13488
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
13436
13489
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
13437
13490
|
},
|
|
13438
|
-
|
|
13491
|
+
__wbg_value_f3c585ee8f5ba40c: function(arg0) {
|
|
13439
13492
|
const ret = arg0.value;
|
|
13440
13493
|
return ret;
|
|
13441
13494
|
},
|
|
13442
|
-
|
|
13495
|
+
__wbg_view_9c570f33e8d6ab96: function(arg0) {
|
|
13443
13496
|
const ret = arg0.view;
|
|
13444
13497
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
13445
13498
|
},
|
|
@@ -13672,23 +13725,23 @@ function __wbg_get_imports() {
|
|
|
13672
13725
|
return ret;
|
|
13673
13726
|
},
|
|
13674
13727
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
13675
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
13676
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13728
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 953, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13729
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h8663a1be0a3e38b0);
|
|
13677
13730
|
return ret;
|
|
13678
13731
|
},
|
|
13679
13732
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
13680
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
13681
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13733
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 971, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
13734
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h49dc34f70620523b);
|
|
13682
13735
|
return ret;
|
|
13683
13736
|
},
|
|
13684
13737
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
13685
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
13686
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13738
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 868, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13739
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h28ae67068accb1e8);
|
|
13687
13740
|
return ret;
|
|
13688
13741
|
},
|
|
13689
13742
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
13690
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
13691
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13743
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 901, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13744
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hacdd4ed9b378e86e);
|
|
13692
13745
|
return ret;
|
|
13693
13746
|
},
|
|
13694
13747
|
__wbindgen_generic_0000000000000005: function(arg0) {
|
|
@@ -13734,27 +13787,27 @@ function __wbg_get_imports() {
|
|
|
13734
13787
|
};
|
|
13735
13788
|
}
|
|
13736
13789
|
|
|
13737
|
-
function
|
|
13738
|
-
wasm.
|
|
13790
|
+
function wasm_bindgen__convert__closures_____invoke__h28ae67068accb1e8(arg0, arg1) {
|
|
13791
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h28ae67068accb1e8(arg0, arg1);
|
|
13739
13792
|
}
|
|
13740
13793
|
|
|
13741
|
-
function
|
|
13742
|
-
wasm.
|
|
13794
|
+
function wasm_bindgen__convert__closures_____invoke__hacdd4ed9b378e86e(arg0, arg1) {
|
|
13795
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hacdd4ed9b378e86e(arg0, arg1);
|
|
13743
13796
|
}
|
|
13744
13797
|
|
|
13745
|
-
function
|
|
13746
|
-
wasm.
|
|
13798
|
+
function wasm_bindgen__convert__closures_____invoke__h8663a1be0a3e38b0(arg0, arg1, arg2) {
|
|
13799
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h8663a1be0a3e38b0(arg0, arg1, arg2);
|
|
13747
13800
|
}
|
|
13748
13801
|
|
|
13749
|
-
function
|
|
13750
|
-
const ret = wasm.
|
|
13802
|
+
function wasm_bindgen__convert__closures_____invoke__h49dc34f70620523b(arg0, arg1, arg2) {
|
|
13803
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h49dc34f70620523b(arg0, arg1, arg2);
|
|
13751
13804
|
if (ret[1]) {
|
|
13752
13805
|
throw takeFromExternrefTable0(ret[0]);
|
|
13753
13806
|
}
|
|
13754
13807
|
}
|
|
13755
13808
|
|
|
13756
|
-
function
|
|
13757
|
-
wasm.
|
|
13809
|
+
function wasm_bindgen__convert__closures_____invoke__h14136a31f7a759a2(arg0, arg1, arg2, arg3) {
|
|
13810
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h14136a31f7a759a2(arg0, arg1, arg2, arg3);
|
|
13758
13811
|
}
|
|
13759
13812
|
|
|
13760
13813
|
|