@code-plate/iran-cities 1.1.0 → 1.2.0

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.
@@ -3,6 +3,7 @@ type ProvinceId = number;
3
3
  interface Coordinates {
4
4
  lat: number;
5
5
  lng: number;
6
+ confidence: 'high' | 'medium' | 'low';
6
7
  }
7
8
  interface City {
8
9
  id: CityId;
@@ -3,6 +3,7 @@ type ProvinceId = number;
3
3
  interface Coordinates {
4
4
  lat: number;
5
5
  lng: number;
6
+ confidence: 'high' | 'medium' | 'low';
6
7
  }
7
8
  interface City {
8
9
  id: CityId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-plate/iran-cities",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "لیست کامل استان‌ها و شهرهای ایران (فارسی/انگلیسی) به‌همراه ابزارهای جستجو - بدون وابستگی، سازگار با هر فریمورک جاوااسکریپتی (React, Next.js, Vue, Angular, Node.js/Express و ...)",
5
5
  "keywords": [
6
6
  "iran",
@@ -12,6 +12,8 @@
12
12
  "فارسی",
13
13
  "پارسی",
14
14
  "شهرها و استان‌های ایران",
15
+ "iran cities",
16
+ "iran locations",
15
17
  "persian",
16
18
  "farsi",
17
19
  "location",
@@ -46,13 +48,22 @@
46
48
  },
47
49
  "files": [
48
50
  "dist",
49
- "NOTICE.md"
51
+ "NOTICE.md",
52
+ "CHANGELOG.md"
50
53
  ],
54
+ "peerDependencies": {
55
+ "react": ">=16.8.0"
56
+ },
57
+ "peerDependenciesMeta": {
58
+ "react": {
59
+ "optional": true
60
+ }
61
+ },
51
62
  "devDependencies": {
52
63
  "@types/react": "^19.3.0",
53
64
  "react": "^19.3.0",
54
65
  "tsup": "^8.5.1",
55
- "typescript": "^5"
66
+ "typescript": "^5.9.3"
56
67
  },
57
68
  "scripts": {
58
69
  "build": "tsup",
@@ -62,14 +73,6 @@
62
73
  "test": "npm run validate && npm run typecheck",
63
74
  "prepublishOnly": "npm test && npm run build"
64
75
  },
65
- "peerDependencies": {
66
- "react": ">=16.8.0"
67
- },
68
- "peerDependenciesMeta": {
69
- "react": {
70
- "optional": true
71
- }
72
- },
73
76
  "engines": {
74
77
  "node": ">=14"
75
78
  },
@@ -77,6 +80,6 @@
77
80
  "access": "public"
78
81
  },
79
82
  "allowScripts": {
80
- "esbuild@0.28.2": true
83
+ "esbuild@0.27.7": true
81
84
  }
82
85
  }