@cedarjs/auth-supabase-middleware 2.4.1 → 2.4.2-next.143

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,12 +1,11 @@
1
- import type { SupabaseClient } from '@supabase/supabase-js';
2
1
  import type { MiddlewareRequest, MiddlewareResponse } from '@cedarjs/web/middleware';
3
2
  /**
4
3
  * Creates Supabase Server Client used to get the session cookie (only)
5
4
  * from a given collection of auth cookies
6
5
  */
7
6
  export declare const createSupabaseServerClient: (req: MiddlewareRequest, res: MiddlewareResponse) => {
8
- cookieName: string | null;
9
- supabase: SupabaseClient;
7
+ cookieName: null;
8
+ supabase: import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
10
9
  };
11
10
  /**
12
11
  * Clear the Supabase and auth cookies from the request and response
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/util.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAI3D,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,yBAAyB,CAAA;AAChC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GACrC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,KACtB;IAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,cAAc,CAAA;CAmCvD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,SAgBxB,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/util.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,yBAAyB,CAAA;AAChC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GACrC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB;;;CAoCxB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,SAgBxB,CAAA"}
package/dist/util.d.ts CHANGED
@@ -1,12 +1,11 @@
1
- import type { SupabaseClient } from '@supabase/supabase-js';
2
1
  import type { MiddlewareRequest, MiddlewareResponse } from '@cedarjs/web/middleware';
3
2
  /**
4
3
  * Creates Supabase Server Client used to get the session cookie (only)
5
4
  * from a given collection of auth cookies
6
5
  */
7
6
  export declare const createSupabaseServerClient: (req: MiddlewareRequest, res: MiddlewareResponse) => {
8
- cookieName: string | null;
9
- supabase: SupabaseClient;
7
+ cookieName: null;
8
+ supabase: import("@supabase/supabase-js/dist/index.cjs").SupabaseClient<any, "public", "public", any, any>;
10
9
  };
11
10
  /**
12
11
  * Clear the Supabase and auth cookies from the request and response
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAI3D,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,yBAAyB,CAAA;AAChC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GACrC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,KACtB;IAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,EAAE,cAAc,CAAA;CAmCvD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,SAgBxB,CAAA"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,yBAAyB,CAAA;AAChC;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GACrC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB;;;CAoCxB,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,SAgBxB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/auth-supabase-middleware",
3
- "version": "2.4.1",
3
+ "version": "2.4.2-next.143+b69a4494c",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -38,19 +38,19 @@
38
38
  "test:watch": "vitest watch"
39
39
  },
40
40
  "dependencies": {
41
- "@cedarjs/auth-supabase-api": "2.4.1",
42
- "@cedarjs/web": "2.4.1",
41
+ "@cedarjs/auth-supabase-api": "2.4.2-next.143+b69a4494c",
42
+ "@cedarjs/web": "2.4.2-next.143+b69a4494c",
43
43
  "@supabase/ssr": "0.8.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@arethetypeswrong/cli": "0.18.2",
47
- "@cedarjs/api": "2.4.1",
48
- "@cedarjs/auth": "2.4.1",
49
- "@cedarjs/framework-tools": "0.0.0",
50
- "@cedarjs/graphql-server": "2.4.1",
51
- "@types/aws-lambda": "8.10.159",
47
+ "@cedarjs/api": "2.4.2-next.143+b69a4494c",
48
+ "@cedarjs/auth": "2.4.2-next.143+b69a4494c",
49
+ "@cedarjs/framework-tools": "2.4.2-next.143",
50
+ "@cedarjs/graphql-server": "2.4.2-next.143+b69a4494c",
51
+ "@types/aws-lambda": "8.10.160",
52
52
  "concurrently": "9.2.1",
53
- "publint": "0.3.16",
53
+ "publint": "0.3.17",
54
54
  "ts-toolbelt": "9.6.0",
55
55
  "tsx": "4.21.0",
56
56
  "typescript": "5.9.3",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "d42ba2ec10b823aeb18587f04678bfec340d533a"
62
+ "gitHead": "b69a4494c40b0a4807f6b492ae65d0596f374e8a"
63
63
  }