@todesktop/shared 7.188.75 → 7.188.76

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.
@@ -150,10 +150,9 @@ export interface FeatureFlags {
150
150
  }
151
151
  export interface UserIHaveSentInviteTo {
152
152
  email: string;
153
- permissions: string;
154
- privileges?: {
155
- canBuild?: boolean;
156
- canRelease?: boolean;
153
+ permissions?: {
154
+ canBuild: boolean;
155
+ canRelease: boolean;
157
156
  };
158
157
  name: string;
159
158
  sender: UserIHaveAcceptedInviteFrom;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.75",
3
+ "version": "7.188.76",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/toDesktop.ts CHANGED
@@ -171,10 +171,9 @@ export interface FeatureFlags {
171
171
  // uses an `email` identifier because an invited user may not have an account
172
172
  export interface UserIHaveSentInviteTo {
173
173
  email: string;
174
- permissions: string;
175
- privileges?: {
176
- canBuild?: boolean;
177
- canRelease?: boolean;
174
+ permissions?: {
175
+ canBuild: boolean;
176
+ canRelease: boolean;
178
177
  };
179
178
  name: string;
180
179
  // this allows us to encode information about the sender without loosening firebase privileges