diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c284201..7f22096 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,7 @@ name: Publish on: - push: - branches: - - main -# release: -# types: [published] + release: + types: [published] jobs: publish: diff --git a/jsr.json b/jsr.json index c27ba80..eef455f 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@layered/superurl", - "version": "1.2.6", + "version": "1.2.7", "exports": "./src/index.ts" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 9059018..68bbacd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@layered/superurl", - "version": "1.2.6", + "version": "1.2.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@layered/superurl", - "version": "1.2.6", + "version": "1.2.7", "license": "ISC", "dependencies": { "tldts": "^6.0.2" diff --git a/package.json b/package.json index b1d1b22..1412ef5 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/src/index.ts b/src/index.ts index e8021c2..1084180 100644 --- a/src/index.ts +++ b/src/index.ts @@ -78,6 +78,7 @@ const trackingParams: string[] = [ 'usp', 'trk', 'via', + 'xtor', ] const domainParams: {[key: string]: string[]} = { 'instagram.com': ['igshid', 'igsh'],