diff --git a/CHANGELOG.md b/CHANGELOG.md index 43da888..947f2f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ ## Changelog -### [v6.0.0](https://github.com/panates/valgen/compare/v5.20.0...v6.0.0) - +### [v6.0.1](https://github.com/panates/valgen/compare/v6.0.0...v6.0.1) - + +#### 🛠 Refactoring and Updates + +- refactor: Exposed "MobilePhoneLocale" @Eray Hanoğlu + +## [v6.0.0](https://github.com/panates/valgen/compare/v5.20.0...v6.0.0) - 6 April 2026 #### 🛠 Refactoring and Updates diff --git a/package-lock.json b/package-lock.json index e12c7e2..fb27bd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "valgen", - "version": "6.0.0", + "version": "6.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "valgen", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "dependencies": { "@browsery/validator": "^13.15.35", diff --git a/package.json b/package.json index 65a086b..432a178 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "valgen", "description": "Fast runtime type validator, converter and io (encoding/decoding) library", - "version": "6.0.0", + "version": "6.0.1", "author": "Panates", "license": "MIT", "private": true, diff --git a/src/rules/format-rules/is-mobile-phone.ts b/src/rules/format-rules/is-mobile-phone.ts index 28590d7..b1f11b3 100644 --- a/src/rules/format-rules/is-mobile-phone.ts +++ b/src/rules/format-rules/is-mobile-phone.ts @@ -45,6 +45,8 @@ export namespace isMobilePhone { * Locale or locales of the mobile phone * @default 'any' */ - locale?: 'any' | _MobilePhoneLocale | _MobilePhoneLocale[]; + locale?: 'any' | MobilePhoneLocale | MobilePhoneLocale[]; } + + export type MobilePhoneLocale = _MobilePhoneLocale; }