kuzzle 2.50.0-beta.7 → 2.50.0-beta.9

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.
@@ -48,7 +48,7 @@ class Validation {
48
48
  * Walks through all types in "defaultTypesFiles" initializes all types
49
49
  */
50
50
  init() {
51
- [
51
+ for (const typeFile of [
52
52
  "anything",
53
53
  "boolean",
54
54
  "date",
@@ -62,10 +62,10 @@ class Validation {
62
62
  "object",
63
63
  "string",
64
64
  "url",
65
- ].forEach((typeFile) => {
65
+ ]) {
66
66
  const TypeConstructor = require(`./types/${typeFile}`);
67
67
  this.addType(new TypeConstructor());
68
- });
68
+ }
69
69
  }
70
70
  /**
71
71
  * Validates a document against its collection specifications
@@ -153,7 +153,7 @@ class Kuzzle extends KuzzleEventEmitter_1.default {
153
153
  // This will init the cluster module if enabled
154
154
  await this.initKuzzleNode();
155
155
  this.vault = vault_1.default.load(options.vaultKey, options.secretsFile);
156
- await this.validation.init();
156
+ this.validation.init();
157
157
  await this.tokenManager.init();
158
158
  await this.funnel.init();
159
159
  this.statistics.init();
package/dist/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.50.0-beta.7",
4
+ "version": "2.50.0-beta.9",
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
  "scripts": {
7
7
  "build": "rm -Rf ./dist && tsc && node ./bin/copy-protobuf.js",
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.50.0-beta.7",
4
+ "version": "2.50.0-beta.9",
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
  "scripts": {
7
7
  "build": "rm -Rf ./dist && tsc && node ./bin/copy-protobuf.js",