-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
Hello,
I noticed that getEmbedSDK().init(apiHost, auth) doesn’t seem to expose any clear way to know if the session was created successfully.
When inspecting the returned value, I found a _sessionCreated key being set internally — however, this key is not documented anywhere in the SDK reference.
I’d like to confirm:
- Whether _sessionCreated is a stable, public property that can be safely used in production.
- If not, is there an official or recommended way to detect when a session has been successfully initialized (or when it fails)?
- Could _sessionCreated (or similar session status handling) be documented?
Example
getEmbedSDK().init(lookerHost, authToken);
const sdk = await getEmbedSDK();
console.log(sdk._sessionCreated); // true, but not documented
SDK reference:
init(apiHost: string, auth?: string | LookerAuthConfig): void
Defined in src/index.ts:52
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels