@tak-ps/cloudtak 13.109.1 → 13.109.2

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.
@@ -88,7 +88,13 @@ export default class Subscription {
88
88
  */
89
89
  refresh(opts?: {
90
90
  refreshMission?: boolean;
91
+ refreshRole?: boolean;
91
92
  }): Promise<void>;
93
+ /**
94
+ * Refresh the caller's role from the server - it changes when the user
95
+ * subscribes, is promoted by an owner, or gains a mission token
96
+ */
97
+ refreshRole(): Promise<MissionRole>;
92
98
  fetch(): Promise<Mission>;
93
99
  /**
94
100
  * List all locally stored missions, with optional filtering
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.109.1",
4
+ "version": "13.109.2",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"