@factoidal/core 0.1.0 → 0.2.0
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/CHANGELOG.md +82 -0
- package/README.md +52 -0
- package/factoidal-npm-entry.js +13657 -30789
- package/factoidal-npm-entry.wasm.assets/{code-7ac046580f1bbdda8dc6.wasm → code-5a7fc68f2ab1323718b8.wasm} +0 -0
- package/factoidal-npm-entry.wasm.js +2 -2
- package/factoidal.js +11448 -25890
- package/fn.js +39 -0
- package/l4-assets/l4factoidal.js +137 -0
- package/l4-assets/l4factoidal.mjs +2 -0
- package/l4-assets/l4factoidal.wasm +0 -0
- package/l4-assets/version.json +16 -0
- package/l4-core.d.ts +159 -0
- package/l4-core.js +188 -0
- package/l4.d.ts +36 -0
- package/l4.js +90 -0
- package/lib/api.js +162 -2
- package/package.json +23 -3
- package/select.d.ts +116 -0
- package/select.js +492 -0
- package/version.json +3 -3
|
Binary file
|
|
@@ -451,5 +451,5 @@ d=Number(BigInt.asIntN(32,c));a(b,d);a(b,d>>>8);a(b,d>>>16);a(b,d>>>24);c>>=e}wh
|
|
|
451
451
|
G(a,b){return d(BigInt(a)<<BigInt(b))}function
|
|
452
452
|
H(a){if(a<0)a=-a;var
|
|
453
453
|
b=0,c=1n;while(c<=a){b+=1;c<<=e}return b}function
|
|
454
|
-
I(a,b){return d(BigInt(a)-BigInt(b))}return{wasm_z_sub:I,wasm_z_size:H,wasm_z_shift_left:G,wasm_z_serialize:F,wasm_z_rem:E,wasm_z_positive:D,wasm_z_of_js_string_base:B,wasm_z_of_float:A,wasm_z_neg:z,wasm_z_mul:y,wasm_z_hash:x,wasm_z_format:w,wasm_z_fdiv:u,wasm_z_equal:t,wasm_z_deserialize:s,wasm_z_compare:r,wasm_z_cdiv:q,wasm_z_add:p,wasm_z_abs:o,unix_error:n}}(globalThis))({"link":[["code-
|
|
455
|
-
c=a,b=a?.module?.export||a;return{"env":{"uint64_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_of_int":(...a)=>a[0]!==undefined?a[0]:0,"caml_hacl_sha256":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")},"uint64_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint128_of_int":(...a)=>a[0]!==undefined?a[0]:0,"int56_of_int":(...a)=>a[0]!==undefined?a[0]:0,"int48_of_int":(...a)=>a[0]!==undefined?a[0]:0,"int40_of_int":(...a)=>a[0]!==undefined?a[0]:0,"caml_hacl_ed25519_verify":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")},"caml_hacl_ed25519_sign":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")},"uint64_init_custom_ops":(...a)=>a[0]!==undefined?a[0]:0,"uint56_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint48_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint40_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint128_max_int":(...a)=>a[0]!==undefined?a[0]:0,"uint128_init_custom_ops":(...a)=>a[0]!==undefined?a[0]:0,"int56_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int56_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int48_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int48_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int40_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int40_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_init_custom_ops":(...a)=>a[0]!==undefined?a[0]:0,"caml_unix_map_file_bytecode":(...a)=>a[0]!==undefined?a[0]:0,"caml_parquet_zstd_decompress_hex":(...a)=>a[0]!==undefined?a[0]:0,"caml_hacl_ed25519_secret_to_public":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")}},"fragments":{"fun_call_2":(a,b,c)=>a(b,c),"get_Array":a=>a.Array,"get_Date":a=>a.Date,"get_Error":a=>a.Error,"get_JSON":a=>a.JSON,"get_Math":a=>a.Math,"get_Object":a=>a.Object,"get_RegExp":a=>a.RegExp,"get_String":a=>a.String,"get_length":a=>a.length,"js_expr_12c48ca8":()=>a,"js_expr_21711c2a":()=>b,"js_expr_26f07992":()=>null,"meth_call_0_toString":a=>a.toString(),"obj_0":(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,$,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak
|
|
454
|
+
I(a,b){return d(BigInt(a)-BigInt(b))}return{wasm_z_sub:I,wasm_z_size:H,wasm_z_shift_left:G,wasm_z_serialize:F,wasm_z_rem:E,wasm_z_positive:D,wasm_z_of_js_string_base:B,wasm_z_of_float:A,wasm_z_neg:z,wasm_z_mul:y,wasm_z_hash:x,wasm_z_format:w,wasm_z_fdiv:u,wasm_z_equal:t,wasm_z_deserialize:s,wasm_z_compare:r,wasm_z_cdiv:q,wasm_z_add:p,wasm_z_abs:o,unix_error:n}}(globalThis))({"link":[["code-5a7fc68f2ab1323718b8",0]],"generated":(a=>{var
|
|
455
|
+
c=a,b=a?.module?.export||a;return{"env":{"uint64_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_of_int":(...a)=>a[0]!==undefined?a[0]:0,"caml_hacl_sha256":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")},"uint64_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint128_of_int":(...a)=>a[0]!==undefined?a[0]:0,"int56_of_int":(...a)=>a[0]!==undefined?a[0]:0,"int48_of_int":(...a)=>a[0]!==undefined?a[0]:0,"int40_of_int":(...a)=>a[0]!==undefined?a[0]:0,"caml_hacl_ed25519_verify":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")},"caml_hacl_ed25519_sign":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")},"uint64_init_custom_ops":(...a)=>a[0]!==undefined?a[0]:0,"uint56_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint48_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint40_of_int":(...a)=>a[0]!==undefined?a[0]:0,"uint128_max_int":(...a)=>a[0]!==undefined?a[0]:0,"uint128_init_custom_ops":(...a)=>a[0]!==undefined?a[0]:0,"int56_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int56_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int48_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int48_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int40_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int40_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_min_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_max_int":(...a)=>a[0]!==undefined?a[0]:0,"int128_init_custom_ops":(...a)=>a[0]!==undefined?a[0]:0,"caml_unix_map_file_bytecode":(...a)=>a[0]!==undefined?a[0]:0,"caml_parquet_zstd_decompress_hex":(...a)=>a[0]!==undefined?a[0]:0,"caml_hacl_ed25519_secret_to_public":()=>{throw new Error("factoidal VC crypto: HACL* is not wired for the wasm_of_ocaml target yet (GitHub #286); js_of_ocaml/Node bundle has it. Refusing to run VC crypto without the verified backend.")}},"fragments":{"fun_call_2":(a,b,c)=>a(b,c),"get_Array":a=>a.Array,"get_Date":a=>a.Date,"get_Error":a=>a.Error,"get_JSON":a=>a.JSON,"get_Math":a=>a.Math,"get_Object":a=>a.Object,"get_RegExp":a=>a.RegExp,"get_String":a=>a.String,"get_length":a=>a.length,"js_expr_12c48ca8":()=>a,"js_expr_21711c2a":()=>b,"js_expr_26f07992":()=>null,"meth_call_0_toString":a=>a.toString(),"obj_0":(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,$,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak)=>({abiVersion:a,parseToDatasetJson:b,queryDataset:c,askDataset:d,updateDataset:e,queryDataset12:f,askDataset12:g,updateDataset12:h,serializeNQuads:i,canonicalizeToNQuads:j,serializeTurtle:k,didKeyResolve:l,vcSha256Hex:m,vcEd25519SecretToPublic:n,vcEd25519Sign:o,vcEd25519Verify:p,vcEddsaCreateFromCanonical:q,vcEddsaVerifyFromCanonical:r,vcCheckCredential:s,vcCheckCredentialSubject:t,vcCheckNoDataLoss:u,vcCheckRelatedResourceDigests:v,xsltTransform:w,mathmlEval:x,xformsRecalc:y,jsonSchemaValidate:z,schematronValidate:A,toanSummation:B,toanProduct:C,toanSimplify:D,toanDiff:E,toanSubst:F,matrixDeterminant:G,matrixScalarProduct:H,matrixVectorProduct:I,matrixOuterProduct:J,sigmoidPoints:K,sigmoidFormulaMathml:L,rifSmoke:M,rifEval:N,jsonldToRdf:O,jsonldFromRdf:P,xmlWellformed:Q,xpathEval:R,shaclValidate:S,shexValidate:T,owlClosure:U,rhoDfClosure:V,rhoDfFragmentCheck:W,rdfsPlusClosure:X,tableauMaterialise:Y,tableauDlInconsistent:Z,owlIsConsistent:_,owlEntails:$,rmlMap:aa,csvwToRdf:ab,deltaBatchToHex:ac,deltaMergeApplyBrowser:ad,openCottas:ae,queryCottas:af,closeCottas:ag,toCottas:ah,registerExtensionFunction:ai,unregisterExtensionFunction:aj,clearExtensionFunctions:ak}),"set_factoidalNpmEntry":(a,b)=>a.factoidalNpmEntry=b}}})(globalThis),"src":"factoidal-npm-entry.wasm.assets"});
|