Skip to content

Commit

Permalink
v3.0.0-alpha.1 (#789)
Browse files Browse the repository at this point in the history
## Description

This PR is the first alpha release for v3.0.0 of the SDK.

## 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.
  • Loading branch information
maxdeviant authored Aug 4, 2023
1 parent 5f4008c commit 3dab588
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .semaphore/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ blocks:
- name: yarn publish
commands:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- yarn publish --access=public
# TODO: Remove the `--tag=next` specifier when we're ready to release v3.0.0.
- yarn publish --access=public --tag=next
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.0.0",
"version": "3.0.0-alpha.1",
"name": "@workos-inc/node",
"author": "WorkOS",
"description": "A Node wrapper for the WorkOS API",
Expand Down
4 changes: 2 additions & 2 deletions src/sso/__snapshots__/sso.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports[`SSO SSO getProfileAndToken with all information provided sends a reques
"Accept": "application/json, text/plain, */*",
"Authorization": "Bearer sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU",
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
"User-Agent": "workos-node/3.0.0",
"User-Agent": "workos-node/3.0.0-alpha.1",
}
`;

Expand Down Expand Up @@ -58,7 +58,7 @@ exports[`SSO SSO getProfileAndToken without a groups attribute sends a request t
"Accept": "application/json, text/plain, */*",
"Authorization": "Bearer sk_test_Sz3IQjepeSWaI4cMS4ms4sMuU",
"Content-Type": "application/x-www-form-urlencoded;charset=utf-8",
"User-Agent": "workos-node/3.0.0",
"User-Agent": "workos-node/3.0.0-alpha.1",
}
`;

Expand Down
2 changes: 1 addition & 1 deletion src/workos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { AuditLogs } from './audit-logs/audit-logs';
import { Users } from './users/users';
import { BadRequestException } from './common/exceptions/bad-request.exception';

const VERSION = '3.0.0';
const VERSION = '3.0.0-alpha.1';

const DEFAULT_HOSTNAME = 'api.workos.com';

Expand Down

0 comments on commit 3dab588

Please sign in to comment.