@uppy/companion-client
Advanced tools
Comparing version 0.27.0 to 0.27.1
@@ -52,3 +52,4 @@ 'use strict'; | ||
method: 'get', | ||
headers: this.headers | ||
headers: this.headers, | ||
credentials: 'same-origin' | ||
}) | ||
@@ -69,2 +70,3 @@ // @todo validate response status before calling json | ||
headers: this.headers, | ||
credentials: 'same-origin', | ||
body: JSON.stringify(data) | ||
@@ -87,2 +89,3 @@ }).then(this.onReceiveResponse).then(function (res) { | ||
headers: this.headers, | ||
credentials: 'same-origin', | ||
body: data ? JSON.stringify(data) : null | ||
@@ -89,0 +92,0 @@ }).then(this.onReceiveResponse) |
{ | ||
"name": "@uppy/companion-client", | ||
"description": "Client library for communication with Uppy Server. Intended for use in Uppy plugins.", | ||
"version": "0.27.0", | ||
"version": "0.27.1", | ||
"license": "MIT", | ||
@@ -26,3 +26,4 @@ "main": "lib/index.js", | ||
"namespace-emitter": "^2.0.1" | ||
} | ||
}, | ||
"gitHead": "6b82d12d42a0dfdd9e0677a18efcaf44c251c58c" | ||
} |
@@ -58,3 +58,4 @@ 'use strict' | ||
method: 'get', | ||
headers: this.headers | ||
headers: this.headers, | ||
credentials: 'same-origin' | ||
}) | ||
@@ -73,2 +74,3 @@ // @todo validate response status before calling json | ||
headers: this.headers, | ||
credentials: 'same-origin', | ||
body: JSON.stringify(data) | ||
@@ -92,2 +94,3 @@ }) | ||
headers: this.headers, | ||
credentials: 'same-origin', | ||
body: data ? JSON.stringify(data) : null | ||
@@ -94,0 +97,0 @@ }) |
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
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
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
28416
674
7