@absolutejs/sync-bus-redis 0.0.2 → 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.
@@ -51,6 +51,39 @@
51
51
  }
52
52
  ]
53
53
  }
54
+ },
55
+ {
56
+ "contract": "messaging/channel-bus",
57
+ "factory": "createRedisChannelBus",
58
+ "from": "@absolutejs/sync-bus-redis",
59
+ "requires": {
60
+ "services": [
61
+ {
62
+ "description": "At-most-once typed fan-out",
63
+ "id": "redis"
64
+ }
65
+ ]
66
+ },
67
+ "settings": {
68
+ "type": "object",
69
+ "properties": {
70
+ "channel": {
71
+ "type": "string"
72
+ }
73
+ }
74
+ },
75
+ "title": "Typed Redis channel bus (optional, at-most-once)",
76
+ "wiring": {
77
+ "code": "createRedisChannelBus({ publisher: redisPublisher, subscriber: redisSubscriber, ...${settings} })",
78
+ "imports": [
79
+ {
80
+ "from": "@absolutejs/sync-bus-redis",
81
+ "names": [
82
+ "createRedisChannelBus"
83
+ ]
84
+ }
85
+ ]
86
+ }
54
87
  }
55
88
  ],
56
89
  "settings": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/sync-bus-redis",
3
- "version": "0.0.2",
3
+ "version": "0.1.0",
4
4
  "description": "Redis pub/sub ClusterBus for @absolutejs/sync — cross-instance fan-out via PUBLISH/SUBSCRIBE. Sibling to @absolutejs/sync-bus-pg; faster fanout, better geo-replication story. Works with any Redis client (ioredis, node-redis, etc.) via a narrow tag-template interface.",
5
5
  "repository": {
6
6
  "type": "git",