polyv-live-api-sdk 1.0.15 → 1.0.17
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/dist/index.cjs +5 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/dist/services/v4/chat.service.d.ts +1 -1
- package/dist/services/web.service.d.ts.map +1 -1
- package/dist/types/v4-chat.d.ts +2 -2
- package/dist/types/v4-chat.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9069,15 +9069,14 @@ var WebService = class {
|
|
|
9069
9069
|
throw new PolyVValidationError("enabled must be Y or N");
|
|
9070
9070
|
}
|
|
9071
9071
|
}
|
|
9072
|
-
const
|
|
9073
|
-
authSettings: params.authSettings
|
|
9074
|
-
};
|
|
9072
|
+
const requestParams = {};
|
|
9075
9073
|
if (params.channelId) {
|
|
9076
|
-
|
|
9074
|
+
requestParams.channelId = params.channelId;
|
|
9077
9075
|
}
|
|
9078
9076
|
const response = await this.client.httpClient.post(
|
|
9079
9077
|
"/live/v3/channel/auth/update",
|
|
9080
|
-
|
|
9078
|
+
{ authSettings: params.authSettings },
|
|
9079
|
+
{ params: requestParams, headers: { "Content-Type": "application/json" } }
|
|
9081
9080
|
);
|
|
9082
9081
|
return response;
|
|
9083
9082
|
}
|
|
@@ -15521,7 +15520,7 @@ var V4ChatService = class {
|
|
|
15521
15520
|
* channelId: '123456',
|
|
15522
15521
|
* limitTime: 60,
|
|
15523
15522
|
* message: 'Please check in',
|
|
15524
|
-
* forceCheckInEnabled:
|
|
15523
|
+
* forceCheckInEnabled: 'Y',
|
|
15525
15524
|
* },
|
|
15526
15525
|
* ],
|
|
15527
15526
|
* });
|