change sizing slightly and add sentry

This commit is contained in:
Zoe
2026-02-12 17:32:51 -06:00
parent d29f95bacf
commit 32a4f7f95d
14 changed files with 519 additions and 156 deletions
+4 -3
View File
@@ -1,3 +1,5 @@
import { assert } from "~~/utils/assert";
export default defineNuxtPlugin({
name: 'better-auth-triplit',
enforce: 'pre',
@@ -19,9 +21,8 @@ export default defineNuxtPlugin({
return;
}
if ('startSession' in triplit) {
await triplit.startSession(session.value.token);
}
assert('startSession' in triplit)
await triplit.startSession(session.value.token);
});
}
},