create-cartbase 0.1.22 → 0.1.23
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
|
@@ -565,12 +565,18 @@ code-first through the error-copy maps, never raw API strings.
|
|
|
565
565
|
`-locker`. Nearest three by haversine distance to the typed address, each
|
|
566
566
|
with its distance, and a door to search the whole catalogue. The shape
|
|
567
567
|
Alenika's checkout has carried since it was built.
|
|
568
|
-
- **SDK calls** — `integrations.listPickupPoints(client, provider, {mode,
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
568
|
+
- **SDK calls** — `integrations.listPickupPoints(client, provider, {mode,
|
|
569
|
+
catalogue: true, locale})`, one door for all carriers. The complete eligible
|
|
570
|
+
catalogue is cached per SDK client, carrier, mode and language for ten
|
|
571
|
+
minutes, then ranked by distance BEFORE taking three results. Search runs
|
|
572
|
+
over the same complete list, matching name, city, street and postcode in
|
|
573
|
+
Latin or Cyrillic. BoxNow restricts both lists to the checkout city, as in
|
|
574
|
+
Alenika's picker; offices search the whole catalogue. Without a geocoded
|
|
575
|
+
address, results fall back to the typed city without displaying distances.
|
|
576
|
+
The mounted locale pack selects Speedy's BG/EN names and addresses.
|
|
577
|
+
Speedy APT lockers and Econt APS stations never appear as offices.
|
|
578
|
+
Pigeon's adapter reads every page. The original `{mode, q, limit}` search
|
|
579
|
+
call remains available to other consumers.
|
|
574
580
|
- **Props contract** — `{client, provider, mode, userCity, userAddress,
|
|
575
581
|
selectedPoint, onSelect}`. `onSelect` receives the point AND the carrier's
|
|
576
582
|
own key names, which arrive with the answer from the platform's
|