@100mslive/hms-video-store
Advanced tools
Comparing version 0.12.12-alpha.0 to 0.12.12-alpha.1
{ | ||
"version": "0.12.12-alpha.0", | ||
"version": "0.12.12-alpha.1", | ||
"license": "MIT", | ||
@@ -76,3 +76,3 @@ "repository": { | ||
], | ||
"gitHead": "5e32c0c62aba5aa7786a01912511da6ac33461a2" | ||
"gitHead": "d1da18b74e26ac0defecd1509864a9d8dd8c258e" | ||
} |
@@ -749,5 +749,2 @@ import HMSRoom from './models/HMSRoom'; | ||
async findPeerByName({ query, limit = 10, offset }: FindPeerByNameRequestParams) { | ||
if (!query) { | ||
throw ErrorFactory.GenericErrors.ValidationFailed('Invalid query'); | ||
} | ||
const { | ||
@@ -757,3 +754,3 @@ peers, | ||
eof, | ||
} = await this.transport.signal.findPeerByName({ query: query.toLowerCase(), limit, offset }); | ||
} = await this.transport.signal.findPeerByName({ query: query?.toLowerCase(), limit, offset }); | ||
if (peers.length > 0) { | ||
@@ -760,0 +757,0 @@ return { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4473014
38518