@okta/okta-auth-js 6.7.0 → 6.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +26 -2
  2. package/cjs/OktaUserAgent.js +2 -2
  3. package/cjs/idx/flow/AuthenticationFlow.js +2 -0
  4. package/cjs/idx/flow/AuthenticationFlow.js.map +1 -1
  5. package/cjs/idx/remediators/GenericRemediator/GenericRemediator.js +25 -10
  6. package/cjs/idx/remediators/GenericRemediator/GenericRemediator.js.map +1 -1
  7. package/cjs/idx/remediators/GenericRemediator/util.js +13 -5
  8. package/cjs/idx/remediators/GenericRemediator/util.js.map +1 -1
  9. package/cjs/idx/types/idx-js.js.map +1 -1
  10. package/cjs/idx/util.js +34 -2
  11. package/cjs/idx/util.js.map +1 -1
  12. package/cjs/util/misc.js +8 -0
  13. package/cjs/util/misc.js.map +1 -1
  14. package/dist/okta-auth-js.min.js +1 -1
  15. package/dist/okta-auth-js.min.js.map +1 -1
  16. package/dist/okta-auth-js.umd.js +1 -1
  17. package/dist/okta-auth-js.umd.js.map +1 -1
  18. package/esm/browser/OktaUserAgent.js +2 -2
  19. package/esm/browser/idx/flow/AuthenticationFlow.js +4 -2
  20. package/esm/browser/idx/flow/AuthenticationFlow.js.map +1 -1
  21. package/esm/browser/idx/remediators/GenericRemediator/GenericRemediator.js +8 -6
  22. package/esm/browser/idx/remediators/GenericRemediator/GenericRemediator.js.map +1 -1
  23. package/esm/browser/idx/remediators/GenericRemediator/util.js +11 -53
  24. package/esm/browser/idx/remediators/GenericRemediator/util.js.map +1 -1
  25. package/esm/browser/idx/types/idx-js.js.map +1 -1
  26. package/esm/browser/idx/util.js +13 -2
  27. package/esm/browser/idx/util.js.map +1 -1
  28. package/esm/browser/index.js +1 -1
  29. package/esm/browser/util/misc.js +8 -1
  30. package/esm/browser/util/misc.js.map +1 -1
  31. package/esm/node/OktaUserAgent.js +2 -2
  32. package/esm/node/idx/flow/AuthenticationFlow.js +4 -2
  33. package/esm/node/idx/flow/AuthenticationFlow.js.map +1 -1
  34. package/esm/node/idx/remediators/GenericRemediator/GenericRemediator.js +8 -6
  35. package/esm/node/idx/remediators/GenericRemediator/GenericRemediator.js.map +1 -1
  36. package/esm/node/idx/remediators/GenericRemediator/util.js +11 -53
  37. package/esm/node/idx/remediators/GenericRemediator/util.js.map +1 -1
  38. package/esm/node/idx/types/idx-js.js.map +1 -1
  39. package/esm/node/idx/util.js +13 -2
  40. package/esm/node/idx/util.js.map +1 -1
  41. package/esm/node/index.js +1 -1
  42. package/esm/node/util/misc.js +8 -1
  43. package/esm/node/util/misc.js.map +1 -1
  44. package/lib/idx/types/idx-js.d.ts +12 -0
  45. package/lib/util/misc.d.ts +1 -0
  46. package/package.json +3 -4
@@ -78,6 +78,10 @@ export interface IdxAuthenticator {
78
78
  };
79
79
  credentialId?: string;
80
80
  enrollmentId?: string;
81
+ profile?: Record<string, unknown>;
82
+ resend?: Record<string, unknown>;
83
+ poll?: Record<string, unknown>;
84
+ recover?: Record<string, unknown>;
81
85
  }
82
86
  export interface IdxForm {
83
87
  value: IdxRemediationValue[];
@@ -186,6 +190,14 @@ export interface RawIdxResponse {
186
190
  messages?: IdxMessages;
187
191
  success?: boolean;
188
192
  successWithInteractionCode?: IdxRemediation;
193
+ currentAuthenticator?: {
194
+ type: string;
195
+ value: IdxAuthenticator;
196
+ };
197
+ currentAuthenticatorEnrollment?: {
198
+ type: string;
199
+ value: IdxAuthenticator;
200
+ };
189
201
  }
190
202
  export declare function isRawIdxResponse(obj: any): obj is RawIdxResponse;
191
203
  export interface IdxActionParams {
@@ -12,3 +12,4 @@
12
12
  export declare function isoToUTCString(str: any): string;
13
13
  export declare function genRandomString(length: any): string;
14
14
  export declare function delay(ms: any): Promise<unknown>;
15
+ export declare function split2(str: any, delim: any): any[];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "@okta/okta-auth-js",
4
4
  "description": "The Okta Auth SDK",
5
- "version": "6.7.0",
5
+ "version": "6.7.3",
6
6
  "homepage": "https://github.com/okta/okta-auth-js",
7
7
  "license": "Apache-2.0",
8
8
  "main": "cjs/index.js",
@@ -202,8 +202,7 @@
202
202
  "directory": "test/types"
203
203
  },
204
204
  "okta": {
205
- "commitSha": "59ccec611edd92a11caf392c1b63bc77329f5ec7",
206
- "fullVersion": "6.7.0-g59ccec6",
207
- "testedSha": "e8ddce45ab7225c826feaad84327ab7ccf4a59fa"
205
+ "commitSha": "02d0d54b0a79c5fe0f085c7e83860614fc42a0c4",
206
+ "fullVersion": "6.7.3-g02d0d54"
208
207
  }
209
208
  }