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

@gooddata/js-utils

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-lanhuynh-lhq-sd-970-2020-06-25T07-45-09-734Z

@@ -10,2 +10,3 @@ import * as stringUtils from './utils/string';

import * as userUtils from './utils/userUtils';
import * as filterUtils from './utils/filterUtils';
import { load } from './utils/trialSnippet';

@@ -15,2 +16,2 @@ declare const trialSnippet: {

};
export { stringUtils as string, envUtils as env, cookiesUtils as cookies, postEventsUtils as postEvents, testUtils, walkMe, trialSnippet, translations, featureFlagsUtils, userUtils, };
export { stringUtils as string, envUtils as env, cookiesUtils as cookies, postEventsUtils as postEvents, testUtils, walkMe, trialSnippet, translations, featureFlagsUtils, userUtils, filterUtils, };

@@ -29,2 +29,4 @@ "use strict";

exports.userUtils = userUtils;
var filterUtils = __importStar(require("./utils/filterUtils"));
exports.filterUtils = filterUtils;
var trialSnippet_1 = require("./utils/trialSnippet");

@@ -31,0 +33,0 @@ var trialSnippet = { load: trialSnippet_1.load };

@@ -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-lanhuynh-lhq-sd-970-2020-06-25T07-45-09-734Z",
"description": "Various utils shared on GoodData frontend",

@@ -49,3 +49,3 @@ "repository": {

"dependencies": {
"@gooddata/typings": "^2.24.0",
"@gooddata/typings": "2.24.8-lanhuynh-lhq-sd-970-fix-type-guard-2020-06-25T07-39-08-466Z",
"js-cookie": "^2.1.4",

@@ -52,0 +52,0 @@ "lodash": "^4.17.15"

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

import * as userUtils from './utils/userUtils';
import * as filterUtils from './utils/filterUtils';
import { load } from './utils/trialSnippet';

@@ -27,2 +28,3 @@

userUtils,
filterUtils,
};

@@ -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

Sorry, the diff of this file is not supported yet