rest-client-sdk
Advanced tools
Comparing version
{ | ||
"name": "rest-client-sdk", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"description": "Rest Client SDK for API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
/* global fetch */ | ||
/* global fetch window */ | ||
@@ -187,2 +187,7 @@ import URI from 'urijs'; | ||
const currentUri = typeof window === 'object' && window.location && window.location.href; | ||
if (currentUri) { | ||
baseHeaders.Referer = currentUri; | ||
} | ||
if (params) { | ||
@@ -189,0 +194,0 @@ if (!params.headers) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
280104
1.37%18
5.88%7751
0.28%9
-10%