@olasphe/express 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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createAuthRouter = createAuthRouter;
|
|
4
4
|
exports.authMiddleware = authMiddleware;
|
|
5
5
|
const express_1 = require("express");
|
|
6
|
-
const core_1 = require("@
|
|
6
|
+
const core_1 = require("@olasphe/core");
|
|
7
7
|
function createAuthRouter(authService) {
|
|
8
8
|
const router = (0, express_1.Router)();
|
|
9
9
|
router.post('/register', async (req, res, next) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olasphe/express",
|
|
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
|
"express": "^4.18.0",
|
|
24
24
|
"cookie-parser": "^1.4.0"
|
|
25
25
|
},
|