@tsed/adapters 6.102.0 → 6.102.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/adapters",
3
- "version": "6.102.0",
3
+ "version": "6.102.4",
4
4
  "description": "Database adapters for Ts.ED",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -27,21 +27,21 @@
27
27
  "uuid": "8.3.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@tsed/ajv": "6.102.0",
31
- "@tsed/common": "6.102.0",
32
- "@tsed/core": "6.102.0",
33
- "@tsed/di": "6.102.0",
34
- "@tsed/json-mapper": "6.102.0",
35
- "@tsed/schema": "6.102.0",
30
+ "@tsed/ajv": "6.102.4",
31
+ "@tsed/common": "6.102.4",
32
+ "@tsed/core": "6.102.4",
33
+ "@tsed/di": "6.102.4",
34
+ "@tsed/json-mapper": "6.102.4",
35
+ "@tsed/schema": "6.102.4",
36
36
  "@types/fs-extra": "9.0.6"
37
37
  },
38
38
  "peerDependencies": {
39
- "@tsed/ajv": "^6.102.0",
40
- "@tsed/common": "^6.102.0",
41
- "@tsed/core": "^6.102.0",
42
- "@tsed/di": "^6.102.0",
43
- "@tsed/json-mapper": "^6.102.0",
44
- "@tsed/schema": "^6.102.0",
39
+ "@tsed/ajv": "^6.102.4",
40
+ "@tsed/common": "^6.102.4",
41
+ "@tsed/core": "^6.102.4",
42
+ "@tsed/di": "^6.102.4",
43
+ "@tsed/json-mapper": "^6.102.4",
44
+ "@tsed/schema": "^6.102.4",
45
45
  "change-case": "^4.1.2",
46
46
  "lodash": "^4.17.21"
47
47
  },
package/readme.md CHANGED
@@ -32,12 +32,13 @@ A package of Ts.ED framework. See website: https://tsed.io/tutorials/adapters
32
32
  ## Feature
33
33
 
34
34
  Currently, `@tsed/adapters` allows you:
35
-
36
- - Create
35
+
36
+ - Create
37
37
 
38
38
  ## Installation
39
39
 
40
40
  To begin, install the TypeORM module for TS.ED:
41
+
41
42
  ```bash
42
43
  npm install --save @tsed/oidc-provider
43
44
  npm install --save oidc-provider
@@ -54,35 +55,32 @@ import {MemoryAdapter} from "../adapters/MemoryAdapter";
54
55
  export const rootDir = __dirname;
55
56
 
56
57
  @Configuration({
57
- oidc: {
58
- jwksPath: `${rootDir}/../keys/jwks.json`, // don't forget add this path to .gitignore
59
- Adapter: MemoryAdapter,
60
- Accounts: Accounts,
61
- // Clients: Clients,
62
- clients: [
63
- {
64
- client_id: "client_id",
65
- client_secret: "client_secret",
66
- redirect_uris: [
67
- "https://host.fr/"
68
- ]
69
- }
70
- ],
71
- options: { // Oidc-provider options See https://github.com/panva/node-oidc-provider/blob/master/docs/README.md
72
- formats: {
73
- AccessToken: "jwt"
74
- },
75
- features: {
76
- encryption: {enabled: true},
77
- introspection: {enabled: true},
78
- revocation: {enabled: true}
79
- }
80
- }
81
- }
58
+ oidc: {
59
+ jwksPath: `${rootDir}/../keys/jwks.json`, // don't forget add this path to .gitignore
60
+ Adapter: MemoryAdapter,
61
+ Accounts: Accounts,
62
+ // Clients: Clients,
63
+ clients: [
64
+ {
65
+ client_id: "client_id",
66
+ client_secret: "client_secret",
67
+ redirect_uris: ["https://host.fr/"]
68
+ }
69
+ ],
70
+ options: {
71
+ // Oidc-provider options See https://github.com/panva/node-oidc-provider/blob/master/docs/README.md
72
+ formats: {
73
+ AccessToken: "jwt"
74
+ },
75
+ features: {
76
+ encryption: {enabled: true},
77
+ introspection: {enabled: true},
78
+ revocation: {enabled: true}
79
+ }
80
+ }
81
+ }
82
82
  })
83
- export class Server {
84
-
85
- }
83
+ export class Server {}
86
84
  ```
87
85
 
88
86
  ## Contributors
@@ -91,14 +89,12 @@ Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html)
91
89
 
92
90
  <a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
93
91
 
94
-
95
92
  ## Backers
96
93
 
97
94
  Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
98
95
 
99
96
  <a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/backers.svg?width=890"></a>
100
97
 
101
-
102
98
  ## Sponsors
103
99
 
104
100
  Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
@@ -8,16 +8,5 @@
8
8
  "declaration": true,
9
9
  "declarationDir": "./lib/types"
10
10
  },
11
- "exclude": [
12
- "node_modules",
13
- "test",
14
- "lib",
15
- "benchmark",
16
- "coverage",
17
- "spec",
18
- "**/*.benchmark.ts",
19
- "**/*.spec.ts",
20
- "keys",
21
- "jest.config.js"
22
- ]
11
+ "exclude": ["node_modules", "test", "lib", "benchmark", "coverage", "spec", "**/*.benchmark.ts", "**/*.spec.ts", "keys", "jest.config.js"]
23
12
  }