diff --git a/__tests__/session.spec.ts b/__tests__/session.spec.ts index 5425137..acc2f3d 100644 --- a/__tests__/session.spec.ts +++ b/__tests__/session.spec.ts @@ -343,7 +343,7 @@ describe('session.ts', () => { expect(console.log).toHaveBeenNthCalledWith( 2, 'Failed to refresh. Deleting cookie.', - new Error('Failed to refresh'), + new Error('Failed to refresh session: Failed to refresh'), ); }); @@ -564,7 +564,7 @@ describe('session.ts', () => { expect(console.log).toHaveBeenNthCalledWith( 2, 'Failed to refresh. Deleting cookie.', - new Error('Failed to refresh'), + new Error('Failed to refresh session: Failed to refresh'), ); expect(console.log).toHaveBeenNthCalledWith( diff --git a/package.json b/package.json index 3b63e34..fd81881 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@workos-inc/authkit-nextjs", - "version": "0.17.2", + "version": "1.0.0", "description": "Authentication and session helpers for using WorkOS & AuthKit with Next.js", "sideEffects": false, "type": "module", diff --git a/src/workos.ts b/src/workos.ts index 5bd1b06..205edcb 100644 --- a/src/workos.ts +++ b/src/workos.ts @@ -1,7 +1,7 @@ import { WorkOS } from '@workos-inc/node'; import { WORKOS_API_HOSTNAME, WORKOS_API_KEY, WORKOS_API_HTTPS, WORKOS_API_PORT } from './env-variables.js'; -export const VERSION = '0.17.2'; +export const VERSION = '1.0.0'; const options = { apiHostname: WORKOS_API_HOSTNAME,