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

balena-request

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balena-request - npm Package Compare versions

Comparing version 11.2.0 to 11.2.1-avoid-no-baseurl-token-refresh-a95234ed77eddfe88953cb2bf5f53a3031627913

@@ -66,3 +66,3 @@ "use strict";

(yield utils.shouldRefreshKey(auth))) {
if (!isAbsoluteUrl) {
if (baseUrl && !isAbsoluteUrl) {
yield exports.refreshToken({ baseUrl });

@@ -69,0 +69,0 @@ }

@@ -7,2 +7,7 @@ # Change Log

# v11.2.1
## (2021-03-12)
* Prevent token refresh when no base url is provided [Thodoris Greasidis]
# v11.2.0

@@ -9,0 +14,0 @@ ## (2020-11-12)

@@ -88,3 +88,3 @@ /*

) {
if (!isAbsoluteUrl) {
if (baseUrl && !isAbsoluteUrl) {
await exports.refreshToken({ baseUrl });

@@ -91,0 +91,0 @@ }

{
"name": "balena-request",
"version": "11.2.0",
"version": "11.2.1-avoid-no-baseurl-token-refresh-a95234ed77eddfe88953cb2bf5f53a3031627913",
"description": "Balena HTTP client",

@@ -5,0 +5,0 @@ "main": "build/request.js",

Sorry, the diff of this file is not supported yet