@boarteam/boar-pack-users-backend 5.3.0 → 5.3.1

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": "@boarteam/boar-pack-users-backend",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "description": "NestJS Users module including permissions system, authentication strategies etc",
5
5
  "main": "src/index",
6
6
  "files": [
@@ -60,5 +60,5 @@
60
60
  "yalc:push": "yalc push",
61
61
  "gen-types": "SWAGGER=true JWT_SECRET=swagger nest start"
62
62
  },
63
- "gitHead": "f85e185b5cc02ed4dad0c5da9b2f71759035e9af"
63
+ "gitHead": "00a92888f2e0604ff6806655523913426657e72f"
64
64
  }
@@ -98,7 +98,8 @@ export class EventLogsService extends TypeOrmCrudService<EventLog> {
98
98
  return request?.[EventLogsService.requestHandled];
99
99
  }
100
100
 
101
- operationalLog(eventLog: Partial<EventLog>): void {
101
+ // TODO: Remove async in the next major version (breaking change)
102
+ async operationalLog(eventLog: Partial<EventLog>): Promise<void> {
102
103
  this.logsStore.push({
103
104
  logLevel: LogLevel.INFO,
104
105
  userRole: UserRole.SYSTEM,