From 7f65454377ae306205f76950d448514066d9e533 Mon Sep 17 00:00:00 2001 From: rcholic Date: Fri, 13 Feb 2026 05:57:16 +0000 Subject: [PATCH] chore: sync extension files from predicate-chrome v2.9.0 --- predicate/extension/pkg/.gitignore | 5 +--- predicate/extension/pkg/sentience_core.js | 14 +++++------ .../extension/pkg/sentience_core_bg.wasm | Bin 110696 -> 110696 bytes predicate/extension/release.json | 22 +++++++++--------- 4 files changed, 19 insertions(+), 22 deletions(-) diff --git a/predicate/extension/pkg/.gitignore b/predicate/extension/pkg/.gitignore index 395bb6c..f59ec20 100644 --- a/predicate/extension/pkg/.gitignore +++ b/predicate/extension/pkg/.gitignore @@ -1,4 +1 @@ -* -!.gitignore -!sentience_core.js -!sentience_core_bg.wasm \ No newline at end of file +* \ No newline at end of file diff --git a/predicate/extension/pkg/sentience_core.js b/predicate/extension/pkg/sentience_core.js index c50ad61..bb9cae0 100644 --- a/predicate/extension/pkg/sentience_core.js +++ b/predicate/extension/pkg/sentience_core.js @@ -25,7 +25,7 @@ function __wbg_get_imports() { }, __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(arg0, arg1) { const v = getObject(arg1), ret = "bigint" == typeof v ? v : void 0; - getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, !0), + getDataViewMemory0().setBigInt64(arg0 + 8, isLikeNone(ret) ? BigInt(0) : ret, !0), getDataViewMemory0().setInt32(arg0 + 0, !isLikeNone(ret), !0); }, __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(arg0) { @@ -224,7 +224,7 @@ function getArrayU8FromWasm0(ptr, len) { let cachedDataViewMemory0 = null; function getDataViewMemory0() { - return (null === cachedDataViewMemory0 || !0 === cachedDataViewMemory0.buffer.detached || void 0 === cachedDataViewMemory0.buffer.detached && cachedDataViewMemory0.buffer !== wasm.memory.buffer) && (cachedDataViewMemory0 = new DataView(wasm.memory.buffer)), + return (null === cachedDataViewMemory0 || !0 === cachedDataViewMemory0.buffer.detached || void 0 === cachedDataViewMemory0.buffer.detached && cachedDataViewMemory0.buffer !== wasm.memory.buffer) && (cachedDataViewMemory0 = new DataView(wasm.memory.buffer)), cachedDataViewMemory0; } @@ -235,7 +235,7 @@ function getStringFromWasm0(ptr, len) { let cachedUint8ArrayMemory0 = null; function getUint8ArrayMemory0() { - return null !== cachedUint8ArrayMemory0 && 0 !== cachedUint8ArrayMemory0.byteLength || (cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer)), + return null !== cachedUint8ArrayMemory0 && 0 !== cachedUint8ArrayMemory0.byteLength || (cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer)), cachedUint8ArrayMemory0; } @@ -264,7 +264,7 @@ function isLikeNone(x) { function passStringToWasm0(arg, malloc, realloc) { if (void 0 === realloc) { const buf = cachedTextEncoder.encode(arg), ptr = malloc(buf.length, 1) >>> 0; - return getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf), WASM_VECTOR_LEN = buf.length, + return getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf), WASM_VECTOR_LEN = buf.length, ptr; } let len = arg.length, ptr = malloc(len, 1) >>> 0; @@ -319,7 +319,7 @@ const cachedTextEncoder = new TextEncoder; let wasmModule, wasm, WASM_VECTOR_LEN = 0; function __wbg_finalize_init(instance, module) { - return wasm = instance.exports, wasmModule = module, cachedDataViewMemory0 = null, + return wasm = instance.exports, wasmModule = module, cachedDataViewMemory0 = null, cachedUint8ArrayMemory0 = null, wasm; } @@ -360,7 +360,7 @@ function initSync(module) { async function __wbg_init(module_or_path) { if (void 0 !== wasm) return wasm; - void 0 !== module_or_path && Object.getPrototypeOf(module_or_path) === Object.prototype && ({module_or_path: module_or_path} = module_or_path), + void 0 !== module_or_path && Object.getPrototypeOf(module_or_path) === Object.prototype && ({module_or_path: module_or_path} = module_or_path), void 0 === module_or_path && (module_or_path = new URL("sentience_core_bg.wasm", import.meta.url)); const imports = __wbg_get_imports(); ("string" == typeof module_or_path || "function" == typeof Request && module_or_path instanceof Request || "function" == typeof URL && module_or_path instanceof URL) && (module_or_path = fetch(module_or_path)); @@ -368,4 +368,4 @@ async function __wbg_init(module_or_path) { return __wbg_finalize_init(instance, module); } -export { initSync, __wbg_init as default }; +export { initSync, __wbg_init as default }; \ No newline at end of file diff --git a/predicate/extension/pkg/sentience_core_bg.wasm b/predicate/extension/pkg/sentience_core_bg.wasm index 4ef5500c2a54fba6f5089f11d40b49dec3ffed95..ead6d24237e649e11183a4845784e660762e5ebb 100644 GIT binary patch delta 1180 zcmYk(ZBSHI7zgnEpL>_LU1(Fm0T$ifMq!#Um6@gtsHPdE*3?)6U0JqhWZU*KZ6F{q zG9YH;qQseedIK$+>O;+L-f50A$)q1Jk%Xy6mJf_FBOjm=(P>hXn9eTCo$iPK`Q7Ka z&%O7|nVw9Vo=l3gTazqSOO|yxKV;pfFh$Xo^kvxCuaf$q`l;{`-Be=RSr+74&nfBseVD``FJk# z#_aKyEl%mf-Xb$D@zgzisMo*RldGVeulHy3iPv3mX^H#O{_=#@ys@NXhRlJbT0`LF z#B)=Doe5QFQu=pVC>g_g@!mcrzdg~U#WS1NG`kY|rMWzzr}r%>Y-m->Qmxz2d`sox zgkJZyvyda2%P)ru(a6&x&3Km|i0r}<{Yu22fw%P19~Iy|zV)m>o-6t2Stml=e(rIE zbl16WGcm+}2B6&^6EiOSpo+SrAUe0K8z^j)3B0eG-RQlE@`k+ zn}$s43czBtGU-eJX_QijeB7am05(v8hGHrR;8FJVaXK8pdK%XLH?f+$0j!9>3ghI_ z@POD>hii=7LAm`6LF9{rL9AlbS}(U+(jY_X#YJ7LhfOp#U;r4U!bTKPv{7!My-7we zrjs${%3x!l9gT3%U0G(Q6E}mg_V=*|tEDg?rkl{3%&su1Y=d2Nv|%1?CI@WYswLGV zPYkxBhK|G~Pu(`J#JVy4W9Xit+i}HaL&n5iqkG5b9yYpvFV@yFlZ{!#zwOv-qmEuY RoNh{7kZYPa*^9xv{{S3yke~nn delta 1189 zcmYL{e@v8h9LITopXWfhgIyBn;bAvh3Cw0CtCbzr)~41ODrcem=oAM;&%+{*1BvM_ zFhl{7@8nY{Xg^ke^yA29?aL}Aw)xv&)dIJeu}OQrZXzA-w>W+~`i`M+w%aOhb zZF7WP(IpvQ>1_!(W#rZNFzn}Jb$VDGysX|Ep&#ovMd;a`Q3}OqaYMA$9;4ZY!h1W6 z>bE?(__?fT2+ZmdZ-c^G*6N!uEdZ++jT5sXM1T@hm$_j zkVdT%myOaDYL@OY}AyXv=|YSb!be;{GC~Cajv*5 zW