@platformatic/control 3.60.0 → 3.61.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/index.js +5 -5
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -229,7 +229,7 @@ export class RuntimeApiClient {
|
|
|
229
229
|
|
|
230
230
|
if (
|
|
231
231
|
jsonError?.code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' ||
|
|
232
|
-
jsonError?.code === '
|
|
232
|
+
jsonError?.code === 'PLT_RUNTIME_WORKER_NOT_FOUND'
|
|
233
233
|
) {
|
|
234
234
|
throw new ApplicationNotFound(error)
|
|
235
235
|
}
|
|
@@ -294,7 +294,7 @@ export class RuntimeApiClient {
|
|
|
294
294
|
|
|
295
295
|
if (
|
|
296
296
|
jsonError?.code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' ||
|
|
297
|
-
jsonError?.code === '
|
|
297
|
+
jsonError?.code === 'PLT_RUNTIME_WORKER_NOT_FOUND'
|
|
298
298
|
) {
|
|
299
299
|
throw new ApplicationNotFound(error)
|
|
300
300
|
}
|
|
@@ -330,7 +330,7 @@ export class RuntimeApiClient {
|
|
|
330
330
|
const message = jsonError?.message || error
|
|
331
331
|
const code = jsonError?.code
|
|
332
332
|
|
|
333
|
-
if (code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' || code === '
|
|
333
|
+
if (code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' || code === 'PLT_RUNTIME_WORKER_NOT_FOUND') {
|
|
334
334
|
throw new ApplicationNotFound(message)
|
|
335
335
|
}
|
|
336
336
|
|
|
@@ -368,7 +368,7 @@ export class RuntimeApiClient {
|
|
|
368
368
|
const message = jsonError?.message || error
|
|
369
369
|
const code = jsonError?.code
|
|
370
370
|
|
|
371
|
-
if (code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' || code === '
|
|
371
|
+
if (code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' || code === 'PLT_RUNTIME_WORKER_NOT_FOUND') {
|
|
372
372
|
throw new ApplicationNotFound(message)
|
|
373
373
|
}
|
|
374
374
|
|
|
@@ -403,7 +403,7 @@ export class RuntimeApiClient {
|
|
|
403
403
|
const message = jsonError?.message || error
|
|
404
404
|
const code = jsonError?.code
|
|
405
405
|
|
|
406
|
-
if (code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' || code === '
|
|
406
|
+
if (code === 'PLT_RUNTIME_APPLICATION_NOT_FOUND' || code === 'PLT_RUNTIME_WORKER_NOT_FOUND') {
|
|
407
407
|
throw new ApplicationNotFound(message)
|
|
408
408
|
}
|
|
409
409
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/control",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.61.1",
|
|
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
|
"tstyche": "^6.0.0",
|
|
25
25
|
"typescript": "^5.5.4",
|
|
26
|
-
"@platformatic/runtime": "3.
|
|
27
|
-
"@platformatic/service": "3.
|
|
26
|
+
"@platformatic/runtime": "3.61.1",
|
|
27
|
+
"@platformatic/service": "3.61.1"
|
|
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.27.2",
|
|
36
36
|
"ws": "^8.16.0",
|
|
37
|
-
"@platformatic/foundation": "3.
|
|
37
|
+
"@platformatic/foundation": "3.61.1"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=22.19.0"
|