@deadair/sdk 0.74.4 → 0.76.0

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.js CHANGED
@@ -3544,8 +3544,9 @@ var PlayoutClient = class {
3544
3544
  * @name Skip the current item
3545
3545
  * @description Ends the item on air so the next one starts immediately. The station owns the decoder, so this lands at once rather than waiting out audio already committed to a player
3546
3546
  */
3547
- async skipTheCurrentItem() {
3548
- const result = await this.fetch(`/playout/skip`, {
3547
+ async skipTheCurrentItem(query) {
3548
+ const qs = buildQueryString(query);
3549
+ const result = await this.fetch(`/playout/skip${qs}`, {
3549
3550
  method: "POST"
3550
3551
  });
3551
3552
  return await parseJson(result);