@yext/phonenumber-util 0.2.1 → 0.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yext/phonenumber-util",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "author": "bajohnson@hearsaycorp.com",
5
5
  "license": "BSD-3-Clause",
6
6
  "description": "Utility for extracting and validating phone numbers",
@@ -21,6 +21,7 @@ export const AREA_CODE_LIST = [
21
21
  '223',
22
22
  '224',
23
23
  '225',
24
+ '226',
24
25
  '257',
25
26
  '228',
26
27
  '229',
package/src/phoneCodes.js CHANGED
@@ -389,6 +389,7 @@ export const AREA_CODES = {
389
389
  state: 'NS/PE',
390
390
  region: CANADA,
391
391
  },
392
+ 226: { name: 'Ontario', code: 'ON', region: CANADA },
392
393
  289: { name: 'Ontario', code: 'ON', region: CANADA },
393
394
  343: { name: 'Ontario', code: 'ON', region: CANADA },
394
395
  365: { name: 'Ontario', code: 'ON', region: CANADA },