Skip to content

Commit

Permalink
feat: re-add stream ID
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed May 9, 2021
1 parent ae60868 commit b34bd44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"socket.io-client": "^4.0.1",
"split2": "^3.2.2",
"throttle-debounce": "^3.0.1",
"uuid": "^3.4.0",
"yargs": "^16.2.0"
},
"description": "A CLI program for Roarr logger.",
Expand Down
4 changes: 4 additions & 0 deletions src/factories/createRemoteStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import {
import {
throttle,
} from 'throttle-debounce';
import {
v4 as uuid,
} from 'uuid';

export const createRemoteStream = (
apiUrl: string,
Expand All @@ -19,6 +22,7 @@ export const createRemoteStream = (
query: {
hostname: os.hostname(),
name: name || '',
stream: uuid(),
tags: tags || '',
token: apiKey,
version: '1.0.0',
Expand Down

0 comments on commit b34bd44

Please sign in to comment.