polyv-live-api-sdk 1.0.5 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +186 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/services/live-interaction.service.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -5285,6 +5285,9 @@ var LiveInteractionService = class {
|
|
|
5285
5285
|
* ```
|
|
5286
5286
|
*/
|
|
5287
5287
|
async getCheckinList(params) {
|
|
5288
|
+
if (!params.channelId) {
|
|
5289
|
+
throw new Error("channelId is required");
|
|
5290
|
+
}
|
|
5288
5291
|
const response = await this.client.httpClient.get(
|
|
5289
5292
|
"/live/v2/chat/getCheckinList",
|
|
5290
5293
|
{ params }
|