@mrgnw/anahtar 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { guessDeviceName } from '../device.js';
3
- import type OtpInput from './OtpInput.svelte';
3
+ import OtpInput from './OtpInput.svelte';
4
4
  import PasskeyPrompt from './PasskeyPrompt.svelte';
5
5
 
6
6
  interface Props {
@@ -15,7 +15,7 @@ let congratsTimeout: ReturnType<typeof setTimeout> | null = null;
15
15
  let email = $state('');
16
16
  let loading = $state(false);
17
17
  let error = $state('');
18
- let otpInput = $state<OtpInput>();
18
+ let otpInput = $state<{ clear: () => void; focus: () => void }>();
19
19
 
20
20
  let conditionalAbort: AbortController | null = null;
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrgnw/anahtar",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Opinionated, reusable auth for SvelteKit. Email+OTP + passkeys.",
5
5
  "license": "MIT",
6
6
  "type": "module",