@versini/auth0-react-thin 2.24.1 → 2.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "author": "Auth0",
3
3
  "name": "@versini/auth0-react-thin",
4
- "version": "2.24.1",
5
- "description": "Unofficial slim fork of @auth0/auth0-react@2.24.1 — bundle-size build, not affiliated with Auth0/Okta. See @versini/auth0-thin.",
4
+ "version": "2.25.0",
5
+ "description": "Unofficial slim fork of @auth0/auth0-react@2.25.0 — bundle-size build, not affiliated with Auth0/Okta. See @versini/auth0-thin.",
6
6
  "keywords": [
7
7
  "auth0",
8
8
  "fork",
@@ -32,9 +32,9 @@
32
32
  "react-dom": "^16.11.0 || ^17 || ^18 || ~19.0.1 || ~19.1.2 || ^19.2.1"
33
33
  },
34
34
  "dependencies": {
35
- "@auth0/auth0-spa-js": "^2.24.1"
35
+ "@auth0/auth0-spa-js": "^2.25.0"
36
36
  },
37
- "forkedFrom": "@auth0/auth0-react@2.24.1",
37
+ "forkedFrom": "@auth0/auth0-react@2.25.0",
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  }
@@ -1,5 +1,4 @@
1
1
  import {
2
- GetTokenSilentlyOptions,
3
2
  GetTokenWithPopupOptions,
4
3
  IdToken,
5
4
  LogoutOptions as SPALogoutOptions,
@@ -7,7 +6,6 @@ import {
7
6
  PopupConfigOptions,
8
7
  RedirectLoginResult,
9
8
  User,
10
- GetTokenSilentlyVerboseResponse,
11
9
  RedirectLoginOptions as SPARedirectLoginOptions,
12
10
  type Auth0Client,
13
11
  RedirectConnectAccountOptions,
@@ -47,7 +45,7 @@ export interface Auth0ContextInterface<TUser extends User = User>
47
45
  *
48
46
  * If refresh tokens are used, the token endpoint is called directly with the
49
47
  * 'refresh_token' grant. If no refresh token is available to make this call,
50
- * the SDK will only fall back to using an iframe to the '/authorize' URL if
48
+ * the SDK will only fall back to using an iframe to the '/authorize' URL if
51
49
  * the `useRefreshTokensFallback` setting has been set to `true`. By default this
52
50
  * setting is `false`.
53
51
  *
@@ -60,15 +58,7 @@ export interface Auth0ContextInterface<TUser extends User = User>
60
58
  * Note that in all cases, falling back to an iframe requires access to
61
59
  * the `auth0` cookie.
62
60
  */
63
- getAccessTokenSilently: {
64
- (
65
- options: GetTokenSilentlyOptions & { detailedResponse: true }
66
- ): Promise<GetTokenSilentlyVerboseResponse>;
67
- (options?: GetTokenSilentlyOptions): Promise<string>;
68
- (options: GetTokenSilentlyOptions): Promise<
69
- GetTokenSilentlyVerboseResponse | string
70
- >;
71
- };
61
+ getAccessTokenSilently: Auth0Client['getTokenSilently'];
72
62
 
73
63
  /**
74
64
  * ```js