polyv-live-api-sdk 1.0.15 → 1.0.16
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 +4 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/services/web.service.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9062,15 +9062,14 @@ var WebService = class {
|
|
|
9062
9062
|
throw new PolyVValidationError("enabled must be Y or N");
|
|
9063
9063
|
}
|
|
9064
9064
|
}
|
|
9065
|
-
const
|
|
9066
|
-
authSettings: params.authSettings
|
|
9067
|
-
};
|
|
9065
|
+
const requestParams = {};
|
|
9068
9066
|
if (params.channelId) {
|
|
9069
|
-
|
|
9067
|
+
requestParams.channelId = params.channelId;
|
|
9070
9068
|
}
|
|
9071
9069
|
const response = await this.client.httpClient.post(
|
|
9072
9070
|
"/live/v3/channel/auth/update",
|
|
9073
|
-
|
|
9071
|
+
{ authSettings: params.authSettings },
|
|
9072
|
+
{ params: requestParams, headers: { "Content-Type": "application/json" } }
|
|
9074
9073
|
);
|
|
9075
9074
|
return response;
|
|
9076
9075
|
}
|