Skip to content

Commit d608a30

Browse files
committed
⚡ (phoneInput) Add missing Dominican Republic dial codes
Closes baptisteArno#649
1 parent b5b0788 commit d608a30

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

apps/builder/src/features/blocks/inputs/phone/components/CountryCodeSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const CountryCodeSelect = ({ countryCode, onSelect }: Props) => {
7070
<option value="DK">Denmark (+45)</option>
7171
<option value="DJ">Djibouti (+253)</option>
7272
<option value="DM">Dominica (+1809)</option>
73-
<option value="DO">Dominican Republic (+1809)</option>
73+
<option value="DO">Dominican Republic (+18XX)</option>
7474
<option value="EC">Ecuador (+593)</option>
7575
<option value="EG">Egypt (+20)</option>
7676
<option value="SV">El Salvador (+503)</option>

packages/embeds/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/js",
3-
"version": "0.2.69",
3+
"version": "0.2.70",
44
"description": "Javascript library to display typebots on your website",
55
"type": "module",
66
"main": "dist/index.js",

packages/embeds/nextjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/nextjs",
3-
"version": "0.2.69",
3+
"version": "0.2.70",
44
"description": "Convenient library to display typebots on your Next.js website",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/embeds/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typebot.io/react",
3-
"version": "0.2.69",
3+
"version": "0.2.70",
44
"description": "Convenient library to display typebots on your React app",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/lib/phoneCountries.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,18 @@ export const phoneCountries = [
377377
code: 'DO',
378378
dial_code: '+1849',
379379
},
380+
{
381+
name: 'Dominican Republic',
382+
flag: '🇩🇴',
383+
code: 'DO',
384+
dial_code: '+1829',
385+
},
386+
{
387+
name: 'Dominican Republic',
388+
flag: '🇩🇴',
389+
code: 'DO',
390+
dial_code: '+1809',
391+
},
380392
{
381393
name: 'Ecuador',
382394
flag: '🇪🇨',

0 commit comments

Comments
 (0)