Skip to content

Commit

Permalink
⚡ (phoneInput) Add missing Dominican Republic dial codes
Browse files Browse the repository at this point in the history
Closes #649
  • Loading branch information
baptisteArno committed Apr 11, 2024
1 parent b5b0788 commit d608a30
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const CountryCodeSelect = ({ countryCode, onSelect }: Props) => {
<option value="DK">Denmark (+45)</option>
<option value="DJ">Djibouti (+253)</option>
<option value="DM">Dominica (+1809)</option>
<option value="DO">Dominican Republic (+1809)</option>
<option value="DO">Dominican Republic (+18XX)</option>
<option value="EC">Ecuador (+593)</option>
<option value="EG">Egypt (+20)</option>
<option value="SV">El Salvador (+503)</option>
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typebot.io/js",
"version": "0.2.69",
"version": "0.2.70",
"description": "Javascript library to display typebots on your website",
"type": "module",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typebot.io/nextjs",
"version": "0.2.69",
"version": "0.2.70",
"description": "Convenient library to display typebots on your Next.js website",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/embeds/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@typebot.io/react",
"version": "0.2.69",
"version": "0.2.70",
"description": "Convenient library to display typebots on your React app",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
12 changes: 12 additions & 0 deletions packages/lib/phoneCountries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,18 @@ export const phoneCountries = [
code: 'DO',
dial_code: '+1849',
},
{
name: 'Dominican Republic',
flag: '🇩🇴',
code: 'DO',
dial_code: '+1829',
},
{
name: 'Dominican Republic',
flag: '🇩🇴',
code: 'DO',
dial_code: '+1809',
},
{
name: 'Ecuador',
flag: '🇪🇨',
Expand Down

0 comments on commit d608a30

Please sign in to comment.