@geoalgeria/poste 2.1.0 → 2.1.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.
@@ -4,7 +4,7 @@
4
4
  "name": "Algeria post offices & ATMs",
5
5
  "alternateName": "Bureaux de poste et GAB d'Algérie",
6
6
  "identifier": "@geoalgeria/poste",
7
- "description": "Post offices and Baridi Mob ATMs from Algérie Poste's baridimap portal.",
7
+ "description": "Post offices and Baridi Mob ATMs from Algérie Poste's BaridiMap portal. BaridiMap still assigns some records to pre-2026 mother wilayas. Office wilaya_code is reconciled through canonical commune_code. ATM linkage is reconciled only when its exact current or official ONS 2021 French or Arabic commune label, mother relationship, and sole polygon containment agree. source_wilaya_code preserves a differing provider value.",
8
8
  "conditionsOfAccess": "Data © Algérie Poste; redistributed for reference",
9
9
  "isAccessibleForFree": true,
10
10
  "creator": {
@@ -20,7 +20,7 @@
20
20
  "box": "19.562719 -8.165285 37.067213 10.195022"
21
21
  }
22
22
  },
23
- "variableMeasured": "5934 records, 58 wilayas",
23
+ "variableMeasured": "5934 records, 69 wilayas",
24
24
  "distribution": [
25
25
  {
26
26
  "@type": "DataDownload",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoalgeria/poste",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "type": "module",
5
5
  "description": "Algeria post offices (3908) and ATMs (2026) — real postal codes, bilingual names, coordinates, commune/wilaya linkage. Sourced from Algérie Poste (baridimap.poste.dz). JSON, CSV, GeoJSON.",
6
6
  "main": "index.js",
@@ -39,7 +39,7 @@
39
39
  "dz"
40
40
  ],
41
41
  "author": "Yasser's Studio (https://yasser.studio)",
42
- "license": "MIT",
42
+ "license": "SEE LICENSE IN LICENSE",
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
package/types/index.d.ts CHANGED
@@ -29,6 +29,9 @@ export interface PostOffice {
29
29
  name_ar: string;
30
30
  /** Wilaya code, zero-padded 2-digit string ("01".."69"). */
31
31
  wilaya_code: string;
32
+ /** Algérie Poste's pre-reform wilaya code when the commune now belongs to a
33
+ * wilaya created in 2026. Omitted when it matches `wilaya_code`. */
34
+ source_wilaya_code?: string;
32
35
  /** Commune (ONS) code as a 4-digit string. */
33
36
  commune_code: string;
34
37
  /** Algérie Poste's provider-native commune code when it differs from the
@@ -67,9 +70,9 @@ export interface Atm {
67
70
  name: string;
68
71
  /** Wilaya code, zero-padded 2-digit string ("01".."69"). */
69
72
  wilaya_code: string;
70
- /** Commune (ONS) code. Currently null for every ATM (the source resolves ATMs
71
- * to a commune name only); typed as `string | null` so a future populated
72
- * value is not a breaking change. */
73
+ /** Provider wilaya code when it differs from the reconciled current code. */
74
+ source_wilaya_code?: string;
75
+ /** Commune (ONS) code when the name, mother wilaya, and point agree. */
73
76
  commune_code: string | null;
74
77
  /** Commune name (French). */
75
78
  commune: string;