balena-auth
Advanced tools
Comparing version 4.2.1 to 5.0.0-build-bump-node-balena-settings-storage-1a5128a7e9d871793b664d715e4857cb7743b911-1
@@ -23,3 +23,3 @@ "use strict"; | ||
const errors = require("balena-errors"); | ||
const getStorage = require("balena-settings-storage"); | ||
const balena_settings_storage_1 = require("balena-settings-storage"); | ||
const api_key_1 = require("./api-key"); | ||
@@ -205,3 +205,3 @@ const jwt_1 = require("./jwt"); | ||
}); | ||
this.storage = getStorage({ dataDirectory }); | ||
this.storage = (0, balena_settings_storage_1.getStorage)({ dataDirectory }); | ||
this.tokenKey = tokenKey; | ||
@@ -208,0 +208,0 @@ } |
@@ -23,3 +23,3 @@ "use strict"; | ||
TokenType[TokenType["APIKey"] = 1] = "APIKey"; | ||
})(TokenType = exports.TokenType || (exports.TokenType = {})); | ||
})(TokenType || (exports.TokenType = TokenType = {})); | ||
//# sourceMappingURL=token.js.map |
@@ -22,4 +22,3 @@ /* | ||
import * as errors from 'balena-errors'; | ||
import * as getStorage from 'balena-settings-storage'; | ||
import { BalenaSettingsStorage } from 'balena-settings-storage/lib/types'; | ||
import { getStorage, BalenaSettingsStorage } from 'balena-settings-storage'; | ||
@@ -26,0 +25,0 @@ import { APIKey } from './api-key'; |
{ | ||
"name": "balena-auth", | ||
"version": "4.2.1", | ||
"version": "5.0.0-build-bump-node-balena-settings-storage-1a5128a7e9d871793b664d715e4857cb7743b911-1", | ||
"description": "Balena session authentication utilities", | ||
@@ -42,2 +42,6 @@ "main": "build/auth.js", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=14.0.0", | ||
"npm": ">=6.0.0" | ||
}, | ||
"devDependencies": { | ||
@@ -47,5 +51,5 @@ "@balena/lint": "^5.1.0", | ||
"@types/chai-as-promised": "^7.1.5", | ||
"@types/jsonwebtoken": "^7.2.3", | ||
"@types/jsonwebtoken": "^8.0.0", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^8.10.61", | ||
"@types/node": "^14.18.54", | ||
"balena-config-karma": "^4.0.0", | ||
@@ -60,3 +64,3 @@ "balena-settings-client": "^4.0.0", | ||
"jsdoc-to-markdown": "^3.0.0", | ||
"jsonwebtoken": "^7.3.0", | ||
"jsonwebtoken": "^8.0.0", | ||
"karma": "^5.2.3", | ||
@@ -69,3 +73,3 @@ "mocha": "^10.0.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.3", | ||
"typescript": "^5.1.6", | ||
"util": "^0.12.4" | ||
@@ -76,3 +80,3 @@ }, | ||
"balena-errors": "^4.7.1", | ||
"balena-settings-storage": "^7.0.0", | ||
"balena-settings-storage": "^8.0.0", | ||
"jwt-decode": "^2.2.0", | ||
@@ -86,9 +90,5 @@ "tslib": "^2.0.0" | ||
}, | ||
"engines": { | ||
"node": ">=10.17.0", | ||
"npm": ">=5.0.0" | ||
}, | ||
"versionist": { | ||
"publishedAt": "2023-07-13T18:46:52.086Z" | ||
"publishedAt": "2023-07-24T14:32:17.900Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
55130
1185
1
+ Addedbalena-settings-storage@8.1.0(transitive)
- Removedbalena-settings-storage@7.0.2(transitive)