Update Biome to 2.6.3 and pnpm to 12.16.1
TypeScript stays on 6, vue-tsc can't load TypeScript 7 yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aa61efcc10
commit
f53d39ae69
4 files changed
+128
-105
No files matched your search
+3
-3
@@ -1623,7 +1623,7 @@ function middleman() {
|
||||
channel.addEventListener('open', () => flush(side));
|
||||
flush(side);
|
||||
};
|
||||
const describe = async (pc: RTCPeerConnection) => {
|
||||
const localSdp = async (pc: RTCPeerConnection) => {
|
||||
await pc.setLocalDescription();
|
||||
while (pc.iceGatheringState !== 'complete') {
|
||||
await new Promise((resolve) => pc.addEventListener('icegatheringstatechange', resolve, { once: true }));
|
||||
@@ -1637,12 +1637,12 @@ function middleman() {
|
||||
const pc = new RTCPeerConnection();
|
||||
pc.ondatachannel = ({ channel }) => attach('receiver', channel, 'sender');
|
||||
await pc.setRemoteDescription({ type: 'offer', sdp });
|
||||
return describe(pc);
|
||||
return localSdp(pc);
|
||||
},
|
||||
offer(reflect) {
|
||||
toSender = new RTCPeerConnection();
|
||||
attach('sender', toSender.createDataChannel('file'), reflect ? 'sender' : 'receiver');
|
||||
return describe(toSender);
|
||||
return localSdp(toSender);
|
||||
},
|
||||
accept: (sdp) => toSender.setRemoteDescription({ type: 'answer', sdp }),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user