Skip to content

SCAL-233969: Add preauth info call, emit Info call success event Iframe load#100

Merged
ajeet-lakhani-ts merged 10 commits intomainfrom
SCAL-233969--optimise-info-call--v2
Feb 19, 2025
Merged

SCAL-233969: Add preauth info call, emit Info call success event Iframe load#100
ajeet-lakhani-ts merged 10 commits intomainfrom
SCAL-233969--optimise-info-call--v2

Conversation

@ajeet-lakhani-ts
Copy link
Copy Markdown
Collaborator

No description provided.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Jan 17, 2025

Open in Stackblitz

npm i https://pkg.pr.new/thoughtspot/visual-embed-sdk/@thoughtspot/visual-embed-sdk@100

commit: da48444

}
try {
getPreauthInfo();
const sessionInfo = await getSessionInfo();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace this getSessionInfo with the getPreauthInfo here? Better to avoid multiple api calls.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or update the getSessionInfo to call getPreauthInfo internally and replace the dependency on old /info call

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is decided with TSE to keep both APIs as older customers won't have preauth info API. Check more detail here - https://thoughtspot.slack.com/archives/C082G97N8BZ/p1732810938126219

Screenshot 2025-02-13 at 9 17 39 AM

@ajeet-lakhani-ts ajeet-lakhani-ts requested a review from a team as a code owner February 19, 2025 08:35
@ajeet-lakhani-ts ajeet-lakhani-ts merged commit 1f4a8df into main Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants