@jskit-ai/auth-provider-supabase-core 0.1.145 → 0.1.147

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 +159 -5
  2. package/package.descriptor.mjs +0 -161
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/auth-provider-supabase-core",
3
- "version": "0.1.145",
3
+ "version": "0.1.147",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -12,11 +12,165 @@
12
12
  "./client": "./src/client/index.js"
13
13
  },
14
14
  "dependencies": {
15
- "@jskit-ai/auth-core": "0.1.146",
16
- "@jskit-ai/kernel": "0.1.147",
17
- "json-rest-schema": "^1.0.17",
18
- "jose": "^6.1.0",
15
+ "@jskit-ai/auth-core": "0.1.148",
16
+ "@jskit-ai/kernel": "0.1.150",
19
17
  "@supabase/supabase-js": "^2.57.4",
18
+ "jose": "^6.1.0",
19
+ "json-rest-schema": "^1.0.17",
20
20
  "ws": "^8.21.1"
21
+ },
22
+ "jskit": {
23
+ "kind": "runtime",
24
+ "options": {
25
+ "auth-supabase-url": {
26
+ "required": true,
27
+ "values": [],
28
+ "promptLabel": "Supabase URL",
29
+ "promptHint": "https://YOUR-PROJECT.supabase.co"
30
+ },
31
+ "auth-supabase-publishable-key": {
32
+ "required": true,
33
+ "values": [],
34
+ "promptLabel": "Supabase publishable key",
35
+ "promptHint": "sb_publishable_..."
36
+ },
37
+ "app-public-url": {
38
+ "required": true,
39
+ "values": [],
40
+ "defaultValue": "http://localhost:5173",
41
+ "promptLabel": "App public URL",
42
+ "promptHint": "Browser URL used for auth redirects"
43
+ }
44
+ },
45
+ "capabilities": {
46
+ "provides": [
47
+ "auth.provider.supabase",
48
+ "auth.provider"
49
+ ],
50
+ "requires": [
51
+ "auth.access"
52
+ ]
53
+ },
54
+ "runtime": {
55
+ "server": {
56
+ "providerEntrypoint": "src/server/providers/AuthSupabaseServiceProvider.js",
57
+ "providers": [
58
+ {
59
+ "entrypoint": "src/server/providers/AuthSupabaseServiceProvider.js",
60
+ "export": "AuthSupabaseServiceProvider"
61
+ },
62
+ {
63
+ "entrypoint": "src/server/providers/AuthProviderServiceProvider.js",
64
+ "export": "AuthProviderServiceProvider"
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ "metadata": {
70
+ "apiSummary": {
71
+ "surfaces": [
72
+ {
73
+ "subpath": "./server/providers/AuthSupabaseServiceProvider",
74
+ "summary": "Exports the Supabase auth provider service provider."
75
+ },
76
+ {
77
+ "subpath": "./server/providers/AuthProviderServiceProvider",
78
+ "summary": "Exports the generic auth provider registration service provider."
79
+ },
80
+ {
81
+ "subpath": "./server/lib/index",
82
+ "summary": "Exports curated server-side Supabase auth service helpers."
83
+ },
84
+ {
85
+ "subpath": "./client",
86
+ "summary": "Exports no runtime API today (reserved client entrypoint)."
87
+ }
88
+ ],
89
+ "containerTokens": {
90
+ "server": [
91
+ "authService"
92
+ ],
93
+ "client": []
94
+ }
95
+ }
96
+ },
97
+ "mutations": {
98
+ "dependencies": {
99
+ "runtime": {
100
+ "@jskit-ai/auth-core": "0.1.148",
101
+ "@jskit-ai/kernel": "0.1.150",
102
+ "dotenv": "^16.4.5",
103
+ "@supabase/supabase-js": "^2.57.4",
104
+ "jose": "^6.1.0"
105
+ },
106
+ "dev": {}
107
+ },
108
+ "packageJson": {
109
+ "scripts": {}
110
+ },
111
+ "procfile": {},
112
+ "files": [],
113
+ "text": [
114
+ {
115
+ "file": ".env",
116
+ "op": "upsert-env",
117
+ "key": "AUTH_PROVIDER",
118
+ "value": "supabase",
119
+ "reason": "Select Supabase as the auth provider.",
120
+ "category": "runtime-config",
121
+ "id": "auth-provider"
122
+ },
123
+ {
124
+ "file": ".env",
125
+ "op": "upsert-env",
126
+ "key": "AUTH_SUPABASE_URL",
127
+ "value": "${option:auth-supabase-url}",
128
+ "reason": "Configure Supabase project URL for auth.",
129
+ "category": "runtime-config",
130
+ "id": "auth-supabase-url"
131
+ },
132
+ {
133
+ "file": ".env",
134
+ "op": "upsert-env",
135
+ "key": "AUTH_SUPABASE_PUBLISHABLE_KEY",
136
+ "value": "${option:auth-supabase-publishable-key}",
137
+ "reason": "Configure Supabase publishable key for auth.",
138
+ "category": "runtime-config",
139
+ "id": "auth-supabase-publishable-key"
140
+ },
141
+ {
142
+ "file": ".env",
143
+ "op": "upsert-env",
144
+ "key": "APP_PUBLIC_URL",
145
+ "value": "${option:app-public-url}",
146
+ "reason": "Configure application public URL for auth redirect flows.",
147
+ "category": "runtime-config",
148
+ "id": "auth-app-public-url"
149
+ },
150
+ {
151
+ "op": "append-text",
152
+ "file": "config/server.js",
153
+ "position": "bottom",
154
+ "skipIfContains": "config.auth.profileMode =",
155
+ "value": "\nconfig.auth ||= {};\nconfig.auth.profileMode = \"provider\";\n",
156
+ "reason": "Use provider-owned auth profiles until a users package enables users-backed sync.",
157
+ "category": "runtime-config",
158
+ "id": "auth-profile-mode-provider"
159
+ },
160
+ {
161
+ "op": "append-text",
162
+ "file": "config/server.js",
163
+ "position": "bottom",
164
+ "skipIfContains": [
165
+ "config.auth.oauth = {",
166
+ "config.auth = {\n oauth: {"
167
+ ],
168
+ "value": "\nconfig.auth ||= {};\nconfig.auth.oauth = {\n providers: [],\n defaultProvider: \"\"\n};\n",
169
+ "reason": "Append app-owned OAuth provider visibility config for stock auth screens.",
170
+ "category": "runtime-config",
171
+ "id": "auth-oauth-app-config"
172
+ }
173
+ ]
174
+ }
21
175
  }
22
176
  }
@@ -1,161 +0,0 @@
1
- export default Object.freeze({
2
- "packageVersion": 1,
3
- "packageId": "@jskit-ai/auth-provider-supabase-core",
4
- "version": "0.1.145",
5
- "kind": "runtime",
6
- "options": {
7
- "auth-supabase-url": {
8
- "required": true,
9
- "values": [],
10
- "promptLabel": "Supabase URL",
11
- "promptHint": "https://YOUR-PROJECT.supabase.co"
12
- },
13
- "auth-supabase-publishable-key": {
14
- "required": true,
15
- "values": [],
16
- "promptLabel": "Supabase publishable key",
17
- "promptHint": "sb_publishable_..."
18
- },
19
- "app-public-url": {
20
- "required": true,
21
- "values": [],
22
- "defaultValue": "http://localhost:5173",
23
- "promptLabel": "App public URL",
24
- "promptHint": "Browser URL used for auth redirects"
25
- }
26
- },
27
- "dependsOn": [
28
- "@jskit-ai/auth-core",
29
- "@jskit-ai/value-app-config-shared"
30
- ],
31
- "capabilities": {
32
- "provides": [
33
- "auth.provider.supabase",
34
- "auth.provider"
35
- ],
36
- "requires": [
37
- "auth.access"
38
- ]
39
- },
40
- "runtime": {
41
- "server": {
42
- "providerEntrypoint": "src/server/providers/AuthSupabaseServiceProvider.js",
43
- "providers": [
44
- {
45
- "entrypoint": "src/server/providers/AuthSupabaseServiceProvider.js",
46
- "export": "AuthSupabaseServiceProvider"
47
- },
48
- {
49
- "entrypoint": "src/server/providers/AuthProviderServiceProvider.js",
50
- "export": "AuthProviderServiceProvider"
51
- }
52
- ]
53
- }
54
- },
55
- "metadata": {
56
- "apiSummary": {
57
- "surfaces": [
58
- {
59
- "subpath": "./server/providers/AuthSupabaseServiceProvider",
60
- "summary": "Exports the Supabase auth provider service provider."
61
- },
62
- {
63
- "subpath": "./server/providers/AuthProviderServiceProvider",
64
- "summary": "Exports the generic auth provider registration service provider."
65
- },
66
- {
67
- "subpath": "./server/lib/index",
68
- "summary": "Exports curated server-side Supabase auth service helpers."
69
- },
70
- {
71
- "subpath": "./client",
72
- "summary": "Exports no runtime API today (reserved client entrypoint)."
73
- }
74
- ],
75
- "containerTokens": {
76
- "server": [
77
- "authService"
78
- ],
79
- "client": []
80
- }
81
- }
82
- },
83
- "mutations": {
84
- "dependencies": {
85
- "runtime": {
86
- "@jskit-ai/auth-core": "0.1.146",
87
- "@jskit-ai/kernel": "0.1.147",
88
- "dotenv": "^16.4.5",
89
- "@supabase/supabase-js": "^2.57.4",
90
- "jose": "^6.1.0"
91
- },
92
- "dev": {}
93
- },
94
- "packageJson": {
95
- "scripts": {}
96
- },
97
- "procfile": {},
98
- "files": [],
99
- "text": [
100
- {
101
- "file": ".env",
102
- "op": "upsert-env",
103
- "key": "AUTH_PROVIDER",
104
- "value": "supabase",
105
- "reason": "Select Supabase as the auth provider.",
106
- "category": "runtime-config",
107
- "id": "auth-provider"
108
- },
109
- {
110
- "file": ".env",
111
- "op": "upsert-env",
112
- "key": "AUTH_SUPABASE_URL",
113
- "value": "${option:auth-supabase-url}",
114
- "reason": "Configure Supabase project URL for auth.",
115
- "category": "runtime-config",
116
- "id": "auth-supabase-url"
117
- },
118
- {
119
- "file": ".env",
120
- "op": "upsert-env",
121
- "key": "AUTH_SUPABASE_PUBLISHABLE_KEY",
122
- "value": "${option:auth-supabase-publishable-key}",
123
- "reason": "Configure Supabase publishable key for auth.",
124
- "category": "runtime-config",
125
- "id": "auth-supabase-publishable-key"
126
- },
127
- {
128
- "file": ".env",
129
- "op": "upsert-env",
130
- "key": "APP_PUBLIC_URL",
131
- "value": "${option:app-public-url}",
132
- "reason": "Configure application public URL for auth redirect flows.",
133
- "category": "runtime-config",
134
- "id": "auth-app-public-url"
135
- },
136
- {
137
- "op": "append-text",
138
- "file": "config/server.js",
139
- "position": "bottom",
140
- "skipIfContains": "config.auth.profileMode =",
141
- "value": "\nconfig.auth ||= {};\nconfig.auth.profileMode = \"provider\";\n",
142
- "reason": "Use provider-owned auth profiles until a users package enables users-backed sync.",
143
- "category": "runtime-config",
144
- "id": "auth-profile-mode-provider"
145
- },
146
- {
147
- "op": "append-text",
148
- "file": "config/server.js",
149
- "position": "bottom",
150
- "skipIfContains": [
151
- "config.auth.oauth = {",
152
- "config.auth = {\n oauth: {"
153
- ],
154
- "value": "\nconfig.auth ||= {};\nconfig.auth.oauth = {\n providers: [],\n defaultProvider: \"\"\n};\n",
155
- "reason": "Append app-owned OAuth provider visibility config for stock auth screens.",
156
- "category": "runtime-config",
157
- "id": "auth-oauth-app-config"
158
- }
159
- ]
160
- }
161
- });