Skip to content

Commit bff1fda

Browse files
committed
update workos-node to 7.41.0
1 parent 2525009 commit bff1fda

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"format": "prettier --write \"{src,__tests__}/**/*.{js,ts,tsx}\""
2424
},
2525
"dependencies": {
26-
"@workos-inc/node": "^7.31.0",
26+
"@workos-inc/node": "^7.41.0",
2727
"iron-session": "^8.0.1",
2828
"jose": "^5.2.3"
2929
},

src/session.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,10 @@ describe('session', () => {
128128
profilePictureUrl: 'https://example.com/avatar.jpg',
129129
firstName: 'Test',
130130
lastName: 'User',
131+
externalId: null,
131132
createdAt: '2021-01-01T00:00:00Z',
132133
updatedAt: '2021-01-01T00:00:00Z',
134+
lastSignInAt: '2021-01-01T00:00:00Z',
133135
},
134136
impersonator: undefined,
135137
headers: {},

src/test-utils/test-helpers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ export function createAuthWithCodeResponse(overrides: Record<string, unknown> =
5252
object: 'user' as const,
5353
createdAt: '2024-01-01T00:00:00Z',
5454
updatedAt: '2024-01-01T00:00:00Z',
55+
lastSignInAt: '2024-01-01T00:00:00Z',
56+
externalId: null,
5557
},
5658
...overrides,
5759
};

0 commit comments

Comments
 (0)