@platformatic/db-authorization 3.15.0 → 3.17.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.js +2 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -218,7 +218,8 @@ async function auth (app, opts) {
218
218
  const found = await type.find({
219
219
  where,
220
220
  ctx,
221
- fields
221
+ fields,
222
+ tx: restOpts.tx
222
223
  })
223
224
 
224
225
  if (found.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db-authorization",
3
- "version": "3.15.0",
3
+ "version": "3.17.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.15.0",
28
- "@platformatic/sql-mapper": "3.15.0"
27
+ "@platformatic/db-core": "3.17.0",
28
+ "@platformatic/sql-mapper": "3.17.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "@fastify/error": "^4.0.0",