docthub-core-components 3.3.14 → 3.3.15

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.
@@ -193,7 +193,7 @@ const Qe = /\D/g, te = (r) => r.replace(Qe, ""), Fe = (r) => {
193
193
  d
194
194
  ] }), e[15] = $, e[16] = x, e[17] = y, e[18] = i, e[19] = d, e[20] = C) : C = e[20], C;
195
195
  }, Ze = ke.getCountries(), et = (r) => {
196
- if (!r)
196
+ if (r === void 0)
197
197
  return Ze.map((t) => ({
198
198
  value: t,
199
199
  label: new Intl.DisplayNames(["en"], {
@@ -201,7 +201,8 @@ const Qe = /\D/g, te = (r) => r.replace(Qe, ""), Fe = (r) => {
201
201
  }).of(t) ?? t,
202
202
  countryCode: `+${q(t)}`
203
203
  }));
204
- if (r.length === 0) return [];
204
+ if (r.length === 0)
205
+ return [];
205
206
  const e = r[0];
206
207
  return e && typeof e == "object" && "countryId" in e ? r.map((t) => ({
207
208
  value: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docthub-core-components",
3
- "version": "3.3.14",
3
+ "version": "3.3.15",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",