feat(tauth): add tauth

refactor(ttp): now using ttp-core package from git
This commit is contained in:
Alois 2026-04-13 17:26:15 +02:00
commit cbbadc9e67
26 changed files with 519 additions and 2916 deletions

View file

@ -16,6 +16,7 @@
"build": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@tensamin/ui": "*",
"lucide-react": "^0.564.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",

View file

@ -155,6 +155,23 @@ export const ttp = {
}),
},
authenticate_app: {
request: z.object({
app_identifier: z.string(),
}),
response: z.object({
challenge: z.base64(),
}),
},
get_app: {
request: z.object({
app_identifier: z.string(),
}),
response: z.object({
app_public_key: z.base64(),
}),
},
// Calls
get_call_data: {
request: z.object({

View file

@ -1,4 +1,4 @@
import { toast as sonnerToast } from "sonner";
import { toast as sonnerToast } from "@tensamin/ui";
import { Ban, Check, Info, TriangleAlert } from "lucide-react";
/**