@fluxlay/cli 1.5.0 → 2.0.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/dist/index.d.mts +2 -0
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/native/fluxlay-core.darwin-arm64.node +0 -0
- package/dist/native/fluxlay-core.darwin-x64.node +0 -0
- package/dist/native/fluxlay-core.linux-x64-gnu.node +0 -0
- package/dist/native/fluxlay-core.win32-arm64-msvc.node +0 -0
- package/dist/native/fluxlay-core.win32-x64-msvc.node +0 -0
- package/dist/native/index.d.ts +16 -1
- package/package.json +11 -11
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/native/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export interface ArchiveFileInfo {
|
|
4
4
|
mime: string
|
|
5
5
|
size: number
|
|
6
|
-
chunks: Array<
|
|
6
|
+
chunks: Array<ChunkRef>
|
|
7
7
|
chunkSize: number
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -28,6 +28,21 @@ export declare const enum BundleKind {
|
|
|
28
28
|
Image = 'image'
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Reference to a single encrypted chunk inside a FLX3 bundle.
|
|
33
|
+
*
|
|
34
|
+
* `nonce` is the per-chunk random 12-byte AES-GCM nonce. It is stored as a
|
|
35
|
+
* `Vec<u8>` rather than `[u8; 12]` because NAPI object derivation does not
|
|
36
|
+
* support fixed-size arrays; length is validated to 12 at decryption time via
|
|
37
|
+
* [`ChunkRef::nonce_array`].
|
|
38
|
+
*/
|
|
39
|
+
export interface ChunkRef {
|
|
40
|
+
/** SHA-256 hex digest of the plaintext chunk (content identifier). */
|
|
41
|
+
hash: string
|
|
42
|
+
/** Random 12-byte AES-GCM nonce used to encrypt this chunk. */
|
|
43
|
+
nonce: Array<number>
|
|
44
|
+
}
|
|
45
|
+
|
|
31
46
|
export declare function getContentKey(versionId: string): Uint8Array | null
|
|
32
47
|
|
|
33
48
|
export declare function getDeveloperKey(): Uint8Array | null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxlay/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "CLI for building, developing, and publishing Fluxlay wallpapers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -33,28 +33,28 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@bufbuild/protobuf": "^2.12.0",
|
|
36
|
-
"@clack/prompts": "^1.
|
|
36
|
+
"@clack/prompts": "^1.4.0",
|
|
37
37
|
"@connectrpc/connect": "^2.1.1",
|
|
38
38
|
"@connectrpc/connect-node": "^2.1.1",
|
|
39
|
-
"@sentry/node": "^10.
|
|
40
|
-
"@supabase/supabase-js": "^2.
|
|
39
|
+
"@sentry/node": "^10.54.0",
|
|
40
|
+
"@supabase/supabase-js": "^2.106.2",
|
|
41
41
|
"chalk": "^5.6.2",
|
|
42
|
-
"commander": "^
|
|
42
|
+
"commander": "^14.0.3",
|
|
43
43
|
"dotenv": "^17.4.2",
|
|
44
44
|
"env-paths": "^4.0.0",
|
|
45
|
-
"fs-extra": "^11.3.
|
|
45
|
+
"fs-extra": "^11.3.5",
|
|
46
46
|
"js-yaml": "^4.1.1",
|
|
47
47
|
"open": "^11.0.0",
|
|
48
|
-
"vite": "^8.0.
|
|
48
|
+
"vite": "^8.0.14"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@fluxlay/core": "0.1.0",
|
|
52
52
|
"@fluxlay/proto": "1.0.0",
|
|
53
53
|
"@types/fs-extra": "^11.0.4",
|
|
54
54
|
"@types/js-yaml": "^4.0.9",
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"tsdown": "^0.
|
|
57
|
-
"typescript": "^
|
|
58
|
-
"vitest": "^4.1.
|
|
55
|
+
"@types/node": "^25.9.1",
|
|
56
|
+
"tsdown": "^0.22.0",
|
|
57
|
+
"typescript": "^6.0.3",
|
|
58
|
+
"vitest": "^4.1.7"
|
|
59
59
|
}
|
|
60
60
|
}
|