@vercel/analytics
Advanced tools
Comparing version 1.1.0-beta.7 to 1.1.0-beta.8
// package.json | ||
var name = "@vercel/analytics"; | ||
var version = "1.1.0-beta.7"; | ||
var version = "1.1.0-beta.8"; | ||
@@ -5,0 +5,0 @@ // src/queue.ts |
@@ -8,3 +8,3 @@ "use client"; | ||
var name = "@vercel/analytics"; | ||
var version = "1.1.0-beta.7"; | ||
var version = "1.1.0-beta.8"; | ||
@@ -11,0 +11,0 @@ // src/queue.ts |
@@ -96,7 +96,2 @@ // src/server/index.ts | ||
} | ||
if (!ENDPOINT) { | ||
throw new Error( | ||
"VERCEL_URL is not defined in the environment variables." | ||
); | ||
} | ||
const origin = (requestContext == null ? void 0 : requestContext.url) || tmp.referer || `https://${ENDPOINT}`; | ||
@@ -123,4 +118,3 @@ const body = { | ||
"x-vercel-ip": tmp["x-forwarded-for"], | ||
"x-va-server": "1", | ||
cookie: tmp.cookie | ||
"x-va-server": "1" | ||
} : { | ||
@@ -127,0 +121,0 @@ "x-va-server": "2" |
{ | ||
"name": "@vercel/analytics", | ||
"version": "1.1.0-beta.7", | ||
"version": "1.1.0-beta.8", | ||
"description": "Gain real-time traffic insights with Vercel Web Analytics", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
122247
1113