chore(deps): use trystero@0.20
This commit is contained in:
parent
8ee2ebfbb5
commit
d4213cec13
5562
package-lock.json
generated
5562
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -41,7 +41,7 @@
|
|||||||
"sdp": "^3.2.0",
|
"sdp": "^3.2.0",
|
||||||
"secure-file-transfer": "^0.0.8",
|
"secure-file-transfer": "^0.0.8",
|
||||||
"streamsaver": "^2.0.6",
|
"streamsaver": "^2.0.6",
|
||||||
"trystero": "^0.18.0",
|
"trystero": "^0.20.0",
|
||||||
"typeface-public-sans": "^1.1.13",
|
"typeface-public-sans": "^1.1.13",
|
||||||
"typeface-roboto": "^1.1.13",
|
"typeface-roboto": "^1.1.13",
|
||||||
"typescript": "^5.5.3",
|
"typescript": "^5.5.3",
|
||||||
|
@ -28,7 +28,7 @@ mockTimeService.now = () => mockNowTime
|
|||||||
|
|
||||||
vi.mock('../../lib/Audio')
|
vi.mock('../../lib/Audio')
|
||||||
|
|
||||||
vi.mock('trystero', () => ({
|
vi.mock('trystero/torrent', () => ({
|
||||||
joinRoom: () => ({
|
joinRoom: () => ({
|
||||||
makeAction: () => [mockMessagedSender, () => {}, () => {}],
|
makeAction: () => [mockMessagedSender, () => {}, () => {}],
|
||||||
ping: () => Promise.resolve(0),
|
ping: () => Promise.resolve(0),
|
||||||
|
@ -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 { RelayConfig } from 'trystero/torrent'
|
||||||
|
|
||||||
import { sleep } from 'lib/sleep'
|
import { sleep } from 'lib/sleep'
|
||||||
|
Loading…
Reference in New Issue
Block a user