Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump elements to 0.4.0 #352

Merged
merged 5 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ory/kratos-selfservice-ui-node",
"version": "0.20.2",
"version": "0.21.1",
"description": "A reference implementation of a selfservice UI for ORY Kratos in node.js",
"homepage": "https://github.com/ory/kratos-selfservice-ui-node#readme",
"bugs": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"prettier": "ory-prettier-styles",
"dependencies": {
"@ory/client": "1.14.3",
"@ory/elements-markup": "0.3.0-rc.1",
"@ory/elements-markup": "0.4.0",
"@redtea/format-axios-error": "2.1.1",
"accept-language-parser": "1.5.0",
"axios": "1.7.4",
Expand Down
4 changes: 2 additions & 2 deletions src/pkg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ export const redirectOnSoftError =
export const handlebarsHelpers: UnknownObject = {
jsonPretty: (context: any) => JSON.stringify(context, null, 2),
onlyNodes: (
nodes: Array<UiNode>,
groups: string,
nodes: UiNode[],
groups: string[],
attributes: string,
withoutDefaultGroup?: boolean,
withoutDefaultAttributes?: boolean,
Expand Down
1 change: 1 addition & 0 deletions src/routes/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export const createLoginRoute: RouteCreator =
forgotPasswordURL: initRecoveryUrl,
signupURL: initRegistrationUrl,
logoutURL: logoutUrl,
loginURL: initFlowUrl,
},
},
{ locale: res.locals.lang },
Expand Down
2 changes: 1 addition & 1 deletion views/partials/js_setup.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{! This inserts the webauthn.js script tag}}
{{#each (onlyNodes nodes "webauthn" "text/javascript")}}
{{#each (onlyNodes nodes ["webauthn", "captcha"] "text/javascript")}}
<script
src="{{attributes.src}}"
type="{{attributes.type}}"
Expand Down
Loading