diff --git a/CHANGELOG.md b/CHANGELOG.md
index eacd0f8d2..827b66e47 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## [v3.0.0-beta.2](https://github.com/auth0/nextjs-auth0/tree/v3.0.0-beta.2) (2023-06-16)
+[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v3.0.0-beta.1...v3.0.0-beta.2)
+
+**Fixed**
+- Fix issue where api wrapper was overwriting session update in api [\#1255](https://github.com/auth0/nextjs-auth0/pull/1255) ([adamjmcgrath](https://github.com/adamjmcgrath))
+
## [v3.0.0-beta.1](https://github.com/auth0/nextjs-auth0/tree/v3.0.0-beta.1) (2023-06-13)
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v3.0.0-beta.0...v3.0.0-beta.1)
diff --git a/docs/classes/client_use_user.RequestError.html b/docs/classes/client_use_user.RequestError.html
index 94d8238a6..24ad87528 100644
--- a/docs/classes/client_use_user.RequestError.html
+++ b/docs/classes/client_use_user.RequestError.html
@@ -31,7 +31,7 @@
Hierarchy
+Defined in client/use-user.tsx:46
+Defined in client/use-user.tsx:49
+Defined in client/use-user.tsx:47
+Defined in utils/errors.ts:172
+Defined in utils/errors.ts:46
Optional
Readonly
status
status?: number
@@ -123,7 +123,7 @@
+Defined in utils/errors.ts:62
+Defined in utils/errors.ts:46
Optional
Readonly
status
status?: number
@@ -107,12 +107,12 @@
+Defined in utils/errors.ts:62
Static
Readonly
code
code: string = 'ERR_LOGIN_HANDLER_FAILURE'
+Defined in utils/errors.ts:192
+Defined in utils/errors.ts:46
Optional
Readonly
status
status?: number
@@ -107,12 +107,12 @@
+Defined in utils/errors.ts:62
Static
Readonly
code
code: string = 'ERR_LOGOUT_HANDLER_FAILURE'
+Defined in utils/errors.ts:212
+Defined in utils/errors.ts:46
Optional
Readonly
status
status?: number
@@ -107,12 +107,12 @@
+Defined in utils/errors.ts:62
Static
Readonly
code
code: string = 'ERR_PROFILE_HANDLER_FAILURE'
+Defined in utils/errors.ts:232
+Defined in utils/errors.ts:80
+Defined in config.ts:23
+Defined in config.ts:208
rolling
rolling: boolean
@@ -128,7 +128,7 @@
+Defined in config.ts:235
rollingDuration
rollingDuration: number | false
@@ -140,7 +140,7 @@
+Defined in config.ts:244
Optional
store
@@ -149,7 +149,7 @@
+Defined in config.ts:214
storeIDToken
storeIDToken: boolean
@@ -159,7 +159,7 @@
+Defined in config.ts:268
+Defined in index.ts:70
withApiAuthRequired
@@ -128,7 +128,7 @@
+Defined in index.ts:100
withPageAuthRequired
@@ -136,7 +136,7 @@ withPageAuthRequired<
+Defined in index.ts:105
+Defined in edge.ts:1
diff --git a/docs/modules/handlers.html b/docs/modules/handlers.html
index 965a325a1..3ff03957c 100644
--- a/docs/modules/handlers.html
+++ b/docs/modules/handlers.html
@@ -16,7 +16,7 @@
handlers
Module handlers
+Defined in handlers/index.ts:1
diff --git a/docs/modules/handlers_auth.html b/docs/modules/handlers_auth.html
index 605ef612c..3d5cc4bc1 100644
--- a/docs/modules/handlers_auth.html
+++ b/docs/modules/handlers_auth.html
@@ -16,7 +16,7 @@
handlers/auth
Module handlers/auth
+Defined in handlers/auth.ts:1
Index
diff --git a/docs/modules/handlers_callback.html b/docs/modules/handlers_callback.html
index 8815be157..1d3a2e63b 100644
--- a/docs/modules/handlers_callback.html
+++ b/docs/modules/handlers_callback.html
@@ -16,7 +16,7 @@
handlers/callback
Module handlers/callback
+Defined in handlers/callback.ts:1
Index
diff --git a/docs/modules/handlers_login.html b/docs/modules/handlers_login.html
index 9d409ea70..51976bcdd 100644
--- a/docs/modules/handlers_login.html
+++ b/docs/modules/handlers_login.html
@@ -16,7 +16,7 @@
handlers/login
Module handlers/login
+Defined in handlers/login.ts:1
Index
diff --git a/docs/modules/handlers_logout.html b/docs/modules/handlers_logout.html
index d42a24b63..d11d07cdf 100644
--- a/docs/modules/handlers_logout.html
+++ b/docs/modules/handlers_logout.html
@@ -16,7 +16,7 @@
handlers/logout
Module handlers/logout
+Defined in handlers/logout.ts:1
Index
diff --git a/docs/modules/handlers_profile.html b/docs/modules/handlers_profile.html
index 0b45748a4..0d7656b84 100644
--- a/docs/modules/handlers_profile.html
+++ b/docs/modules/handlers_profile.html
@@ -16,7 +16,7 @@
handlers/profile
Module handlers/profile
+Defined in handlers/profile.ts:1
Index
diff --git a/docs/modules/handlers_router_helpers.html b/docs/modules/handlers_router_helpers.html
index bcefe9bf8..746be0e98 100644
--- a/docs/modules/handlers_router_helpers.html
+++ b/docs/modules/handlers_router_helpers.html
@@ -16,7 +16,7 @@
handlers/router-helpers
Module handlers/router-helpers
+Defined in handlers/router-helpers.ts:1
Index
diff --git a/docs/modules/helpers.html b/docs/modules/helpers.html
index c6b36ad39..90aa97d77 100644
--- a/docs/modules/helpers.html
+++ b/docs/modules/helpers.html
@@ -16,7 +16,7 @@
helpers
Module helpers
+Defined in helpers/index.ts:1
diff --git a/docs/modules/helpers_testing.html b/docs/modules/helpers_testing.html
index e5b89f3ab..2978e09ce 100644
--- a/docs/modules/helpers_testing.html
+++ b/docs/modules/helpers_testing.html
@@ -16,7 +16,7 @@
helpers/testing
Module helpers/testing
+Defined in helpers/testing.ts:1
Index
diff --git a/docs/modules/helpers_with_api_auth_required.html b/docs/modules/helpers_with_api_auth_required.html
index b557d560c..be7864198 100644
--- a/docs/modules/helpers_with_api_auth_required.html
+++ b/docs/modules/helpers_with_api_auth_required.html
@@ -16,7 +16,7 @@
helpers/with-api-auth-required
Module helpers/with-api-auth-required
+Defined in helpers/with-api-auth-required.ts:1
Index
diff --git a/docs/modules/helpers_with_middleware_auth_required.html b/docs/modules/helpers_with_middleware_auth_required.html
index 377c9df33..c96c7c01b 100644
--- a/docs/modules/helpers_with_middleware_auth_required.html
+++ b/docs/modules/helpers_with_middleware_auth_required.html
@@ -16,7 +16,7 @@
helpers/with-middleware-auth-required
Module helpers/with-middleware-auth-required
+Defined in helpers/with-middleware-auth-required.ts:1
Index
diff --git a/docs/modules/helpers_with_page_auth_required.html b/docs/modules/helpers_with_page_auth_required.html
index 5f5c444b4..4e2de1be2 100644
--- a/docs/modules/helpers_with_page_auth_required.html
+++ b/docs/modules/helpers_with_page_auth_required.html
@@ -16,7 +16,7 @@
helpers/with-page-auth-required
Module helpers/with-page-auth-required
+Defined in helpers/with-page-auth-required.ts:1
Index
diff --git a/docs/modules/http.html b/docs/modules/http.html
index e9da8493b..6e0ade3bb 100644
--- a/docs/modules/http.html
+++ b/docs/modules/http.html
@@ -16,7 +16,7 @@
http
Module http
+Defined in http/index.ts:1
diff --git a/docs/modules/http_auth0_next_api_request.html b/docs/modules/http_auth0_next_api_request.html
index b7c5c0cb7..efc0905c0 100644
--- a/docs/modules/http_auth0_next_api_request.html
+++ b/docs/modules/http_auth0_next_api_request.html
@@ -16,7 +16,7 @@
http/auth0-next-api-request
Module http/auth0-next-api-request
+Defined in http/auth0-next-api-request.ts:1
Index
diff --git a/docs/modules/http_auth0_next_api_response.html b/docs/modules/http_auth0_next_api_response.html
index e19b902ca..17d926c9e 100644
--- a/docs/modules/http_auth0_next_api_response.html
+++ b/docs/modules/http_auth0_next_api_response.html
@@ -16,7 +16,7 @@
http/auth0-next-api-response
Module http/auth0-next-api-response
+Defined in http/auth0-next-api-response.ts:1
Index
diff --git a/docs/modules/http_auth0_next_request.html b/docs/modules/http_auth0_next_request.html
index 21432e5ed..96d156d52 100644
--- a/docs/modules/http_auth0_next_request.html
+++ b/docs/modules/http_auth0_next_request.html
@@ -16,7 +16,7 @@
http/auth0-next-request
Module http/auth0-next-request
+Defined in http/auth0-next-request.ts:1
Index
diff --git a/docs/modules/http_auth0_next_request_cookies.html b/docs/modules/http_auth0_next_request_cookies.html
index 4e990c61e..c2733c7a5 100644
--- a/docs/modules/http_auth0_next_request_cookies.html
+++ b/docs/modules/http_auth0_next_request_cookies.html
@@ -16,7 +16,7 @@
http/auth0-next-request-cookies
Module http/auth0-next-request-cookies
+Defined in http/auth0-next-request-cookies.ts:1
Index
diff --git a/docs/modules/http_auth0_next_response.html b/docs/modules/http_auth0_next_response.html
index 1905cef35..fec9a732d 100644
--- a/docs/modules/http_auth0_next_response.html
+++ b/docs/modules/http_auth0_next_response.html
@@ -16,7 +16,7 @@
http/auth0-next-response
Module http/auth0-next-response
+Defined in http/auth0-next-response.ts:1
Index
diff --git a/docs/modules/http_auth0_next_response_cookies.html b/docs/modules/http_auth0_next_response_cookies.html
index 08cc49259..70a254b23 100644
--- a/docs/modules/http_auth0_next_response_cookies.html
+++ b/docs/modules/http_auth0_next_response_cookies.html
@@ -16,7 +16,7 @@
http/auth0-next-response-cookies
Module http/auth0-next-response-cookies
+Defined in http/auth0-next-response-cookies.ts:1
Index
diff --git a/docs/modules/index.html b/docs/modules/index.html
index 51cd5b1bf..20f4d09b4 100644
--- a/docs/modules/index.html
+++ b/docs/modules/index.html
@@ -16,7 +16,7 @@
index
Module index
+Defined in index.ts:1
diff --git a/docs/modules/session.html b/docs/modules/session.html
index 74666c4ea..7bd3578c1 100644
--- a/docs/modules/session.html
+++ b/docs/modules/session.html
@@ -16,7 +16,7 @@
session
Module session
+Defined in session/index.ts:1
diff --git a/docs/modules/session_get_access_token.html b/docs/modules/session_get_access_token.html
index 3b734d498..c787507d3 100644
--- a/docs/modules/session_get_access_token.html
+++ b/docs/modules/session_get_access_token.html
@@ -16,7 +16,7 @@
session/get-access-token
Module session/get-access-token
+Defined in session/get-access-token.ts:1
Index
diff --git a/docs/modules/session_get_session.html b/docs/modules/session_get_session.html
index 1e2cb335b..bb63444be 100644
--- a/docs/modules/session_get_session.html
+++ b/docs/modules/session_get_session.html
@@ -16,7 +16,7 @@
session/get-session
Module session/get-session
+Defined in session/get-session.ts:1
Index
diff --git a/docs/modules/session_session.html b/docs/modules/session_session.html
index cf96593fe..86501bc49 100644
--- a/docs/modules/session_session.html
+++ b/docs/modules/session_session.html
@@ -16,7 +16,7 @@
session/session
Module session/session
+Defined in session/session.ts:1
Index
diff --git a/docs/modules/session_touch_session.html b/docs/modules/session_touch_session.html
index 6912127e1..4e64dc5df 100644
--- a/docs/modules/session_touch_session.html
+++ b/docs/modules/session_touch_session.html
@@ -16,7 +16,7 @@
session/touch-session
Module session/touch-session
+Defined in session/touch-session.ts:1
Index
diff --git a/docs/modules/session_update_session.html b/docs/modules/session_update_session.html
index 90715ceb7..c2fa92ca8 100644
--- a/docs/modules/session_update_session.html
+++ b/docs/modules/session_update_session.html
@@ -16,7 +16,7 @@
session/update-session
Module session/update-session
+Defined in session/update-session.ts:1
Index
diff --git a/docs/modules/utils_errors.html b/docs/modules/utils_errors.html
index 2e270b51e..71cc5e0e4 100644
--- a/docs/modules/utils_errors.html
+++ b/docs/modules/utils_errors.html
@@ -16,7 +16,7 @@
utils/errors
Module utils/errors
+Defined in utils/errors.ts:1
Index
diff --git a/docs/modules/version.html b/docs/modules/version.html
index d47c2013e..a15f6d163 100644
--- a/docs/modules/version.html
+++ b/docs/modules/version.html
@@ -16,7 +16,7 @@
version
Module version
+Defined in version.ts:1
Wrap a page router API route to check that the user has a valid session. If they're not logged in the @@ -51,7 +51,7 @@
apiRoute: Returns NextApiHandler<any>