@universal-packages/core-express-controllers-authentication 1.3.23 → 1.3.25

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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -31,6 +31,12 @@ ucore run express-app
31
31
 
32
32
  ## Typescript
33
33
 
34
+ In order for typescript to see the `authenticationSubject` global you need to reference the types somewhere in your project, normally `./src/globals.ts`.
35
+
36
+ ```ts
37
+ /// <reference types="@universal-packages/core-express-controllers-authentication" />
38
+ ```
39
+
34
40
  This library is developed in TypeScript and shipped fully typed.
35
41
 
36
42
  ## Contributing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universal-packages/core-express-controllers-authentication",
3
- "version": "1.3.23",
3
+ "version": "1.3.25",
4
4
  "description": "Express Controllers Authentication universal-core module abstraction.",
5
5
  "author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "@universal-packages/express-controllers-authentication": "^1.6.16"
20
20
  },
21
21
  "peerDependencies": {
22
- "@universal-packages/core": "^1.12.5",
23
- "@universal-packages/core-express-controllers": "^1.3.8"
22
+ "@universal-packages/core": "^1.12.6",
23
+ "@universal-packages/core-express-controllers": "^1.3.9"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@trivago/prettier-plugin-sort-imports": "^4.1.1",