Skip to content

Commit fefb47d

Browse files
authored
Merge pull request #293 from spoo-me/feat/sdk-client-slug
feat: register sdk-ts as a first-party client slug
2 parents 9232a83 + 7d2cfdc commit fefb47d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

shared/client_tag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# (created_via) accepts only members, so arbitrary header values can never
2121
# become permanent, unfilterable document history.
2222
FIRST_PARTY_CLIENTS = frozenset(
23-
{"dashboard", "landing", "snap", "raycast", "cli", "bot"}
23+
{"dashboard", "landing", "snap", "raycast", "cli", "bot", "sdk-ts"}
2424
)
2525

2626

tests/unit/shared/test_client_tag.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def test_parse_invalid_is_absent(value):
4343
("dashboard", "dashboard"),
4444
("snap/2.1.0", "snap"),
4545
("cli", "cli"),
46+
("sdk-ts/1.0.0", "sdk-ts"),
4647
# well-formed but not first-party: logged, never persisted
4748
("whatever", None),
4849
("curl/8.0", None),

0 commit comments

Comments
 (0)