@deadair/sdk 0.11.1 → 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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/personas/personas.client.d.ts +3 -3
- package/dist/personas/personas.client.d.ts.map +1 -1
- package/dist/personas/types/personas.types.d.ts +35 -33
- package/dist/personas/types/personas.types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1775,11 +1775,11 @@ var PersonasClient = class {
|
|
|
1775
1775
|
return await parseJson(result);
|
|
1776
1776
|
}
|
|
1777
1777
|
/**
|
|
1778
|
-
* @name
|
|
1779
|
-
* @description
|
|
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
|
|
1782
|
-
const result = await this.fetch(`/personas/${encodeURIComponent(id)}/
|
|
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);
|