From fe7fcb7e06d2cf319cadd5a0046f81e0b04bd1fb Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Mon, 6 Sep 2021 17:46:34 +0100 Subject: [PATCH] Release v1.7.0 (#272) --- CHANGELOG.md | 6 +++ docs/classes/errors.oautherror.html | 2 +- docs/classes/index.user.html | 40 +++++++++---------- .../auth0_context.auth0contextinterface.html | 26 ++++++------ .../auth0_context.redirectloginoptions.html | 6 +-- .../auth0_provider.auth0provideroptions.html | 36 ++++++++--------- .../index.getidtokenclaimsoptions.html | 4 +- .../index.gettokensilentlyoptions.html | 10 ++--- docs/interfaces/index.icache.html | 4 +- docs/interfaces/index.logoutoptions.html | 8 ++-- docs/interfaces/index.logouturloptions.html | 6 +-- docs/interfaces/index.popupconfigoptions.html | 4 +- .../interfaces/with_auth0.withauth0props.html | 2 +- ...red.withauthenticationrequiredoptions.html | 8 ++-- docs/modules/auth0_context.html | 2 +- docs/modules/auth0_provider.html | 4 +- docs/modules/index.html | 2 +- docs/modules/use_auth0.html | 2 +- docs/modules/with_auth0.html | 2 +- .../modules/with_authentication_required.html | 2 +- package-lock.json | 4 +- package.json | 2 +- 22 files changed, 94 insertions(+), 88 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce5fffb3..16af5a2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v1.7.0](https://github.com/auth0/auth0-react/tree/v1.7.0) (2021-09-06) +[Full Changelog](https://github.com/auth0/auth0-react/compare/v1.6.0...v1.7.0) + +**Added** +- Bump SPA JS to 1.17.1 [\#270](https://github.com/auth0/auth0-react/pull/270) ([adamjmcgrath](https://github.com/adamjmcgrath)) + ## [v1.6.0](https://github.com/auth0/auth0-react/tree/v1.6.0) (2021-07-14) **Added** diff --git a/docs/classes/errors.oautherror.html b/docs/classes/errors.oautherror.html index b31d42fc..a97ab921 100644 --- a/docs/classes/errors.oautherror.html +++ b/docs/classes/errors.oautherror.html @@ -134,7 +134,7 @@

constructor

Parameters

diff --git a/docs/classes/index.user.html b/docs/classes/index.user.html index f2305237..9179ba1c 100644 --- a/docs/classes/index.user.html +++ b/docs/classes/index.user.html @@ -143,7 +143,7 @@

Optional address

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

Optional birthdate

birthdate: string
@@ -163,7 +163,7 @@

Optional email

email: string
@@ -173,7 +173,7 @@

Optional email_verifiedemail_verified: boolean @@ -183,7 +183,7 @@

Optional family_name

family_name: string
@@ -193,7 +193,7 @@

Optional gender

gender: string
@@ -203,7 +203,7 @@

Optional given_name

given_name: string
@@ -213,7 +213,7 @@

Optional locale

locale: string
@@ -223,7 +223,7 @@

Optional middle_name

middle_name: string
@@ -233,7 +233,7 @@

Optional name

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

Optional nickname

nickname: string
@@ -253,7 +253,7 @@

Optional phone_number

phone_number: string @@ -263,7 +263,7 @@

Optional phone_number_phone_number_verified: boolean @@ -273,7 +273,7 @@

Optional picture

picture: string
@@ -283,7 +283,7 @@

Optional preferred_userna
preferred_username: string
@@ -293,7 +293,7 @@

Optional profile

profile: string
@@ -303,7 +303,7 @@

Optional sub

sub: string
@@ -313,7 +313,7 @@

Optional updated_at

updated_at: string
@@ -323,7 +323,7 @@

Optional website

website: string
@@ -333,7 +333,7 @@

Optional zoneinfo

zoneinfo: string
diff --git a/docs/interfaces/auth0_context.auth0contextinterface.html b/docs/interfaces/auth0_context.auth0contextinterface.html index 822bf591..82179047 100644 --- a/docs/interfaces/auth0_context.auth0contextinterface.html +++ b/docs/interfaces/auth0_context.auth0contextinterface.html @@ -129,7 +129,7 @@

buildAuthorizeUrl

buildAuthorizeUrl: (options?: RedirectLoginOptions) => Promise<string>
@@ -169,7 +169,7 @@

buildLogoutUrl

buildLogoutUrl: (options?: LogoutUrlOptions) => string
@@ -212,7 +212,7 @@

Optional error

@@ -222,7 +222,7 @@

getAccessTokenSilently

getAccessTokenSilently: (options?: GetTokenSilentlyOptions) => Promise<string>
@@ -273,7 +273,7 @@

getAccessTokenWithPopup

getAccessTokenWithPopup: (options?: GetTokenWithPopupOptions, config?: PopupConfigOptions) => Promise<string>
@@ -318,7 +318,7 @@

getIdTokenClaims

getIdTokenClaims: (options?: GetIdTokenClaimsOptions) => Promise<IdToken>
@@ -356,7 +356,7 @@

handleRedirectCallback

handleRedirectCallback: (url?: string) => Promise<RedirectLoginResult>
@@ -401,7 +401,7 @@

isAuthenticated

@@ -412,7 +412,7 @@

isLoading

@@ -422,7 +422,7 @@

loginWithPopup

loginWithPopup: (options?: PopupLoginOptions, config?: PopupConfigOptions) => Promise<void>
@@ -469,7 +469,7 @@

loginWithRedirect

loginWithRedirect: (options?: RedirectLoginOptions) => Promise<void>
@@ -509,7 +509,7 @@

logout

logout: (options?: LogoutOptions) => void
@@ -554,7 +554,7 @@

Optional user

diff --git a/docs/interfaces/auth0_context.redirectloginoptions.html b/docs/interfaces/auth0_context.redirectloginoptions.html index d263fda8..dd0cc0a1 100644 --- a/docs/interfaces/auth0_context.redirectloginoptions.html +++ b/docs/interfaces/auth0_context.redirectloginoptions.html @@ -128,7 +128,7 @@

Optional appState

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

Optional fragment

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

Optional redirectUri

redirectUri: string
diff --git a/docs/interfaces/auth0_provider.auth0provideroptions.html b/docs/interfaces/auth0_provider.auth0provideroptions.html index 589e5e2d..32043654 100644 --- a/docs/interfaces/auth0_provider.auth0provideroptions.html +++ b/docs/interfaces/auth0_provider.auth0provideroptions.html @@ -131,7 +131,7 @@

Optional advancedOptions<
advancedOptions: { defaultScope?: string }
@@ -161,7 +161,7 @@

Optional audience

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

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

Optional cache

cache: ICache
@@ -208,7 +208,7 @@

Optional cacheLocationcacheLocation: "memory" | "localstorage"

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

Optional children

children: ReactNode
@@ -240,7 +240,7 @@

clientId

clientId: string
@@ -255,7 +255,7 @@

domain

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

Optional invitation

invitation: string
@@ -287,7 +287,7 @@

Optional issuer

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

Optional leeway

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

Optional maxAge

maxAge: string | number
@@ -336,7 +336,7 @@

Optional onRedirectC
onRedirectCallback: (appState: AppState) => void
@@ -374,7 +374,7 @@

Optional organization

organization: string
@@ -391,7 +391,7 @@

Optional redirectUri

redirectUri: string
@@ -410,7 +410,7 @@

Optional scope

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

Optional skipRedirectskipRedirectCallback: boolean

@@ -450,7 +450,7 @@

Optional useRefreshT
useRefreshTokens: boolean
diff --git a/docs/interfaces/index.getidtokenclaimsoptions.html b/docs/interfaces/index.getidtokenclaimsoptions.html index aaed6829..7cccde34 100644 --- a/docs/interfaces/index.getidtokenclaimsoptions.html +++ b/docs/interfaces/index.getidtokenclaimsoptions.html @@ -98,7 +98,7 @@

Optional audience

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

Optional scope

scope: string
diff --git a/docs/interfaces/index.gettokensilentlyoptions.html b/docs/interfaces/index.gettokensilentlyoptions.html index fe48bd32..420e139d 100644 --- a/docs/interfaces/index.gettokensilentlyoptions.html +++ b/docs/interfaces/index.gettokensilentlyoptions.html @@ -111,7 +111,7 @@

Optional audience

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

Optional ignoreCache

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

Optional redirect_uri

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

Optional scope

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

Optional timeoutInSeconds
timeoutInSeconds: number
diff --git a/docs/interfaces/index.icache.html b/docs/interfaces/index.icache.html index 79d0928c..93424917 100644 --- a/docs/interfaces/index.icache.html +++ b/docs/interfaces/index.icache.html @@ -121,7 +121,7 @@

Returns MaybeProm

get

    -
  • get<T>(key: string): MaybePromise<T>
  • +
  • get<T>(key: string): MaybePromise<null | T>
  • @@ -142,7 +142,7 @@

    Parameters

    key: string
-

Returns MaybePromise<T>

+

Returns MaybePromise<null | T>

diff --git a/docs/interfaces/index.logoutoptions.html b/docs/interfaces/index.logoutoptions.html index 4923c457..ff80874a 100644 --- a/docs/interfaces/index.logoutoptions.html +++ b/docs/interfaces/index.logoutoptions.html @@ -100,7 +100,7 @@

Optional client_id

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

Optional federated

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

Optional localOnly

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

Optional returnTo

returnTo: string
diff --git a/docs/interfaces/index.logouturloptions.html b/docs/interfaces/index.logouturloptions.html index 3ed08ce4..188bc2eb 100644 --- a/docs/interfaces/index.logouturloptions.html +++ b/docs/interfaces/index.logouturloptions.html @@ -99,7 +99,7 @@

Optional client_id

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

Optional federated

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

Optional returnTo

returnTo: string
diff --git a/docs/interfaces/index.popupconfigoptions.html b/docs/interfaces/index.popupconfigoptions.html index fc48816d..7757c2c6 100644 --- a/docs/interfaces/index.popupconfigoptions.html +++ b/docs/interfaces/index.popupconfigoptions.html @@ -98,7 +98,7 @@

Optional popup

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

Optional timeoutInSeconds
timeoutInSeconds: number
diff --git a/docs/interfaces/with_auth0.withauth0props.html b/docs/interfaces/with_auth0.withauth0props.html index c4bd1fdc..feaa9c3d 100644 --- a/docs/interfaces/with_auth0.withauth0props.html +++ b/docs/interfaces/with_auth0.withauth0props.html @@ -104,7 +104,7 @@

auth0

diff --git a/docs/interfaces/with_authentication_required.withauthenticationrequiredoptions.html b/docs/interfaces/with_authentication_required.withauthenticationrequiredoptions.html index 3b3b9af9..0518e36d 100644 --- a/docs/interfaces/with_authentication_required.withauthenticationrequiredoptions.html +++ b/docs/interfaces/with_authentication_required.withauthenticationrequiredoptions.html @@ -107,7 +107,7 @@

Optional claimCheck

claimCheck: (claims?: User) => boolean
@@ -144,7 +144,7 @@

Optional loginOptions

loginOptions: RedirectLoginOptions
@@ -168,7 +168,7 @@

Optional onRedirectingonRedirecting: () => Element

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

Optional returnTo

returnTo: string | (() => string)
diff --git a/docs/modules/auth0_context.html b/docs/modules/auth0_context.html index fb0fd97a..8b5eff31 100644 --- a/docs/modules/auth0_context.html +++ b/docs/modules/auth0_context.html @@ -93,7 +93,7 @@

Const default

default: Context<Auth0ContextInterface<User>> = ...
diff --git a/docs/modules/auth0_provider.html b/docs/modules/auth0_provider.html index abf1b62c..00617ec4 100644 --- a/docs/modules/auth0_provider.html +++ b/docs/modules/auth0_provider.html @@ -98,7 +98,7 @@

AppState

AppState: { returnTo?: string }
@@ -131,7 +131,7 @@

Const default

  • diff --git a/docs/modules/index.html b/docs/modules/index.html index 4db9344b..1b160b69 100644 --- a/docs/modules/index.html +++ b/docs/modules/index.html @@ -188,7 +188,7 @@

    CacheLocation

    CacheLocation: "memory" | "localstorage"
    diff --git a/docs/modules/use_auth0.html b/docs/modules/use_auth0.html index f2c93701..e7baa735 100644 --- a/docs/modules/use_auth0.html +++ b/docs/modules/use_auth0.html @@ -90,7 +90,7 @@

    Const default

  • diff --git a/docs/modules/with_auth0.html b/docs/modules/with_auth0.html index 190ac9b8..e1f3c77f 100644 --- a/docs/modules/with_auth0.html +++ b/docs/modules/with_auth0.html @@ -96,7 +96,7 @@

    Const default

  • diff --git a/docs/modules/with_authentication_required.html b/docs/modules/with_authentication_required.html index e662a9b4..45c1a539 100644 --- a/docs/modules/with_authentication_required.html +++ b/docs/modules/with_authentication_required.html @@ -96,7 +96,7 @@

    Const default

  • diff --git a/package-lock.json b/package-lock.json index 866b5c79..d301f4c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@auth0/auth0-react", - "version": "1.6.0", + "version": "1.7.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@auth0/auth0-react", - "version": "1.6.0", + "version": "1.7.0", "license": "MIT", "dependencies": { "@auth0/auth0-spa-js": "^1.17.1" diff --git a/package.json b/package.json index 5ed28af5..a312a361 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "author": "Auth0", "name": "@auth0/auth0-react", - "version": "1.6.0", + "version": "1.7.0", "description": "Auth0 SDK for React Single Page Applications (SPA)", "keywords": [ "auth0",