@giphy/js-analytics
Advanced tools
Comparing version 4.0.2 to 4.0.3
"use strict"; | ||
var __spreadArrays = (this && this.__spreadArrays) || function () { | ||
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; | ||
for (var r = Array(s), k = 0, i = 0; i < il; i++) | ||
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) | ||
r[k] = a[j]; | ||
return r; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
@@ -22,3 +20,3 @@ var __importDefault = (this && this.__importDefault) || function (mod) { | ||
function sendPingbacks() { | ||
var sendEvents = __spreadArrays(queuedPingbackEvents); | ||
var sendEvents = __spreadArray([], queuedPingbackEvents); | ||
queuedPingbackEvents = []; | ||
@@ -25,0 +23,0 @@ send_pingback_1.sendPingback(sendEvents); |
@@ -12,3 +12,3 @@ "use strict"; | ||
var pingBackUrl = environment + "/v2/pingback?apikey=l0HlIwPWyBBUDAUgM"; | ||
exports.sendPingback = function (events) { | ||
var sendPingback = function (events) { | ||
var headers = js_util_1.getGiphySDKRequestHeaders(); | ||
@@ -27,2 +27,3 @@ /* istanbul ignore next */ | ||
}; | ||
exports.sendPingback = sendPingback; | ||
//# sourceMappingURL=send-pingback.js.map |
@@ -11,3 +11,3 @@ { | ||
"name": "@giphy/js-analytics", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"main": "dist/index.js", | ||
@@ -24,4 +24,4 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@giphy/js-types": "^4.0.0", | ||
"@giphy/js-util": "^3.1.0", | ||
"@giphy/js-types": "^4.0.1", | ||
"@giphy/js-util": "^3.1.1", | ||
"append-query": "^2.1.0", | ||
@@ -34,5 +34,5 @@ "throttle-debounce": "^2.3.0" | ||
"jest-fetch-mock": "^3.0.3", | ||
"typescript": "^4.0.5" | ||
"typescript": "^4.3.5" | ||
}, | ||
"gitHead": "412335a79d3a8b88d361709e6e85dae55d06adfe" | ||
"gitHead": "75a177672ad9d5b4c29163728184d0ebda557cab" | ||
} |
@@ -146,3 +146,3 @@ import { IGif, IUser } from '@giphy/js-types' | ||
expect(fetch.mock.calls.length).toEqual(0) | ||
await new Promise((resolve) => { | ||
await new Promise<void>((resolve) => { | ||
setTimeout(() => resolve(), 1110) | ||
@@ -149,0 +149,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22533
447
Updated@giphy/js-types@^4.0.1
Updated@giphy/js-util@^3.1.1