Skip to content

Commit 1c35c6c

Browse files
maxdeviantrobframptonblairworkosalisherryamygdalama
authored
Update main from v2.x branch (#763)
## Description This PR merges the changes from the `v2.x` branch into `main`. ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes ``` If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required. --------- Co-authored-by: Robert Frampton <rob@workos.com> Co-authored-by: Blair Lunceford <74257063+blairlunceford@users.noreply.github.com> Co-authored-by: alisherry <sheheryar.s.ali@gmail.com> Co-authored-by: Amy Hanlon <amy@workos.com>
1 parent ddcd0ac commit 1c35c6c

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.17.0",
2+
"version": "2.20.0",
33
"name": "@workos-inc/node",
44
"author": "WorkOS",
55
"description": "A Node wrapper for the WorkOS API",

src/events/events.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import axios from 'axios';
2-
32
import MockAdapater from 'axios-mock-adapter';
4-
53
import { List } from '../common/interfaces/list.interface';
64
import { WorkOS } from '../workos';
75
import { Event } from './interfaces/event.interface';

src/sso/__snapshots__/sso.spec.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exports[`SSO SSO getProfileAndToken with all information provided sends a reques
2121
"Accept": "application/json, text/plain, */*",
2222
"Authorization": "Bearer sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU",
2323
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
24-
"User-Agent": "workos-node/2.17.0",
24+
"User-Agent": "workos-node/2.20.0",
2525
}
2626
`;
2727

@@ -58,7 +58,7 @@ exports[`SSO SSO getProfileAndToken without a groups attribute sends a request t
5858
"Accept": "application/json, text/plain, */*",
5959
"Authorization": "Bearer sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU",
6060
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
61-
"User-Agent": "workos-node/2.17.0",
61+
"User-Agent": "workos-node/2.20.0",
6262
}
6363
`;
6464

src/workos.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Mfa } from './mfa/mfa';
2626
import { AuditLogs } from './audit-logs/audit-logs';
2727
import { BadRequestException } from './common/exceptions/bad-request.exception';
2828

29-
const VERSION = '2.17.0';
29+
const VERSION = '2.20.0';
3030

3131
const DEFAULT_HOSTNAME = 'api.workos.com';
3232

0 commit comments

Comments
 (0)