@olasphe/nest 1.0.0 → 1.1.0
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/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { CanActivate, ExecutionContext, DynamicModule } from '@nestjs/common';
|
|
2
|
-
import { AuthService, User } from '@
|
|
2
|
+
import { AuthService, User } from '@olasphe/core';
|
|
3
3
|
export declare class NestAuthService {
|
|
4
4
|
private coreService;
|
|
5
5
|
constructor(coreService: AuthService);
|
|
6
6
|
get register(): (data: Record<string, any>) => Promise<{
|
|
7
7
|
user: User;
|
|
8
|
-
session: import("@
|
|
8
|
+
session: import("@olasphe/core").Session;
|
|
9
9
|
}>;
|
|
10
10
|
get login(): (email: string, password: string) => Promise<{
|
|
11
|
-
session: import("@
|
|
11
|
+
session: import("@olasphe/core").Session;
|
|
12
12
|
user: User;
|
|
13
13
|
}>;
|
|
14
14
|
get verifyEmail(): (token: string) => Promise<User>;
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ var AuthModule_1;
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.AuthModule = exports.CurrentUser = exports.AuthGuard = exports.NestAuthService = void 0;
|
|
14
14
|
const common_1 = require("@nestjs/common");
|
|
15
|
-
const core_1 = require("@
|
|
15
|
+
const core_1 = require("@olasphe/core");
|
|
16
16
|
let NestAuthService = class NestAuthService {
|
|
17
17
|
constructor(coreService) {
|
|
18
18
|
this.coreService = coreService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olasphe/nest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"author": "Auth SDK User <user@example.com>",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build": "tsc"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@olasphe/core": "
|
|
22
|
+
"@olasphe/core": "^1.1.0",
|
|
23
23
|
"@nestjs/common": "^10.0.0",
|
|
24
24
|
"@nestjs/core": "^10.0.0",
|
|
25
25
|
"rxjs": "^7.0.0",
|