@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Router, Request, Response, NextFunction } from 'express';
2
- import { AuthService } from '@olasubomimk/core';
2
+ import { AuthService } from '@olasphe/core';
3
3
  declare global {
4
4
  namespace Express {
5
5
  interface Request {
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("@olasubomimk/core");
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.0.0",
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
  },