@smartcrab/contracts-management 0.3.0 → 0.3.1-next-20261013030252

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/common.d.ts CHANGED
@@ -72,7 +72,7 @@ export type RequestIdHeader = z.infer<typeof requestIdHeaderSchema>;
72
72
  *
73
73
  * ```json
74
74
  * {
75
- * "type": "https://docs.example-auth.com/errors/invalid-redirect-uri",
75
+ * "type": "https://docs.zeroword.smartcrab.ai/errors/invalid-redirect-uri",
76
76
  * "title": "Invalid redirect URI",
77
77
  * "status": 400,
78
78
  * "detail": "The redirect URI is not registered for this client.",
package/dist/common.js CHANGED
@@ -77,7 +77,7 @@ export const requestIdHeaderSchema = z.strictObject({
77
77
  *
78
78
  * ```json
79
79
  * {
80
- * "type": "https://docs.example-auth.com/errors/invalid-redirect-uri",
80
+ * "type": "https://docs.zeroword.smartcrab.ai/errors/invalid-redirect-uri",
81
81
  * "title": "Invalid redirect URI",
82
82
  * "status": 400,
83
83
  * "detail": "The redirect URI is not registered for this client.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartcrab/contracts-management",
3
- "version": "0.3.0",
3
+ "version": "0.3.1-next-20261013030252",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,8 +27,8 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "zod": "4.4.3",
31
- "@smartcrab/contracts-public": "0.3.0"
30
+ "zod": "4.6.5",
31
+ "@smartcrab/contracts-public": "0.3.1-next-20261013030252"
32
32
  },
33
33
  "devDependencies": {
34
34
  "typescript": "5.9.3",
@@ -75,7 +75,7 @@ describe("requestIdHeaderSchema", () => {
75
75
  describe("problemDetailsSchema (design.md §26.3 example)", () => {
76
76
  test("accepts the exact example from design.md", () => {
77
77
  const parsed = problemDetailsSchema.safeParse({
78
- type: "https://docs.example-auth.com/errors/invalid-redirect-uri",
78
+ type: "https://docs.zeroword.smartcrab.ai/errors/invalid-redirect-uri",
79
79
  title: "Invalid redirect URI",
80
80
  status: 400,
81
81
  detail: "The redirect URI is not registered for this client.",
@@ -88,7 +88,7 @@ describe("problemDetailsSchema (design.md §26.3 example)", () => {
88
88
  test("allows RFC 9457 extension members alongside the standard fields", () => {
89
89
  expect(
90
90
  problemDetailsSchema.safeParse({
91
- type: "https://docs.example-auth.com/errors/conflict",
91
+ type: "https://docs.zeroword.smartcrab.ai/errors/conflict",
92
92
  title: "Conflict",
93
93
  status: 409,
94
94
  current_etag: '"v2"',
package/src/common.ts CHANGED
@@ -104,7 +104,7 @@ export type RequestIdHeader = z.infer<typeof requestIdHeaderSchema>;
104
104
  *
105
105
  * ```json
106
106
  * {
107
- * "type": "https://docs.example-auth.com/errors/invalid-redirect-uri",
107
+ * "type": "https://docs.zeroword.smartcrab.ai/errors/invalid-redirect-uri",
108
108
  * "title": "Invalid redirect URI",
109
109
  * "status": 400,
110
110
  * "detail": "The redirect URI is not registered for this client.",