@communecter/cocolight-api-client 1.0.111 → 1.0.112
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/cocolight-api-client.browser.js +1 -1
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/api/User.ts +2 -2
package/package.json
CHANGED
package/src/api/User.ts
CHANGED
|
@@ -1200,7 +1200,7 @@ export class User extends BaseEntity<UserItemNormalized> {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
override isInviting(): boolean {
|
|
1202
1202
|
try {
|
|
1203
|
-
this._validateMemberPreconditions("isInviting", ["organizations", "projects", "events"]);
|
|
1203
|
+
this._validateMemberPreconditions("isInviting", ["citoyens", "organizations", "projects", "events"]);
|
|
1204
1204
|
} catch{
|
|
1205
1205
|
return false;
|
|
1206
1206
|
}
|
|
@@ -1287,7 +1287,7 @@ export class User extends BaseEntity<UserItemNormalized> {
|
|
|
1287
1287
|
*/
|
|
1288
1288
|
override isToBeValidated(): boolean {
|
|
1289
1289
|
try {
|
|
1290
|
-
this._validateMemberPreconditions("isToBeValidated", ["organizations", "projects", "events"]);
|
|
1290
|
+
this._validateMemberPreconditions("isToBeValidated", ["citoyens", "organizations", "projects", "events"]);
|
|
1291
1291
|
} catch{
|
|
1292
1292
|
return false;
|
|
1293
1293
|
}
|