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

@elgorditosalsero/react-gtm-hook

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elgorditosalsero/react-gtm-hook - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

6

dist/index.d.ts
import React, { Context, ReactNode } from 'react';
import { ISnippetsParams } from './models/GoogleTagManager';
import { ISendToGTM, ISnippetsParams } from './models/GoogleTagManager';
import { sendToGTM } from './utils/GoogleTagManager';

@@ -32,3 +32,3 @@ declare global {

export declare const GTMContext: React.Context<ISnippetsParams | undefined>;
export declare const GTMContextDispatch: React.Context<(({ dataLayerName, data }: import("./models/GoogleTagManager").ISendToGTM) => void) | undefined>;
export declare const GTMContextDispatch: React.Context<((data: ISendToGTM['data']) => void) | undefined>;
/**

@@ -38,3 +38,3 @@ * The Google Tag Manager Provider

declare function GTMProvider({ state, children }: GTMHookProviderProps): JSX.Element;
declare function useGTMDispatch(): ({ dataLayerName, data }: import("./models/GoogleTagManager").ISendToGTM) => void;
declare function useGTMDispatch(): (data: object) => void;
export { GTMProvider, useGTMDispatch, sendToGTM };

@@ -57,3 +57,3 @@ /**

dataLayerName: string;
data: Object;
data: object;
};

@@ -14,3 +14,3 @@ {

"description": "Easily manage the Google Tag Manager via Hook",
"version": "2.7.1",
"version": "2.7.2",
"license": "MIT",

@@ -17,0 +17,0 @@ "main": "dist/index.js",

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