From 35f3f89e6dea8edbd2e5cdaf965133ed497d0094 Mon Sep 17 00:00:00 2001 From: adamjmcgrath Date: Thu, 16 Dec 2021 12:07:00 +0000 Subject: [PATCH] Release v1.6.2 --- CHANGELOG.md | 9 +++++ docs/classes/session.sessioncache.html | 18 +++++----- docs/classes/session_session.default.html | 14 ++++---- .../utils_errors.accesstokenerror.html | 4 +-- docs/classes/utils_errors.handlererror.html | 6 ++-- .../config.authorizationparameters.html | 6 ++-- docs/interfaces/config.baseconfig.html | 34 +++++++++---------- docs/interfaces/config.cookieconfig.html | 12 +++---- docs/interfaces/config.nextconfig.html | 6 ++-- docs/interfaces/config.sessionconfig.html | 10 +++--- .../frontend_use_user.userprofile.html | 16 ++++----- ..._required.withpageauthrequiredoptions.html | 6 ++-- docs/interfaces/handlers_auth.handlers.html | 8 ++--- .../handlers_callback.callbackoptions.html | 8 ++--- .../handlers_login.authorizationparams.html | 12 +++---- .../handlers_login.loginoptions.html | 6 ++-- .../handlers_logout.logoutoptions.html | 2 +- docs/interfaces/instance.signinwithauth0.html | 18 +++++----- ...n_get_access_token.accesstokenrequest.html | 8 ++--- ...get_access_token.getaccesstokenresult.html | 2 +- docs/modules/config.html | 2 +- docs/modules/frontend.html | 4 +-- docs/modules/frontend_use_user.html | 8 ++--- .../frontend_with_page_auth_required.html | 2 +- docs/modules/handlers_auth.html | 2 +- docs/modules/handlers_callback.html | 4 +-- docs/modules/handlers_login.html | 4 +-- docs/modules/handlers_logout.html | 2 +- docs/modules/handlers_profile.html | 6 ++-- .../helpers_with_api_auth_required.html | 2 +- .../helpers_with_page_auth_required.html | 8 ++--- docs/modules/instance.html | 2 +- docs/modules/session_get_access_token.html | 4 +-- docs/modules/session_get_session.html | 2 +- docs/modules/version.html | 2 +- package-lock.json | 2 +- package.json | 2 +- src/version.ts | 2 +- 38 files changed, 137 insertions(+), 128 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c51af581..977d8496b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Change Log +## [v1.6.2](https://github.com/auth0/nextjs-auth0/tree/v1.6.2) (2021-12-16) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.1...v1.6.2) + +**Fixed** +- Fix issue where error reporting wrong instanceof [\#543](https://github.com/auth0/nextjs-auth0/pull/543) ([adamjmcgrath](https://github.com/adamjmcgrath)) + +**Security** +- Enforce configured host on user supplied returnTo [\#557](https://github.com/auth0/nextjs-auth0/pull/557) ([adamjmcgrath](https://github.com/adamjmcgrath)) + ## [v1.6.1](https://github.com/auth0/nextjs-auth0/tree/v1.6.1) (2021-10-13) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.0...v1.6.1) diff --git a/docs/classes/session.sessioncache.html b/docs/classes/session.sessioncache.html index c6174cd45..c4193215e 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 d4a3e7877..bf53e0e2a 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 826354055..baf91bc48 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 index f22a1c2ef..beeb71777 100644 --- a/docs/classes/utils_errors.handlererror.html +++ b/docs/classes/utils_errors.handlererror.html @@ -122,7 +122,7 @@

    constructor

  • Parameters

    @@ -144,7 +144,7 @@

    code

    code: undefined | string
    @@ -154,7 +154,7 @@

    status

    status: undefined | number
    diff --git a/docs/interfaces/config.authorizationparameters.html b/docs/interfaces/config.authorizationparameters.html index 9199c8ff9..36b22f2ef 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 58f52351a..3a6eda53c 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 31cd9a6f5..9103c02ca 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 4e7bf7fc8..ec7db2343 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 761fabdc7..3639fcadb 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 7f43197bf..bf8a4be55 100644 --- a/docs/interfaces/frontend_use_user.userprofile.html +++ b/docs/interfaces/frontend_use_user.userprofile.html @@ -118,7 +118,7 @@

    Optional email

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

    Optional email_verifiedemail_verified: undefined | null | boolean

    @@ -138,7 +138,7 @@

    Optional name

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

    Optional nickname

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

    Optional org_id

    org_id: undefined | null | string
    @@ -168,7 +168,7 @@

    Optional picture

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

    Optional sub

    sub: undefined | null | string
    @@ -188,7 +188,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 8aa68ea60..e63c0d446 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 4c049a9d0..4f01a65d6 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 67298c0a4..5d435420d 100644 --- a/docs/interfaces/handlers_callback.callbackoptions.html +++ b/docs/interfaces/handlers_callback.callbackoptions.html @@ -105,7 +105,7 @@

    Optional afterCallbackafterCallback: undefined | AfterCallback

    @@ -115,7 +115,7 @@

    Optional authorizationPar
    authorizationParams: undefined | Partial<AuthorizationParameters>
    @@ -130,7 +130,7 @@

    Optional organization

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

    Optional redirectUri

    redirectUri: undefined | string
    diff --git a/docs/interfaces/handlers_login.authorizationparams.html b/docs/interfaces/handlers_login.authorizationparams.html index f58f45c59..746a13669 100644 --- a/docs/interfaces/handlers_login.authorizationparams.html +++ b/docs/interfaces/handlers_login.authorizationparams.html @@ -112,7 +112,7 @@

    Optional invitation

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

    Optional organization

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

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

    @@ -177,7 +177,7 @@

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

    @@ -187,7 +187,7 @@

    Optional scope

    scope: undefined | string
    @@ -197,7 +197,7 @@

    Optional screen_hint

    screen_hint: undefined | string
    diff --git a/docs/interfaces/handlers_login.loginoptions.html b/docs/interfaces/handlers_login.loginoptions.html index eaf26c127..904de2d1f 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 071804ad5..85feadb99 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 25b232964..f09063d32 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 673ae58c5..530c8a439 100644 --- a/docs/interfaces/session_get_access_token.accesstokenrequest.html +++ b/docs/interfaces/session_get_access_token.accesstokenrequest.html @@ -105,7 +105,7 @@

    Optional afterRefresh

    afterRefresh: undefined | AfterRefresh
    @@ -142,7 +142,7 @@

    Optional authorizationPar
    authorizationParams: undefined | Partial<AuthorizationParameters>
    @@ -157,7 +157,7 @@

    Optional refresh

    refresh: undefined | boolean
    @@ -173,7 +173,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 83b7020b3..aadb3ce8f 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 6a809ec10..a8f0cc64b 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 c92109ce2..1c983d2cf 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 0dbbc1398..ed5edfb2e 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>
    @@ -223,7 +223,7 @@

    UserProviderProps

    UserProviderProps: React.PropsWithChildren<{ fetcher?: UserFetcher; profileUrl?: string; user?: UserProfile } & ConfigContext>
    diff --git a/docs/modules/frontend_with_page_auth_required.html b/docs/modules/frontend_with_page_auth_required.html index 6c5c78b1f..1a611deb2 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 553cbeed6..d19181019 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 6b073cb35..0ef7e55cf 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
    @@ -192,7 +192,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 414a4d3e3..1aa7dccd9 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 33c1b1512..6b861864f 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 14f571fe1..d8910f8c6 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>
    @@ -176,7 +176,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 5d4613ff4..ce8c25441 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 974ee94a0..6a7362444 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<P>: GetServerSidePropsResult<P & { user?: Claims | null }>
    @@ -118,7 +118,7 @@

    PageRoute

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

    WithPageAuthRequired

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

    WithPageAuthRequiredOptions

    WithPageAuthRequiredOptions<P>: { getServerSideProps?: GetServerSideProps<P>; returnTo?: string }
    diff --git a/docs/modules/instance.html b/docs/modules/instance.html index db72ca9c5..bd4f9ff9b 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 7321c8556..3cb262a98 100644 --- a/docs/modules/session_get_access_token.html +++ b/docs/modules/session_get_access_token.html @@ -95,7 +95,7 @@

    AfterRefresh

    AfterRefresh: (req: NextApiRequest, res: NextApiResponse, session: default) => Promise<default> | default
    @@ -135,7 +135,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 708e75cfc..9b0bc9eb4 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 ecab09d10..2aed89385 100644 --- a/docs/modules/version.html +++ b/docs/modules/version.html @@ -81,7 +81,7 @@

    Properties

    default

    -
    default: "1.6.1"
    +
    default: "1.6.2"
    diff --git a/package-lock.json b/package-lock.json index e4a800847..51fc60613 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "1.6.1", + "version": "1.6.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bffb217ae..88ee85b62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "1.6.1", + "version": "1.6.2", "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 0527ceb03..aab4a8206 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '1.6.1'; +export default '1.6.2';