@albirex/platformatic-logto 1.4.3 → 3.0.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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -17,6 +17,9 @@ Based on [@platformatic/db-authorization](https://github.com/platformatic/platfo
17
17
  - Customizable Hooks: Extend and customize authentication flows to fit your application's needs.
18
18
  - TypeScript Support: Written in TypeScript for type safety and improved developer experience.
19
19
 
20
+ ## Compatibility
21
+ For Platformatic 2.x use version < 3.x<br />
22
+ For Platformatic 3.x use version 3.x
20
23
  ## Installation
21
24
  To install the package, use your preferred package manager:
22
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@albirex/platformatic-logto",
3
- "version": "1.4.3",
3
+ "version": "3.0.0",
4
4
  "description": "LogTo roles and scopes integrated in Platformatic authorization",
5
5
  "type": "module",
6
6
  "main": "./lib/index.cjs",
@@ -21,13 +21,13 @@
21
21
  "url": "https://github.com/albiper/platformatic-logto"
22
22
  },
23
23
  "peerDependencies": {
24
- "@platformatic/db": "^2.0.0",
24
+ "@platformatic/db": "^3.0.0",
25
25
  "fastify": "^5.5",
26
- "platformatic": "^2.0.0"
26
+ "platformatic": "^3.0.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@eslint/js": "^9.12.0",
30
- "@platformatic/db-core": "^2.75.0",
30
+ "@platformatic/db-core": "^3.20.0",
31
31
  "@types/node": "^22.10.1",
32
32
  "dotenv": "^16.5.0",
33
33
  "eslint": "^9.12.0",
@@ -41,8 +41,8 @@
41
41
  "@fastify/error": "^4.1.0",
42
42
  "@logto/js": "^5.1.1",
43
43
  "@logto/node": "^3.1.4",
44
- "@platformatic/db-authorization": "^2.66.0",
45
- "@platformatic/sql-mapper": "^2.66.0",
44
+ "@platformatic/db-authorization": "^3.20.0",
45
+ "@platformatic/sql-mapper": "^3.20.0",
46
46
  "@sinclair/typebox": "^0.34.14",
47
47
  "fastify-plugin": "^5.0.1",
48
48
  "fastify-user": "^1.4.0",