You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sdk): capture SDK name + version on install and events (#28)
Persist sdkName/sdkVersion (sent by the SDKs) on install_events and
in_app_events for SDK version diagnostics. Backward compatible — older SDKs
omit the fields, which store null.
- /install and /event accept optional sdkName/sdkVersion (free-form, max 50;
non-semver is tolerated downstream — never reject a request over this metadata).
- recordInstallEvent forwards them as the last two positional params of the
install_events INSERT; tests pin those positions (guarding column drift) and
cover the empty/absent -> null case.
- Empty values normalize to null consistently (|| null) on both rows.
- No index on sdk_name/sdk_version yet: deferred until a consumer aggregates
them (e.g. "installs by version"), so the index can match the real query shape.
0 commit comments