Skip to content

Commit 4af4e11

Browse files
committed
v8.0.0-beta.1
1 parent 1daafe7 commit 4af4e11

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
run: |
2727
npm install
2828
29+
- name: Build Project
30+
run: |
31+
npm run build
32+
2933
- name: Run Tests
3034
run: |
3135
npm run test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "7.64.0",
2+
"version": "8.0.0-beta.1",
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/7.64.0/fetch",
24+
"User-Agent": "workos-node/8.0.0-beta.1/fetch",
2525
}
2626
`;
2727

@@ -65,7 +65,7 @@ exports[`SSO SSO getProfileAndToken without a groups attribute sends a request t
6565
"Accept": "application/json, text/plain, */*",
6666
"Authorization": "Bearer sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU",
6767
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
68-
"User-Agent": "workos-node/7.64.0/fetch",
68+
"User-Agent": "workos-node/8.0.0-beta.1/fetch",
6969
}
7070
`;
7171

src/workos.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import { ConflictException } from './common/exceptions/conflict.exception';
3939
import { CryptoProvider } from './common/crypto/crypto-provider';
4040
import { ParseError } from './common/exceptions/parse-error';
4141

42-
const VERSION = '7.64.0';
42+
const VERSION = '8.0.0-beta.1';
4343

4444
const DEFAULT_HOSTNAME = 'api.workos.com';
4545

@@ -68,10 +68,7 @@ export class WorkOS {
6868
readonly widgets = new Widgets(this);
6969
readonly vault = new Vault(this);
7070

71-
constructor(
72-
readonly key?: string,
73-
readonly options: WorkOSOptions = {},
74-
) {
71+
constructor(readonly key?: string, readonly options: WorkOSOptions = {}) {
7572
if (!key) {
7673
// process might be undefined in some environments
7774
this.key =

0 commit comments

Comments
 (0)