@clerk/types
Advanced tools
Comparing version 1.28.3 to 1.29.0
@@ -1,2 +0,2 @@ | ||
export declare type OAuthProvider = 'facebook' | 'google' | 'hubspot' | 'github' | 'tiktok' | 'gitlab' | 'discord' | 'twitter' | 'twitch' | 'linkedin' | 'dropbox' | 'bitbucket' | 'microsoft' | 'notion'; | ||
export declare type OAuthProvider = 'facebook' | 'google' | 'hubspot' | 'github' | 'tiktok' | 'gitlab' | 'discord' | 'twitter' | 'twitch' | 'linkedin' | 'dropbox' | 'bitbucket' | 'microsoft' | 'notion' | 'apple'; | ||
export declare type OAuthStrategy = `oauth_${OAuthProvider}`; | ||
@@ -3,0 +3,0 @@ export interface OAuthProviderData { |
@@ -89,2 +89,8 @@ "use strict"; | ||
}, | ||
{ | ||
provider: 'apple', | ||
strategy: 'oauth_apple', | ||
name: 'Apple', | ||
docsUrl: 'https://docs.clerk.dev/reference/social-login-reference/apple' | ||
}, | ||
]; | ||
@@ -91,0 +97,0 @@ function getOAuthProviderData(_a) { |
import { SessionJSON, UserJSON } from './json'; | ||
import { SessionResource } from './session'; | ||
import { GetSessionTokenOptions } from './token'; | ||
import { UserResource } from './user'; | ||
export declare type ServerSideAuth = { | ||
sessionId: string | null; | ||
userId: string | null; | ||
getToken: (options?: GetSessionTokenOptions) => Promise<string | null>; | ||
}; | ||
declare type SsrSessionState<SessionType> = { | ||
@@ -11,0 +5,0 @@ sessionId: null; |
{ | ||
"name": "@clerk/types", | ||
"version": "1.28.3", | ||
"version": "1.29.0", | ||
"license": "MIT", | ||
@@ -51,3 +51,3 @@ "description": "Typings for Clerk libraries.", | ||
"homepage": "https://clerk.dev/", | ||
"gitHead": "b2baaf7dab2f823048fd557619b4c7de63e28357" | ||
"gitHead": "282f2f0f17faa5fd7ae417238a201770ca37816a" | ||
} |
@@ -15,3 +15,4 @@ export type OAuthProvider = | ||
| 'microsoft' | ||
| 'notion'; | ||
| 'notion' | ||
| 'apple'; | ||
@@ -112,2 +113,8 @@ export type OAuthStrategy = `oauth_${OAuthProvider}`; | ||
}, | ||
{ | ||
provider: 'apple', | ||
strategy: 'oauth_apple', | ||
name: 'Apple', | ||
docsUrl: 'https://docs.clerk.dev/reference/social-login-reference/apple', | ||
}, | ||
]; | ||
@@ -114,0 +121,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
175105
165
3531