Skip to content

Commit bfe355e

Browse files
bcbogdanporcellus
andauthored
fix: Include missing webauthn type (#885)
* fix: Include missing webauthn type * chore: bump version and add changelog --------- Co-authored-by: Mihaly Lengyel <[email protected]>
1 parent 424e39b commit bfe355e

File tree

8 files changed

+14
-6
lines changed

8 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.49.1] - 2025-03-27
11+
12+
- Fixed a type issue making the WebauthnPreBuitlUI not produce a type error when added to the prebuiltUIList
13+
1014
## [0.49.0] - 2025-03-20
1115

1216
- Added the `Webauthn` recipe and prebuilt UI with passkey, webauthn-platform, and webauthn-resident support

lib/build/genericComponentOverrideContext.js

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

lib/build/ui/types.d.ts

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/version.d.ts

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

lib/ts/ui/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import type { PasswordlessPreBuiltUI } from "../recipe/passwordless/prebuiltui";
66
import type { SessionPreBuiltUI } from "../recipe/session/prebuiltui";
77
import type { ThirdPartyPreBuiltUI } from "../recipe/thirdparty/prebuiltui";
88
import type { TOTPPreBuiltUI } from "../recipe/totp/prebuiltui";
9+
import type { WebauthnPreBuiltUI } from "../recipe/webauthn/prebuiltui";
910

1011
export type ReactRouterDomWithCustomHistory = {
1112
router: { Route: any };
@@ -22,4 +23,5 @@ export type PreBuiltRecipes = (
2223
| typeof TOTPPreBuiltUI
2324
| typeof OAuth2ProviderPreBuiltUI
2425
| typeof SessionPreBuiltUI
26+
| typeof WebauthnPreBuiltUI
2527
)[];

lib/ts/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
* License for the specific language governing permissions and limitations
1313
* under the License.
1414
*/
15-
export const package_version = "0.49.0";
15+
export const package_version = "0.49.1";

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supertokens-auth-react",
3-
"version": "0.49.0",
3+
"version": "0.49.1",
44
"description": "ReactJS SDK that provides login functionality with SuperTokens.",
55
"main": "./index.js",
66
"engines": {

0 commit comments

Comments
 (0)