@zodic/shared 0.0.271 → 0.0.273

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.
@@ -29,6 +29,13 @@
29
29
  "when": 1740256286190,
30
30
  "tag": "0003_thin_valeria_richards",
31
31
  "breakpoints": true
32
+ },
33
+ {
34
+ "idx": 4,
35
+ "version": "6",
36
+ "when": 1742042357823,
37
+ "tag": "0004_loose_iron_monger",
38
+ "breakpoints": true
32
39
  }
33
40
  ]
34
41
  }
package/db/schema.ts CHANGED
@@ -298,7 +298,7 @@ export const concepts = sqliteTable(
298
298
  slug: text('slug').notNull(), // Name of the Concept (e.g., "crown", "amulet")
299
299
  planet1: text('planet1').notNull(), // First planet (e.g., "sun")
300
300
  planet2: text('planet2').notNull(), // Second planet (e.g., "moon")
301
- planet3: text('planet3'), // Third planet (e.g., "Ascendant"), optional for some Concepts
301
+ planet3: text('planet3').notNull(), // Third planet (e.g., "Ascendant"), optional for some Concepts
302
302
  },
303
303
  (t) => [index('concepts_name_idx').on(t.name)]
304
304
  );
@@ -6,6 +6,8 @@ export const jwtMiddleware = async (c: AuthCtx, next: () => Promise<void>) => {
6
6
  let token: string | undefined = undefined;
7
7
 
8
8
  const authHeader = c.req.header('Authorization');
9
+ console.warn('Received AuthHeader: ', authHeader);
10
+ console.log('Received AuthHeader: ', authHeader);
9
11
  if (authHeader && authHeader.startsWith('Bearer ')) {
10
12
  token = authHeader.substring(7);
11
13
  console.log('Token extracted from Authorization header:', token);
@@ -43,4 +45,4 @@ export const jwtMiddleware = async (c: AuthCtx, next: () => Promise<void>) => {
43
45
  console.error('❌ Token verification failed:', err.message);
44
46
  return c.json({ error: 'Unauthorized: Invalid or expired token' }, 401);
45
47
  }
46
- };
48
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.271",
3
+ "version": "0.0.273",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {