@valbuild/server 0.92.0 → 0.93.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.
@@ -5718,10 +5718,15 @@ const ValServer = (valModules, options, callbacks) => {
5718
5718
  }
5719
5719
  };
5720
5720
  }
5721
- const patchOps = await serverOps.fetchPatches({
5722
- patchIds: undefined,
5723
- excludePatchOps: false
5724
- });
5721
+ let patchOps = {
5722
+ patches: []
5723
+ };
5724
+ if (query.exclude_patches !== true) {
5725
+ patchOps = await serverOps.fetchPatches({
5726
+ patchIds: undefined,
5727
+ excludePatchOps: false
5728
+ });
5729
+ }
5725
5730
  // We check authorization here, because it is the first call to the backend
5726
5731
  if (patchOps.error && patchOps.unauthorized) {
5727
5732
  return {
@@ -5718,10 +5718,15 @@ const ValServer = (valModules, options, callbacks) => {
5718
5718
  }
5719
5719
  };
5720
5720
  }
5721
- const patchOps = await serverOps.fetchPatches({
5722
- patchIds: undefined,
5723
- excludePatchOps: false
5724
- });
5721
+ let patchOps = {
5722
+ patches: []
5723
+ };
5724
+ if (query.exclude_patches !== true) {
5725
+ patchOps = await serverOps.fetchPatches({
5726
+ patchIds: undefined,
5727
+ excludePatchOps: false
5728
+ });
5729
+ }
5725
5730
  // We check authorization here, because it is the first call to the backend
5726
5731
  if (patchOps.error && patchOps.unauthorized) {
5727
5732
  return {
@@ -5687,10 +5687,15 @@ const ValServer = (valModules, options, callbacks) => {
5687
5687
  }
5688
5688
  };
5689
5689
  }
5690
- const patchOps = await serverOps.fetchPatches({
5691
- patchIds: undefined,
5692
- excludePatchOps: false
5693
- });
5690
+ let patchOps = {
5691
+ patches: []
5692
+ };
5693
+ if (query.exclude_patches !== true) {
5694
+ patchOps = await serverOps.fetchPatches({
5695
+ patchIds: undefined,
5696
+ excludePatchOps: false
5697
+ });
5698
+ }
5694
5699
  // We check authorization here, because it is the first call to the backend
5695
5700
  if (patchOps.error && patchOps.unauthorized) {
5696
5701
  return {
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "types": "dist/valbuild-server.cjs.d.ts",
19
- "version": "0.92.0",
19
+ "version": "0.93.0",
20
20
  "devDependencies": {
21
21
  "@prettier/sync": "^0.6.1",
22
22
  "@types/jest": "^30.0.0"
@@ -30,9 +30,9 @@
30
30
  "typescript": "^5.9.3",
31
31
  "zod": "^4.3.5",
32
32
  "zod-validation-error": "^5.0.0",
33
- "@valbuild/core": "0.92.0",
34
- "@valbuild/shared": "0.92.0",
35
- "@valbuild/ui": "0.92.0"
33
+ "@valbuild/core": "0.93.0",
34
+ "@valbuild/shared": "0.93.0",
35
+ "@valbuild/ui": "0.93.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=18.17.0"