@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 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.9.1 broker,
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
- mq: new AmqpMessageQueue(await connect("amqp://localhost")),
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
- To be released.
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
- * mq: new AmqpMessageQueue(await connect("amqp://localhost")),
24
+ * queue: new AmqpMessageQueue(await connect("amqp://localhost")),
25
25
  * // ... other configurations
26
26
  * });
27
27
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/amqp",
3
- "version": "0.1.0-dev.7+d43ec128",
3
+ "version": "0.1.0",
4
4
  "description": "AMQP/RabbitMQ driver for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
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
- * mq: new AmqpMessageQueue(await connect("amqp://localhost")),
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
- * mq: new AmqpMessageQueue(await connect("amqp://localhost")),
34
+ * queue: new AmqpMessageQueue(await connect("amqp://localhost")),
35
35
  * // ... other configurations
36
36
  * });
37
37
  * ```