@sdflc/backend-helpers 1.0.29 → 1.0.30
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/build/BaseCore.js +6 -1
- package/package.json +1 -1
package/build/BaseCore.js
CHANGED
|
@@ -728,8 +728,13 @@ var BaseCore = /** @class */ (function () {
|
|
|
728
728
|
*/
|
|
729
729
|
BaseCore.prototype.getJwtTokenSecretAndSettings = function (params) {
|
|
730
730
|
return __awaiter(this, void 0, void 0, function () {
|
|
731
|
+
var space;
|
|
731
732
|
return __generator(this, function (_a) {
|
|
732
|
-
|
|
733
|
+
space = this.getContext().space;
|
|
734
|
+
return [2 /*return*/, {
|
|
735
|
+
jwtSecret: (space === null || space === void 0 ? void 0 : space.tokenSecret) || this.config.jwtSecret || '',
|
|
736
|
+
verifyTokenArgs: this.config.verifyTokenArgs,
|
|
737
|
+
}];
|
|
733
738
|
});
|
|
734
739
|
});
|
|
735
740
|
};
|
package/package.json
CHANGED