@olympeio/runtime-node 9.11.0 → 9.11.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olympeio/runtime-node",
|
|
3
|
-
"version": "9.11.
|
|
3
|
+
"version": "9.11.1",
|
|
4
4
|
"description": "Olympe Node Runtime Environment",
|
|
5
5
|
"types": "types/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"utf-8-validate": "~6.0.4",
|
|
10
10
|
"rxjs": "~7.8.1",
|
|
11
11
|
"fastify": "~5.2.1",
|
|
12
|
-
"@cloudamqp/amqp-client": "3.
|
|
12
|
+
"@cloudamqp/amqp-client": "3.2.0"
|
|
13
13
|
},
|
|
14
14
|
"codeAsData": "import",
|
|
15
15
|
"author": "Olympe S.A. <dev@olympe.ch>",
|
package/types/service.d.ts
CHANGED
|
@@ -121,6 +121,13 @@ export class Service {
|
|
|
121
121
|
*/
|
|
122
122
|
stop(): void
|
|
123
123
|
|
|
124
|
+
/**
|
|
125
|
+
* Send the given payload to all available instances (e.g.: when running multiple replicas of the same backend) of the current service.
|
|
126
|
+
*
|
|
127
|
+
* @param payload the message content
|
|
128
|
+
*/
|
|
129
|
+
multicast(payload: Object): Promise<void>;
|
|
130
|
+
|
|
124
131
|
/**
|
|
125
132
|
* Publish a message on the specified service without waiting for any acknowledge
|
|
126
133
|
*
|