chore: use trystero@0.11.4

This commit is contained in:
Jeremy Kahn 2022-10-04 09:14:34 -05:00
parent d14ae4c2b3
commit ebb80c3e6c
3 changed files with 10 additions and 10 deletions

14
package-lock.json generated
View File

@ -32,7 +32,7 @@
"react-syntax-highlighter": "^15.5.0", "react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"sass": "^1.54.3", "sass": "^1.54.3",
"trystero": "^0.11.3", "trystero": "^0.11.4",
"typeface-public-sans": "^1.1.13", "typeface-public-sans": "^1.1.13",
"typeface-roboto": "^1.1.13", "typeface-roboto": "^1.1.13",
"typescript": "^4.7.4", "typescript": "^4.7.4",
@ -22917,9 +22917,9 @@
"integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==" "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA=="
}, },
"node_modules/trystero": { "node_modules/trystero": {
"version": "0.11.3", "version": "0.11.4",
"resolved": "https://registry.npmjs.org/trystero/-/trystero-0.11.3.tgz", "resolved": "https://registry.npmjs.org/trystero/-/trystero-0.11.4.tgz",
"integrity": "sha512-UOHbONL7AE3ie5lQBJ6gflfETEuB7LCscmmq2LQcR21UTJAomtT5Xk8EpJFcHn/O4mQTlSCC6cF7pynydFygNQ==", "integrity": "sha512-x5SkPXlodoNhs1o2TLjarABfBLPtuR2iKovk3mtboCCr349eclpGrK3JPjs4Rp+coAMqC+l/ZcC39GCR9VCvlQ==",
"dependencies": { "dependencies": {
"firebase": "^9.6.5", "firebase": "^9.6.5",
"ipfs-core": "0.9.0", "ipfs-core": "0.9.0",
@ -41158,9 +41158,9 @@
"integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==" "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA=="
}, },
"trystero": { "trystero": {
"version": "0.11.3", "version": "0.11.4",
"resolved": "https://registry.npmjs.org/trystero/-/trystero-0.11.3.tgz", "resolved": "https://registry.npmjs.org/trystero/-/trystero-0.11.4.tgz",
"integrity": "sha512-UOHbONL7AE3ie5lQBJ6gflfETEuB7LCscmmq2LQcR21UTJAomtT5Xk8EpJFcHn/O4mQTlSCC6cF7pynydFygNQ==", "integrity": "sha512-x5SkPXlodoNhs1o2TLjarABfBLPtuR2iKovk3mtboCCr349eclpGrK3JPjs4Rp+coAMqC+l/ZcC39GCR9VCvlQ==",
"requires": { "requires": {
"firebase": "^9.6.5", "firebase": "^9.6.5",
"ipfs-core": "0.9.0", "ipfs-core": "0.9.0",

View File

@ -28,7 +28,7 @@
"react-syntax-highlighter": "^15.5.0", "react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^3.0.1", "remark-gfm": "^3.0.1",
"sass": "^1.54.3", "sass": "^1.54.3",
"trystero": "^0.11.3", "trystero": "^0.11.4",
"typeface-public-sans": "^1.1.13", "typeface-public-sans": "^1.1.13",
"typeface-roboto": "^1.1.13", "typeface-roboto": "^1.1.13",
"typescript": "^4.7.4", "typescript": "^4.7.4",

View File

@ -156,8 +156,8 @@ export function Room({
} }
} }
receivePeerId((userId: string, peerId?: string) => { receivePeerId((userId: string, peerId: string) => {
if (peerId) upsertToPeerList({ peerId, userId }) upsertToPeerList({ peerId, userId })
}) })
receiveMessage(message => { receiveMessage(message => {