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 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 body = {
9073
- authSettings: params.authSettings
9074
- };
9072
+ const requestParams = {};
9075
9073
  if (params.channelId) {
9076
- body.channelId = params.channelId;
9074
+ requestParams.channelId = params.channelId;
9077
9075
  }
9078
9076
  const response = await this.client.httpClient.post(
9079
9077
  "/live/v3/channel/auth/update",
9080
- body
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: true,
15523
+ * forceCheckInEnabled: 'Y',
15525
15524
  * },
15526
15525
  * ],
15527
15526
  * });