@fileverse/api 0.0.20 → 0.0.21
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/dist/cli/index.js.map +1 -1
- package/dist/cloudflare.js +40 -57
- package/dist/cloudflare.js.map +1 -1
- package/dist/commands/index.js +1 -6
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +22 -45
- package/dist/index.js.map +1 -1
- package/dist/worker.js +21 -39
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
- package/public/llm.txt +478 -204
package/dist/commands/index.js
CHANGED
|
@@ -1562,12 +1562,7 @@ import hkdf from "futoin-hkdf";
|
|
|
1562
1562
|
import tweetnacl2 from "tweetnacl";
|
|
1563
1563
|
import { fromUint8Array as fromUint8Array4, toUint8Array as toUint8Array5 } from "js-base64";
|
|
1564
1564
|
var deriveKeyFromAg2Hash = async (pass, salt) => {
|
|
1565
|
-
const key = await getArgon2idHash(pass, salt
|
|
1566
|
-
t: 2,
|
|
1567
|
-
m: 4096,
|
|
1568
|
-
p: 8,
|
|
1569
|
-
dkLen: 32
|
|
1570
|
-
});
|
|
1565
|
+
const key = await getArgon2idHash(pass, salt);
|
|
1571
1566
|
return hkdf(Buffer.from(key), tweetnacl2.secretbox.keyLength, {
|
|
1572
1567
|
info: Buffer.from("encryptionKey")
|
|
1573
1568
|
});
|