Skip to content

Commit 043697f

Browse files
committed
v8.0.0-beta.1
1 parent 40022f9 commit 043697f

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.60.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.60.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.60.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
@@ -37,7 +37,7 @@ import { Vault } from './vault/vault';
3737
import { ConflictException } from './common/exceptions/conflict.exception';
3838
import { CryptoProvider } from './common/crypto/crypto-provider';
3939

40-
const VERSION = '7.60.0';
40+
const VERSION = '8.0.0-beta.1';
4141

4242
const DEFAULT_HOSTNAME = 'api.workos.com';
4343

@@ -66,10 +66,7 @@ export class WorkOS {
6666
readonly widgets = new Widgets(this);
6767
readonly vault = new Vault(this);
6868

69-
constructor(
70-
readonly key?: string,
71-
readonly options: WorkOSOptions = {},
72-
) {
69+
constructor(readonly key?: string, readonly options: WorkOSOptions = {}) {
7370
if (!key) {
7471
// process might be undefined in some environments
7572
this.key =

0 commit comments

Comments
 (0)