Skip to content

Commit 79c5f8b

Browse files
Update naming based on discussion.
1 parent 4a0205d commit 79c5f8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uid2Sdk.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ export abstract class UID2SdkBase {
125125

126126
// Deprecated
127127
public isLoginRequired() {
128-
return this.isSetIdentityRequired();
128+
return this.hasIdentity();
129129
}
130130

131-
public isSetIdentityRequired() {
131+
public hasIdentity() {
132132
if (!this._initComplete) return undefined;
133133
return !(this.isLoggedIn() || this._apiClient?.hasActiveRequests());
134134
}

0 commit comments

Comments
 (0)