@devix-tecnologia/value-objects 2.4.5 → 2.5.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/README.md +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -30,10 +30,10 @@ import { ClassName } from '@devix-tecnologia/value-objects'
|
|
|
30
30
|
|
|
31
31
|
## Available Value Objects
|
|
32
32
|
|
|
33
|
-
- [Phone](./src/telefone/
|
|
34
|
-
- [CPF/CNPJ](./src/cpf_cnpj/
|
|
35
|
-
- [Base64Image](./src/imagem_base64/
|
|
36
|
-
- [Vehicle Plate](./src/placa_veiculo/
|
|
33
|
+
- [Phone](./src/telefone/README.md): Manipulates and validates phone numbers, supporting Brazilian DDD and country codes.
|
|
34
|
+
- [CPF/CNPJ](./src/cpf_cnpj/README.md): Validates and formats CPF and CNPJ documents.
|
|
35
|
+
- [Base64Image](./src/imagem_base64/README.md): Manages and validates base64-encoded images, with automatic format detection.
|
|
36
|
+
- [Vehicle Plate](./src/placa_veiculo/README.md): Validates and formats Brazilian vehicle plates, supporting both old (ABC1234) and Mercosul (ABC1D23) formats.
|
|
37
37
|
|
|
38
38
|
## Usage Examples
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devix-tecnologia/value-objects",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Coleção de objetos de valores para implementação em sistemas.",
|
|
5
|
-
"main": "./dist/index.js",
|
|
5
|
+
"main": "./dist/cjs/index.js",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"types": "./dist/
|
|
7
|
+
"types": "./dist/esm/types/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/**/*",
|
|
10
10
|
"LICENSE",
|