@platformatic/runtime 2.7.1-alpha.1 → 2.7.1-alpha.2

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/config.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type HttpsSchemasPlatformaticDevPlatformaticRuntime271Alpha1Json = {
8
+ export type HttpsSchemasPlatformaticDevPlatformaticRuntime271Alpha2Json = {
9
9
  [k: string]: unknown;
10
10
  } & {
11
11
  $schema?: string;
package/lib/runtime.js CHANGED
@@ -243,6 +243,10 @@ class Runtime extends EventEmitter {
243
243
  this.#loggerDestination = null
244
244
  }
245
245
 
246
+ if (this.#sharedHttpCache?.close) {
247
+ await this.#sharedHttpCache.close()
248
+ }
249
+
246
250
  this.#updateStatus('closed')
247
251
  }
248
252
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/runtime",
3
- "version": "2.7.1-alpha.1",
3
+ "version": "2.7.1-alpha.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -35,12 +35,12 @@
35
35
  "typescript": "^5.5.4",
36
36
  "undici-oidc-interceptor": "^0.5.0",
37
37
  "why-is-node-running": "^2.2.2",
38
- "@platformatic/composer": "2.7.1-alpha.1",
39
- "@platformatic/service": "2.7.1-alpha.1",
40
- "@platformatic/db": "2.7.1-alpha.1",
41
- "@platformatic/node": "2.7.1-alpha.1",
42
- "@platformatic/sql-graphql": "2.7.1-alpha.1",
43
- "@platformatic/sql-mapper": "2.7.1-alpha.1"
38
+ "@platformatic/db": "2.7.1-alpha.2",
39
+ "@platformatic/composer": "2.7.1-alpha.2",
40
+ "@platformatic/service": "2.7.1-alpha.2",
41
+ "@platformatic/node": "2.7.1-alpha.2",
42
+ "@platformatic/sql-graphql": "2.7.1-alpha.2",
43
+ "@platformatic/sql-mapper": "2.7.1-alpha.2"
44
44
  },
45
45
  "dependencies": {
46
46
  "@fastify/error": "^4.0.0",
@@ -72,13 +72,13 @@
72
72
  "undici": "7.0.0-alpha.3",
73
73
  "undici-thread-interceptor": "^0.7.0",
74
74
  "ws": "^8.16.0",
75
- "@platformatic/config": "2.7.1-alpha.1",
76
- "@platformatic/basic": "2.7.1-alpha.1",
77
- "@platformatic/generators": "2.7.1-alpha.1",
78
- "@platformatic/telemetry": "2.7.1-alpha.1",
79
- "@platformatic/ts-compiler": "2.7.1-alpha.1",
80
- "@platformatic/itc": "2.7.1-alpha.1",
81
- "@platformatic/utils": "2.7.1-alpha.1"
75
+ "@platformatic/basic": "2.7.1-alpha.2",
76
+ "@platformatic/config": "2.7.1-alpha.2",
77
+ "@platformatic/itc": "2.7.1-alpha.2",
78
+ "@platformatic/ts-compiler": "2.7.1-alpha.2",
79
+ "@platformatic/telemetry": "2.7.1-alpha.2",
80
+ "@platformatic/generators": "2.7.1-alpha.2",
81
+ "@platformatic/utils": "2.7.1-alpha.2"
82
82
  },
83
83
  "scripts": {
84
84
  "test": "npm run lint && borp --concurrency=1 --timeout=180000 && tsd",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/runtime/2.7.1-alpha.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/runtime/2.7.1-alpha.2.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "type": "object",
5
5
  "properties": {