From 30d9b7fc173b7b8460eb3232784c5c8da96c3c36 Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 12 Sep 2024 15:47:51 +0200 Subject: [PATCH] updated: more tracking params to check for --- .github/workflows/publish.yml | 7 ++----- jsr.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/index.ts | 1 + 5 files changed, 7 insertions(+), 9 deletions(-) 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'],