@palmetto/dispatch-pubsub 0.1.1 → 0.3.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.
Files changed (2) hide show
  1. package/dist/config.d.ts +2 -2
  2. package/package.json +3 -1
package/dist/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BaseMessage, IdMetaSchema, RabbitQueueExchangeConfiguration } from "@palmetto/pubsub";
1
+ import { BaseMessage, IdMetaSchema, RabbitQueueExchangeConfigurationTopicExchange } from "@palmetto/pubsub";
2
2
  import { $ZodObject, $ZodType } from "zod/v4/core";
3
3
  type IdMetaShape = typeof IdMetaSchema.shape;
4
4
  export interface MessageSchemaShape<T extends string> extends IdMetaShape {
@@ -10,7 +10,7 @@ export interface Message<T extends string> extends BaseMessage {
10
10
  event: T;
11
11
  data: Record<string, unknown>;
12
12
  }
13
- export interface PubSubEventConfig<T extends string> extends Omit<RabbitQueueExchangeConfiguration, "schema"> {
13
+ export interface PubSubEventConfig<T extends string> extends Omit<RabbitQueueExchangeConfigurationTopicExchange, "schema" | "topicSubscriberName"> {
14
14
  schema: MessageSchema<T>;
15
15
  }
16
16
  export declare function rabbitMqConfig<T extends string>(name: string, schema: MessageSchema<T>): PubSubEventConfig<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@palmetto/dispatch-pubsub",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "main": "./dist/main.js",
5
5
  "scripts": {
6
6
  "lint": "yarn run -T eslint --fix ./src",
@@ -23,6 +23,7 @@
23
23
  },
24
24
  "devDependencies": {
25
25
  "@palmetto/pubsub": "^3.5.1",
26
+ "@palmetto/trace": "^0.1.1",
26
27
  "typescript": "^5.9.3",
27
28
  "vitest": "^4.1.5",
28
29
  "zod": "^4.4.2"
@@ -39,6 +40,7 @@
39
40
  },
40
41
  "peerDependencies": {
41
42
  "@palmetto/pubsub": "^3.5",
43
+ "@palmetto/trace": "^0.1",
42
44
  "zod": "^4.3"
43
45
  }
44
46
  }