diff --git a/CHANGELOG.md b/CHANGELOG.md index 0556b47c5..98e88de2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [v1.8.2](https://github.com/auth0/auth0-spa-js/tree/v1.8.2) (2020-05-26) + +[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.8.1...v1.8.2) + +**Fixed** + +- [SDK-1640] Allow the client to be constructed in a Node SSR environment [\#471](https://github.com/auth0/auth0-spa-js/pull/471) ([adamjmcgrath](https://github.com/adamjmcgrath)) +- [SDK-1634] Pass custom options to the token endpoint [\#465](https://github.com/auth0/auth0-spa-js/pull/465) ([stevehobbsdev](https://github.com/stevehobbsdev)) +- [SDK-1649] Fix issue where cache was missed when scope parameter was provided [\#461](https://github.com/auth0/auth0-spa-js/pull/461) ([adamjmcgrath](https://github.com/adamjmcgrath)) + ## [v1.8.1](https://github.com/auth0/auth0-spa-js/tree/v1.8.1) (2020-05-06) [Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.8.0...v1.8.1) diff --git a/docs/classes/auth0client.html b/docs/classes/auth0client.html index 197785924..a5e9ed200 100644 --- a/docs/classes/auth0client.html +++ b/docs/classes/auth0client.html @@ -2883,7 +2883,7 @@

constructor

  • Parameters

    @@ -2905,7 +2905,7 @@

    cacheLocation

    cacheLocation: CacheLocation
    @@ -2922,7 +2922,7 @@

    buildAuthorizeUrl

  • @@ -2955,7 +2955,7 @@

    getIdTokenClaims

  • @@ -2986,7 +2986,7 @@

    getTokenSilently

  • @@ -3030,7 +3030,7 @@

    getTokenWithPopup

  • @@ -3067,7 +3067,7 @@

    getUser

  • @@ -3099,7 +3099,7 @@

    handleRedirectCallback

  • @@ -3130,7 +3130,7 @@

    isAuthenticated

  • @@ -3154,7 +3154,7 @@

    loginWithPopup

  • @@ -3194,7 +3194,7 @@

    loginWithRedirect

  • @@ -3227,7 +3227,7 @@

    logout

  • diff --git a/docs/classes/authenticationerror.html b/docs/classes/authenticationerror.html index 50fa31e3f..e6cb9461e 100644 --- a/docs/classes/authenticationerror.html +++ b/docs/classes/authenticationerror.html @@ -2861,7 +2861,7 @@

    constructor

    Parameters

    @@ -2892,7 +2892,7 @@

    appState

    appState: any
    @@ -2903,7 +2903,7 @@

    error

    @@ -2914,7 +2914,7 @@

    error_description

    @@ -2957,7 +2957,7 @@

    state

    state: string
    diff --git a/docs/classes/genericerror.html b/docs/classes/genericerror.html index 9d7e61764..61c4328e4 100644 --- a/docs/classes/genericerror.html +++ b/docs/classes/genericerror.html @@ -2861,7 +2861,7 @@

    constructor

  • Parameters

    @@ -2886,7 +2886,7 @@

    error

    error: string
    @@ -2896,7 +2896,7 @@

    error_description

    error_description: string
    diff --git a/docs/globals.html b/docs/globals.html index 7c21fab66..17acb6a32 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -2817,7 +2817,7 @@

    Documentation

    Installation

    From the CDN:

    -
    <script src="https://cdn.auth0.com/js/auth0-spa-js/1.7/auth0-spa-js.production.js"></script>
    +
    <script src="https://cdn.auth0.com/js/auth0-spa-js/1.8/auth0-spa-js.production.js"></script>

    Using npm:

    npm install @auth0/auth0-spa-js

    Using yarn:

    @@ -3085,7 +3085,7 @@

    CacheLocation

    CacheLocation: "memory" | "localstorage"
    @@ -3100,7 +3100,7 @@

    getIdTokenClaimsOptions

    getIdTokenClaimsOptions: GetIdTokenClaimsOptions
    @@ -3113,7 +3113,7 @@

    Const CACHE_LOCATION_LO
    CACHE_LOCATION_LOCAL_STORAGE: "localstorage" = "localstorage"
    @@ -3123,7 +3123,7 @@

    Const CACHE_LOCATION_ME
    CACHE_LOCATION_MEMORY: "memory" = "memory"
    @@ -3133,7 +3133,7 @@

    Const MISSING_REFRESH_T
    MISSING_REFRESH_TOKEN_ERROR_MESSAGE: "The web worker is missing the refresh token" = "The web worker is missing the refresh token"
    @@ -3150,7 +3150,7 @@

    createAuth0Client

  • Parameters

    diff --git a/docs/index.html b/docs/index.html index f511f324b..1bf07f466 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2817,7 +2817,7 @@

    Documentation

    Installation

    From the CDN:

    -
    <script src="https://cdn.auth0.com/js/auth0-spa-js/1.7/auth0-spa-js.production.js"></script>
    +
    <script src="https://cdn.auth0.com/js/auth0-spa-js/1.8/auth0-spa-js.production.js"></script>

    Using npm:

    npm install @auth0/auth0-spa-js

    Using yarn:

    @@ -3086,7 +3086,7 @@

    CacheLocation

    CacheLocation: "memory" | "localstorage"
    @@ -3101,7 +3101,7 @@

    getIdTokenClaimsOptions

    getIdTokenClaimsOptions: GetIdTokenClaimsOptions
    @@ -3114,7 +3114,7 @@

    Const CACHE_LOCATION_LO
    CACHE_LOCATION_LOCAL_STORAGE: "localstorage" = "localstorage"
    @@ -3124,7 +3124,7 @@

    Const CACHE_LOCATION_ME
    CACHE_LOCATION_MEMORY: "memory" = "memory"
    @@ -3134,7 +3134,7 @@

    Const MISSING_REFRESH_T
    MISSING_REFRESH_TOKEN_ERROR_MESSAGE: "The web worker is missing the refresh token" = "The web worker is missing the refresh token"
    @@ -3151,7 +3151,7 @@

    createAuth0Client

  • Parameters

    diff --git a/docs/interfaces/advancedoptions.html b/docs/interfaces/advancedoptions.html index 6d1ed9fcd..b99078385 100644 --- a/docs/interfaces/advancedoptions.html +++ b/docs/interfaces/advancedoptions.html @@ -2818,7 +2818,7 @@

    Optional defaultScope

    defaultScope: string
    diff --git a/docs/interfaces/auth0clientoptions.html b/docs/interfaces/auth0clientoptions.html index 5c0104e2d..20d271b68 100644 --- a/docs/interfaces/auth0clientoptions.html +++ b/docs/interfaces/auth0clientoptions.html @@ -2906,7 +2906,7 @@

    Optional acr_values

    @@ -2916,7 +2916,7 @@

    Optional advancedOptions<
    advancedOptions: AdvancedOptions
    @@ -2932,7 +2932,7 @@

    Optional audience

    @@ -2947,7 +2947,7 @@

    Optional authorizeTimeout
    authorizeTimeoutInSeconds: number
    @@ -2963,7 +2963,7 @@

    Optional cacheLocationcacheLocation: CacheLocation

    @@ -2979,7 +2979,7 @@

    client_id

    client_id: string
    @@ -2995,7 +2995,7 @@

    Optional connection

    @@ -3013,7 +3013,7 @@

    Optional display

    @@ -3033,7 +3033,7 @@

    domain

    domain: string
    @@ -3051,7 +3051,7 @@

    Optional id_token_hi
    @@ -3066,7 +3066,7 @@

    Optional issuer

    issuer: string
    @@ -3081,7 +3081,7 @@

    Optional leeway

    leeway: number
    @@ -3099,7 +3099,7 @@

    Optional login_hint

    @@ -3118,7 +3118,7 @@

    Optional max_age

    @@ -3136,7 +3136,7 @@

    Optional prompt

    @@ -3156,7 +3156,7 @@

    Optional redirect_uri

    redirect_uri: string
    @@ -3176,7 +3176,7 @@

    Optional scope

    @@ -3194,7 +3194,7 @@

    Optional ui_locales

    @@ -3210,7 +3210,7 @@

    Optional useRefreshT
    useRefreshTokens: boolean
    diff --git a/docs/interfaces/getidtokenclaimsoptions.html b/docs/interfaces/getidtokenclaimsoptions.html index 650240145..f191121de 100644 --- a/docs/interfaces/getidtokenclaimsoptions.html +++ b/docs/interfaces/getidtokenclaimsoptions.html @@ -2822,7 +2822,7 @@

    audience

    audience: string
    @@ -2837,7 +2837,7 @@

    scope

    scope: string
    diff --git a/docs/interfaces/gettokensilentlyoptions.html b/docs/interfaces/gettokensilentlyoptions.html index b33a28600..a648fe974 100644 --- a/docs/interfaces/gettokensilentlyoptions.html +++ b/docs/interfaces/gettokensilentlyoptions.html @@ -2844,7 +2844,7 @@

    Optional audience

    audience: string
    @@ -2859,7 +2859,7 @@

    Optional ignoreCache

    ignoreCache: boolean
    @@ -2875,7 +2875,7 @@

    Optional redirect_uri

    redirect_uri: string
    @@ -2895,7 +2895,7 @@

    Optional scope

    scope: string
    @@ -2910,7 +2910,7 @@

    Optional timeoutInSeconds
    timeoutInSeconds: number
    diff --git a/docs/interfaces/gettokenwithpopupoptions.html b/docs/interfaces/gettokenwithpopupoptions.html index 03fee2777..5a5699fcf 100644 --- a/docs/interfaces/gettokenwithpopupoptions.html +++ b/docs/interfaces/gettokenwithpopupoptions.html @@ -2870,7 +2870,7 @@

    Optional acr_values

    @@ -2881,7 +2881,7 @@

    Optional audience

    @@ -2897,7 +2897,7 @@

    Optional connection

    @@ -2915,7 +2915,7 @@

    Optional display

    @@ -2936,7 +2936,7 @@

    Optional id_token_hi
    @@ -2952,7 +2952,7 @@

    Optional login_hint

    @@ -2971,7 +2971,7 @@

    Optional max_age

    @@ -2989,7 +2989,7 @@

    Optional prompt

    @@ -3010,7 +3010,7 @@

    Optional scope

    @@ -3028,7 +3028,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/getuseroptions.html b/docs/interfaces/getuseroptions.html index adacd3b1c..8e3e6b0bb 100644 --- a/docs/interfaces/getuseroptions.html +++ b/docs/interfaces/getuseroptions.html @@ -2822,7 +2822,7 @@

    audience

    audience: string
    @@ -2837,7 +2837,7 @@

    scope

    scope: string
    diff --git a/docs/interfaces/logoutoptions.html b/docs/interfaces/logoutoptions.html index b63d0e456..6e4813818 100644 --- a/docs/interfaces/logoutoptions.html +++ b/docs/interfaces/logoutoptions.html @@ -2830,7 +2830,7 @@

    Optional client_id

    client_id: string
    @@ -2845,7 +2845,7 @@

    Optional federated

    federated: boolean
    @@ -2864,7 +2864,7 @@

    Optional localOnly

    localOnly: boolean
    @@ -2882,7 +2882,7 @@

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/popupconfigoptions.html b/docs/interfaces/popupconfigoptions.html index 0b7cfa928..eeb049397 100644 --- a/docs/interfaces/popupconfigoptions.html +++ b/docs/interfaces/popupconfigoptions.html @@ -2822,7 +2822,7 @@

    Optional popup

    popup: any
    @@ -2839,7 +2839,7 @@

    Optional timeoutInSeconds
    timeoutInSeconds: number
    diff --git a/docs/interfaces/popuploginoptions.html b/docs/interfaces/popuploginoptions.html index 386f52944..86cc2cb30 100644 --- a/docs/interfaces/popuploginoptions.html +++ b/docs/interfaces/popuploginoptions.html @@ -2875,7 +2875,7 @@

    Optional acr_values

    @@ -2886,7 +2886,7 @@

    Optional audience

    @@ -2902,7 +2902,7 @@

    Optional connection

    @@ -2920,7 +2920,7 @@

    Optional display

    @@ -2941,7 +2941,7 @@

    Optional id_token_hi
    @@ -2957,7 +2957,7 @@

    Optional login_hint

    @@ -2976,7 +2976,7 @@

    Optional max_age

    @@ -2994,7 +2994,7 @@

    Optional prompt

    @@ -3015,7 +3015,7 @@

    Optional scope

    @@ -3033,7 +3033,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/redirectloginoptions.html b/docs/interfaces/redirectloginoptions.html index d5f4d61c9..976ea8e66 100644 --- a/docs/interfaces/redirectloginoptions.html +++ b/docs/interfaces/redirectloginoptions.html @@ -2882,7 +2882,7 @@

    Optional acr_values

    @@ -2892,7 +2892,7 @@

    Optional appState

    appState: any
    @@ -2908,7 +2908,7 @@

    Optional audience

    @@ -2924,7 +2924,7 @@

    Optional connection

    @@ -2942,7 +2942,7 @@

    Optional display

    @@ -2962,7 +2962,7 @@

    Optional fragment

    fragment: string
    @@ -2978,7 +2978,7 @@

    Optional id_token_hi
    @@ -2994,7 +2994,7 @@

    Optional login_hint

    @@ -3013,7 +3013,7 @@

    Optional max_age

    @@ -3031,7 +3031,7 @@

    Optional prompt

    @@ -3051,7 +3051,7 @@

    Optional redirect_uri

    redirect_uri: string
    @@ -3070,7 +3070,7 @@

    Optional scope

    @@ -3088,7 +3088,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/redirectloginresult.html b/docs/interfaces/redirectloginresult.html index 97a4917e8..109951e66 100644 --- a/docs/interfaces/redirectloginresult.html +++ b/docs/interfaces/redirectloginresult.html @@ -2818,7 +2818,7 @@

    Optional appState

    appState: any
    diff --git a/package-lock.json b/package-lock.json index ff01b8bb1..fe5b2752e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@auth0/auth0-spa-js", - "version": "1.8.1", + "version": "1.8.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3513f165a..9b07d8942 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "@auth0/auth0-spa-js", "description": "Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE", "license": "MIT", - "version": "1.8.1", + "version": "1.8.2", "main": "dist/lib/auth0-spa-js.cjs.js", "types": "dist/typings/index.d.ts", "module": "dist/auth0-spa-js.production.esm.js", diff --git a/src/version.ts b/src/version.ts index 0c1256512..82c71065f 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '1.8.1'; +export default '1.8.2';