New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gtm-event-tracker

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtm-event-tracker - npm Package Compare versions

Comparing version 1.7.0-beta.4 to 1.7.0-beta.5

dist/logger/logger-types.d.ts

2

dist/configuration/configuration-errors.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.throwNoConfigurationProvided = void 0;
const error_1 = require("../error");
const error_1 = require("../shared/error");
function throwNoConfigurationProvided() {

@@ -6,0 +6,0 @@ throw new error_1.InvalidConfigurationError(`You've called configure function without a configuration object.`);

export { createTrackerContext, TrackerContext, TrackerContextOptions, } from './tracker-context';
export { withTrackerContext, TrackModule, SubtractEventProperties, } from './with-tracker';
export type { EventProperties } from './data-layer';
export type { EventProperties } from './shared/data-layer';
export { setLogger, Logger, LoggerAction } from './logger';
export { configure, Configurations, LoggerConfigurations, } from './configuration';
export { getLogger, setLogger } from './logger';
export type { Logger, LoggerAction } from './types';
export type { Logger, LoggerAction } from './logger-types';

@@ -1,2 +0,2 @@

import type { LoggerFunctions, Logger } from './types';
import type { LoggerFunctions, Logger } from './logger-types';
declare type LoggerOptions = Partial<{

@@ -3,0 +3,0 @@ logger: Logger;

@@ -1,2 +0,2 @@

import type { EventProperties } from '../data-layer';
import type { EventProperties } from '../shared/data-layer';
declare type ContextCreatedParams = {

@@ -3,0 +3,0 @@ contextName?: string;

@@ -1,2 +0,2 @@

import type { EventProperties } from '../data-layer';
import type { EventProperties } from '../shared/data-layer';
/**

@@ -3,0 +3,0 @@ * Options for customizing the Tracker Context.

@@ -1,2 +0,2 @@

import type { EventProperties } from '../data-layer';
import type { EventProperties } from '../shared/data-layer';
import type { TrackerContext, TrackerContextOptions } from './tracker-context-types';

@@ -3,0 +3,0 @@ /**

@@ -1,2 +0,2 @@

import type { EventProperties } from '../data-layer';
import type { EventProperties } from '../shared/data-layer';
export declare function logEvent(properties: EventProperties): void;

@@ -1,2 +0,2 @@

import type { EventProperties } from '../data-layer';
import type { EventProperties } from '../shared/data-layer';
/**

@@ -3,0 +3,0 @@ * Will subtract `PropsToSubtract` type from `OriginalProps` type. And ensure

@@ -1,2 +0,2 @@

import { EventProperties } from '../data-layer';
import { EventProperties } from '../shared/data-layer';
import type { TrackerContext } from '../tracker-context';

@@ -3,0 +3,0 @@ import type { TrackModule } from './with-tracker-types';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.withTrackerContext = void 0;
const data_layer_1 = require("../data-layer");
const data_layer_1 = require("../shared/data-layer");
const with_tracker_logs_1 = require("./with-tracker-logs");

@@ -31,3 +31,2 @@ /**

const eventProperties = { ...context.value, ...eventProps };
data_layer_1.dataLayer.assertIsAvailable();
data_layer_1.dataLayer.addEvent(eventProperties);

@@ -34,0 +33,0 @@ (0, with_tracker_logs_1.logEvent)(eventProperties);

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "1.7.0-beta.4",
"version": "1.7.0-beta.5",
"description": "A type-safe, reusable, and flexible way for triggering Google Tag Manager track events.",

@@ -8,0 +8,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

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