@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 +10 -0
- package/DEVELOPMENT.md +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
}
|