@fedify/amqp 0.1.0-dev.7 → 0.1.0
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/README.md +3 -3
- package/esm/src/mq.js +1 -1
- package/package.json +1 -1
- package/script/src/mq.js +1 -1
- package/types/src/mq.d.ts +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
> [!NOTE]
|
|
11
11
|
>
|
|
12
|
-
> Although it's theoretically possible to be used with any AMQP 0
|
|
12
|
+
> Although it's theoretically possible to be used with any AMQP 0-9-1 broker,
|
|
13
13
|
> this package is primarily designed for and tested with [RabbitMQ].
|
|
14
14
|
|
|
15
15
|
This package provides [Fedify]'s [`MessageQueue`] implementation for AMQP, which
|
|
@@ -25,7 +25,7 @@ import { AmqpMessageQueue } from "@fedify/amqp";
|
|
|
25
25
|
import { connect } from "amqplib";
|
|
26
26
|
|
|
27
27
|
const federation = createFederation({
|
|
28
|
-
|
|
28
|
+
queue: new AmqpMessageQueue(await connect("amqp://localhost")),
|
|
29
29
|
// ... other configurations
|
|
30
30
|
});
|
|
31
31
|
~~~~
|
|
@@ -70,4 +70,4 @@ Changelog
|
|
|
70
70
|
|
|
71
71
|
### Version 0.1.0
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
Initial release. Released on October 14, 2024.
|
package/esm/src/mq.js
CHANGED
|
@@ -21,7 +21,7 @@ import { Buffer } from "node:buffer";
|
|
|
21
21
|
* import { connect } from "amqplib";
|
|
22
22
|
*
|
|
23
23
|
* const federation = createFederation({
|
|
24
|
-
*
|
|
24
|
+
* queue: new AmqpMessageQueue(await connect("amqp://localhost")),
|
|
25
25
|
* // ... other configurations
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
package/package.json
CHANGED
package/script/src/mq.js
CHANGED
|
@@ -24,7 +24,7 @@ const node_buffer_1 = require("node:buffer");
|
|
|
24
24
|
* import { connect } from "amqplib";
|
|
25
25
|
*
|
|
26
26
|
* const federation = createFederation({
|
|
27
|
-
*
|
|
27
|
+
* queue: new AmqpMessageQueue(await connect("amqp://localhost")),
|
|
28
28
|
* // ... other configurations
|
|
29
29
|
* });
|
|
30
30
|
* ```
|
package/types/src/mq.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface AmqpMessageQueueOptions {
|
|
|
31
31
|
* import { connect } from "amqplib";
|
|
32
32
|
*
|
|
33
33
|
* const federation = createFederation({
|
|
34
|
-
*
|
|
34
|
+
* queue: new AmqpMessageQueue(await connect("amqp://localhost")),
|
|
35
35
|
* // ... other configurations
|
|
36
36
|
* });
|
|
37
37
|
* ```
|