Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract headless and core version for clientSdk #21

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Conversation

yen-tt
Copy link
Contributor

@yen-tt yen-tt commented Jul 7, 2023

extract chat-headless and chat-core version to pass into clientSdk field in analytic event's payload, including any additional clientSdk from baseEventPayload configured in headlessConfig.

Due to the import of package.json the structure of dist/ is reformatted (now all previous files are inside src/ and package.json is included in the respective esm and commonjs folder). As such, the entry points needs to be updated to reflect this.

J=CLIP-309
TEST=manual&auto

see that jest tests passed
see in test-site that clientSdk is passed into the payload with the correct versions
Screenshot 2023-07-07 at 9 57 41 AM

@yen-tt yen-tt requested a review from a team as a code owner July 7, 2023 13:58
@yen-tt yen-tt merged commit 475e804 into main Jul 7, 2023
@yen-tt yen-tt deleted the dev/clientsdk branch July 7, 2023 15:11
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.

2 participants