@semiont/gateway 0.5.33 → 0.5.34
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/dist/index.js +13 -3
- package/dist/index.js.map +1 -1
- package/dist/openapi.json +7 -0
- package/package.json +4 -4
package/dist/openapi.json
CHANGED
|
@@ -3097,6 +3097,13 @@
|
|
|
3097
3097
|
"type": "string",
|
|
3098
3098
|
"description": "Optional correlation id echoed from the originating command. When present, the failure event can be matched back to the specific command that failed."
|
|
3099
3099
|
},
|
|
3100
|
+
"code": {
|
|
3101
|
+
"type": "string",
|
|
3102
|
+
"enum": [
|
|
3103
|
+
"peer-unavailable"
|
|
3104
|
+
],
|
|
3105
|
+
"description": "Machine-readable failure class, for consumers that must BRANCH on why a command failed rather than log it. Optional and deliberately sparse: absent means 'no class declared', and every existing failure stays that way. An enum rather than a free string so the vocabulary has an owner — an unconstrained code is a mirror with no gate, and adding one should be a deliberate spec change. `message` remains the human-readable text and is unaffected. Members: `peer-unavailable` — the channel this command was sent on has no subscriber, i.e. the service that answers it has not connected yet. Transient by nature (a peer still starting), which is what distinguishes it from a refusal: retrying is the correct response."
|
|
3106
|
+
},
|
|
3100
3107
|
"message": {
|
|
3101
3108
|
"type": "string",
|
|
3102
3109
|
"description": "Human-readable error message"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiont/gateway",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Semiont gateway server - pre-built for npm consumption",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"@hono/swagger-ui": "^0.6.1",
|
|
31
31
|
"@prisma/adapter-pg": "^7.10.0",
|
|
32
32
|
"@prisma/client": "^7.10.0",
|
|
33
|
-
"@semiont/core": "0.5.
|
|
34
|
-
"@semiont/make-meaning": "0.5.
|
|
35
|
-
"@semiont/observability": "0.5.
|
|
33
|
+
"@semiont/core": "0.5.34",
|
|
34
|
+
"@semiont/make-meaning": "0.5.34",
|
|
35
|
+
"@semiont/observability": "0.5.34",
|
|
36
36
|
"ajv": "^8.20.0",
|
|
37
37
|
"ajv-formats": "^3.0.1",
|
|
38
38
|
"argon2": "^0.45.1",
|