@platformatic/control 3.0.2 → 3.0.3

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +2 -1
  2. package/package.json +4 -4
package/lib/index.d.ts CHANGED
@@ -47,6 +47,7 @@ export interface Runtime {
47
47
  packageVersion: string | null
48
48
  url: string | null
49
49
  platformaticVersion: string
50
+ startTime?: number
50
51
  }
51
52
 
52
53
  export interface RuntimeApplications {
@@ -97,7 +98,7 @@ export class RuntimeApiClient {
97
98
  getRuntimes (): Promise<Runtime[]>
98
99
  getRuntimeMetadata (pid: number): Promise<Runtime>
99
100
  getRuntimeApplications (pid: number): Promise<RuntimeApplications>
100
- getRuntimeConfig (pid: number): Promise<Record<string, unknown>>
101
+ getRuntimeConfig (pid: number): Promise<Record<string, unknown> & { path?: string, configFile?: string, configPath?: string, server?: { path?: string } }>
101
102
  getRuntimeApplicationConfig (pid: number, applicationId?: string): Promise<Record<string, unknown>>
102
103
  getRuntimeEnv (pid: number): Promise<Record<string, string>>
103
104
  getRuntimeOpenapi (pid: number, applicationId: string): Promise<Record<string, unknown>>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/control",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Platformatic Control",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "split2": "^4.2.0",
24
24
  "tsd": "^0.33.0",
25
25
  "typescript": "^5.5.4",
26
- "@platformatic/runtime": "3.0.2",
27
- "@platformatic/service": "3.0.2"
26
+ "@platformatic/runtime": "3.0.3",
27
+ "@platformatic/service": "3.0.3"
28
28
  },
29
29
  "dependencies": {
30
30
  "@fastify/error": "^4.0.0",
@@ -34,7 +34,7 @@
34
34
  "table": "^6.8.1",
35
35
  "undici": "^7.0.0",
36
36
  "ws": "^8.16.0",
37
- "@platformatic/foundation": "3.0.2"
37
+ "@platformatic/foundation": "3.0.3"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=22.18.0"