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 intomasterfrom
abhi-sdk-source
Jan 19, 2023
Merged

feat(event): Add source to SDK payload#815
AbhiPrasad merged 1 commit intomasterfrom
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
Copy link
Copy Markdown

vercel bot commented Jan 18, 2023

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)

Copy link
Copy Markdown
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Member

@philipphofmann philipphofmann left a comment

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.

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