Skip to content

Commit

Permalink
fix: add missing relatesTo to nextStep - OKTA-496979 (#1224)
Browse files Browse the repository at this point in the history
* fix: add missing relatesTo to nextStep - OKTA-496979

* bump version to 6.5.3
  • Loading branch information
shuowu authored May 31, 2022
1 parent c0859b2 commit 4536ba0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.5.3

- [#1224](https://github.com/okta/okta-auth-js/pull/1224) Fixes missing `relatesTo` type from `NextStep`

## 6.5.2

### Fixes
Expand Down
6 changes: 5 additions & 1 deletion lib/idx/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export type Input = {
secret?: boolean;
required?: boolean;
options?: IdxOption[];
relatesTo?: IdxAuthenticator;
mutable?: boolean;
visible?: boolean;
}
Expand All @@ -69,6 +68,11 @@ export type NextStep = {
action?: (params?: IdxActionParams) => Promise<IdxTransaction>;
idp?: IdpConfig;
href?: string;
relatesTo?: {
type?: string;
value: IdxAuthenticator;
};
refresh?: number;
}

export enum IdxFeature {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "@okta/okta-auth-js",
"description": "The Okta Auth SDK",
"version": "6.5.2",
"version": "6.5.3",
"homepage": "https://github.com/okta/okta-auth-js",
"license": "Apache-2.0",
"main": "build/cjs/index.js",
Expand Down

0 comments on commit 4536ba0

Please sign in to comment.