@hy_ong/zod-kit 0.1.6 → 0.1.7

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": "@hy_ong/zod-kit",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "A comprehensive TypeScript library providing pre-built Zod validation schemas with full internationalization support for common data types and Taiwan-specific formats",
5
5
  "keywords": [
6
6
  "zod",
@@ -20,7 +20,7 @@ describe("Taiwan twTel(true) validator", () => {
20
20
  // Taichung (04) - requires 9 digits total
21
21
  expect(schema.parse("041234567")).toBe("041234567") // 04-123-4567 (9 digits)
22
22
  expect(schema.parse("043456789")).toBe("043456789") // 04-345-6789 (9 digits)
23
- expect(schema.parse("0423288882")).toBe("0423288882") // 04-232-88882 (10 digits)
23
+ expect(schema.parse("04-23288882")).toBe("04-23288882") // 04-232-88882 (10 digits)
24
24
 
25
25
  // Tainan (06) - requires 9 digits total
26
26
  expect(schema.parse("061234567")).toBe("061234567") // 06-123-4567 (9 digits)