diff --git a/constants.ts b/constants.ts index 0278dc1..fd50655 100644 --- a/constants.ts +++ b/constants.ts @@ -1,3 +1,3 @@ -export const ARMCO_SERVER = "https://telemetry.armco.tech/events/" +export const ARMCO_SERVER = "https://telemetry.armco.dev/events/" export const ADD = "add" export const TAG = "tag" diff --git a/package.json b/package.json index 6b592d3..be1a2da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@armco/analytics", - "version": "0.2.8", + "version": "0.2.10", "description": "Browser Based Analytics interceptor for configured events", "main": "index.js", "type": "module", @@ -27,7 +27,7 @@ "insights", "automated" ], - "author": "mohit.nagar@armco.tech", + "author": "mohit.nagar@armco.dev", "license": "ISC", "bugs": { "url": "https://github.com/ReStruct-Corporate-Advantage/analytics/issues" diff --git a/publish.sh b/publish.sh index 8687652..3412bf5 100755 --- a/publish.sh +++ b/publish.sh @@ -3,7 +3,9 @@ set -e semver=${1:-patch} -npm run build -cd dist npm --no-git-tag-version version ${semver} -npm publish --access public \ No newline at end of file +npm run build +cp package.json dist/ +cd dist +npm publish --access public --loglevel verbose +