polyv-live-api-sdk 1.0.14 → 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/dist/index.cjs CHANGED
@@ -6985,7 +6985,9 @@ var LiveInteractionService = class {
6985
6985
  }
6986
6986
  validateQuestionPayload(params) {
6987
6987
  this.validateRequiredChannelId(params.channelId);
6988
- this.validateRequiredString(params.questionId, "questionId");
6988
+ if (params.questionId !== void 0) {
6989
+ this.validateRequiredString(params.questionId, "questionId");
6990
+ }
6989
6991
  this.validateRequiredString(params.type, "type");
6990
6992
  this.validateRequiredString(params.answer, "answer");
6991
6993
  this.validateRequiredString(params.name, "name");