From ece70188b7cc8a30fb87831290e8e75094655ff2 Mon Sep 17 00:00:00 2001 From: releng-internal-okta Date: Wed, 12 Jan 2022 21:51:11 +0000 Subject: [PATCH] bump version to 5.10.1 fix typescript error Update CHANGELOG.md OKTA-459135 <<>> Artifact: okta-auth-js Files changed count: 3 PR Link: "https://github.com/okta/okta-auth-js/pull/1054" --- CHANGELOG.md | 6 ++++++ lib/idx/remediators/EnrollPoll.ts | 2 +- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f9e5fad6..a16d80b93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 5.10.1 + +### Fixes + +- [#1054](https://github.com/okta/okta-auth-js/pull/1054) Fixes Typescript build error + ## 5.10.0 ### Features diff --git a/lib/idx/remediators/EnrollPoll.ts b/lib/idx/remediators/EnrollPoll.ts index 7fde3cbff..368ede5f5 100644 --- a/lib/idx/remediators/EnrollPoll.ts +++ b/lib/idx/remediators/EnrollPoll.ts @@ -44,7 +44,7 @@ export class EnrollPoll extends Remediator { }; } - getValuesAfterProceed(): unknown { + getValuesAfterProceed(): EnrollPollValues { let trimmedValues = Object.keys(this.values).filter(valueKey => valueKey !== 'startPolling'); return trimmedValues.reduce((values, valueKey) => ({...values, [valueKey]: this.values[valueKey]}), {}); } diff --git a/package.json b/package.json index b74ae45ec..7927130df 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "name": "@okta/okta-auth-js", "description": "The Okta Auth SDK", - "version": "5.10.0", + "version": "5.10.1", "homepage": "https://github.com/okta/okta-auth-js", "license": "Apache-2.0", "main": "build/cjs/index.js",