balena-request
Advanced tools
Comparing version 12.0.2 to 12.0.3-build-balena-auth-5-1-c11642a930772b968ff736583358d04a0b9321f4-1
@@ -24,3 +24,3 @@ "use strict"; | ||
const errors = require("balena-errors"); | ||
const token_1 = require("balena-auth/build/token"); | ||
const balena_auth_1 = require("balena-auth"); | ||
const IS_BROWSER = typeof window !== 'undefined' && window !== null; | ||
@@ -56,3 +56,3 @@ /** | ||
const type = yield auth.getType(); | ||
if (type !== token_1.TokenType.JWT) { | ||
if (type !== balena_auth_1.TokenType.JWT) { | ||
return false; | ||
@@ -59,0 +59,0 @@ } |
@@ -7,2 +7,7 @@ # Change Log | ||
## 12.0.3 - 2023-08-09 | ||
* Avoid deep imports from balena-auth [Thodoris Greasidis] | ||
* Update balena-auth to 5.1.0 [Thodoris Greasidis] | ||
## 12.0.2 - 2023-07-25 | ||
@@ -9,0 +14,0 @@ |
@@ -25,3 +25,3 @@ /* | ||
import type BalenaAuth from 'balena-auth'; | ||
import { TokenType } from 'balena-auth/build/token'; | ||
import { TokenType } from 'balena-auth'; | ||
import type { BalenaRequestOptions, BalenaRequestResponse } from './request'; | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "balena-request", | ||
"version": "12.0.2", | ||
"version": "12.0.3-build-balena-auth-5-1-c11642a930772b968ff736583358d04a0b9321f4-1", | ||
"description": "Balena HTTP client", | ||
@@ -47,3 +47,3 @@ "main": "build/request.js", | ||
"assert": "^2.0.0", | ||
"balena-auth": "^5.0.0", | ||
"balena-auth": "^5.1.0", | ||
"balena-config-karma": "4.0.0", | ||
@@ -81,7 +81,7 @@ "bluebird": "^3.7.2", | ||
"peerDependencies": { | ||
"balena-auth": "^5.0.0" | ||
"balena-auth": "^5.1.0" | ||
}, | ||
"versionist": { | ||
"publishedAt": "2023-07-25T15:47:53.133Z" | ||
"publishedAt": "2023-08-09T12:12:01.537Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
212059
1