@quatrain/cloudwrapper-supabase 1.1.13 → 1.1.14

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.
@@ -66,7 +66,7 @@ class SupabaseCloudWrapper extends cloudwrapper_1.AbstractCloudWrapper {
66
66
  try {
67
67
  const params = {
68
68
  event: Reflect.get(exports.eventMap, trigger.event),
69
- schema: 'public',
69
+ schema: trigger.schema || 'public',
70
70
  table: trigger.model,
71
71
  };
72
72
  cloudwrapper_1.CloudWrapper.info(`Set up DB trigger ${trigger.name} for ${trigger.event} event on table ${params.table}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quatrain/cloudwrapper-supabase",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "license": "MIT",
5
5
  "description": "Cloud Wrapper adapter for Supabase",
6
6
  "main": "lib/index.js",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@quatrain/backend": "^1.1.12",
18
- "@quatrain/cloudwrapper": "^1.1.12",
18
+ "@quatrain/cloudwrapper": "^1.1.13",
19
19
  "@quatrain/core": "^1.1.14",
20
20
  "@supabase/supabase-js": "^2.47.15"
21
21
  },