@jsonapi-serde/server 1.2.0 → 1.4.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.
@@ -49,7 +49,7 @@ export declare const relationshipSchema: <TDataSchema extends RelationshipDataSc
49
49
  /**
50
50
  * Zod schema for a map of named relationships
51
51
  */
52
- export type RelationshipsSchema = $ZodType<Record<string, z.output<RelationshipSchema<RelationshipDataSchema>>>>;
52
+ export type RelationshipsSchema = $ZodType<Record<string, z.output<RelationshipSchema<RelationshipDataSchema>>> | undefined>;
53
53
  /**
54
54
  * Zod schema for a generic JSON:API attributes object
55
55
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsonapi-serde/server",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Framework agnostic JSON:API serialization and deserialization",
5
5
  "type": "module",
6
6
  "author": "Ben Scholzen 'DASPRiD'",
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "repository": {
17
17
  "type": "git",
18
- "url": "https://github.com/dasprid/jsonapi-serde-js.git"
18
+ "url": "https://github.com/DASPRiD/jsonapi-serde-js.git"
19
19
  },
20
20
  "files": [
21
21
  "dist/**/*"
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "expect-type": "^1.2.2",
59
- "zod": "^4.0.14"
59
+ "zod": "^4.1.1"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "zod": "^3.25.42 || ^4.0.0"