@jskit-ai/auth-provider-supabase-core 0.1.106 → 0.1.108

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.
@@ -1,7 +1,7 @@
1
1
  export default Object.freeze({
2
2
  "packageVersion": 1,
3
3
  "packageId": "@jskit-ai/auth-provider-supabase-core",
4
- "version": "0.1.106",
4
+ "version": "0.1.108",
5
5
  "kind": "runtime",
6
6
  "options": {
7
7
  "auth-supabase-url": {
@@ -83,8 +83,8 @@ export default Object.freeze({
83
83
  "mutations": {
84
84
  "dependencies": {
85
85
  "runtime": {
86
- "@jskit-ai/auth-core": "0.1.106",
87
- "@jskit-ai/kernel": "0.1.108",
86
+ "@jskit-ai/auth-core": "0.1.108",
87
+ "@jskit-ai/kernel": "0.1.110",
88
88
  "dotenv": "^16.4.5",
89
89
  "@supabase/supabase-js": "^2.57.4",
90
90
  "jose": "^6.1.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/auth-provider-supabase-core",
3
- "version": "0.1.106",
3
+ "version": "0.1.108",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "test": "node --test"
@@ -12,8 +12,8 @@
12
12
  "./client": "./src/client/index.js"
13
13
  },
14
14
  "dependencies": {
15
- "@jskit-ai/auth-core": "0.1.106",
16
- "@jskit-ai/kernel": "0.1.108",
15
+ "@jskit-ai/auth-core": "0.1.108",
16
+ "@jskit-ai/kernel": "0.1.110",
17
17
  "json-rest-schema": "1.x.x",
18
18
  "jose": "^6.1.0",
19
19
  "@supabase/supabase-js": "^2.57.4",
@@ -1,6 +1,6 @@
1
1
  import { resolveAllowedOriginsFromSurfaceDefinitions } from "@jskit-ai/kernel/shared/support/returnToPath";
2
2
  import { withActionDefaults } from "@jskit-ai/kernel/shared/actions";
3
- import { resolveAuthServiceDecorators } from "@jskit-ai/auth-core/server/authServiceDecoratorRegistry";
3
+ import { applyAuthServiceDecorators } from "@jskit-ai/auth-core/server/authServiceDecoratorRegistry";
4
4
  import { normalizeEmail } from "@jskit-ai/auth-core/server/utils";
5
5
  import { createService } from "../lib/service.js";
6
6
  import { devLoginAsAction } from "../lib/actions/auth.contributor.js";
@@ -198,19 +198,6 @@ function isDeferredJsonRestBootGap(app, error) {
198
198
  );
199
199
  }
200
200
 
201
- function applyAuthServiceDecorators(scope, authService) {
202
- let decoratedAuthService = authService;
203
-
204
- for (const decorator of resolveAuthServiceDecorators(scope)) {
205
- decoratedAuthService = decorator.decorateAuthService(decoratedAuthService);
206
- if (!decoratedAuthService || typeof decoratedAuthService !== "object") {
207
- throw new Error(`Auth service decorator "${decorator.decoratorId}" must return an auth service object.`);
208
- }
209
- }
210
-
211
- return decoratedAuthService;
212
- }
213
-
214
201
  class AuthSupabaseServiceProvider {
215
202
  static id = "auth.provider.supabase";
216
203