@platformatic/db-authorization 3.40.0 → 3.42.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/index.d.ts +1 -1
  2. package/package.json +3 -3
package/index.d.ts CHANGED
@@ -75,7 +75,7 @@ export default auth
75
75
  /**
76
76
  * All the errors thrown by the plugin.
77
77
  */
78
- export module errors {
78
+ export namespace errors {
79
79
  export const Unauthorized: () => FastifyError
80
80
  export const UnauthorizedField: (field: string) => FastifyError
81
81
  export const MissingNotNullableError: (field: string, entity: string) => FastifyError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db-authorization",
3
- "version": "3.40.0",
3
+ "version": "3.42.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -24,8 +24,8 @@
24
24
  "typescript": "^5.5.4",
25
25
  "why-is-node-running": "^2.2.2",
26
26
  "ws": "^8.16.0",
27
- "@platformatic/db-core": "3.40.0",
28
- "@platformatic/sql-mapper": "3.40.0"
27
+ "@platformatic/db-core": "3.42.0",
28
+ "@platformatic/sql-mapper": "3.42.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "@fastify/error": "^4.0.0",