@platformatic/basic 2.15.0 → 2.16.0-alpha.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/lib/base.js CHANGED
@@ -38,7 +38,10 @@ export class BaseStackable {
38
38
  this.startHttpTimer = null
39
39
  this.endHttpTimer = null
40
40
  this.clientWs = null
41
- this.runtimeConfig = deepmerge(options.context?.runtimeConfig ?? {}, workerData?.config ?? {})
41
+ this.runtimeConfig = deepmerge(
42
+ options.context?.runtimeConfig ?? {},
43
+ workerData?.config ?? {}
44
+ )
42
45
 
43
46
  // Setup the logger
44
47
  const pinoOptions = {
@@ -106,10 +109,6 @@ export class BaseStackable {
106
109
  return this
107
110
  }
108
111
 
109
- async getDispatchTarget () {
110
- return this.getUrl() ?? this.getDispatchFunc()
111
- }
112
-
113
112
  async getOpenapiSchema () {
114
113
  return this.openapiSchema
115
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/basic",
3
- "version": "2.15.0",
3
+ "version": "2.16.0-alpha.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,11 +23,11 @@
23
23
  "split2": "^4.2.0",
24
24
  "undici": "^6.19.5",
25
25
  "ws": "^8.18.0",
26
- "@platformatic/config": "2.15.0",
27
- "@platformatic/itc": "2.15.0",
28
- "@platformatic/metrics": "2.15.0",
29
- "@platformatic/utils": "2.15.0",
30
- "@platformatic/telemetry": "2.15.0"
26
+ "@platformatic/config": "2.16.0-alpha.1",
27
+ "@platformatic/itc": "2.16.0-alpha.1",
28
+ "@platformatic/metrics": "2.16.0-alpha.1",
29
+ "@platformatic/utils": "2.16.0-alpha.1",
30
+ "@platformatic/telemetry": "2.16.0-alpha.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "borp": "^0.18.0",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/basic/2.15.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/basic/2.16.0-alpha.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Stackable",
5
5
  "type": "object",