diff --git a/package.json b/package.json index b886d519c..d8b4ee8a9 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "devDependencies": { "@changesets/cli": "^2.29.7", - "@livekit/changesets-changelog-github": "^0.0.4", + "@livekit/changesets-changelog-github": "^0.2.0", "@rushstack/heft": "^1.0.0", "glob": "^11.0.0", "globals": "^16.0.0", diff --git a/packages/react/src/hooks/useSession.ts b/packages/react/src/hooks/useSession.ts index 4e050e8b8..f0dd118fd 100644 --- a/packages/react/src/hooks/useSession.ts +++ b/packages/react/src/hooks/useSession.ts @@ -245,6 +245,7 @@ function areTokenSourceFetchOptionsEqual(a: TokenSourceFetchOptions, b: TokenSou case 'participantAttributes': case 'agentName': case 'agentMetadata': + case 'deployment': if (a[key] !== b[key]) { return false; } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bb327903a..17b60b42a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,8 +7,8 @@ settings: catalogs: default: '@livekit/protocol': - specifier: ^1.44.0 - version: 1.47.0 + specifier: 1.46.6 + version: 1.46.6 eslint: specifier: ^10.0.0 version: 10.7.0 @@ -35,8 +35,8 @@ importers: specifier: ^2.29.7 version: 2.31.0(@types/node@25.9.3) '@livekit/changesets-changelog-github': - specifier: ^0.0.4 - version: 0.0.4 + specifier: ^0.2.0 + version: 0.2.0 '@rushstack/heft': specifier: ^1.0.0 version: 1.2.19(@types/node@25.9.3) @@ -175,7 +175,7 @@ importers: version: 2.20.1(@types/dom-mediacapture-record@1.0.22) livekit-server-sdk: specifier: ^2.6.1 - version: 2.15.5 + version: 2.17.0 next: specifier: ^15.5.19 version: 15.5.19(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(sass@1.84.0) @@ -231,7 +231,7 @@ importers: version: link:../styles '@livekit/protocol': specifier: 'catalog:' - version: 1.47.0 + version: 1.46.6 '@microsoft/api-extractor': specifier: ^7.58.8 version: 7.58.8(@types/node@25.9.3) @@ -292,7 +292,7 @@ importers: devDependencies: '@livekit/protocol': specifier: 'catalog:' - version: 1.47.0 + version: 1.46.6 '@microsoft/api-extractor': specifier: ^7.58.8 version: 7.58.8(@types/node@24.7.0) @@ -370,7 +370,7 @@ importers: version: link:../react '@livekit/protocol': specifier: 'catalog:' - version: 1.47.0 + version: 1.46.6 '@radix-ui/react-select': specifier: ^2.2.6 version: 2.3.3(@types/react-dom@19.1.9(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -403,7 +403,7 @@ importers: version: 2.20.1(@types/dom-mediacapture-record@1.0.22) livekit-server-sdk: specifier: ^2.13.2 - version: 2.15.5 + version: 2.17.0 lucide-react: specifier: ^0.555.0 version: 0.555.0(react@19.2.4) @@ -1016,8 +1016,9 @@ packages: '@changesets/get-dependents-graph@2.1.4': resolution: {integrity: sha512-ZsS00x6WvmHq3sQv8oCMwL0f/z3wbXCVuSVTJwCnnmbC/iBdNJGFx1EcbMG4PC6sXRyH69liM4A2WKXzn/kRPg==} - '@changesets/get-github-info@0.5.2': - resolution: {integrity: sha512-JppheLu7S114aEs157fOZDjFqUDpm7eHdq5E8SSR0gUBTEK0cNSHsrSR5a66xs0z3RWuo46QvA3vawp8BxDHvg==} + '@changesets/get-github-info@1.0.0-next.3': + resolution: {integrity: sha512-HQXw3Kcz1hAdCQgGH4cWlKpJWcTeL8pWNJP4zDOR3igoHJQO31wzHhG29XPhxnDBK9wEdyI71Ft86KpXDOLv/Q==} + engines: {node: ^22.11 || ^24 || >=26} '@changesets/get-release-plan@4.0.16': resolution: {integrity: sha512-2K5Om6CrMPm45rtvckfzWo7e9jOVCKLCnXia5eUPaURH7/LWzri7pK1TycdzAuAtehLkW7VPbWLCSExTHmiI6g==} @@ -1046,9 +1047,6 @@ packages: '@changesets/types@4.1.0': resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} - '@changesets/types@5.2.1': - resolution: {integrity: sha512-myLfHbVOqaq9UtUKqR/nZA/OY7xFjQMdfgfqeZIBK4d0hA6pgxArvdv8M+6NUzzBsjWLOtvApv8YHr4qM+Kpfg==} - '@changesets/types@6.1.0': resolution: {integrity: sha512-rKQcJ+o1nKNgeoYRHKOS07tAMNd3YSN0uHaJOZYjBAgxfV7TUE7JE+z4BzZdQwb5hKaYbayKN5KrYV7ODb2rAA==} @@ -1965,8 +1963,8 @@ packages: peerDependencies: jsep: ^0.4.0||^1.0.0 - '@livekit/changesets-changelog-github@0.0.4': - resolution: {integrity: sha512-MXaiLYwgkYciZb8G2wkVtZ1pJJzZmVx5cM30Q+ClslrIYyAqQhRbPmZDM79/5CGxb1MTemR/tfOM25tgJgAK0g==} + '@livekit/changesets-changelog-github@0.2.0': + resolution: {integrity: sha512-HWgR0biITeIaLeBRIUpqYJ0Wacmx7JJjlqhiJtqYrGItqw0kRUe6tTB6vN0fU7tK1oh08hlgr3iYdGLNLNbrNQ==} '@livekit/krisp-noise-filter@0.2.12': resolution: {integrity: sha512-z7qSa3A6fn/DYTt0rITNAK0sNpBTzlnb29aM0ks8UfpbfTnnjAaFv3AC695mUq9iICPKrd5jOQT71gowiQ+Otg==} @@ -1979,8 +1977,8 @@ packages: '@livekit/protocol@1.46.6': resolution: {integrity: sha512-upzlHP1vi/kZ/QqALZTFskQ0ifqc2f15RKucHYOsIHJsaXvEYanG75mAb7o+Yomfs4XhQ4BaRsdY+TFHXpaqrg==} - '@livekit/protocol@1.47.0': - resolution: {integrity: sha512-oJW1OpVAQ+/QZlSnvwwAtkP0fJ6OerlL68k7DFxXScMqaKnkMncwffPOLHjLmem7xNpPUiD0tJ2KSDdsIrNcpQ==} + '@livekit/protocol@1.49.0': + resolution: {integrity: sha512-TCmihwjHBWAUdNrqvmrN/K59r7vDnPIy3OEaE3p0g4FvdcQTiLynmFC3igR25Q2fnifahhAJjnnfSCtWUK7kYg==} '@livekit/track-processors@0.3.3': resolution: {integrity: sha512-C5mBWe34ie0pfhCf9zAD65D26ZytzW/xGrj8Zc1BGh5kLISFDVQlefO78LZWw9K5saTamk60O4fzSCKqWMPMLA==} @@ -4497,10 +4495,6 @@ packages: camel-case@4.1.2: resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} - camelcase-keys@9.1.3: - resolution: {integrity: sha512-Rircqi9ch8AnZscQcsA1C47NFdaO3wukpmIRzYcDOrmvgt78hM/sj5pZhZNec2NM12uk5vTwRHZ4anGcrC4ZTg==} - engines: {node: '>=16'} - camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} @@ -4509,10 +4503,6 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - camelcase@8.0.0: - resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==} - engines: {node: '>=16'} - caniuse-lite@1.0.30001799: resolution: {integrity: sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==} @@ -4798,8 +4788,8 @@ packages: resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==} engines: {node: '>= 0.4'} - dataloader@1.4.0: - resolution: {integrity: sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw==} + dataloader@2.2.3: + resolution: {integrity: sha512-y2krtASINtPFS1rSDjacrFgn1dcUuoREVabwlOGOe4SdxenREqwjwjElAdwvbGM7kgZz9a3KVicWR7vcz8rnzA==} de-indent@1.0.2: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} @@ -6559,8 +6549,8 @@ packages: peerDependencies: '@types/dom-mediacapture-record': ^1 - livekit-server-sdk@2.15.5: - resolution: {integrity: sha512-Uzs4tVebvY4/+pO9pG1nMMVRDZPnOJolZIOWIiSEnUXFBywq+eNWHrR8mplKL8Qn13mSTQLjKVXfGCGTAMQeYg==} + livekit-server-sdk@2.17.0: + resolution: {integrity: sha512-GWNEQrUD13UwZNrmosyTVFPgeBvSU2lFKGxdA4DaUI5F4sMb1cGeep/PPEE9vvRNELJYpxWS0ImS4gQmovKUDA==} engines: {node: '>=18'} load-tsconfig@0.2.5: @@ -6666,10 +6656,6 @@ packages: makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} - map-obj@5.0.0: - resolution: {integrity: sha512-2L3MIgJynYrZ3TYMriLDLWocz15okFakV6J12HXvMXDHui2x/zgChzg1u9mFFGbbGWE+GsLpQByt4POb9Or+uA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - markdown-table@3.0.4: resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==} @@ -7007,15 +6993,6 @@ packages: resolution: {integrity: sha512-pyFS63ptit/P5WqUkt+UUfe+4oevH+bFeIiPPdfb0pFeYEu/1ELnJu5l+5EcTKYL5M7zaAa7S8ddywgXypqKCw==} engines: {node: '>= 0.4'} - node-fetch@2.7.0: - resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - node-fetch@3.3.2: resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -7550,10 +7527,6 @@ packages: queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - quick-lru@6.1.2: - resolution: {integrity: sha512-AAFUA5O1d83pIHEhJwWCq/RQcRukCkn/NSm2QsTEMle5f2hP0ChI2+3Xb051PZCkLryI/Ir1MVKviT2FIloaTQ==} - engines: {node: '>=12'} - radix-ui@1.6.2: resolution: {integrity: sha512-OwYUjzMwiInCUxgAWpPsavXC3Kh4iyi/49uU1/qZTG3RQDlvegyk1GOMiGvSkjua1RDb3JD3fo3eroL9FV4GQw==} peerDependencies: @@ -8320,9 +8293,6 @@ packages: resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==} engines: {node: '>=16'} - tr46@0.0.3: - resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@5.1.1: resolution: {integrity: sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==} engines: {node: '>=18'} @@ -8407,10 +8377,6 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} - type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} - type-fest@5.3.0: resolution: {integrity: sha512-d9CwU93nN0IA1QL+GSNDdwLAu1Ew5ZjTwupvedwg3WdfoH6pIDvYQ2hV0Uc2nKBLPq7NB5apCx57MLS5qlmO5g==} engines: {node: '>=20'} @@ -8738,9 +8704,6 @@ packages: resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} engines: {node: '>= 8'} - webidl-conversions@3.0.1: - resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} @@ -8779,9 +8742,6 @@ packages: resolution: {integrity: sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==} engines: {node: '>=18'} - whatwg-url@5.0.0: - resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} - which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} @@ -9401,12 +9361,9 @@ snapshots: picocolors: 1.1.1 semver: 7.8.4 - '@changesets/get-github-info@0.5.2': + '@changesets/get-github-info@1.0.0-next.3': dependencies: - dataloader: 1.4.0 - node-fetch: 2.7.0 - transitivePeerDependencies: - - encoding + dataloader: 2.2.3 '@changesets/get-release-plan@4.0.16': dependencies: @@ -9460,8 +9417,6 @@ snapshots: '@changesets/types@4.1.0': {} - '@changesets/types@5.2.1': {} - '@changesets/types@6.1.0': {} '@changesets/write@0.4.0': @@ -10311,13 +10266,11 @@ snapshots: dependencies: jsep: 1.4.0 - '@livekit/changesets-changelog-github@0.0.4': + '@livekit/changesets-changelog-github@0.2.0': dependencies: - '@changesets/get-github-info': 0.5.2 - '@changesets/types': 5.2.1 + '@changesets/get-github-info': 1.0.0-next.3 + '@changesets/types': 6.1.0 dotenv: 8.6.0 - transitivePeerDependencies: - - encoding '@livekit/krisp-noise-filter@0.2.12(livekit-client@2.20.1(@types/dom-mediacapture-record@1.0.22))': dependencies: @@ -10329,7 +10282,7 @@ snapshots: dependencies: '@bufbuild/protobuf': 1.10.1 - '@livekit/protocol@1.47.0': + '@livekit/protocol@1.49.0': dependencies: '@bufbuild/protobuf': 1.10.1 @@ -13639,19 +13592,10 @@ snapshots: pascal-case: 3.1.2 tslib: 2.8.1 - camelcase-keys@9.1.3: - dependencies: - camelcase: 8.0.0 - map-obj: 5.0.0 - quick-lru: 6.1.2 - type-fest: 4.41.0 - camelcase@5.3.1: {} camelcase@6.3.0: {} - camelcase@8.0.0: {} - caniuse-lite@1.0.30001799: {} capital-case@1.0.4: @@ -13912,7 +13856,7 @@ snapshots: es-errors: 1.3.0 is-data-view: 1.0.2 - dataloader@1.4.0: {} + dataloader@2.2.3: {} de-indent@1.0.2: {} @@ -16301,11 +16245,10 @@ snapshots: typed-emitter: 2.1.0 webrtc-adapter: 9.0.6 - livekit-server-sdk@2.15.5: + livekit-server-sdk@2.17.0: dependencies: '@bufbuild/protobuf': 1.10.1 - '@livekit/protocol': 1.47.0 - camelcase-keys: 9.1.3 + '@livekit/protocol': 1.49.0 jose: 5.10.0 load-tsconfig@0.2.5: {} @@ -16397,8 +16340,6 @@ snapshots: dependencies: tmpl: 1.0.5 - map-obj@5.0.0: {} - markdown-table@3.0.4: {} marked@17.0.3: {} @@ -17013,10 +16954,6 @@ snapshots: object.entries: 1.1.9 semver: 6.3.1 - node-fetch@2.7.0: - dependencies: - whatwg-url: 5.0.0 - node-fetch@3.3.2: dependencies: data-uri-to-buffer: 4.0.1 @@ -17509,8 +17446,6 @@ snapshots: queue-microtask@1.2.3: {} - quick-lru@6.1.2: {} - radix-ui@1.6.2(@types/react-dom@19.1.9(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4): dependencies: '@radix-ui/primitive': 1.1.5 @@ -18508,8 +18443,6 @@ snapshots: dependencies: tldts: 7.0.23 - tr46@0.0.3: {} - tr46@5.1.1: dependencies: punycode: 2.3.1 @@ -18607,8 +18540,6 @@ snapshots: type-fest@0.21.3: {} - type-fest@4.41.0: {} - type-fest@5.3.0: dependencies: tagged-tag: 1.0.0 @@ -19064,8 +18995,6 @@ snapshots: web-streams-polyfill@3.3.3: {} - webidl-conversions@3.0.1: {} - webidl-conversions@7.0.0: {} webpack-sources@3.5.0: {} @@ -19204,11 +19133,6 @@ snapshots: tr46: 5.1.1 webidl-conversions: 7.0.0 - whatwg-url@5.0.0: - dependencies: - tr46: 0.0.3 - webidl-conversions: 3.0.1 - which-boxed-primitive@1.1.1: dependencies: is-bigint: 1.1.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 63c8e2045..209966829 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -6,7 +6,10 @@ packages: catalog: livekit-client: ^2.20.1 - '@livekit/protocol': ^1.44.0 + # Must match the exact @livekit/protocol version that livekit-client pins, so the + # workspace and livekit-client share a single copy. Mismatched versions cause + # structurally-incompatible protobuf types (e.g. TrackInfo) and break the build. + '@livekit/protocol': 1.46.6 eslint: ^10.0.0 prettier: ^3.8.1