@maximemrf/adonisjs-jwt 0.0.10 → 0.0.12
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/package.json +2 -5
- package/build/providers/jwt.d.ts +0 -11
- package/build/providers/jwt.js +0 -13
- package/build/services/jwt.d.ts +0 -2
- package/build/services/jwt.js +0 -9
package/package.json
CHANGED
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maximemrf/adonisjs-jwt",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.12",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.6.0"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
9
|
"files": [
|
|
10
10
|
"build/src",
|
|
11
|
-
"build/providers",
|
|
12
11
|
"build/stubs",
|
|
13
|
-
"build/services",
|
|
14
12
|
"build/index.d.ts",
|
|
15
13
|
"build/index.js"
|
|
16
14
|
],
|
|
17
15
|
"exports": {
|
|
18
16
|
".": "./build/index.js",
|
|
19
17
|
"./types": "./build/src/types.js",
|
|
20
|
-
"./
|
|
21
|
-
"./services/jwt": "./build/services/jwt.js"
|
|
18
|
+
"./jwt_config": "./build/src/define_config.js"
|
|
22
19
|
},
|
|
23
20
|
"scripts": {
|
|
24
21
|
"clean": "del-cli build",
|
package/build/providers/jwt.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ApplicationService } from '@adonisjs/core/types';
|
|
2
|
-
export default class JwtProvider {
|
|
3
|
-
protected app: ApplicationService;
|
|
4
|
-
constructor(app: ApplicationService);
|
|
5
|
-
register(): void;
|
|
6
|
-
}
|
|
7
|
-
declare module '@adonisjs/core/types' {
|
|
8
|
-
interface ContainerBindings {
|
|
9
|
-
'max/jwt': any;
|
|
10
|
-
}
|
|
11
|
-
}
|
package/build/providers/jwt.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jwtGuard } from '../src/define_config.js';
|
|
2
|
-
export default class JwtProvider {
|
|
3
|
-
app;
|
|
4
|
-
constructor(app) {
|
|
5
|
-
this.app = app;
|
|
6
|
-
}
|
|
7
|
-
register() {
|
|
8
|
-
this.app.container.singleton('max/jwt', async () => {
|
|
9
|
-
//const jwt = { jwtGuard }
|
|
10
|
-
return jwtGuard;
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
}
|
package/build/services/jwt.d.ts
DELETED