Skip to content

Commit 787e080

Browse files
revert v2 version
1 parent 87f8564 commit 787e080

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/sdks/sdk-ref-javascript-v2.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ This function can also provide additional context for handling missing identitie
290290
| `false` | This value indicates one of the following:<br/>- The identity is present and valid.<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. |
291291
| `undefined` | The SDK initialization is not yet complete. |
292292

293+
293294
### disconnect(): void
294295

295296
Clears the UID2 identity from the [first-party cookie](#uid2-cookie-format). This closes the client's identity session and disconnects the client lifecycle.
@@ -304,7 +305,8 @@ When a user logs out of the publisher's site, make the following call:
304305

305306
After this function is executed, the [getAdvertisingToken()](#getadvertisingtoken-string) function returns `undefined` and the [isLoginRequired()](#isloginrequired-boolean) function returns `true`.
306307

307-
### abort(): void
308+
### abort(): void
309+
308310
Terminates any background timers or requests. The UID2 object remains in an unspecified state and cannot be used anymore.
309311

310312
This function is intended for use in advanced scenarios where you might want to replace the existing UID2 object with a new instance. For example, a single-page application could use this to clear the current UID2 object and construct or initialize a new one after receiving a new identity from the server in the [POST&nbsp;/token/generate](../endpoints/post-token-generate.md) response.
@@ -334,4 +336,4 @@ The following is an example of the UID2 cookie structure:
334336

335337
:::important
336338
The contents of the `private` object are explicitly unspecified and are left for the SDK to interpret. Do not make any assumptions about the structure, semantics, or compatibility of this object. Any updates to the cookie must retain its structure.
337-
:::
339+
:::

docs/sdks/sdk-ref-javascript.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ Specifies whether a UID2 [POST&nbsp;/token/generate](../endpoints/post-token-gen
431431
| :--- | :--- |
432432
| `true` | The identity is not available. This value indicates any of the following:<ul><li>The user has opted out.</li><li>The refresh token has expired.</li><li>A first-party cookie is not available and no server-generated identity has been supplied.</li></ul> |
433433
| `false` | This value indicates one of the following:<ul><li>The identity is present and valid.</li><li>The identity has expired (but the refresh token has not 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> |
434-
| `undefined` | The SDK initialization is not yet complete. |
435434

436435
### isIdentityAvailable(): boolean <New3100 />
437436

0 commit comments

Comments
 (0)