kjarni-wasm 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/pkg/kjarni_wasm.d.ts
CHANGED
|
@@ -248,8 +248,8 @@ export interface InitOutput {
|
|
|
248
248
|
readonly wasmsearch_add_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
249
249
|
readonly __wbg_wasmreranker_free: (a: number, b: number) => void;
|
|
250
250
|
readonly __wbg_wasmsearch_free: (a: number, b: number) => void;
|
|
251
|
-
readonly
|
|
252
|
-
readonly
|
|
251
|
+
readonly __wasm_bindgen_func_elem_5494: (a: number, b: number, c: number, d: number) => void;
|
|
252
|
+
readonly __wasm_bindgen_func_elem_5510: (a: number, b: number, c: number, d: number) => void;
|
|
253
253
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
254
254
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
255
255
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg/kjarni_wasm.js
CHANGED
|
@@ -1092,7 +1092,7 @@ function __wbg_get_imports() {
|
|
|
1092
1092
|
const a = state0.a;
|
|
1093
1093
|
state0.a = 0;
|
|
1094
1094
|
try {
|
|
1095
|
-
return
|
|
1095
|
+
return __wasm_bindgen_func_elem_5510(a, state0.b, arg0, arg1);
|
|
1096
1096
|
} finally {
|
|
1097
1097
|
state0.a = a;
|
|
1098
1098
|
}
|
|
@@ -1207,7 +1207,7 @@ function __wbg_get_imports() {
|
|
|
1207
1207
|
},
|
|
1208
1208
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1209
1209
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2058, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1210
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1210
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5494);
|
|
1211
1211
|
return addHeapObject(ret);
|
|
1212
1212
|
},
|
|
1213
1213
|
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
@@ -1244,10 +1244,10 @@ function __wbg_get_imports() {
|
|
|
1244
1244
|
};
|
|
1245
1245
|
}
|
|
1246
1246
|
|
|
1247
|
-
function
|
|
1247
|
+
function __wasm_bindgen_func_elem_5494(arg0, arg1, arg2) {
|
|
1248
1248
|
try {
|
|
1249
1249
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1250
|
-
wasm.
|
|
1250
|
+
wasm.__wasm_bindgen_func_elem_5494(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1251
1251
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1252
1252
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1253
1253
|
if (r1) {
|
|
@@ -1258,8 +1258,8 @@ function __wasm_bindgen_func_elem_5495(arg0, arg1, arg2) {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
|
|
1261
|
-
function
|
|
1262
|
-
wasm.
|
|
1261
|
+
function __wasm_bindgen_func_elem_5510(arg0, arg1, arg2, arg3) {
|
|
1262
|
+
wasm.__wasm_bindgen_func_elem_5510(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1263
1263
|
}
|
|
1264
1264
|
|
|
1265
1265
|
const WasmChatFinalization = (typeof FinalizationRegistry === 'undefined')
|
package/pkg/kjarni_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -45,8 +45,8 @@ export const wasmsearch_doc_count: (a: number) => number;
|
|
|
45
45
|
export const wasmsearch_add_chunk: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
46
46
|
export const __wbg_wasmreranker_free: (a: number, b: number) => void;
|
|
47
47
|
export const __wbg_wasmsearch_free: (a: number, b: number) => void;
|
|
48
|
-
export const
|
|
49
|
-
export const
|
|
48
|
+
export const __wasm_bindgen_func_elem_5494: (a: number, b: number, c: number, d: number) => void;
|
|
49
|
+
export const __wasm_bindgen_func_elem_5510: (a: number, b: number, c: number, d: number) => void;
|
|
50
50
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
51
51
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
52
52
|
export const __wbindgen_export3: (a: number) => void;
|