diff --git a/CHANGELOG.md b/CHANGELOG.md index d5c2760e9..7e77658d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## [v1.13.3](https://github.com/auth0/auth0-spa-js/tree/v1.13.3) (2020-11-13) + +[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.13.2...v1.13.3) + +**Fixed** + +- [SDK-2156] Heed timeoutInSeconds when calling getTokenSilently with refresh tokens [\#639](https://github.com/auth0/auth0-spa-js/pull/639) ([stevehobbsdev](https://github.com/stevehobbsdev)) + ## [v1.13.2](https://github.com/auth0/auth0-spa-js/tree/v1.13.2) (2020-11-09) [Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.13.1...v1.13.2) diff --git a/docs/classes/auth0client.html b/docs/classes/auth0client.html index d0933ece5..6c20748c9 100644 --- a/docs/classes/auth0client.html +++ b/docs/classes/auth0client.html @@ -2900,7 +2900,7 @@

constructor

  • Parameters

    @@ -2922,7 +2922,7 @@

    cacheLocation

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

    buildAuthorizeUrl

  • @@ -2972,7 +2972,7 @@

    buildLogoutUrl

  • @@ -3003,7 +3003,7 @@

    checkSession

  • @@ -3039,7 +3039,7 @@

    getIdTokenClaims

  • @@ -3070,7 +3070,7 @@

    getTokenSilently

  • @@ -3114,7 +3114,7 @@

    getTokenWithPopup

  • @@ -3151,7 +3151,7 @@

    getUser

  • @@ -3183,7 +3183,7 @@

    handleRedirectCallback

  • @@ -3214,7 +3214,7 @@

    isAuthenticated

  • @@ -3238,7 +3238,7 @@

    loginWithPopup

  • @@ -3278,7 +3278,7 @@

    loginWithRedirect

  • @@ -3311,7 +3311,7 @@

    logout

  • diff --git a/docs/classes/authenticationerror.html b/docs/classes/authenticationerror.html index 81939f900..13c48e8a4 100644 --- a/docs/classes/authenticationerror.html +++ b/docs/classes/authenticationerror.html @@ -2879,7 +2879,7 @@

    constructor

    Parameters

    @@ -2910,7 +2910,7 @@

    appState

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

    error

    @@ -2932,7 +2932,7 @@

    error_description

    @@ -2975,7 +2975,7 @@

    state

    state: string
    @@ -2993,7 +2993,7 @@

    Static fromPayload

    Parameters

    diff --git a/docs/classes/genericerror.html b/docs/classes/genericerror.html index 561352506..c8f0dd28d 100644 --- a/docs/classes/genericerror.html +++ b/docs/classes/genericerror.html @@ -2882,7 +2882,7 @@

    constructor

  • Parameters

    @@ -2907,7 +2907,7 @@

    error

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

    error_description

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

    Static fromPayload

  • Parameters

    diff --git a/docs/classes/popuptimeouterror.html b/docs/classes/popuptimeouterror.html index 08026ff60..c4cc6a7a9 100644 --- a/docs/classes/popuptimeouterror.html +++ b/docs/classes/popuptimeouterror.html @@ -2875,7 +2875,7 @@

    constructor

    Parameters

    @@ -2898,7 +2898,7 @@

    error

    @@ -2909,7 +2909,7 @@

    error_description

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

    popup

    popup: Window
    @@ -2970,7 +2970,7 @@

    Static fromPayload

    Parameters

    diff --git a/docs/classes/timeouterror.html b/docs/classes/timeouterror.html index eec3cd931..102262ad9 100644 --- a/docs/classes/timeouterror.html +++ b/docs/classes/timeouterror.html @@ -2876,7 +2876,7 @@

    constructor

    Returns TimeoutError

    @@ -2893,7 +2893,7 @@

    error

    @@ -2904,7 +2904,7 @@

    error_description

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

    Static fromPayload

    Parameters

    diff --git a/docs/globals.html b/docs/globals.html index 885c7424e..c8c8ca74c 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -3100,7 +3100,7 @@

    CacheLocation

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

    getIdTokenClaimsOptions

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

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

    Const CACHE_LOCATION_ME
    CACHE_LOCATION_MEMORY: "memory" = "memory"
    @@ -3148,7 +3148,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"
    @@ -3165,7 +3165,7 @@

    createAuth0Client

  • Parameters

    diff --git a/docs/index.html b/docs/index.html index 240f9ff08..8d76cc208 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3101,7 +3101,7 @@

    CacheLocation

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

    getIdTokenClaimsOptions

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

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

    Const CACHE_LOCATION_ME
    CACHE_LOCATION_MEMORY: "memory" = "memory"
    @@ -3149,7 +3149,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"
    @@ -3166,7 +3166,7 @@

    createAuth0Client

  • Parameters

    diff --git a/docs/interfaces/advancedoptions.html b/docs/interfaces/advancedoptions.html index 45364452f..43e9e7755 100644 --- a/docs/interfaces/advancedoptions.html +++ b/docs/interfaces/advancedoptions.html @@ -2827,7 +2827,7 @@

    Optional defaultScope

    defaultScope: string
    diff --git a/docs/interfaces/auth0clientoptions.html b/docs/interfaces/auth0clientoptions.html index 940dda7be..47b91cca4 100644 --- a/docs/interfaces/auth0clientoptions.html +++ b/docs/interfaces/auth0clientoptions.html @@ -2927,7 +2927,7 @@

    Optional acr_values

    @@ -2937,7 +2937,7 @@

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

    Optional audience

    @@ -2968,7 +2968,7 @@

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

    Optional cacheLocationcacheLocation: CacheLocation

    @@ -3000,7 +3000,7 @@

    client_id

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

    Optional connection

    @@ -3034,7 +3034,7 @@

    Optional display

    @@ -3054,7 +3054,7 @@

    domain

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

    Optional id_token_hi
    @@ -3087,7 +3087,7 @@

    Optional issuer

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

    Optional leeway

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

    Optional legacySameS
    legacySameSiteCookie: boolean
    @@ -3140,7 +3140,7 @@

    Optional login_hint

    @@ -3159,7 +3159,7 @@

    Optional max_age

    @@ -3177,7 +3177,7 @@

    Optional prompt

    @@ -3197,7 +3197,7 @@

    Optional redirect_uri

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

    Optional scope

    @@ -3234,7 +3234,7 @@

    Optional sessionChecksessionCheckExpiryDays: number

    @@ -3251,7 +3251,7 @@

    Optional ui_locales

    @@ -3267,7 +3267,7 @@

    Optional useCookiesF
    useCookiesForTransactions: boolean
    @@ -3290,7 +3290,7 @@

    Optional useRefreshT
    useRefreshTokens: boolean
    diff --git a/docs/interfaces/getidtokenclaimsoptions.html b/docs/interfaces/getidtokenclaimsoptions.html index f5c1a6f31..1e6216168 100644 --- a/docs/interfaces/getidtokenclaimsoptions.html +++ b/docs/interfaces/getidtokenclaimsoptions.html @@ -2831,7 +2831,7 @@

    Optional audience

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

    Optional scope

    scope: string
    diff --git a/docs/interfaces/gettokensilentlyoptions.html b/docs/interfaces/gettokensilentlyoptions.html index 622e6582c..d8c52f6c2 100644 --- a/docs/interfaces/gettokensilentlyoptions.html +++ b/docs/interfaces/gettokensilentlyoptions.html @@ -2853,7 +2853,7 @@

    Optional audience

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

    Optional ignoreCache

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

    Optional redirect_uri

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

    Optional scope

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

    Optional timeoutInSeconds
    timeoutInSeconds: number
    diff --git a/docs/interfaces/gettokenwithpopupoptions.html b/docs/interfaces/gettokenwithpopupoptions.html index 4fe59604d..3b933c476 100644 --- a/docs/interfaces/gettokenwithpopupoptions.html +++ b/docs/interfaces/gettokenwithpopupoptions.html @@ -2879,7 +2879,7 @@

    Optional acr_values

    @@ -2890,7 +2890,7 @@

    Optional audience

    @@ -2906,7 +2906,7 @@

    Optional connection

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

    Optional display

    @@ -2945,7 +2945,7 @@

    Optional id_token_hi
    @@ -2961,7 +2961,7 @@

    Optional login_hint

    @@ -2980,7 +2980,7 @@

    Optional max_age

    @@ -2998,7 +2998,7 @@

    Optional prompt

    @@ -3019,7 +3019,7 @@

    Optional scope

    @@ -3037,7 +3037,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/getuseroptions.html b/docs/interfaces/getuseroptions.html index 897a900b6..94752c117 100644 --- a/docs/interfaces/getuseroptions.html +++ b/docs/interfaces/getuseroptions.html @@ -2831,7 +2831,7 @@

    Optional audience

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

    Optional scope

    scope: string
    diff --git a/docs/interfaces/logoutoptions.html b/docs/interfaces/logoutoptions.html index ebdc26563..7391adfe8 100644 --- a/docs/interfaces/logoutoptions.html +++ b/docs/interfaces/logoutoptions.html @@ -2839,7 +2839,7 @@

    Optional client_id

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

    Optional federated

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

    Optional localOnly

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

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/logouturloptions.html b/docs/interfaces/logouturloptions.html index 20f14c704..cd31d7b01 100644 --- a/docs/interfaces/logouturloptions.html +++ b/docs/interfaces/logouturloptions.html @@ -2835,7 +2835,7 @@

    Optional client_id

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

    Optional federated

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

    Optional returnTo

    returnTo: string
    diff --git a/docs/interfaces/popupconfigoptions.html b/docs/interfaces/popupconfigoptions.html index 4e7af56f6..ac898b6ce 100644 --- a/docs/interfaces/popupconfigoptions.html +++ b/docs/interfaces/popupconfigoptions.html @@ -2831,7 +2831,7 @@

    Optional popup

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

    Optional timeoutInSeconds
    timeoutInSeconds: number
    diff --git a/docs/interfaces/popuploginoptions.html b/docs/interfaces/popuploginoptions.html index 9daaf660c..36e2d743d 100644 --- a/docs/interfaces/popuploginoptions.html +++ b/docs/interfaces/popuploginoptions.html @@ -2884,7 +2884,7 @@

    Optional acr_values

    @@ -2895,7 +2895,7 @@

    Optional audience

    @@ -2911,7 +2911,7 @@

    Optional connection

    @@ -2929,7 +2929,7 @@

    Optional display

    @@ -2950,7 +2950,7 @@

    Optional id_token_hi
    @@ -2966,7 +2966,7 @@

    Optional login_hint

    @@ -2985,7 +2985,7 @@

    Optional max_age

    @@ -3003,7 +3003,7 @@

    Optional prompt

    @@ -3024,7 +3024,7 @@

    Optional scope

    @@ -3042,7 +3042,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/redirectloginoptions.html b/docs/interfaces/redirectloginoptions.html index edf54342c..680f5db05 100644 --- a/docs/interfaces/redirectloginoptions.html +++ b/docs/interfaces/redirectloginoptions.html @@ -2891,7 +2891,7 @@

    Optional acr_values

    @@ -2901,7 +2901,7 @@

    Optional appState

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

    Optional audience

    @@ -2933,7 +2933,7 @@

    Optional connection

    @@ -2951,7 +2951,7 @@

    Optional display

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

    Optional fragment

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

    Optional id_token_hi
    @@ -3003,7 +3003,7 @@

    Optional login_hint

    @@ -3022,7 +3022,7 @@

    Optional max_age

    @@ -3040,7 +3040,7 @@

    Optional prompt

    @@ -3060,7 +3060,7 @@

    Optional redirect_uri

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

    Optional scope

    @@ -3097,7 +3097,7 @@

    Optional ui_locales

    diff --git a/docs/interfaces/redirectloginresult.html b/docs/interfaces/redirectloginresult.html index 6768c068b..8ce5c9a8a 100644 --- a/docs/interfaces/redirectloginresult.html +++ b/docs/interfaces/redirectloginresult.html @@ -2827,7 +2827,7 @@

    Optional appState

    appState: any
    diff --git a/package.json b/package.json index 1bae5d458..14b0d3182 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.13.2", + "version": "1.13.3", "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 9af6e25ee..254a1e713 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '1.13.2'; +export default '1.13.3';