Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

feat(event): Add source to SDK payload - #815

Merged
AbhiPrasad merged 1 commit into
masterfrom
abhi-sdk-source
Jan 19, 2023
Merged

AbhiPrasad merged 1 commit into
masterfrom
abhi-sdk-source

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Contributor

This change adds the source field to the SDK interface that is part of the event payload.

We can use this source field to list the installation source of the SDK. For most cases this will be a package repository like npm or pypi, but it can also be things like cdn.

Current uses cases:

Browser Web:

  • npm
  • cdn
  • loader

Apple:

  • spm
  • carthage
  • cocoapods

@vercel

vercel Bot commented Jan 18, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
develop ❌ Failed (Inspect) Jan 19, 2023 at 10:55AM (UTC)

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@philippsuess philippsuess left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@AbhiPrasad

Copy link
Copy Markdown
Contributor Author

FYI folks I'm reverting this #819

This is because we can probably just the the source part of the source:indentifier schema in the packages field to accomplish this.

This branch was successfully deployed

1 active deployment
Preview — 596abddb Deployed Jan 18, 2023 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants