feat(tauth): add tauth
refactor(ttp): now using ttp-core package from git
This commit is contained in:
parent
077d1ae864
commit
cbbadc9e67
26 changed files with 519 additions and 2916 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue