Skip to content

Commit

Permalink
updated: more tracking params to check for
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiIgna committed Sep 12, 2024
1 parent 370bc78 commit 30d9b7f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Publish
on:
push:
branches:
- main
# release:
# types: [published]
release:
types: [published]

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@layered/superurl",
"version": "1.2.6",
"version": "1.2.7",
"exports": "./src/index.ts"
}

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@layered/superurl",
"version": "1.2.6",
"version": "1.2.7",
"description": "URL helpers: validate, sanitize & extract info",
"type": "module",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const trackingParams: string[] = [
'usp',
'trk',
'via',
'xtor',
]
const domainParams: {[key: string]: string[]} = {
'instagram.com': ['igshid', 'igsh'],
Expand Down

0 comments on commit 30d9b7f

Please sign in to comment.