@convex-dev/convex-lucia-auth
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -90,4 +90,2 @@ "use strict"; | ||
catch (error) { | ||
// TODO: Display the error after the form, | ||
// because that's what most people will want to do anyway | ||
onError === null || onError === void 0 ? void 0 : onError(flow, error); | ||
@@ -94,0 +92,0 @@ setError(error); |
@@ -71,4 +71,2 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
catch (error) { | ||
// TODO: Display the error after the form, | ||
// because that's what most people will want to do anyway | ||
onError?.(flow, error); | ||
@@ -75,0 +73,0 @@ setError(error); |
{ | ||
"name": "@convex-dev/convex-lucia-auth", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Convex database adapter for Lucia Auth", | ||
@@ -59,3 +59,3 @@ "homepage": "https://convex.dev/", | ||
"peerDependencies": { | ||
"convex": "^1.0.2", | ||
"convex": "^1.1.1", | ||
"react": "^18.2.0", | ||
@@ -66,10 +66,10 @@ "react-dom": "^18.2.0" | ||
"@types/node": "^20.4.6", | ||
"@types/react": "^18.2.15", | ||
"@types/react-dom": "^18.2.7", | ||
"@types/react": "^18.2.15", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"@vitejs/plugin-react": "^4.0.3", | ||
"eslint": "^8.45.0", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.3", | ||
"eslint": "^8.45.0", | ||
"npm-run-all": "^4.1.5", | ||
@@ -76,0 +76,0 @@ "typescript": "^5.0.2", |
import { | ||
DataModelFromSchemaDefinition, | ||
DatabaseReader, | ||
DatabaseWriter, | ||
GenericDatabaseReader as DatabaseReader, | ||
GenericDatabaseWriter as DatabaseWriter, | ||
DocumentByName, | ||
MutationCtx, | ||
QueryCtx, | ||
GenericMutationCtx as MutationCtx, | ||
GenericQueryCtx as QueryCtx, | ||
defineSchema, | ||
@@ -30,3 +30,3 @@ defineTable, | ||
ArgsValidator extends PropertyValidators, | ||
Output | ||
Output, | ||
>({ | ||
@@ -58,3 +58,3 @@ args, | ||
ArgsValidator extends PropertyValidators, | ||
Output | ||
Output, | ||
>({ | ||
@@ -83,3 +83,3 @@ args, | ||
ArgsValidator extends PropertyValidators, | ||
Output | ||
Output, | ||
>({ | ||
@@ -110,3 +110,3 @@ args, | ||
ArgsValidator extends PropertyValidators, | ||
Output | ||
Output, | ||
>({ | ||
@@ -198,3 +198,3 @@ args, | ||
UserFields extends Record<string, Validator<any, any, any>>, | ||
SchemaFields extends Record<string, Validator<any, any, any>> | ||
SchemaFields extends Record<string, Validator<any, any, any>>, | ||
>({ user, session }: { user: UserFields; session: SchemaFields }) { | ||
@@ -201,0 +201,0 @@ return { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
44540
854
1