@stytch/vanilla-js 0.13.3 → 0.14.0

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,22 @@
1
1
  # @stytch/vanilla-js
2
2
 
3
+ ## 0.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c8e2d0b: B2B Passwords UI components
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [c8e2d0b]
12
+ - @stytch/core@0.12.0
13
+
14
+ ## 0.13.4
15
+
16
+ ### Patch Changes
17
+
18
+ - 0d80d2e: Fix for the onEvent callback while creating a new organization in the B2B SDK UI. Missing export for the nextjs B2B package
19
+
3
20
  ## 0.13.3
4
21
 
5
22
  ### Patch Changes
@@ -98,6 +98,12 @@ interface MemberSession {
98
98
  */
99
99
  custom_claims?: Record<string, unknown>;
100
100
  }
101
+ interface SSORegistration {
102
+ connection_id: string;
103
+ external_id: string;
104
+ registration_id: string;
105
+ sso_attributes: Record<string, unknown>;
106
+ }
101
107
  interface Member {
102
108
  /**
103
109
  * Globally unique UUID that identifies an organization in the Stytch API.
@@ -134,6 +140,12 @@ interface Member {
134
140
  * See our {@link https://stytch.com/docs/api/metadata metadata reference} for complete details.
135
141
  */
136
142
  untrusted_metadata: Record<string, unknown>;
143
+ sso_registrations: Array<SSORegistration>;
144
+ is_breakglass: boolean;
145
+ /**
146
+ * Returned if the member has a registered password
147
+ */
148
+ member_password_id: string;
137
149
  }
138
150
  type B2BAuthenticateResponse = ResponseCommon & {
139
151
  /**
@@ -98,6 +98,12 @@ interface MemberSession {
98
98
  */
99
99
  custom_claims?: Record<string, unknown>;
100
100
  }
101
+ interface SSORegistration {
102
+ connection_id: string;
103
+ external_id: string;
104
+ registration_id: string;
105
+ sso_attributes: Record<string, unknown>;
106
+ }
101
107
  interface Member {
102
108
  /**
103
109
  * Globally unique UUID that identifies an organization in the Stytch API.
@@ -134,6 +140,12 @@ interface Member {
134
140
  * See our {@link https://stytch.com/docs/api/metadata metadata reference} for complete details.
135
141
  */
136
142
  untrusted_metadata: Record<string, unknown>;
143
+ sso_registrations: Array<SSORegistration>;
144
+ is_breakglass: boolean;
145
+ /**
146
+ * Returned if the member has a registered password
147
+ */
148
+ member_password_id: string;
137
149
  }
138
150
  type B2BAuthenticateResponse = ResponseCommon & {
139
151
  /**