test-vectors/media.json pins SMF1 files (empty, partial, exact boundary, multi-segment with full metadata) and SLF1 live frames in link mode across a rotation. Kotlin reads them and reproduces every sealed file and every signed frame byte for byte; TS locks the same file. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
27 lines
809 B
JSON
27 lines
809 B
JSON
{
|
|
"name": "@shade/media",
|
|
"version": "4.15.0",
|
|
"description": "End-to-end encrypted media streaming for Shade \u2014 seekable sealed films, videos, images and audio, and live channels for logs, text and live video",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./node": "./src/node.ts",
|
|
"./server": "./src/server.ts",
|
|
"./browser": "./src/browser/index.ts",
|
|
"./cli": "./src/cli.ts",
|
|
"./testing": "./src/testing.ts"
|
|
},
|
|
"dependencies": {
|
|
"@noble/curves": "^2.0.1",
|
|
"@noble/hashes": "^2.0.1",
|
|
"hono": "^4.12.18"
|
|
},
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit",
|
|
"build:sw": "bun build src/browser/sw.ts --outfile dist/shade-media-sw.js --target browser --minify"
|
|
}
|
|
}
|