Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@analytics.bridged.xyz/google-analytics-component

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@analytics.bridged.xyz/google-analytics-component - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

6

dist/ga4/api.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.event = void 0;
const node_fetch_1 = __importDefault(require("node-fetch"));
async function event(ev, options) {

@@ -11,3 +15,3 @@ var _a;

try {
const _reqres = await fetch(`${_requestBaseUrl}?measurement_id=${ev.measurement_id}&api_secret=${ev.api_secret}`, {
const _reqres = await node_fetch_1.default(`${_requestBaseUrl}?measurement_id=${ev.measurement_id}&api_secret=${ev.api_secret}`, {
method: "POST",

@@ -14,0 +18,0 @@ body: JSON.stringify({

5

package.json
{
"name": "@analytics.bridged.xyz/google-analytics-component",
"version": "0.0.4",
"version": "0.0.5",
"description": "Bridged internal analytics components",

@@ -20,3 +20,6 @@ "main": "dist/index.js",

"typescript": "^4.2.4"
},
"dependencies": {
"node-fetch": "^2.6.1"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc