graphile-realtime-subscriptions 0.6.0 → 0.7.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/esm/plugin.js CHANGED
@@ -164,7 +164,7 @@ function buildPlans(tables, overflowThreshold) {
164
164
  subscribePlan(_$root, args) {
165
165
  const $pgSubscriber = grafastContext().get('pgSubscriber');
166
166
  const $topic = constant(notifyChannel);
167
- const $ids = args.get('ids');
167
+ const $ids = args.getRaw('ids');
168
168
  return listen($pgSubscriber, $topic, ($payload) => {
169
169
  const $parsed = lambda([$payload, $ids], (pair) => {
170
170
  const [raw, subscribedIds] = pair;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-realtime-subscriptions",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Realtime subscription plugin for PostGraphile v5 — per-table GraphQL subscriptions via LISTEN/NOTIFY",
5
5
  "author": "Constructive <developers@constructive.io>",
6
6
  "homepage": "https://github.com/constructive-io/constructive",
@@ -56,5 +56,5 @@
56
56
  "@types/node": "^22.19.11",
57
57
  "makage": "^0.3.0"
58
58
  },
59
- "gitHead": "50dc1d69049c207b46c237eba1e1b1cb7a5f928f"
59
+ "gitHead": "f368992ff2e66fb639e4a5efee163e311f838ce1"
60
60
  }
package/plugin.js CHANGED
@@ -172,7 +172,7 @@ function buildPlans(tables, overflowThreshold) {
172
172
  subscribePlan(_$root, args) {
173
173
  const $pgSubscriber = (0, grafast_1.context)().get('pgSubscriber');
174
174
  const $topic = (0, grafast_1.constant)(notifyChannel);
175
- const $ids = args.get('ids');
175
+ const $ids = args.getRaw('ids');
176
176
  return (0, grafast_1.listen)($pgSubscriber, $topic, ($payload) => {
177
177
  const $parsed = (0, grafast_1.lambda)([$payload, $ids], (pair) => {
178
178
  const [raw, subscribedIds] = pair;