@ory/elements-react 1.0.0-rc.4 → 1.0.0-rc.5

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,3 +1,13 @@
1
+ ## 1.0.0-rc.5 (2025-05-16)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - properly detect OIDC account linking ([#538](https://github.com/ory/elements/pull/538))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Jonas Hungershausen
10
+
1
11
  ## 1.0.0-rc.4 (2025-05-15)
2
12
 
3
13
  ### 🩹 Fixes
package/DEVELOPMENT.md CHANGED
@@ -73,7 +73,8 @@ Usage:
73
73
  ```bash
74
74
  ./scripts/release.sh <project> <tag>
75
75
 
76
- ./scripts/release.sh @ory/elements-react next
76
+ ./scripts/release.sh @ory/elements-react next # next release preview (-next.X)
77
+ ./scripts/release.sh @ory/elements-react rc # release candidate (-rc.X)
77
78
  ```
78
79
 
79
80
  The script asks the user before executing each steps. Please double check
package/dist/index.js CHANGED
@@ -322,6 +322,8 @@ function parseStateFromFlow(flow) {
322
322
  return { current: "method_active", method: "code" };
323
323
  } else if (methodWithMessage) {
324
324
  return { current: "method_active", method: methodWithMessage.group };
325
+ } else if ((_a = flow.flow.ui.messages) == null ? void 0 : _a.some((m) => m.id === 1010016)) {
326
+ return { current: "select_method" };
325
327
  } else if (flow.flow.active && !["default", "identifier_first"].includes(flow.flow.active)) {
326
328
  return { current: "method_active", method: flow.flow.active };
327
329
  } else if (isChoosingMethod(flow)) {
@@ -330,8 +332,6 @@ function parseStateFromFlow(flow) {
330
332
  return { current: "method_active", method: authMethods[0] };
331
333
  }
332
334
  return { current: "select_method" };
333
- } else if ((_a = flow.flow.ui.messages) == null ? void 0 : _a.some((m) => m.id === 1010016)) {
334
- return { current: "select_method" };
335
335
  }
336
336
  return { current: "provide_identifier" };
337
337
  }