@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@communecter/cocolight-api-client",
3
- "version": "1.0.111",
3
+ "version": "1.0.112",
4
4
  "description": "Client Axios simplifié pour l'API cocolight",
5
5
  "repository": {
6
6
  "type": "git",
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
  }