Skip to content

Commit

Permalink
Update package-lock.json and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
RSamaium committed Dec 3, 2023
1 parent ccb547a commit b25c666
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 5 deletions.
47 changes: 45 additions & 2 deletions sync-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion sync-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-room",
"version": "3.0.3",
"version": "3.0.4",
"description": "",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -21,6 +21,7 @@
"license": "MIT",
"dependencies": {
"@google-cloud/agones-sdk": "^1.35.0",
"buffer": "^6.0.3",
"msgpack-lite": "0.1.26",
"rxjs": "7.8.1"
},
Expand Down
5 changes: 3 additions & 2 deletions sync-server/src/transports/socket.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { TransportCommon } from './common';
import { BehaviorSubject, Observable } from 'rxjs';
import { Utils } from '../utils';
import { BehaviorSubject } from 'rxjs';
import { Utils } from '../utils';
import { NotAuthorized } from '../errors/not-authorized';
import { Buffer } from 'buffer';

export type BandwidthSocket = { incoming: { size: number, timestamp: number }[], outgoing: { size: number, timestamp: number }[] }
export type BandwidthData = Record<string, BehaviorSubject<BandwidthSocket>>
Expand Down

0 comments on commit b25c666

Please sign in to comment.