@wecode-team/cms-supabase-api 0.1.48 → 0.1.49

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.
@@ -13,4 +13,9 @@ export declare function getSessionAdminRow(supabase: SupabaseClient, sessionId:
13
13
  user_id: string;
14
14
  email?: string | null;
15
15
  } | null>;
16
+ export declare function getSessionAdminRowByEmail(supabase: SupabaseClient, sessionId: string, email: string): Promise<{
17
+ session_id: string;
18
+ user_id: string;
19
+ email?: string | null;
20
+ } | null>;
16
21
  export declare function isUserSessionAdmin(supabase: SupabaseClient, sessionId: string, userId: string): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wecode-team/cms-supabase-api",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "description": "A CMS API package using Hono framework with Supabase and dynamic table management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -50,6 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@babel/runtime": "^7.22.5",
53
+ "@wecode-team/email-verify": "^0.0.2",
53
54
  "@wecode-team/oss": "^0.0.1",
54
55
  "bcryptjs": "^2.4.3",
55
56
  "jsonwebtoken": "^9.0.2"