Skip to content

Commit 013e0fa

Browse files
committed
Merge branch '23.0' into feat/plugin/base
# Conflicts: # CHANGELOG.md # lib/ts/recipe/webauthn/constants.ts
2 parents e474353 + 265f4fb commit 013e0fa

File tree

16 files changed

+40
-42
lines changed

16 files changed

+40
-42
lines changed

CHANGELOG.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Unreleased
99

1010
- Refactor the AccountLinking recipe to be automatically nitialized on SuperKokens init
11-
- Upgrade typedoc and the refrence docs
11+
- Upgrade typedoc and the reference docs
1212
- Add a method for verifying if a recipe is initialized or not
13+
- Added register credential endpoint for the WebAuthn recipe
1314

1415
## [23.0.0] - 2025-06-27
1516

17+
### Breaking changes
18+
1619
- The `getConsentRequest`, `acceptConsentRequest`, `rejectConsentRequest`, `acceptLoginRequest`, `rejectLoginRequest` and `introspectToken` can now possibly return an `ErrorOAuth2`.
1720
- The `/oauth/introspect` can now possibly return an `ErrorAuth2`.
18-
- The `User` class now has a `fromApi` function to normalize the user object returned from the API.
21+
- Removed default defaultMaxAge from all built-in claims/validators. You can optionally set them when adding the validators. This should help with unexpected API calls during session verification.
22+
23+
### Refactors
24+
1925
- Refactors querier to use dynamic request body and response body types inference.
2026
- Refactor internal network calls made with querier to use the new dynamic types.
27+
- The `User` class now has a `fromApi` function to normalize the user object returned from the API.
2128
- Added experimental support for plugins. Please note that the experimental nature of this feature means that we might break the interface in non-major version updates.
2229

2330
## [22.1.1] - 2025-06-20
@@ -974,7 +981,7 @@ Session.init({
974981
input.userId,
975982
input.recipeUserId,
976983
input.tenantId,
977-
input.userContext,
984+
input.userContext
978985
)),
979986
};
980987

@@ -1002,7 +1009,7 @@ Session.init({
10021009
input.recipeUserId,
10031010
input.tenantId,
10041011
input.accessTokenPayload,
1005-
input.userContext,
1012+
input.userContext
10061013
)),
10071014
};
10081015

add-ts-no-check.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ glob(__dirname + "/lib/**/*.d.ts", (err, files) => {
1212
newContents += `\n${line}`;
1313
}
1414
}
15+
newContents = newContents.replaceAll("\n// @ts-nocheck", "");
1516
writeFileSync(file, newContents);
1617
}
1718
});

lib/build/recipe/multitenancy/allowedDomainsClaim.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/oauth2provider/constants.js

Lines changed: 1 addition & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/session/constants.js

Lines changed: 1 addition & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/userroles/permissionClaim.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/userroles/userRoleClaim.js

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/webauthn/constants.d.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/webauthn/constants.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/webauthn/recipe.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)