Skip to content

Commit 56ba24c

Browse files
list to bullet points
1 parent 787e080 commit 56ba24c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/sdks/sdk-ref-javascript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ Specifies whether a UID2 [POST /token/generate](../endpoints/post-token-gen
434434

435435
### isIdentityAvailable(): boolean <New3100 />
436436

437-
Determines whether an identity is available: for example, if there is an unexpired identity in local storage or a cookie, or an existing active request.
437+
Determines whether an identity is available: for example, if there is an unexpired identity in local storage or in a cookie, or if an identity has already been requested.
438438

439439
If false, a UID2 [POST&nbsp;/token/generate](../endpoints/post-token-generate.md) call is required.
440440

@@ -447,8 +447,8 @@ If false, a UID2 [POST&nbsp;/token/generate](../endpoints/post-token-generate.md
447447

448448
| Value | Description |
449449
| :--- | :--- |
450-
| `true` | This value indicates one of the following:<br/>- The identity is present and valid in a first-party cookie or local storage.<br/>- The identity has expired, and the token was not refreshed due to an intermittent error. The identity might be restored after a successful auto-refresh attempt. |
451-
| `false` | This value indicates any of the following:<br/>- The user has opted out.<br/>- The identity is present, but the refresh token has expired.<br/>- A first-party cookie is not available and no server-generated identity has been supplied. |
450+
| `true` | This value indicates one of the following:<ul><li> The identity is present and valid in a first-party cookie or local storage.</li><li> The identity has expired, and the token was not refreshed due to an intermittent error. The identity might be restored after a successful auto-refresh attempt.</li></ul> |
451+
| `false` | This value indicates any of the following:<ul><li> The user has opted out.</li><li> The identity is present, but the refresh token has expired.</li><li> The identity has expired, even if the refresh token is still valid.</li><li> A first-party cookie is not available and no server-generated identity has been supplied. </li></ul> |
452452

453453
### disconnect(): void
454454

@@ -470,7 +470,7 @@ If you need to provide a `cookieDomain` or `cookiePath` for the SDK to access th
470470

471471
### abort(): void <Deprecated3100 />
472472

473-
This function is deprecated and support will be removed completely in June of 2025. Instead, use [disconnect()](#disconnect-void) which has the same functionality as `abort()` and also includes more thorough disconnection steps.
473+
This function is deprecated and support will be removed completely in June of 2025. Instead, use [disconnect()](#disconnect-void) which has the same functionality as `abort()`, but also includes more thorough disconnection logic.
474474

475475
Terminates any background timers or requests. The UID2 object remains in an unspecified state and cannot be used anymore.
476476

0 commit comments

Comments
 (0)