Skip to content

Commit

Permalink
Version 1.0.0 (#168)
Browse files Browse the repository at this point in the history
* Version 1.0.0

* Fix failing test
  • Loading branch information
Paul Asjes authored Jan 13, 2025
1 parent e20e926 commit 2b269cc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions __tests__/session.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
);
});

Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/workos.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 2b269cc

Please sign in to comment.