From 5260da32e26038edb72919b94eb859ba7c0194d5 Mon Sep 17 00:00:00 2001 From: Abdul Date: Thu, 8 Feb 2024 01:30:35 +0400 Subject: [PATCH] v5.2.0 (#961) ## Description Will include changes from https://github.com/workos/workos-node/pull/958 ## 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. --- package.json | 2 +- src/sso/__snapshots__/sso.spec.ts.snap | 4 ++-- src/workos.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 61b40894d..009944566 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "5.1.4", + "version": "5.2.0", "name": "@workos-inc/node", "author": "WorkOS", "description": "A Node wrapper for the WorkOS API", diff --git a/src/sso/__snapshots__/sso.spec.ts.snap b/src/sso/__snapshots__/sso.spec.ts.snap index ddd75dabd..870233980 100644 --- a/src/sso/__snapshots__/sso.spec.ts.snap +++ b/src/sso/__snapshots__/sso.spec.ts.snap @@ -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/5.1.4", + "User-Agent": "workos-node/5.2.0", } `; @@ -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/5.1.4", + "User-Agent": "workos-node/5.2.0", } `; diff --git a/src/workos.ts b/src/workos.ts index f23ccceb2..68124d05e 100644 --- a/src/workos.ts +++ b/src/workos.ts @@ -27,7 +27,7 @@ import { AuditLogs } from './audit-logs/audit-logs'; import { UserManagement } from './user-management/user-management'; import { BadRequestException } from './common/exceptions/bad-request.exception'; -const VERSION = '5.1.4'; +const VERSION = '5.2.0'; const DEFAULT_HOSTNAME = 'api.workos.com';