@giphy/js-analytics
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -8,3 +8,3 @@ "use strict"; | ||
var headers = js_util_1.getGiphySDKRequestHeaders(); | ||
headers.set('Content-Type', 'application/json'); | ||
headers === null || headers === void 0 ? void 0 : headers.set('Content-Type', 'application/json'); | ||
js_util_1.Logger.debug("Pingback session", session); | ||
@@ -11,0 +11,0 @@ return fetch(pingBackUrl, { |
@@ -11,3 +11,3 @@ { | ||
"name": "@giphy/js-analytics", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"main": "dist/index.js", | ||
@@ -25,3 +25,3 @@ "types": "dist/index.d.ts", | ||
"@giphy/js-types": "^2.0.2", | ||
"@giphy/js-util": "^1.8.1", | ||
"@giphy/js-util": "^1.8.2", | ||
"@types/uuid": "^7.0.0", | ||
@@ -42,3 +42,3 @@ "append-query": "^2.1.0", | ||
}, | ||
"gitHead": "d674e1a13e7d3a9ef502e685c260f7a10579403f" | ||
"gitHead": "e352252be4678849ada2ef2d11136153e248341d" | ||
} |
@@ -9,3 +9,3 @@ import { getGiphySDKRequestHeaders, Logger } from '@giphy/js-util' | ||
const headers = getGiphySDKRequestHeaders() | ||
headers.set('Content-Type', 'application/json') | ||
headers?.set('Content-Type', 'application/json') | ||
Logger.debug(`Pingback session`, session) | ||
@@ -12,0 +12,0 @@ return fetch(pingBackUrl, { |
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
28803
Updated@giphy/js-util@^1.8.2