@company-semantics/contracts 6.3.0 → 6.3.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": "@company-semantics/contracts",
3
- "version": "6.3.0",
3
+ "version": "6.3.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -914,9 +914,11 @@ export const CreateDelegationRequestSchema = z.object({
914
914
  expiresAt: z.string().datetime().nullable().optional(),
915
915
  /**
916
916
  * When true, the granted user is emailed a notification (carrying `note` as
917
- * the message). Not persisted — it only gates the side-effect email.
917
+ * the message). Not persisted — it only gates the side-effect email. Omitted
918
+ * is treated as false; left without a default so the inferred request type
919
+ * keeps `notify` optional rather than forcing every caller to pass it.
918
920
  */
919
- notify: z.boolean().optional().default(false),
921
+ notify: z.boolean().optional(),
920
922
  });
921
923
  export type CreateDelegationRequest = z.infer<typeof CreateDelegationRequestSchema>;
922
924