kuzzle 2.48.0-beta.1 → 2.48.0

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.
@@ -147,17 +147,17 @@ class TokenManager {
147
147
  */
148
148
  unlink(token, connectionId) {
149
149
  if (!token) {
150
- this.logger.warn(`tried to unlink connection "${connectionId}" with no token`);
150
+ this.logger.trace(`tried to unlink connection "${connectionId}" with no token`);
151
151
  return;
152
152
  }
153
153
  if (token.userId === this.anonymousUserId) {
154
- this.logger.warn(`tried to unlink connection "${connectionId}" from anonymous user`);
154
+ this.logger.trace(`tried to unlink connection "${connectionId}" from anonymous user`);
155
155
  return;
156
156
  }
157
157
  const idx = ManagedToken.indexFor(token);
158
158
  const pos = this.tokens.search({ idx });
159
159
  if (pos === -1) {
160
- this.logger.warn(`tried to unlink connection "${connectionId}" with no token associated`);
160
+ this.logger.trace(`tried to unlink connection "${connectionId}" with no token associated`);
161
161
  return;
162
162
  }
163
163
  this.removeConnectionLinkedToToken(connectionId, this.tokens.array[pos]);
@@ -173,7 +173,7 @@ class TokenManager {
173
173
  async removeConnection(connectionId) {
174
174
  const managedToken = this.tokensByConnection.get(connectionId);
175
175
  if (!managedToken) {
176
- this.logger.warn(`tried to remove connection "${connectionId}" with no token associated`);
176
+ this.logger.trace(`tried to remove connection "${connectionId}" with no token associated`);
177
177
  return;
178
178
  }
179
179
  this.unlink(managedToken, connectionId);
@@ -189,7 +189,7 @@ class TokenManager {
189
189
  */
190
190
  async expire(token) {
191
191
  if (token.userId === this.anonymousUserId) {
192
- this.logger.warn(`tried to expire an anonymous token`);
192
+ this.logger.trace(`tried to expire an anonymous token`);
193
193
  return;
194
194
  }
195
195
  const idx = ManagedToken.indexFor(token);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kuzzle",
3
3
  "author": "The Kuzzle Team <support@kuzzle.io>",
4
- "version": "2.48.0-beta.1",
4
+ "version": "2.48.0",
5
5
  "description": "Kuzzle is an open-source solution that handles all the data management through a secured API, with a large choice of protocols.",
6
6
  "bin": "bin/start-kuzzle-server",
7
7
  "scripts": {