@henosia/app-next 1.0.9 → 1.0.10

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.
@@ -4,7 +4,7 @@
4
4
  "private": true,
5
5
  "dependencies": {
6
6
  "__add_these__:": "",
7
- "@henosia/app-next": "^1.0.9",
7
+ "@henosia/app-next": "^1.0.10",
8
8
  "@tanstack/react-query": "^5.100.11",
9
9
  "better-auth": "1.6.11",
10
10
  "__others_omitted_for_brevity__": ""
@@ -139,7 +139,7 @@ function routeWithHenosiaAuth(handler) {
139
139
  try {
140
140
  const verified = await verifyHenosiaAuthToken(request);
141
141
  payload = verified.payload;
142
- accessToken = verified.accessTokenResponse.accessToken;
142
+ accessToken = verified.accessTokenResponse.idToken;
143
143
  } catch (error) {
144
144
  if (isUnauthorizedException(error)) return unauthorizedResponse();
145
145
  console.error(`[Henosia Auth] Unexpected error verifying token for ${request.method} ${request.nextUrl.pathname}`, error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henosia/app-next",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Henosia integration for Next.js apps: Provides Henosia Auth and Henosia Platform features like app switcher",
5
5
  "author": "Henosia",
6
6
  "license": "SEE LICENSE IN LICENSE",