@squaredr/fieldcraft-supabase 1.1.0 → 1.1.1

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/README.md CHANGED
@@ -84,6 +84,14 @@ const draftAdapter = createSupabaseDraftAdapter({
84
84
 
85
85
  The adapter is compatible with Supabase RLS policies. Configure your table's RLS rules to control which users can read/write responses.
86
86
 
87
+ ## Community
88
+
89
+ [![Discord](https://img.shields.io/discord/YOUR_SERVER_ID?color=5865F2&label=Discord&logo=discord&logoColor=white)](https://discord.gg/YOUR_INVITE_LINK)
90
+
91
+ - [Discord](https://discord.gg/YOUR_INVITE_LINK) — Get help, share projects, request features
92
+ - [Docs](https://squaredr.tech/products/fieldcraft/docs/adapters) — Adapter documentation
93
+ - [Pro Tools](https://squaredr.tech/products/fieldcraft/admin-pro) — Visual FormBuilder, SchemaEditor, ResponseViewer, ThemeEditor
94
+
87
95
  ## License
88
96
 
89
97
  MIT
package/dist/index.js CHANGED
@@ -247,6 +247,24 @@ function createSupabaseSchemaAdapter(config) {
247
247
  onError: config.onError
248
248
  };
249
249
  }
250
+
251
+ // src/index.ts
252
+ if (typeof process !== "undefined" && process.env?.NODE_ENV !== "production") {
253
+ const _fc_banner = `
254
+ %c FieldCraft Supabase %c v1.1.1
255
+
256
+ %cField-level encryption \xB7 RLS \xB7 Schema CRUD
257
+
258
+ Docs \u2192 https://squaredr.tech/products/fieldcraft/docs/adapters
259
+ Discord \u2192 https://discord.gg/YOUR_INVITE_LINK
260
+ `;
261
+ console.log(
262
+ _fc_banner,
263
+ "background:#2563eb;color:#fff;font-weight:bold;padding:2px 6px;border-radius:3px 0 0 3px",
264
+ "background:#1e40af;color:#fff;padding:2px 6px;border-radius:0 3px 3px 0",
265
+ "color:#6b7280"
266
+ );
267
+ }
250
268
  // Annotate the CommonJS export names for ESM import in node:
251
269
  0 && (module.exports = {
252
270
  createSupabaseAdapter,
package/dist/index.mjs CHANGED
@@ -207,6 +207,24 @@ function createSupabaseSchemaAdapter(config) {
207
207
  onError: config.onError
208
208
  };
209
209
  }
210
+
211
+ // src/index.ts
212
+ if (typeof process !== "undefined" && process.env?.NODE_ENV !== "production") {
213
+ const _fc_banner = `
214
+ %c FieldCraft Supabase %c v1.1.1
215
+
216
+ %cField-level encryption \xB7 RLS \xB7 Schema CRUD
217
+
218
+ Docs \u2192 https://squaredr.tech/products/fieldcraft/docs/adapters
219
+ Discord \u2192 https://discord.gg/YOUR_INVITE_LINK
220
+ `;
221
+ console.log(
222
+ _fc_banner,
223
+ "background:#2563eb;color:#fff;font-weight:bold;padding:2px 6px;border-radius:3px 0 0 3px",
224
+ "background:#1e40af;color:#fff;padding:2px 6px;border-radius:0 3px 3px 0",
225
+ "color:#6b7280"
226
+ );
227
+ }
210
228
  export {
211
229
  createSupabaseAdapter,
212
230
  createSupabaseDraftAdapter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squaredr/fieldcraft-supabase",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "FieldCraft Supabase storage adapter with field-level AES-256-GCM encryption",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -12,14 +12,11 @@
12
12
  "require": "./dist/index.js"
13
13
  }
14
14
  },
15
- "files": ["dist", "LICENSE"],
15
+ "files": [
16
+ "dist",
17
+ "LICENSE"
18
+ ],
16
19
  "sideEffects": false,
17
- "scripts": {
18
- "build": "tsup src/index.ts --format cjs,esm --dts",
19
- "test": "vitest run",
20
- "typecheck": "tsc --noEmit",
21
- "clean": "rm -rf dist"
22
- },
23
20
  "dependencies": {
24
21
  "@squaredr/fieldcraft-core": "^1.2.0"
25
22
  },
@@ -43,8 +40,21 @@
43
40
  "url": "git+https://github.com/SquaredR98/fieldcraft.git",
44
41
  "directory": "packages/adapters/supabase"
45
42
  },
46
- "keywords": ["fieldcraft", "form-engine", "supabase", "adapter", "storage", "encryption"],
43
+ "keywords": [
44
+ "fieldcraft",
45
+ "form-engine",
46
+ "supabase",
47
+ "adapter",
48
+ "storage",
49
+ "encryption"
50
+ ],
47
51
  "engines": {
48
52
  "node": ">=18"
53
+ },
54
+ "scripts": {
55
+ "build": "tsup src/index.ts --format cjs,esm --dts",
56
+ "test": "vitest run",
57
+ "typecheck": "tsc --noEmit",
58
+ "clean": "rm -rf dist"
49
59
  }
50
- }
60
+ }