api-client: simplify interface, take turnstile object on init

This commit is contained in:
dumbmoron
2024-09-14 15:21:39 +00:00
parent ff57a6a448
commit 00d5754ea8
6 changed files with 25 additions and 28 deletions

3
pnpm-lock.yaml generated
View File

@@ -77,6 +77,9 @@ importers:
tsup:
specifier: ^8.2.4
version: 8.2.4(postcss@8.4.40)(typescript@5.5.4)
turnstile-types:
specifier: ^1.2.2
version: 1.2.2
typescript:
specifier: ^5.4.5
version: 5.5.4