@stytch/vanilla-js 1.1.2 → 1.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
+ ## 1.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 83c017e: Updated types for the password strength method. Updated UI for the password strength check while using LUDS
8
+ - Updated dependencies [83c017e]
9
+ - @stytch/core@0.14.3
10
+
3
11
  ## 1.1.2
4
12
 
5
13
  ### Patch Changes
@@ -334,6 +334,10 @@ type B2BPasswordStrengthCheckResponse = MemberResponseCommon & {
334
334
  * Determines if the password has been breached using {@link https://haveibeenpwned.com/ HaveIBeenPwned}.
335
335
  */
336
336
  breached_password: boolean;
337
+ /**
338
+ * The strength policy type enforced, either `zxcvbn` or `luds`.
339
+ */
340
+ strength_policy: "luds" | "zxcvbn";
337
341
  /**
338
342
  * Feedback for how to improve the password's strength using {@link https://github.com/dropbox/zxcvbn zxcvbn}.
339
343
  */
@@ -334,6 +334,10 @@ type B2BPasswordStrengthCheckResponse = MemberResponseCommon & {
334
334
  * Determines if the password has been breached using {@link https://haveibeenpwned.com/ HaveIBeenPwned}.
335
335
  */
336
336
  breached_password: boolean;
337
+ /**
338
+ * The strength policy type enforced, either `zxcvbn` or `luds`.
339
+ */
340
+ strength_policy: "luds" | "zxcvbn";
337
341
  /**
338
342
  * Feedback for how to improve the password's strength using {@link https://github.com/dropbox/zxcvbn zxcvbn}.
339
343
  */