@stytch/vanilla-js 0.14.2 → 0.14.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
+ ## 0.14.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 0a626d1: bug fix for the B2B SDK UI: only showing the allowed auth methods when an organization has restricted auth methods
8
+ - Updated dependencies [0a626d1]
9
+ - @stytch/core@0.13.1
10
+
3
11
  ## 0.14.2
4
12
 
5
13
  ### Patch Changes
@@ -216,6 +216,8 @@ interface Organization {
216
216
  email_allowed_domains: string[];
217
217
  email_jit_provisioning: "RESTRICTED" | "NOT_ALLOWED";
218
218
  email_invites: "ALL_ALLOWED" | "RESTRICTED" | "NOT_ALLOWED";
219
+ auth_methods: "ALL_ALLOWED" | "RESTRICTED";
220
+ allowed_auth_methods: string[];
219
221
  }
220
222
  type B2BPasswordAuthenticateOptions = SessionDurationOptions & {
221
223
  /**
@@ -216,6 +216,8 @@ interface Organization {
216
216
  email_allowed_domains: string[];
217
217
  email_jit_provisioning: "RESTRICTED" | "NOT_ALLOWED";
218
218
  email_invites: "ALL_ALLOWED" | "RESTRICTED" | "NOT_ALLOWED";
219
+ auth_methods: "ALL_ALLOWED" | "RESTRICTED";
220
+ allowed_auth_methods: string[];
219
221
  }
220
222
  type B2BPasswordAuthenticateOptions = SessionDurationOptions & {
221
223
  /**