diff --git a/CHANGELOG.md b/CHANGELOG.md index 27db63e3f..a59cf896f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.5.0](https://github.com/auth0/nextjs-auth0/tree/v1.5.0) (2021-07-14) + +**Added** + +- Add IE11 support [#432](https://github.com/auth0/nextjs-auth0/pull/432) ([Widcket](https://github.com/Widcket)) + ## [1.4.2](https://github.com/auth0/nextjs-auth0/tree/v1.4.2) (2021-06-24) **Fixed** diff --git a/docs/classes/session.sessioncache.html b/docs/classes/session.sessioncache.html index d63c749f0..78b86703a 100644 --- a/docs/classes/session.sessioncache.html +++ b/docs/classes/session.sessioncache.html @@ -118,7 +118,7 @@

constructor

  • Parameters

    @@ -147,7 +147,7 @@

    create

  • Parameters

    @@ -176,7 +176,7 @@

    delete

  • Parameters

    @@ -202,7 +202,7 @@

    fromTokenSet

  • Parameters

    @@ -225,7 +225,7 @@

    get

  • Parameters

    @@ -251,7 +251,7 @@

    getIdToken

  • Parameters

    @@ -277,7 +277,7 @@

    init

  • Parameters

    @@ -303,7 +303,7 @@

    isAuthenticated

  • Parameters

    @@ -329,7 +329,7 @@

    set

  • Parameters

    diff --git a/docs/classes/session_session.default.html b/docs/classes/session_session.default.html index 32b854397..d889b4477 100644 --- a/docs/classes/session_session.default.html +++ b/docs/classes/session_session.default.html @@ -126,7 +126,7 @@

    constructor

  • Parameters

    @@ -148,7 +148,7 @@

    Optional accessToken

    accessToken: undefined | string
    @@ -163,7 +163,7 @@

    Optional accessToken
    accessTokenExpiresAt: undefined | number
    @@ -178,7 +178,7 @@

    Optional accessToken
    accessTokenScope: undefined | string
    @@ -193,7 +193,7 @@

    Optional idToken

    idToken: undefined | string
    @@ -208,7 +208,7 @@

    Optional refreshToken

    refreshToken: undefined | string
    @@ -223,7 +223,7 @@

    user

    user: Claims
    diff --git a/docs/classes/utils_errors.accesstokenerror.html b/docs/classes/utils_errors.accesstokenerror.html index 3bcdc4e8c..038c2b18d 100644 --- a/docs/classes/utils_errors.accesstokenerror.html +++ b/docs/classes/utils_errors.accesstokenerror.html @@ -117,7 +117,7 @@

    constructor

  • Parameters

    @@ -142,7 +142,7 @@

    code

    code: string
    diff --git a/docs/classes/utils_errors.handlererror.html b/docs/classes/utils_errors.handlererror.html new file mode 100644 index 000000000..370d902f7 --- /dev/null +++ b/docs/classes/utils_errors.handlererror.html @@ -0,0 +1,281 @@ + + + + + + HandlerError | @auth0/nextjs-auth0 + + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class HandlerError

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    The error thrown by API route handlers.

    +
    +

    Because the error message can come from the OpenID Connect error query parameter we + do some basic escaping which makes sure the default error handler is safe from XSS.

    +

    If you write your own error handler, you should not render the error message + without using a templating engine that will properly escape it for other HTML contexts first.

    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Error +
        +
      • + HandlerError +
      • +
      +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    code

    +
    code: undefined | string
    + +
    +
    + +

    status

    +
    status: undefined | number
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Class
    • +
    • Constructor
    • +
    • Property
    • +
    +
      +
    • Function
    • +
    • Type alias
    • +
    +
      +
    • Interface
    • +
    +
    +
    +
    +
    + + + \ No newline at end of file diff --git a/docs/interfaces/config.authorizationparameters.html b/docs/interfaces/config.authorizationparameters.html index 4a6b203a3..a499be93e 100644 --- a/docs/interfaces/config.authorizationparameters.html +++ b/docs/interfaces/config.authorizationparameters.html @@ -110,7 +110,7 @@

    response_mode

    response_mode: "query" | "form_post"
    @@ -120,7 +120,7 @@

    response_type

    response_type: "id_token" | "code id_token" | "code"
    @@ -130,7 +130,7 @@

    scope

    scope: string
    diff --git a/docs/interfaces/config.baseconfig.html b/docs/interfaces/config.baseconfig.html index ad9b57736..7296a92f8 100644 --- a/docs/interfaces/config.baseconfig.html +++ b/docs/interfaces/config.baseconfig.html @@ -111,7 +111,7 @@

    auth0Logout

    auth0Logout: boolean
    @@ -127,7 +127,7 @@

    authorizationParams

    authorizationParams: AuthorizationParameters
    @@ -160,7 +160,7 @@

    baseURL

    baseURL: string
    @@ -178,7 +178,7 @@

    clientID

    clientID: string
    @@ -194,7 +194,7 @@

    Optional clientSecret

    clientSecret: undefined | string
    @@ -211,7 +211,7 @@

    clockTolerance

    clockTolerance: number
    @@ -228,7 +228,7 @@

    enableTelemetry

    enableTelemetry: boolean
    @@ -245,7 +245,7 @@

    getLoginState

    getLoginState: (req: IncomingMessage, options: LoginOptions) => Record<string, any>
    @@ -297,7 +297,7 @@

    httpTimeout

    httpTimeout: number
    @@ -314,7 +314,7 @@

    idTokenSigningAlg

    idTokenSigningAlg: string
    @@ -330,7 +330,7 @@

    identityClaimFilter

    identityClaimFilter: string[]
    @@ -346,7 +346,7 @@

    idpLogout

    idpLogout: boolean
    @@ -362,7 +362,7 @@

    issuerBaseURL

    issuerBaseURL: string
    @@ -379,7 +379,7 @@

    legacySameSiteCookie

    legacySameSiteCookie: boolean
    @@ -396,7 +396,7 @@

    routes

    routes: { callback: string; postLogoutRedirect: string }
    @@ -437,7 +437,7 @@

    secret

    secret: string | string[]
    @@ -455,7 +455,7 @@

    session

    session: SessionConfig
    diff --git a/docs/interfaces/config.cookieconfig.html b/docs/interfaces/config.cookieconfig.html index 8feb78165..507219185 100644 --- a/docs/interfaces/config.cookieconfig.html +++ b/docs/interfaces/config.cookieconfig.html @@ -107,7 +107,7 @@

    Optional domain

    domain: undefined | string
    @@ -123,7 +123,7 @@

    httpOnly

    httpOnly: boolean
    @@ -140,7 +140,7 @@

    Optional path

    path: undefined | string
    @@ -158,7 +158,7 @@

    sameSite

    sameSite: "lax" | "strict" | "none"
    @@ -175,7 +175,7 @@

    Optional secure

    secure: undefined | boolean
    @@ -192,7 +192,7 @@

    transient

    transient: boolean
    diff --git a/docs/interfaces/config.nextconfig.html b/docs/interfaces/config.nextconfig.html index f1135c6b3..d0761079b 100644 --- a/docs/interfaces/config.nextconfig.html +++ b/docs/interfaces/config.nextconfig.html @@ -102,7 +102,7 @@

    identityClaimFilter

    identityClaimFilter: string[]
    @@ -118,7 +118,7 @@

    Optional organization

    organization: undefined | string
    @@ -136,7 +136,7 @@

    routes

    routes: { login: string }
    diff --git a/docs/interfaces/config.sessionconfig.html b/docs/interfaces/config.sessionconfig.html index 3952ca1a3..955e1d9af 100644 --- a/docs/interfaces/config.sessionconfig.html +++ b/docs/interfaces/config.sessionconfig.html @@ -106,7 +106,7 @@

    absoluteDuration

    absoluteDuration: number | boolean
    @@ -125,7 +125,7 @@

    cookie

    cookie: CookieConfig
    @@ -135,7 +135,7 @@

    name

    name: string
    @@ -153,7 +153,7 @@

    rolling

    rolling: boolean
    @@ -173,7 +173,7 @@

    rollingDuration

    rollingDuration: number
    diff --git a/docs/interfaces/frontend_use_user.userprofile.html b/docs/interfaces/frontend_use_user.userprofile.html index 861194519..c25b623f1 100644 --- a/docs/interfaces/frontend_use_user.userprofile.html +++ b/docs/interfaces/frontend_use_user.userprofile.html @@ -117,7 +117,7 @@

    Optional email

    email: undefined | null | string
    @@ -127,7 +127,7 @@

    Optional email_verifiedemail_verified: undefined | null | boolean

    @@ -137,7 +137,7 @@

    Optional name

    name: undefined | null | string
    @@ -147,7 +147,7 @@

    Optional nickname

    nickname: undefined | null | string
    @@ -157,7 +157,7 @@

    Optional picture

    picture: undefined | null | string
    @@ -167,7 +167,7 @@

    Optional sub

    sub: undefined | null | string
    @@ -177,7 +177,7 @@

    Optional updated_at

    updated_at: undefined | null | string
    diff --git a/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html b/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html index ad7c73004..7a68a84fb 100644 --- a/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html +++ b/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html @@ -104,7 +104,7 @@

    Optional onError

    onError: undefined | ((error: Error) => Element)
    @@ -123,7 +123,7 @@

    Optional onRedirectingonRedirecting: undefined | (() => Element)

    @@ -142,7 +142,7 @@

    Optional returnTo

    returnTo: undefined | string
    diff --git a/docs/interfaces/handlers_auth.handlers.html b/docs/interfaces/handlers_auth.handlers.html index c829df08a..63221e050 100644 --- a/docs/interfaces/handlers_auth.handlers.html +++ b/docs/interfaces/handlers_auth.handlers.html @@ -125,7 +125,7 @@

    callback

    callback: HandleCallback
    @@ -135,7 +135,7 @@

    login

    @@ -145,7 +145,7 @@

    logout

    logout: HandleLogout
    @@ -155,7 +155,7 @@

    profile

    profile: HandleProfile
    diff --git a/docs/interfaces/handlers_callback.callbackoptions.html b/docs/interfaces/handlers_callback.callbackoptions.html index 09a4c987a..835f316f5 100644 --- a/docs/interfaces/handlers_callback.callbackoptions.html +++ b/docs/interfaces/handlers_callback.callbackoptions.html @@ -104,7 +104,7 @@

    Optional afterCallbackafterCallback: undefined | AfterCallback

    @@ -114,7 +114,7 @@

    Optional organization

    organization: undefined | string
    @@ -130,7 +130,7 @@

    Optional redirectUri

    redirectUri: undefined | string
    diff --git a/docs/interfaces/handlers_login.authorizationparams.html b/docs/interfaces/handlers_login.authorizationparams.html index c18f30ee7..5e1d06130 100644 --- a/docs/interfaces/handlers_login.authorizationparams.html +++ b/docs/interfaces/handlers_login.authorizationparams.html @@ -111,7 +111,7 @@

    Optional invitation

    invitation: undefined | string
    @@ -150,7 +150,7 @@

    Optional organization

    organization: undefined | string
    @@ -166,7 +166,7 @@

    Optional response_moderesponse_mode: undefined | "query" | "form_post"

    @@ -176,7 +176,7 @@

    Optional response_typeresponse_type: undefined | "id_token" | "code id_token" | "code"

    @@ -186,7 +186,7 @@

    Optional scope

    scope: undefined | string
    diff --git a/docs/interfaces/handlers_login.loginoptions.html b/docs/interfaces/handlers_login.loginoptions.html index 7a14a9d13..271bbee23 100644 --- a/docs/interfaces/handlers_login.loginoptions.html +++ b/docs/interfaces/handlers_login.loginoptions.html @@ -104,7 +104,7 @@

    Optional authorizationPar
    authorizationParams: undefined | AuthorizationParams
    @@ -119,7 +119,7 @@

    Optional getLoginSta
    getLoginState: undefined | GetLoginState
    @@ -134,7 +134,7 @@

    Optional returnTo

    returnTo: undefined | string
    diff --git a/docs/interfaces/handlers_logout.logoutoptions.html b/docs/interfaces/handlers_logout.logoutoptions.html index 4d5aebcf3..826a93055 100644 --- a/docs/interfaces/handlers_logout.logoutoptions.html +++ b/docs/interfaces/handlers_logout.logoutoptions.html @@ -102,7 +102,7 @@

    Optional returnTo

    returnTo: undefined | string
    diff --git a/docs/interfaces/instance.signinwithauth0.html b/docs/interfaces/instance.signinwithauth0.html index cb6192922..cb7f6b512 100644 --- a/docs/interfaces/instance.signinwithauth0.html +++ b/docs/interfaces/instance.signinwithauth0.html @@ -112,7 +112,7 @@

    getAccessToken

    getAccessToken: GetAccessToken
    @@ -127,7 +127,7 @@

    getSession

    getSession: GetSession
    @@ -142,7 +142,7 @@

    handleAuth

    handleAuth: HandleAuth
    @@ -157,7 +157,7 @@

    handleCallback

    handleCallback: HandleCallback
    @@ -172,7 +172,7 @@

    handleLogin

    handleLogin: HandleLogin
    @@ -187,7 +187,7 @@

    handleLogout

    handleLogout: HandleLogout
    @@ -202,7 +202,7 @@

    handleProfile

    handleProfile: HandleProfile
    @@ -217,7 +217,7 @@

    withApiAuthRequired

    withApiAuthRequired: WithApiAuthRequired
    @@ -232,7 +232,7 @@

    withPageAuthRequired

    withPageAuthRequired: WithPageAuthRequired
    diff --git a/docs/interfaces/session_get_access_token.accesstokenrequest.html b/docs/interfaces/session_get_access_token.accesstokenrequest.html index 1fd2af134..d78199430 100644 --- a/docs/interfaces/session_get_access_token.accesstokenrequest.html +++ b/docs/interfaces/session_get_access_token.accesstokenrequest.html @@ -103,7 +103,7 @@

    Optional refresh

    refresh: undefined | boolean
    @@ -119,7 +119,7 @@

    Optional scopes

    scopes: undefined | string[]
    diff --git a/docs/interfaces/session_get_access_token.getaccesstokenresult.html b/docs/interfaces/session_get_access_token.getaccesstokenresult.html index 52494fb8c..ff08b93fc 100644 --- a/docs/interfaces/session_get_access_token.getaccesstokenresult.html +++ b/docs/interfaces/session_get_access_token.getaccesstokenresult.html @@ -102,7 +102,7 @@

    Optional accessToken

    accessToken: undefined | string
    diff --git a/docs/modules/config.html b/docs/modules/config.html index 6c310005d..3e0f2dba3 100644 --- a/docs/modules/config.html +++ b/docs/modules/config.html @@ -97,7 +97,7 @@

    ConfigParameters

    ConfigParameters: DeepPartial<BaseConfig & NextConfig>
    diff --git a/docs/modules/frontend.html b/docs/modules/frontend.html index c006507fc..95d660e1c 100644 --- a/docs/modules/frontend.html +++ b/docs/modules/frontend.html @@ -134,7 +134,7 @@

    ConfigProviderProps

    ConfigProviderProps: React.PropsWithChildren<ConfigContext>
    @@ -182,7 +182,7 @@

    Const useConfig

  • Returns ConfigContext

    diff --git a/docs/modules/frontend_use_user.html b/docs/modules/frontend_use_user.html index 55ad23e54..36b26cb9a 100644 --- a/docs/modules/frontend_use_user.html +++ b/docs/modules/frontend_use_user.html @@ -99,7 +99,7 @@

    UseUser

    UseUser: () => UserContext
    @@ -143,7 +143,7 @@

    UserContext

    UserContext: { checkSession: () => Promise<void>; error?: Error; isLoading: boolean; user?: UserProfile }
    @@ -187,7 +187,7 @@

    UserProvider

    UserProvider: (props: UserProviderProps) => ReactElement<UserContext>
    @@ -220,10 +220,10 @@

    Returns ReactElem

    UserProviderProps

    -
    UserProviderProps: React.PropsWithChildren<{ profileUrl?: string; user?: UserProfile } & ConfigContext>
    +
    UserProviderProps: React.PropsWithChildren<{ fetcher?: UserFetcher; profileUrl?: string; user?: UserProfile } & ConfigContext>
    @@ -260,7 +260,7 @@

    Properties

    default

    -
    default: (__namedParameters: PropsWithChildren<{ profileUrl?: undefined | string; user?: undefined | UserProfile } & ConfigContext>) => ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, any>) | ((props: any) => Component<any, any, any>)>
    +
    default: (__namedParameters: PropsWithChildren<{ fetcher?: undefined | UserFetcher; profileUrl?: undefined | string; user?: undefined | UserProfile } & ConfigContext>) => ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, any>) | ((props: any) => Component<any, any, any>)>
    @@ -268,14 +268,14 @@

    Type declaration

      • -
      • (__namedParameters: PropsWithChildren<{ profileUrl?: undefined | string; user?: undefined | UserProfile } & ConfigContext>): ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, any>) | ((props: any) => Component<any, any, any>)>
      • +
      • (__namedParameters: PropsWithChildren<{ fetcher?: undefined | UserFetcher; profileUrl?: undefined | string; user?: undefined | UserProfile } & ConfigContext>): ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, any>) | ((props: any) => Component<any, any, any>)>
      • Parameters

        • -
          __namedParameters: PropsWithChildren<{ profileUrl?: undefined | string; user?: undefined | UserProfile } & ConfigContext>
          +
          __namedParameters: PropsWithChildren<{ fetcher?: undefined | UserFetcher; profileUrl?: undefined | string; user?: undefined | UserProfile } & ConfigContext>

        Returns ReactElement<UserContext, string | ((props: any) => null | ReactElement<any, any>) | ((props: any) => Component<any, any, any>)>

        diff --git a/docs/modules/frontend_with_page_auth_required.html b/docs/modules/frontend_with_page_auth_required.html index ca7824725..567a95908 100644 --- a/docs/modules/frontend_with_page_auth_required.html +++ b/docs/modules/frontend_with_page_auth_required.html @@ -90,7 +90,7 @@

        WithPageAuthRequired

        WithPageAuthRequired: <P>(Component: ComponentType<P>, options?: WithPageAuthRequiredOptions) => React.FC<Omit<P, "user">>
        diff --git a/docs/modules/handlers_auth.html b/docs/modules/handlers_auth.html index ebdd975c9..0ad27d3fa 100644 --- a/docs/modules/handlers_auth.html +++ b/docs/modules/handlers_auth.html @@ -90,7 +90,7 @@

        HandleAuth

        HandleAuth: (userHandlers?: Partial<Handlers>) => NextApiHandler
        diff --git a/docs/modules/handlers_callback.html b/docs/modules/handlers_callback.html index 1e04d1528..c09474077 100644 --- a/docs/modules/handlers_callback.html +++ b/docs/modules/handlers_callback.html @@ -91,7 +91,7 @@

        AfterCallback

        AfterCallback: (req: NextApiRequest, res: NextApiResponse, session: default, state: {}) => Promise<default> | default
        @@ -187,7 +187,7 @@

        HandleCallback

        HandleCallback: (req: NextApiRequest, res: NextApiResponse, options?: CallbackOptions) => Promise<void>
        diff --git a/docs/modules/handlers_login.html b/docs/modules/handlers_login.html index 636cbef23..c6ec3a85a 100644 --- a/docs/modules/handlers_login.html +++ b/docs/modules/handlers_login.html @@ -92,7 +92,7 @@

        GetLoginState

        GetLoginState: (req: NextApiRequest, options: LoginOptions) => {}
        @@ -153,7 +153,7 @@

        HandleLogin

        HandleLogin: (req: NextApiRequest, res: NextApiResponse, options?: LoginOptions) => Promise<void>
        diff --git a/docs/modules/handlers_logout.html b/docs/modules/handlers_logout.html index 5afc4ad19..0ace4c167 100644 --- a/docs/modules/handlers_logout.html +++ b/docs/modules/handlers_logout.html @@ -90,7 +90,7 @@

        HandleLogout

        HandleLogout: (req: NextApiRequest, res: NextApiResponse, options?: LogoutOptions) => Promise<void>
        diff --git a/docs/modules/handlers_profile.html b/docs/modules/handlers_profile.html index c68a9e254..7aa298e59 100644 --- a/docs/modules/handlers_profile.html +++ b/docs/modules/handlers_profile.html @@ -89,7 +89,7 @@

        AfterRefetch

        AfterRefetch: (req: NextApiRequest, res: NextApiResponse, session: default) => Promise<default> | default
        @@ -129,7 +129,7 @@

        HandleProfile

        HandleProfile: (req: NextApiRequest, res: NextApiResponse, options?: ProfileOptions) => Promise<void>
        @@ -171,7 +171,7 @@

        ProfileOptions

        ProfileOptions: { afterRefetch?: AfterRefetch; refetch?: boolean }
        diff --git a/docs/modules/helpers_with_api_auth_required.html b/docs/modules/helpers_with_api_auth_required.html index 6011b7f00..6446a79e1 100644 --- a/docs/modules/helpers_with_api_auth_required.html +++ b/docs/modules/helpers_with_api_auth_required.html @@ -84,7 +84,7 @@

        WithApiAuthRequired

        WithApiAuthRequired: (apiRoute: NextApiHandler) => NextApiHandler
        diff --git a/docs/modules/helpers_with_page_auth_required.html b/docs/modules/helpers_with_page_auth_required.html index f293937ae..bdcc81a6f 100644 --- a/docs/modules/helpers_with_page_auth_required.html +++ b/docs/modules/helpers_with_page_auth_required.html @@ -87,7 +87,7 @@

        GetServerSidePropsResultWithSession

        GetServerSidePropsResultWithSession: GetServerSidePropsResult<{ user?: Claims | null }>
        @@ -112,7 +112,7 @@

        PageRoute

        PageRoute: (cts: GetServerSidePropsContext) => Promise<GetServerSidePropsResultWithSession>
        @@ -148,7 +148,7 @@

        WithPageAuthRequired

        WithPageAuthRequired: { (opts?: WithPageAuthRequiredOptions): PageRoute; <P>(Component: ComponentType<P>, options?: WithPageAuthRequiredOptions): FC<P> }
        @@ -214,7 +214,7 @@

        WithPageAuthRequiredOptions

        WithPageAuthRequiredOptions: { getServerSideProps?: GetServerSideProps; returnTo?: string }
        diff --git a/docs/modules/instance.html b/docs/modules/instance.html index b967f5658..fa64cba61 100644 --- a/docs/modules/instance.html +++ b/docs/modules/instance.html @@ -90,7 +90,7 @@

        InitAuth0

        InitAuth0: (params?: ConfigParameters) => SignInWithAuth0
        diff --git a/docs/modules/session_get_access_token.html b/docs/modules/session_get_access_token.html index 33ebee930..dcb92afe2 100644 --- a/docs/modules/session_get_access_token.html +++ b/docs/modules/session_get_access_token.html @@ -91,7 +91,7 @@

        GetAccessToken

        GetAccessToken: (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse, accessTokenRequest?: AccessTokenRequest) => Promise<GetAccessTokenResult>
        diff --git a/docs/modules/session_get_session.html b/docs/modules/session_get_session.html index 5e586c380..affbbb3bd 100644 --- a/docs/modules/session_get_session.html +++ b/docs/modules/session_get_session.html @@ -84,7 +84,7 @@

        GetSession

        GetSession: (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse) => default | null | undefined
        diff --git a/docs/modules/version.html b/docs/modules/version.html index 9afa751d8..d1e08e108 100644 --- a/docs/modules/version.html +++ b/docs/modules/version.html @@ -81,7 +81,7 @@

        Properties

        default

        -
        default: "1.4.1"
        +
        default: "1.5.0"
        diff --git a/package-lock.json b/package-lock.json index ebe7e6d4f..2c9f08897 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@auth0/nextjs-auth0", - "version": "1.4.2", + "version": "1.5.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@auth0/nextjs-auth0", - "version": "1.4.2", + "version": "1.5.0", "license": "MIT", "dependencies": { "base64url": "^3.0.1", diff --git a/package.json b/package.json index c90943e6d..91c998278 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "1.4.2", + "version": "1.5.0", "description": "Next.js SDK for signing in with Auth0", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 525a14dfe..eb107735f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '1.4.2'; +export default '1.5.0';