@lukajekic/metrica-sdk 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -11,8 +11,7 @@ export function CreateMetricaView(APIKey) {
11
11
  window.sessionStorage.setItem('metrica_session', uuid)
12
12
  }
13
13
 
14
- fetch(`${METRICA_BACKEND_URL}/me
15
- trica/pageview/track?unique=${unique}`, {
14
+ fetch(`${METRICA_BACKEND_URL}/metrica/pageview/track?unique=${unique}`, {
16
15
  method: 'POST',
17
16
  headers: {
18
17
  "Content-Type": "application/json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukajekic/metrica-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Metrica SDK connects your App with Metrica Cloud's server for monitoring traffic and Events on your website. Make sure you are using Vercel for deploying your frontend.",
5
5
  "license": "ISC",
6
6
  "author": "Luka Jekic",