@travetto/model-elasticsearch 6.0.0 → 6.0.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": "@travetto/model-elasticsearch",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Elasticsearch backing for the travetto model module, with real-time modeling support for Elasticsearch mappings.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"elasticsearch",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"directory": "module/model-elasticsearch"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@elastic/elasticsearch": "^
|
|
31
|
-
"@travetto/cli": "^6.0.
|
|
32
|
-
"@travetto/config": "^6.0.
|
|
33
|
-
"@travetto/model": "^6.0.
|
|
34
|
-
"@travetto/model-query": "^6.0.
|
|
30
|
+
"@elastic/elasticsearch": "^9.1.1",
|
|
31
|
+
"@travetto/cli": "^6.0.1",
|
|
32
|
+
"@travetto/config": "^6.0.1",
|
|
33
|
+
"@travetto/model": "^6.0.1",
|
|
34
|
+
"@travetto/model-query": "^6.0.1"
|
|
35
35
|
},
|
|
36
36
|
"travetto": {
|
|
37
37
|
"displayName": "Elasticsearch Model Source"
|
package/src/service.ts
CHANGED
|
@@ -117,7 +117,7 @@ export class ElasticsearchModelService implements
|
|
|
117
117
|
this.manager = new IndexManager(this.config, this.client);
|
|
118
118
|
|
|
119
119
|
await ModelStorageUtil.registerModelChangeListener(this.manager);
|
|
120
|
-
ShutdownManager.onGracefulShutdown(() => this.client.close()
|
|
120
|
+
ShutdownManager.onGracefulShutdown(() => this.client.close());
|
|
121
121
|
ModelExpiryUtil.registerCull(this);
|
|
122
122
|
}
|
|
123
123
|
|