@bgord/tools 0.9.0 → 0.9.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.
package/dist/iban.vo.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
- declare const IBANValueSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1
+ import { z } from "zod/v4";
2
+ declare const IBANValueSchema: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
3
3
  type IBANValueType = z.infer<typeof IBANValueSchema>;
4
4
  type IBANCountryCode = string;
5
5
  export declare class IBAN {
package/dist/iban.vo.js CHANGED
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "zod/v4";
2
2
  // Basic IBAN format regex (2-letter country code + 2 digits + 11–30 alphanumerics)
3
3
  const IBAN_REGEX = /^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$/;
4
4
  const IBANValueSchema = z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgord/tools",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Bartosz Gordon",
package/src/iban.vo.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from "zod/v4";
2
2
 
3
3
  // Basic IBAN format regex (2-letter country code + 2 digits + 11–30 alphanumerics)
4
4
  const IBAN_REGEX = /^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$/;