@autofleet/zehut 1.3.0-beta → 1.3.0-beta1
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/lib/index.d.ts +2 -1
- package/lib/index.js +1 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import User from './user';
|
|
2
|
-
|
|
2
|
+
declare const _default: {
|
|
3
3
|
User: typeof User;
|
|
4
4
|
middleware: (options?: {
|
|
5
5
|
eagerLoadUserPermissions?: boolean;
|
|
@@ -13,3 +13,4 @@ export declare const exportConst: {
|
|
|
13
13
|
getCurrentPayload: () => any;
|
|
14
14
|
getDecodedBearer: (req: any) => any;
|
|
15
15
|
};
|
|
16
|
+
export default _default;
|
package/lib/index.js
CHANGED
|
@@ -19,11 +19,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.exportConst = void 0;
|
|
23
22
|
const user_1 = __importStar(require("./user"));
|
|
24
23
|
const tracer_1 = require("./tracer");
|
|
25
24
|
tracer_1.enable();
|
|
26
|
-
exports.
|
|
25
|
+
exports.default = {
|
|
27
26
|
User: user_1.default,
|
|
28
27
|
middleware: user_1.middleware,
|
|
29
28
|
middlewareWithDecode: user_1.middlewareWithDecode,
|