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

@gooddata/js-utils

Package Overview
Dependencies
Maintainers
47
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gooddata/js-utils - npm Package Compare versions

Comparing version 3.10.5 to 3.10.6

2

dist/utils/post-events.d.ts

@@ -7,5 +7,5 @@ import { GdcMessageEventListener } from '@gooddata/typings';

export declare const setHost: (h: IHost) => void;
export declare const postEvent: (product: string, name: string, data: any) => void;
export declare const postEvent: (product: string, name: string, data: any, contextId?: string | undefined) => void;
export declare function setConfig(product: string, validReceivedPostEvents: string[]): void;
export declare function addListener(listener: GdcMessageEventListener, target?: Window): void;
export declare function removeListener(listener: GdcMessageEventListener, target?: Window): void;

@@ -20,3 +20,3 @@ "use strict";

};
exports.postEvent = function (product, name, data) {
exports.postEvent = function (product, name, data, contextId) {
if (!host.postMessage) {

@@ -28,3 +28,3 @@ return;

product: product,
event: { name: name, data: data }
event: { name: name, data: data, contextId: contextId }
}

@@ -31,0 +31,0 @@ }, '*');

{
"name": "@gooddata/js-utils",
"version": "3.10.5",
"version": "3.10.6",
"description": "Various utils shared on GoodData frontend",

@@ -5,0 +5,0 @@ "repository": {

@@ -23,3 +23,3 @@ // (C) 2007-2020 GoodData Corporation

export const postEvent = (product: string, name: string, data: any): void => {
export const postEvent = (product: string, name: string, data: any, contextId?: string): void => {
if (!host.postMessage) {

@@ -31,3 +31,3 @@ return;

product,
event: { name, data }
event: { name, data, contextId }
}

@@ -34,0 +34,0 @@ }, '*');

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