@rotorsoft/act 1.37.4 → 1.37.5

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/dist/index.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  sleep,
41
41
  store,
42
42
  validate
43
- } from "./chunk-FBZY2F5W.js";
43
+ } from "./chunk-HXW3TPP6.js";
44
44
  import {
45
45
  ActorSchema,
46
46
  CausationEventSchema,
@@ -69,11 +69,12 @@ import {
69
69
  ValidationError,
70
70
  ZodEmpty,
71
71
  def_of,
72
+ inner_of,
72
73
  output_of,
73
74
  pii_fields,
74
75
  pii_schemas,
75
76
  sensitive
76
- } from "./chunk-CB2OLGJK.js";
77
+ } from "./chunk-V5ZB54DC.js";
77
78
 
78
79
  // src/signals.ts
79
80
  process.once("SIGINT", async (arg) => {
@@ -4468,15 +4469,8 @@ function date_reviver_schema(schema) {
4468
4469
  return inner()?.nullable();
4469
4470
  case "pipe":
4470
4471
  return date_reviver_schema(def.out);
4471
- case "optional":
4472
- case "nonoptional":
4473
- case "readonly":
4474
- case "default":
4475
- case "prefault":
4476
- case "catch":
4477
- return inner();
4478
4472
  default:
4479
- return void 0;
4473
+ return inner_of(def) ? inner() : void 0;
4480
4474
  }
4481
4475
  }
4482
4476