Skip to content

Commit 68314f0

Browse files
authored
Bump major version to v3.0.0 (#768)
Bumping the API version now to clarify that: * `main` is the v3 development branch * `v2.x` should be used for current API releases
1 parent 1c35c6c commit 68314f0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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.20.0",
2+
"version": "3.0.0",
33
"name": "@workos-inc/node",
44
"author": "WorkOS",
55
"description": "A Node wrapper for the WorkOS API",

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.20.0",
24+
"User-Agent": "workos-node/3.0.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.20.0",
61+
"User-Agent": "workos-node/3.0.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.20.0';
29+
const VERSION = '3.0.0';
3030

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

0 commit comments

Comments
 (0)