kjarni-wasm 0.2.1 → 0.2.3
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
|
@@ -255,8 +255,8 @@ export interface InitOutput {
|
|
|
255
255
|
readonly wasmsearch_search_keywords: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
256
256
|
readonly wasmsearch_search_semantic: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
257
257
|
readonly wasmsearch_update_file: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
258
|
-
readonly
|
|
259
|
-
readonly
|
|
258
|
+
readonly __wasm_bindgen_func_elem_5678: (a: number, b: number, c: number, d: number) => void;
|
|
259
|
+
readonly __wasm_bindgen_func_elem_5696: (a: number, b: number, c: number, d: number) => void;
|
|
260
260
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
261
261
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
262
262
|
readonly __wbindgen_export3: (a: number) => void;
|
package/pkg/kjarni_wasm.js
CHANGED
|
@@ -1114,7 +1114,7 @@ function __wbg_get_imports() {
|
|
|
1114
1114
|
const a = state0.a;
|
|
1115
1115
|
state0.a = 0;
|
|
1116
1116
|
try {
|
|
1117
|
-
return
|
|
1117
|
+
return __wasm_bindgen_func_elem_5696(a, state0.b, arg0, arg1);
|
|
1118
1118
|
} finally {
|
|
1119
1119
|
state0.a = a;
|
|
1120
1120
|
}
|
|
@@ -1229,7 +1229,7 @@ function __wbg_get_imports() {
|
|
|
1229
1229
|
},
|
|
1230
1230
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
1231
1231
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2083, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1232
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1232
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_5678);
|
|
1233
1233
|
return addHeapObject(ret);
|
|
1234
1234
|
},
|
|
1235
1235
|
__wbindgen_generic_0000000000000002: function(arg0) {
|
|
@@ -1266,14 +1266,14 @@ function __wbg_get_imports() {
|
|
|
1266
1266
|
};
|
|
1267
1267
|
}
|
|
1268
1268
|
|
|
1269
|
-
function
|
|
1270
|
-
wasm.
|
|
1269
|
+
function __wasm_bindgen_func_elem_5696(arg0, arg1, arg2, arg3) {
|
|
1270
|
+
wasm.__wasm_bindgen_func_elem_5696(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1271
1271
|
}
|
|
1272
1272
|
|
|
1273
|
-
function
|
|
1273
|
+
function __wasm_bindgen_func_elem_5678(arg0, arg1, arg2) {
|
|
1274
1274
|
try {
|
|
1275
1275
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1276
|
-
wasm.
|
|
1276
|
+
wasm.__wasm_bindgen_func_elem_5678(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1277
1277
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1278
1278
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1279
1279
|
if (r1) {
|
package/pkg/kjarni_wasm_bg.wasm
CHANGED
|
Binary file
|
|
@@ -47,8 +47,8 @@ export const wasmsearch_search: (a: number, b: number, c: number, d: number, e:
|
|
|
47
47
|
export const wasmsearch_search_keywords: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
48
48
|
export const wasmsearch_search_semantic: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
49
49
|
export const wasmsearch_update_file: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
50
|
-
export const
|
|
51
|
-
export const
|
|
50
|
+
export const __wasm_bindgen_func_elem_5678: (a: number, b: number, c: number, d: number) => void;
|
|
51
|
+
export const __wasm_bindgen_func_elem_5696: (a: number, b: number, c: number, d: number) => void;
|
|
52
52
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
53
53
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
54
54
|
export const __wbindgen_export3: (a: number) => void;
|
package/pkg/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"Ólafur Aron Jóhannsson <olafurjohannss@gmail.com>"
|
|
6
6
|
],
|
|
7
7
|
"description": "Local AI inference in the browser: embeddings, classification, reranking, semantic search and chat, compiled to WebAssembly.",
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.3",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|