A grant for a sealed file or a live channel rides the Double Ratchet like any message. With an onMediaGrant handler registered, grants are routed there instead of onMessage; with none, they arrive as text as before. Bench results for @shade/media (1 GiB, up to 200 live viewers, 100 % delivered) committed with their chart spec. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
37 lines
1013 B
JSON
37 lines
1013 B
JSON
{
|
|
"name": "@shade/sdk",
|
|
"version": "4.14.1",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"dependencies": {
|
|
"@shade/core": "workspace:*",
|
|
"@shade/crypto-web": "workspace:*",
|
|
"@shade/files": "workspace:*",
|
|
"@shade/inbox": "workspace:*",
|
|
"@shade/key-transparency": "workspace:*",
|
|
"@shade/media": "workspace:*",
|
|
"@shade/observability": "workspace:*",
|
|
"@shade/observer": "workspace:*",
|
|
"@shade/proto": "workspace:*",
|
|
"@shade/server": "workspace:*",
|
|
"@shade/storage-encrypted": "workspace:*",
|
|
"@shade/storage-sqlite": "workspace:*",
|
|
"@shade/streams": "workspace:*",
|
|
"@shade/transfer": "workspace:*",
|
|
"@shade/transport": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"@shade/transport-webrtc": "workspace:*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@shade/transport-webrtc": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@shade/inbox-server": "workspace:*",
|
|
"@shade/transport-webrtc": "workspace:*"
|
|
}
|
|
}
|