@flowselections/floriday-authenticatie-module 1.0.8 → 1.0.11
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/dist-lib/index.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import type { FlowModule } from "@flowselections/core";
|
|
|
2
2
|
export * from './_core-safelist';
|
|
3
3
|
export { FlorydayConnectionPage } from './components/floriday/FlorydayConnectionPage';
|
|
4
4
|
export * from './lib/floriday.functions';
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const floridayAuthenticatieModule: FlowModule;
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist-lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,cAAc,0BAA0B,CAAC;AAEzC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,cAAc,0BAA0B,CAAC;AAEzC,eAAO,MAAM,2BAA2B,EAAE,UAczC,CAAC"}
|
package/dist-lib/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { FlorydaySettingsCard } from "./components/settings/FlorydaySettingsCard
|
|
|
3
3
|
export * from './_core-safelist';
|
|
4
4
|
export { FlorydayConnectionPage } from './components/floriday/FlorydayConnectionPage';
|
|
5
5
|
export * from './lib/floriday.functions';
|
|
6
|
-
export const
|
|
6
|
+
export const floridayAuthenticatieModule = {
|
|
7
7
|
id: "floriday_connection",
|
|
8
8
|
name: "Floriday Connection",
|
|
9
9
|
version: "1.0.0",
|
|
@@ -4,7 +4,7 @@ const SUPABASE_URL = "https://vmicscahrnzpmhagztmx.supabase.co";
|
|
|
4
4
|
const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InZtaWNzY2Focm56cG1oYWd6dG14Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzYxNTkyNTEsImV4cCI6MjA5MTczNTI1MX0.l3Q2WSCzgvy0-9fkX2GNUQ7Qgh5_lXXSo69qLXYelkQ";
|
|
5
5
|
const isBrowser = typeof window !== "undefined";
|
|
6
6
|
// Import the supabase client like this:
|
|
7
|
-
// import { supabase } from "
|
|
7
|
+
// import { supabase } from "../../integrations/supabase/client";
|
|
8
8
|
export const supabase = createClient(SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY, {
|
|
9
9
|
auth: {
|
|
10
10
|
storage: isBrowser ? window.localStorage : undefined,
|
|
@@ -20,7 +20,7 @@ function createSupabaseAdminClient() {
|
|
|
20
20
|
let _supabaseAdmin;
|
|
21
21
|
// Server-side Supabase client with service role - bypasses RLS
|
|
22
22
|
// SECURITY: Only use this for trusted server-side operations, never expose to client code
|
|
23
|
-
// Import like: import { supabaseAdmin } from "
|
|
23
|
+
// Import like: import { supabaseAdmin } from "../../integrations/supabase/client.server";
|
|
24
24
|
export const supabaseAdmin = new Proxy({}, {
|
|
25
25
|
get(_, prop, receiver) {
|
|
26
26
|
if (!_supabaseAdmin)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@source "./";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowselections/floriday-authenticatie-module",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist-lib/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"dev": "vite dev",
|
|
22
22
|
"build": "vite build",
|
|
23
|
-
"build:lib": "tsc -p tsconfig.build.json",
|
|
23
|
+
"build:lib": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && node -e \"require('fs').writeFileSync('dist-lib/styles.css', '@source \\\"./\\\";\\n')\"",
|
|
24
24
|
"build:lib:watch": "tsc -p tsconfig.build.json --watch",
|
|
25
25
|
"build:dev": "vite build --mode development",
|
|
26
26
|
"preview": "vite preview",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
48
48
|
"globals": "^15.15.0",
|
|
49
49
|
"typescript": "^5.8.3",
|
|
50
|
+
"tsc-alias": "^1.8.0",
|
|
50
51
|
"typescript-eslint": "^8.56.1",
|
|
51
52
|
"vite": "^7.3.1",
|
|
52
53
|
"@cloudflare/vite-plugin": "^1.25.5",
|
|
@@ -59,5 +60,15 @@
|
|
|
59
60
|
"react": "^19.2.0",
|
|
60
61
|
"react-dom": "^19.2.0"
|
|
61
62
|
},
|
|
62
|
-
"private": false
|
|
63
|
+
"private": false,
|
|
64
|
+
"flowselections": {
|
|
65
|
+
"moduleId": "Floriday Authenticatie",
|
|
66
|
+
"pages": [
|
|
67
|
+
{
|
|
68
|
+
"export": "FlorydayConnectionPage",
|
|
69
|
+
"route": "floriday-authenticatie/connection",
|
|
70
|
+
"title": "Connectie"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
63
74
|
}
|