Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(repo): Version packages #4504

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

clerk-cookie
Copy link
Collaborator

@clerk-cookie clerk-cookie commented Nov 6, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@clerk/[email protected]

Minor Changes

  • Introduce experimental verification helpers exported from @clerk/backend/internal (#4480) by @panteliselef

    • __experimental_reverificationMismatch
    • __experimental_reverificationMismatchResponse

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce experimental verification helpers exported from @clerk/nextjs/server (#4480) by @panteliselef

    • __experimental_reverificationMismatch
    • __experimental_reverificationMismatchResponse

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

  • Introduce experimental support for passkeys in Expo (iOS, Android, and Web). (#4352) by @AlexNti

    To use passkeys in Expo projects, pass the __experimental_passkeys object, which can be imported from @clerk/clerk-expo/passkeys, to the ClerkProvider component:

    import { ClerkProvider } from '@clerk/clerk-expo';
    import { passkeys } from '@clerk/clerk-expo/passkeys';
    
    <ClerkProvider __experimental_passkeys={passkeys}>{/* Your app here */}</ClerkProvider>;

    The API for using passkeys in Expo projects is the same as the one used in web apps:

    // passkey creation
    const { user } = useUser();
    
    const handleCreatePasskey = async () => {
      if (!user) return;
      try {
        return await user.createPasskey();
      } catch (e: any) {
        // handle error
      }
    };
    
    // passkey authentication
    const { signIn, setActive } = useSignIn();
    
    const handlePasskeySignIn = async () => {
      try {
        const signInResponse = await signIn.authenticateWithPasskey();
        await setActive({ session: signInResponse.createdSessionId });
      } catch (err: any) {
        //handle error
      }
    };
  • Updated dependencies [e199037b8f484abdeeb9fc24455a1b4b8c31c8dd]:

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants