File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "zipCodeFormat" : " numeric" ,
3+ "zipCodeLength" : 4
4+ }
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ const availableCountries = new Set([
2020 'RUS' ,
2121 'SWE' ,
2222 'USA' ,
23+ 'AUS' ,
2324] ) ;
2425
2526//////////////////////
Original file line number Diff line number Diff line change 11{
22 "name" : " region_identifier" ,
3- "version" : " 2.0.1 " ,
3+ "version" : " 2.0.2 " ,
44 "description" : " Gets the name of the region depending of the country and zip code." ,
55 "main" : " index.js" ,
66 "repository" : {
Original file line number Diff line number Diff line change 1+ {
2+ "AU-NSW" : " New South Wales" ,
3+ "AU-ACT" : " Australian Capital Territory" ,
4+ "AU-VIC" : " Victoria" ,
5+ "AU-QLD" : " Queensland" ,
6+ "AU-SA" : " South Australia" ,
7+ "AU-WA" : " Western Australia" ,
8+ "AU-TAS" : " Tasmania" ,
9+ "AU-NT" : " Northern Territory"
10+ }
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "region" : " AU-NSW" ,
4+ "low" : 1000 ,
5+ "high" : 1999
6+ },
7+ {
8+ "region" : " AU-NSW" ,
9+ "low" : 2000 ,
10+ "high" : 2599
11+ },
12+ {
13+ "region" : " AU-NSW" ,
14+ "low" : 2619 ,
15+ "high" : 2899
16+ },
17+ {
18+ "region" : " AU-NSW" ,
19+ "low" : 2921 ,
20+ "high" : 2999
21+ },
22+ {
23+ "region" : " AU-ACT" ,
24+ "low" : 200 ,
25+ "high" : 299
26+ },
27+ {
28+ "region" : " AU-ACT" ,
29+ "low" : 2600 ,
30+ "high" : 2618
31+ },
32+ {
33+ "region" : " AU-ACT" ,
34+ "low" : 2900 ,
35+ "high" : 2920
36+ },
37+ {
38+ "region" : " AU-VIC" ,
39+ "low" : 3000 ,
40+ "high" : 3996
41+ },
42+ {
43+ "region" : " AU-VIC" ,
44+ "low" : 8000 ,
45+ "high" : 8999
46+ },
47+ {
48+ "region" : " AU-QLD" ,
49+ "low" : 4000 ,
50+ "high" : 4999
51+ },
52+ {
53+ "region" : " AU-QLD" ,
54+ "low" : 9000 ,
55+ "high" : 9999
56+ },
57+ {
58+ "region" : " AU-SA" ,
59+ "low" : 5000 ,
60+ "high" : 5799
61+ },
62+ {
63+ "region" : " AU-SA" ,
64+ "low" : 5800 ,
65+ "high" : 5999
66+ },
67+ {
68+ "region" : " AU-WA" ,
69+ "low" : 6000 ,
70+ "high" : 6797
71+ },
72+ {
73+ "region" : " AU-WA" ,
74+ "low" : 6800 ,
75+ "high" : 6999
76+ },
77+ {
78+ "region" : " AU-TAS" ,
79+ "low" : 7000 ,
80+ "high" : 7799
81+ },
82+ {
83+ "region" : " AU-TAS" ,
84+ "low" : 7800 ,
85+ "high" : 7999
86+ },
87+ {
88+ "region" : " AU-NT" ,
89+ "low" : 800 ,
90+ "high" : 899
91+ },
92+ {
93+ "region" : " AU-NT" ,
94+ "low" : 900 ,
95+ "high" : 999
96+ }
97+ ]
Original file line number Diff line number Diff line change @@ -319,6 +319,16 @@ const countriesPostalCodes = {
319319 zip : '22100' ,
320320 result : 'FI-01' ,
321321 usingGoogle : false ,
322+ } , {
323+ name : 'AUS' ,
324+ zip : '0841' ,
325+ result : 'AU-NT' ,
326+ usingGoogle : false ,
327+ } , {
328+ name : 'AUS' ,
329+ zip : '2111' ,
330+ result : 'AU-NSW' ,
331+ usingGoogle : false ,
322332 } ] ,
323333} ;
324334
You can’t perform that action at this time.
0 commit comments