polyv-live-api-sdk 1.0.14-rc.0 → 1.0.15
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/LICENSE +21 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/services/live-interaction.service.d.ts.map +1 -1
- package/dist/types/live-interaction.d.ts +1 -1
- package/dist/types/live-interaction.d.ts.map +1 -1
- package/package.json +16 -17
package/dist/index.d.cts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6978,7 +6978,9 @@ var LiveInteractionService = class {
|
|
|
6978
6978
|
}
|
|
6979
6979
|
validateQuestionPayload(params) {
|
|
6980
6980
|
this.validateRequiredChannelId(params.channelId);
|
|
6981
|
-
|
|
6981
|
+
if (params.questionId !== void 0) {
|
|
6982
|
+
this.validateRequiredString(params.questionId, "questionId");
|
|
6983
|
+
}
|
|
6982
6984
|
this.validateRequiredString(params.type, "type");
|
|
6983
6985
|
this.validateRequiredString(params.answer, "answer");
|
|
6984
6986
|
this.validateRequiredString(params.name, "name");
|