This commit is contained in:
Jeremy Kahn 2024-07-08 21:26:24 -05:00
parent 8ee2ebfbb5
commit d4213cec13
4 changed files with 1916 additions and 3652 deletions

5562
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -41,7 +41,7 @@
"sdp": "^3.2.0",
"secure-file-transfer": "^0.0.8",
"streamsaver": "^2.0.6",
"trystero": "^0.18.0",
"trystero": "^0.20.0",
"typeface-public-sans": "^1.1.13",
"typeface-roboto": "^1.1.13",
"typescript": "^5.5.3",

View File

@ -28,7 +28,7 @@ mockTimeService.now = () => mockNowTime
vi.mock('../../lib/Audio')
vi.mock('trystero', () => ({
vi.mock('trystero/torrent', () => ({
joinRoom: () => ({
makeAction: () => [mockMessagedSender, () => {}, () => {}],
ping: () => Promise.resolve(0),

View File

@ -1,4 +1,4 @@
import { joinRoom, Room, BaseRoomConfig, DataPayload } from 'trystero'
import { joinRoom, Room, BaseRoomConfig, DataPayload } from 'trystero/torrent'
import { RelayConfig } from 'trystero/torrent'
import { sleep } from 'lib/sleep'