@nicefer/types 1.0.169 → 1.0.171
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/countries.js +2 -2
- package/package.json +3 -1
package/dist/countries.js
CHANGED
|
@@ -195,7 +195,7 @@ function getRegionsByCountryId(id) {
|
|
|
195
195
|
* @param c2
|
|
196
196
|
* @returns
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
const compareCountries = (c1, c2) => c1 && c2 ? c1.id === c2.id : false;
|
|
199
199
|
exports.compareCountries = compareCountries;
|
|
200
|
-
|
|
200
|
+
const compareRegions = (r1, r2) => r1 && r2 ? r1.id === r2.id : false;
|
|
201
201
|
exports.compareRegions = compareRegions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nicefer/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.171",
|
|
4
4
|
"description": "Tipos compartidos para Nicefer",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
],
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
+
"import": "./dist/index.js",
|
|
12
13
|
"types": "./dist/index.d.ts"
|
|
13
14
|
},
|
|
14
15
|
"./org": {
|
|
16
|
+
"import": "./dist/org/index.js",
|
|
15
17
|
"types": "./dist/org/index.d.ts"
|
|
16
18
|
}
|
|
17
19
|
},
|