@zodic/shared 0.0.272 → 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.
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
|
);
|
package/middleware/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ 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);
|
|
9
10
|
console.log('Received AuthHeader: ', authHeader);
|
|
10
11
|
if (authHeader && authHeader.startsWith('Bearer ')) {
|
|
11
12
|
token = authHeader.substring(7);
|