@moss-dev/moss-wasm 0.18.0 → 0.18.1
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/LICENSE-THIRD-PARTY.txt +7181 -0
- package/moss_wasm.d.ts +3 -3
- package/moss_wasm.js +17 -17
- package/moss_wasm_bg.wasm +0 -0
- package/package.json +4 -3
package/moss_wasm.d.ts
CHANGED
|
@@ -205,9 +205,9 @@ export interface InitOutput {
|
|
|
205
205
|
readonly sealedmodel_takeTokenizer: (a: number) => [number, number, number];
|
|
206
206
|
readonly tokenizer_new: (a: number, b: number) => [number, number, number];
|
|
207
207
|
readonly tokenizer_tokenize: (a: number, b: number, c: number) => [number, number, number];
|
|
208
|
-
readonly
|
|
209
|
-
readonly
|
|
210
|
-
readonly
|
|
208
|
+
readonly wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___wasm_bindgen_c5dc276b97d5cca2___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_c5dc276b97d5cca2___JsError___true_: (a: number, b: number, c: any) => [number, number];
|
|
209
|
+
readonly wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
|
|
210
|
+
readonly wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke_______true_: (a: number, b: number) => void;
|
|
211
211
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
212
212
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
213
213
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/moss_wasm.js
CHANGED
|
@@ -925,10 +925,6 @@ function __wbg_get_imports() {
|
|
|
925
925
|
const ret = Object.entries(arg0);
|
|
926
926
|
return ret;
|
|
927
927
|
},
|
|
928
|
-
__wbg_fetch_5a3c2ce892fcedbd: function() { return handleError(function (arg0, arg1, arg2) {
|
|
929
|
-
const ret = fetch(getStringFromWasm0(arg0, arg1), arg2);
|
|
930
|
-
return ret;
|
|
931
|
-
}, arguments); },
|
|
932
928
|
__wbg_fetch_9dad4fe911207b37: function(arg0) {
|
|
933
929
|
const ret = fetch(arg0);
|
|
934
930
|
return ret;
|
|
@@ -937,6 +933,10 @@ function __wbg_get_imports() {
|
|
|
937
933
|
const ret = arg0.fetch(arg1);
|
|
938
934
|
return ret;
|
|
939
935
|
},
|
|
936
|
+
__wbg_fetch_f64ced2634302874: function() { return handleError(function (arg0, arg1, arg2) {
|
|
937
|
+
const ret = fetch(getStringFromWasm0(arg0, arg1), arg2);
|
|
938
|
+
return ret;
|
|
939
|
+
}, arguments); },
|
|
940
940
|
__wbg_fill_5663f5c647107cce: function(arg0, arg1, arg2, arg3) {
|
|
941
941
|
const ret = arg0.fill(arg1, arg2 >>> 0, arg3 >>> 0);
|
|
942
942
|
return ret;
|
|
@@ -1101,7 +1101,7 @@ function __wbg_get_imports() {
|
|
|
1101
1101
|
const a = state0.a;
|
|
1102
1102
|
state0.a = 0;
|
|
1103
1103
|
try {
|
|
1104
|
-
return
|
|
1104
|
+
return wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1105
1105
|
} finally {
|
|
1106
1106
|
state0.a = a;
|
|
1107
1107
|
}
|
|
@@ -1135,7 +1135,7 @@ function __wbg_get_imports() {
|
|
|
1135
1135
|
const a = state0.a;
|
|
1136
1136
|
state0.a = 0;
|
|
1137
1137
|
try {
|
|
1138
|
-
return
|
|
1138
|
+
return wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
1139
1139
|
} finally {
|
|
1140
1140
|
state0.a = a;
|
|
1141
1141
|
}
|
|
@@ -1190,7 +1190,7 @@ function __wbg_get_imports() {
|
|
|
1190
1190
|
__wbg_setItem_364a11cf21db9039: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1191
1191
|
arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1192
1192
|
}, arguments); },
|
|
1193
|
-
|
|
1193
|
+
__wbg_setTimeout_6fe7ca3d5eda2dea: function(arg0, arg1) {
|
|
1194
1194
|
const ret = setTimeout(arg0, arg1);
|
|
1195
1195
|
return ret;
|
|
1196
1196
|
},
|
|
@@ -1289,13 +1289,13 @@ function __wbg_get_imports() {
|
|
|
1289
1289
|
return ret;
|
|
1290
1290
|
},
|
|
1291
1291
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1292
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1293
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1292
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 154, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1293
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___wasm_bindgen_c5dc276b97d5cca2___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_c5dc276b97d5cca2___JsError___true_);
|
|
1294
1294
|
return ret;
|
|
1295
1295
|
},
|
|
1296
1296
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1297
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1298
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1297
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 49, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1298
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke_______true_);
|
|
1299
1299
|
return ret;
|
|
1300
1300
|
},
|
|
1301
1301
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -1334,19 +1334,19 @@ function __wbg_get_imports() {
|
|
|
1334
1334
|
};
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
|
-
function
|
|
1338
|
-
wasm.
|
|
1337
|
+
function wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
1338
|
+
wasm.wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke_______true_(arg0, arg1);
|
|
1339
1339
|
}
|
|
1340
1340
|
|
|
1341
|
-
function
|
|
1342
|
-
const ret = wasm.
|
|
1341
|
+
function wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___wasm_bindgen_c5dc276b97d5cca2___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_c5dc276b97d5cca2___JsError___true_(arg0, arg1, arg2) {
|
|
1342
|
+
const ret = wasm.wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___wasm_bindgen_c5dc276b97d5cca2___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_c5dc276b97d5cca2___JsError___true_(arg0, arg1, arg2);
|
|
1343
1343
|
if (ret[1]) {
|
|
1344
1344
|
throw takeFromExternrefTable0(ret[0]);
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
|
-
function
|
|
1349
|
-
wasm.
|
|
1348
|
+
function wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
1349
|
+
wasm.wasm_bindgen_c5dc276b97d5cca2___convert__closures_____invoke___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined___js_sys_e0971dfed44a4f50___Function_fn_wasm_bindgen_c5dc276b97d5cca2___JsValue_____wasm_bindgen_c5dc276b97d5cca2___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
1350
1350
|
}
|
|
1351
1351
|
|
|
1352
1352
|
|
package/moss_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "@moss-dev/moss-wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Moss WASM bindings for in-browser semantic search",
|
|
5
|
-
"version": "0.18.
|
|
6
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
5
|
+
"version": "0.18.1",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/usemoss/moss"
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"moss_wasm_bg.wasm",
|
|
13
13
|
"moss_wasm.js",
|
|
14
14
|
"moss_wasm.d.ts",
|
|
15
|
-
"LICENSE.txt"
|
|
15
|
+
"LICENSE.txt",
|
|
16
|
+
"LICENSE-THIRD-PARTY.txt"
|
|
16
17
|
],
|
|
17
18
|
"main": "moss_wasm.js",
|
|
18
19
|
"types": "moss_wasm.d.ts",
|