@jsonapi-serde/server 1.5.0 → 1.5.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.
@@ -53,11 +53,11 @@ export type RelationshipsSchema = $ZodType<Record<string, z.output<RelationshipS
53
53
  /**
54
54
  * Zod schema for a generic JSON:API attributes object
55
55
  */
56
- export type AttributesSchema = $ZodType<Record<string, unknown>>;
56
+ export type AttributesSchema = $ZodType<Record<string, unknown> | undefined>;
57
57
  /**
58
58
  * Zod schema for a generic JSON:API meta object
59
59
  */
60
- export type MetaSchema = $ZodType<Record<string, unknown>>;
60
+ export type MetaSchema = $ZodType<Record<string, unknown> | undefined>;
61
61
  /**
62
62
  * Configuration object for parsing a resource request
63
63
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsonapi-serde/server",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Framework agnostic JSON:API serialization and deserialization",
5
5
  "type": "module",
6
6
  "author": "Ben Scholzen 'DASPRiD'",