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

@giphy/js-analytics

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giphy/js-analytics - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

2

dist/pingback.js

@@ -12,2 +12,3 @@ "use strict";

};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -27,2 +28,3 @@ var js_util_1 = require("@giphy/js-util");

var debouncedPingbackEvent = throttle_debounce_1.debounce(1000, sendPingbacks);
(_a = global_1.default.addEventListener) === null || _a === void 0 ? void 0 : _a.call(global_1.default, 'beforeunload', sendPingbacks);
var pingback = function (_a) {

@@ -29,0 +31,0 @@ var userId = _a.userId, eventType = _a.eventType, actionType = _a.actionType, attributes = _a.attributes, _b = _a.queueEvents, queueEvents = _b === void 0 ? true : _b, analyticsResponsePayload = _a.analyticsResponsePayload;

6

package.json

@@ -11,3 +11,3 @@ {

"name": "@giphy/js-analytics",
"version": "3.0.0",
"version": "3.1.0",
"main": "dist/index.js",

@@ -25,3 +25,3 @@ "types": "dist/index.d.ts",

"@giphy/js-types": "^3.1.0",
"@giphy/js-util": "^2.2.0",
"@giphy/js-util": "^2.3.0",
"append-query": "^2.1.0",

@@ -36,3 +36,3 @@ "throttle-debounce": "^2.3.0"

},
"gitHead": "e44fe56b1cc4b4f7180a8e6759cb2710bc91f89d"
"gitHead": "89a1f7721ebf52233bd0de4f71b7b8279a79a6df"
}

@@ -21,2 +21,4 @@ import { getPingbackId, Logger } from '@giphy/js-util'

gl.addEventListener?.('beforeunload', sendPingbacks)
const pingback = ({

@@ -23,0 +25,0 @@ userId,

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