@ditojs/server 2.4.0 → 2.4.1

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": "@ditojs/server",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "type": "module",
5
5
  "description": "Dito.js Server – Dito.js is a declarative and modern web framework, based on Objection.js, Koa.js and Vue.js",
6
6
  "repository": "https://github.com/ditojs/dito/tree/master/packages/server",
@@ -22,10 +22,10 @@
22
22
  "node >= 18"
23
23
  ],
24
24
  "dependencies": {
25
- "@ditojs/admin": "^2.4.0",
26
- "@ditojs/build": "^2.4.0",
27
- "@ditojs/router": "^2.4.0",
28
- "@ditojs/utils": "^2.4.0",
25
+ "@ditojs/admin": "^2.4.1",
26
+ "@ditojs/build": "^2.4.1",
27
+ "@ditojs/router": "^2.4.1",
28
+ "@ditojs/utils": "^2.4.1",
29
29
  "@koa/cors": "^4.0.0",
30
30
  "@koa/multer": "^3.0.2",
31
31
  "@originjs/vite-plugin-commonjs": "^1.0.3",
@@ -88,7 +88,7 @@
88
88
  "typescript": "^5.0.4"
89
89
  },
90
90
  "types": "types",
91
- "gitHead": "11402f86e31da1b8ebd0a6ea5c984d3abf12d7be",
91
+ "gitHead": "aa24e36fb6be2ad0113d13a1bda6d8d8b04bd77e",
92
92
  "scripts": {
93
93
  "types": "tsc --noEmit --esModuleInterop ./types/index.d.ts"
94
94
  },
@@ -35,7 +35,7 @@ export class Controller {
35
35
  url = null
36
36
  actions = null
37
37
  assets = null
38
- transacted = false
38
+ transacted = null
39
39
  initialized = false
40
40
 
41
41
  constructor(app, namespace) {
@@ -39,8 +39,8 @@ export default class ControllerAction {
39
39
  this.scope = scope
40
40
  this.authorize = authorize || _authorize
41
41
  this.transacted = !!(
42
- transacted ||
43
- controller.transacted ||
42
+ transacted ??
43
+ controller.transacted ??
44
44
  // Core graph and assets operations are always transacted, unless the
45
45
  // method is 'get':
46
46
  (