backend-manager 3.2.30 → 3.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -1
- package/package.json +1 -1
- package/src/manager/helpers/assistant.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,7 +15,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
15
15
|
- `Security` in case of vulnerabilities.
|
|
16
16
|
|
|
17
17
|
---
|
|
18
|
-
## [3.2.
|
|
18
|
+
## [3.2.30] - 2023-01-30
|
|
19
|
+
### Added
|
|
20
|
+
- Modified `.assistant()` token/key check to use `options.apiKey || data.apiKey`
|
|
21
|
+
|
|
22
|
+
## [3.2.0] - 2023-01-19
|
|
19
23
|
### Added
|
|
20
24
|
- Added `.settings()` API. Put your settings in `./schema/*.js` and access them with `assistant.settings.*`.
|
|
21
25
|
|
package/package.json
CHANGED
|
@@ -596,7 +596,7 @@ BackendAssistant.prototype.authenticate = async function (options) {
|
|
|
596
596
|
return _resolve(self.request.user);
|
|
597
597
|
}
|
|
598
598
|
} else if (options.apiKey || data.apiKey) {
|
|
599
|
-
const apiKey = apiKey || data.apiKey;
|
|
599
|
+
const apiKey = options.apiKey || data.apiKey;
|
|
600
600
|
self.log('Found "options.apiKey"', apiKey, logOptions);
|
|
601
601
|
|
|
602
602
|
if (apiKey.includes('test')) {
|