diff --git a/README.md b/README.md
index 770ad4f..e6e0879 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,8 @@ Feel free to find bugs and report them to me. Your feedback is highly appreciate
jsDelivr:
+CJS:
+
```bash
https://cdn.jsdelivr.net/npm/multiform-validator@2.2.0/dist/cjs/index.min.js
```
@@ -27,12 +29,14 @@ https://cdn.jsdelivr.net/npm/multiform-validator@2.2.0/dist/cjs/index.min.js
unpkg:
+CJS:
+
```bash
-https://unpkg.com/multiform-validator@2.2.0/dist/cjs/index.js
+https://unpkg.com/multiform-validator@2.2.1/dist/cjs/index.cjs
```
```html
-
+
```
### Example of use with CDN
diff --git a/package.json b/package.json
index 3713f64..0ab433f 100644
--- a/package.json
+++ b/package.json
@@ -1,10 +1,11 @@
{
"name": "multiform-validator",
- "version": "2.2.1",
+ "version": "2.2.2",
"description": "Javascript library made to validate, several form fields, such as: email, images, phone, password, cpf etc.",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./types/index.d.ts",
+ "unpkg": "./dist/cjs/index.cjs",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
@@ -12,7 +13,6 @@
"types": "./types/index.d.ts"
}
},
- "unpkg": "./dist/cjs/index.js",
"scripts": {
"test": "jest --coverage",
"test:file": "jest tests/src/isDecimal.test --watch",