@clipboard-health/contract-core 0.10.0 → 0.11.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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -19,9 +19,9 @@ npm install @clipboard-health/contract-core
19
19
 
20
20
  ### Zod schemas
21
21
 
22
- <!-- prettier-ignore -->
22
+ <embedex source="packages/contract-core/examples/schemas.ts">
23
+
23
24
  ```ts
24
- // packages/contract-core/examples/schemas.ts
25
25
  import { apiErrors, booleanString, nonEmptyString, uuid } from "@clipboard-health/contract-core";
26
26
  import { type ZodError } from "zod";
27
27
 
@@ -66,9 +66,10 @@ try {
66
66
  logError(error);
67
67
  // => Invalid UUID format
68
68
  }
69
-
70
69
  ```
71
70
 
71
+ </embedex>
72
+
72
73
  ## Local development commands
73
74
 
74
75
  See [`package.json`](./package.json) `scripts` for a list of commands.
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@clipboard-health/contract-core",
3
3
  "description": "Shared Zod schemas for Clipboard Health's contracts.",
4
- "version": "0.10.0",
4
+ "version": "0.11.1",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "dependencies": {
7
7
  "tslib": "2.8.0",
8
8
  "zod": "3.23.8"
9
9
  },
10
10
  "devDependencies": {
11
- "@clipboard-health/testing-core": "0.10.0"
11
+ "@clipboard-health/testing-core": "0.11.1"
12
12
  },
13
13
  "keywords": [
14
14
  "contract",