Skip to content

Commit d3ba0e3

Browse files
Remove some unneeded imports.
Use JSDoc format for the deprecated function.
1 parent 79c5f8b commit d3ba0e3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/uid2CookieManager.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { UID2 } from './uid2Sdk';
21
import { isValidIdentity, Uid2Identity } from './Uid2Identity';
32

43
export type UID2CookieOptions = {

src/uid2Sdk.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { IdentityStatus, notifyInitCallback } from './Uid2InitCallbacks';
44
import { Uid2Options, isUID2OptionsOrThrow } from './Uid2Options';
55
import { Logger, MakeLogger } from './sdk/logger';
66
import { Uid2ApiClient } from './uid2ApiClient';
7-
import { bytesToBase64 } from './encoding/uid2Base64';
87
import { EventType, Uid2CallbackHandler, Uid2CallbackManager } from './uid2CallbackManager';
98
import {
109
ClientSideIdentityOptions,
@@ -123,7 +122,9 @@ export abstract class UID2SdkBase {
123122
return this._tokenPromiseHandler.createMaybeDeferredPromise(token ?? null);
124123
}
125124

126-
// Deprecated
125+
/**
126+
* Deprecated
127+
*/
127128
public isLoginRequired() {
128129
return this.hasIdentity();
129130
}

0 commit comments

Comments
 (0)