castle-chat-lib
Advanced tools
Comparing version 2.16.0 to 2.17.0
{ | ||
"name": "castle-chat-lib", | ||
"version": "2.16.0", | ||
"version": "2.17.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -189,2 +189,3 @@ import _ from 'lodash'; | ||
async joinChannelAsync(channelId) { | ||
let data; | ||
try { | ||
@@ -196,2 +197,6 @@ let joinResult = await this._api.graphqlAsync( | ||
channelId | ||
name | ||
type | ||
otherUserId | ||
gameId | ||
} | ||
@@ -210,2 +215,3 @@ } | ||
await observeChannelAsync(channelId); | ||
data = joinResult.data.joinChatChannel; | ||
} catch (e) { | ||
@@ -215,2 +221,3 @@ console.log('join channel error'); | ||
} | ||
return data; | ||
} | ||
@@ -217,0 +224,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8887
301
1