@superrouteca/slocker-react 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/CHANGELOG.md +13 -0
- package/README.md +5 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# 0.2.2
|
|
2
|
+
|
|
3
|
+
## SDK
|
|
4
|
+
|
|
5
|
+
### Customer side
|
|
6
|
+
- **Extend a pickup**: when the service provider allows it, the person extends the pickup time of a parcel waiting in a locker by the hours it sets. A pickup now says when it must be collected by and what extension is offered.
|
|
7
|
+
- **Low compartments**: read whether the service provider offers low compartments and ask for them, or stop asking, for the person's locker parcels.
|
|
8
|
+
|
|
9
|
+
## UI kits
|
|
10
|
+
|
|
11
|
+
### Flutter, web, React, React Native, SwiftUI, Jetpack Compose, WPF and WinForms
|
|
12
|
+
- **Pickup list**: shows the pickup deadline and, when an extension is offered, a button that extends it after confirming, in 14 languages.
|
|
13
|
+
|
|
1
14
|
# 0.2.1
|
|
2
15
|
|
|
3
16
|
## SDK
|
package/README.md
CHANGED
|
@@ -239,7 +239,7 @@ $sl->partnerLockerDeliveries(status: 'delivered', perPage: 50);
|
|
|
239
239
|
### Java and Kotlin
|
|
240
240
|
|
|
241
241
|
Add the Maven repository `https://goodneo-solutions.github.io/slocker-releases/maven`, then
|
|
242
|
-
`implementation("ca.superroute:slocker:0.2.
|
|
242
|
+
`implementation("ca.superroute:slocker:0.2.2")` — or, in an Android app, `ca.superroute:slocker-android:0.2.2`.
|
|
243
243
|
|
|
244
244
|
```java
|
|
245
245
|
Client sl = Client.builder().token(token).providerId(4611L).build(); // java.net.http, or HttpURLConnection on Android
|
|
@@ -332,7 +332,9 @@ the client scope is `pickups`, `locker-locations`, `locker-storage`, `locker-sho
|
|
|
332
332
|
|
|
333
333
|
New in sLocker: `lockerResaleTerms`, `lockerResaleDeals`, `lockerResaleDeal`, `createLockerResaleDeal`,
|
|
334
334
|
`releaseLockerResaleCode`, `revokeLockerResaleCode`, `abortLockerResaleDeal`, `cancelLockerResaleDeal`,
|
|
335
|
-
`reportLockerResaleDeal` (`/app/v1/locker-resale/…`).
|
|
335
|
+
`reportLockerResaleDeal` (`/app/v1/locker-resale/…`); from 0.2.2 `platformAppExtendPickup`
|
|
336
|
+
(`POST /app/v1/pickups/{deliveryId}/extend`) and `platformAppPickupPreferences` / `platformAppSavePickupPreferences`
|
|
337
|
+
(`GET` / `PUT /app/v1/pickups/preferences`).
|
|
336
338
|
|
|
337
339
|
### sLocker on its own
|
|
338
340
|
|
|
@@ -397,7 +399,7 @@ locker.api.platform_app_pickups(status='ready')
|
|
|
397
399
|
```
|
|
398
400
|
|
|
399
401
|
```swift
|
|
400
|
-
// Package.swift: .package(url: "https://github.com/Goodneo-Solutions/slocker-customer-releases", from: "0.2.
|
|
402
|
+
// Package.swift: .package(url: "https://github.com/Goodneo-Solutions/slocker-customer-releases", from: "0.2.2")
|
|
401
403
|
// in the target: .product(name: "SLockerCustomer", package: "slocker-customer-releases"), and "SLockerUI" for the kit;
|
|
402
404
|
// sApp (sapp-releases) comes with it.
|
|
403
405
|
import SApp
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superrouteca/slocker-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "sLocker for React: the pickup list and the locker map as React components over the sLocker web UI kit, with the client from sApp's SuperrouteProvider.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Goodneo Solutions",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"files": ["src", "types", "README.md", "LICENSE", "CHANGELOG.md"],
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@superrouteca/slocker-ui": "0.2.
|
|
21
|
+
"@superrouteca/slocker-ui": "0.2.2",
|
|
22
22
|
"@superrouteca/sapp": "0.2.5",
|
|
23
23
|
"@superrouteca/sapp-react": "0.2.5"
|
|
24
24
|
},
|