Skip to content

Commit

Permalink
Merge pull request #615 from vtex/loc/16501-4x
Browse files Browse the repository at this point in the history
Add new postal codes to DOM.js
  • Loading branch information
GeorgeLimaDev authored Oct 2, 2024
2 parents 4c6babb + 430cc17 commit 34c050a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added
- Two new postal codes to Dominican Republic (DOM) country file.

## [4.25.3] - 2024-10-02

### Fixed
Expand Down
8 changes: 5 additions & 3 deletions react/country/DOM.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TWO_LEVELS } from '../constants'
import { secondLevelPostalCodes } from '../transforms/postalCodes'
import { getOneLevel, getTwoLevels } from '../transforms/addressFieldsOptions'
import { secondLevelPostalCodes } from '../transforms/postalCodes'

// Based on sheet provided by Rodolfo Bússola:
// https://docs.google.com/spreadsheets/d/1_uoFfVCg-E8lrGJ235ZkcqnK0cspyX53/edit?usp=sharing&ouid=113929948326320493678&rtpof=true&sd=true
Expand Down Expand Up @@ -43,7 +43,8 @@ const countryData = {
'El Pino': '63400'
},
'Distrito Nacional': {
'Santo Domingo De Guzmán': '10101'
'Santo Domingo De Guzmán': '10101',
'Santo Domingo Distrito Nacional': '10100'
},
Duarte: {
'San Francisco de Macorís': '31000',
Expand All @@ -69,7 +70,8 @@ const countryData = {
Moca: '53011',
'Cayetano Germosén': '56100',
'Gaspar Hernández': '56200',
'Jamao Al Norte': '56400'
'Jamao Al Norte': '56400',
'El Higuerito': '56000'
},
'Hato Mayor': {
'Hato Mayor': '25000',
Expand Down

0 comments on commit 34c050a

Please sign in to comment.