@fileverse/api 0.0.15 → 0.0.17
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 +0 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/cloudflare.js +105 -65
- package/dist/cloudflare.js.map +1 -1
- package/dist/commands/index.js +57 -49
- package/dist/commands/index.js.map +1 -1
- package/dist/index.js +100 -60
- package/dist/index.js.map +1 -1
- package/dist/worker.js +39 -12
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -350,15 +350,12 @@ var init_file_encryption = __esm({
|
|
|
350
350
|
});
|
|
351
351
|
|
|
352
352
|
// src/sdk/file-utils.ts
|
|
353
|
-
import { getArgon2idHash } from "@fileverse/crypto/argon";
|
|
354
353
|
import { bytesToBase64, generateRandomBytes as generateRandomBytes2 } from "@fileverse/crypto/utils";
|
|
355
354
|
import { derivePBKDF2Key, encryptAesCBC } from "@fileverse/crypto/kdf";
|
|
356
355
|
import { secretBoxEncrypt } from "@fileverse/crypto/nacl";
|
|
357
|
-
import hkdf from "futoin-hkdf";
|
|
358
356
|
import tweetnacl from "tweetnacl";
|
|
359
357
|
import { fromUint8Array, toUint8Array as toUint8Array3 } from "js-base64";
|
|
360
358
|
import { toAESKey, aesEncrypt } from "@fileverse/crypto/webcrypto";
|
|
361
|
-
import axios2 from "axios";
|
|
362
359
|
import { encodeFunctionData, parseEventLogs } from "viem";
|
|
363
360
|
var init_file_utils = __esm({
|
|
364
361
|
"src/sdk/file-utils.ts"() {
|
|
@@ -372,7 +369,6 @@ var init_file_utils = __esm({
|
|
|
372
369
|
// src/sdk/file-manager.ts
|
|
373
370
|
import { fromUint8Array as fromUint8Array2, toUint8Array as toUint8Array4 } from "js-base64";
|
|
374
371
|
import { generateAESKey, exportAESKey } from "@fileverse/crypto/webcrypto";
|
|
375
|
-
import { markdownToYjs } from "@fileverse/content-processor";
|
|
376
372
|
var init_file_manager = __esm({
|
|
377
373
|
"src/sdk/file-manager.ts"() {
|
|
378
374
|
"use strict";
|