@ory/elements-react 1.0.0-next.22 → 1.0.0-next.23
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 +19 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +3 -0
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.js +2 -1
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +2 -1
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
## 1.0.0-next.
|
|
1
|
+
## 1.0.0-next.23 (2025-01-21)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- don't short circuit code method selector ([#336](https://github.com/ory/elements/pull/336))
|
|
6
|
+
|
|
7
|
+
### ❤️ Thank You
|
|
8
|
+
|
|
9
|
+
- hackerman @aeneasr
|
|
10
|
+
- Jonas Hungershausen
|
|
11
|
+
|
|
12
|
+
## 1.0.0-next.3 (2025-01-21)
|
|
13
|
+
|
|
14
|
+
### 🚀 Features
|
|
15
|
+
|
|
16
|
+
- expose get flow factory ([#333](https://github.com/ory/elements/pull/333))
|
|
17
|
+
|
|
18
|
+
### ❤️ Thank You
|
|
19
|
+
|
|
20
|
+
- hackerman @aeneasr
|
|
4
21
|
|
|
5
22
|
## 1.0.0-next.21 (2025-01-18)
|
|
6
23
|
|
package/dist/index.js
CHANGED
|
@@ -225,7 +225,7 @@ function parseStateFromFlow(flow) {
|
|
|
225
225
|
return { current: "method_active", method: flow.flow.active };
|
|
226
226
|
} else if (isChoosingMethod(flow.flow.ui.nodes)) {
|
|
227
227
|
const authMethods = nodesToAuthMethodGroups(flow.flow.ui.nodes);
|
|
228
|
-
if (authMethods.length === 1) {
|
|
228
|
+
if (authMethods.length === 1 && authMethods[0] !== "code") {
|
|
229
229
|
return { current: "method_active", method: authMethods[0] };
|
|
230
230
|
}
|
|
231
231
|
return { current: "select_method" };
|