@deadair/sdk 0.11.0 → 0.12.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
@@ -1775,11 +1775,11 @@ var PersonasClient = class {
1775
1775
  return await parseJson(result);
1776
1776
  }
1777
1777
  /**
1778
- * @name Put persona on air
1779
- * @description Puts this persona on air and takes the previous one off
1778
+ * @name Set the station host
1779
+ * @description Makes this persona the station's own host, and the previous one no longer is
1780
1780
  */
1781
- async putPersonaOnAir(id) {
1782
- const result = await this.fetch(`/personas/${encodeURIComponent(id)}/active`, {
1781
+ async setTheStationHost(id) {
1782
+ const result = await this.fetch(`/personas/${encodeURIComponent(id)}/default-host`, {
1783
1783
  method: "PUT"
1784
1784
  });
1785
1785
  return await parseJson(result);