@haathie/pgmb 0.2.2 → 0.2.3

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/package.json +1 -1
  2. package/sql/pgmb.sql +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haathie/pgmb",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "PG message broker, with a type-safe typescript client with built-in webhook & SSE support.",
5
5
  "main": "lib/index.js",
6
6
  "publishConfig": {
package/sql/pgmb.sql CHANGED
@@ -429,6 +429,7 @@ BEGIN
429
429
  ) THEN
430
430
  CREATE ROLE pgmb_reader NOLOGIN NOSUPERUSER NOCREATEDB
431
431
  NOCREATEROLE NOINHERIT NOREPLICATION;
432
+ GRANT pgmb_reader TO CURRENT_USER;
432
433
  END IF;
433
434
  END
434
435
  $$;