@abihealth/goapp-react-native 1.31.0 → 1.31.1
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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.31.1](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.31.0...goapp-react-native-v1.31.1) (2025-05-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* add optional to delivery address ([#203](https://github.com/abiglobalhealth/react-native-sdk/issues/203)) ([26f2ae3](https://github.com/abiglobalhealth/react-native-sdk/commit/26f2ae37b2d65804f85fab6fede99ad70c3f4ca5))
|
|
9
|
+
|
|
3
10
|
## [1.31.0](https://github.com/abiglobalhealth/react-native-sdk/compare/goapp-react-native-v1.30.1...goapp-react-native-v1.31.0) (2025-05-23)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -22,6 +22,7 @@ var VideoConsultation = function (_a) {
|
|
|
22
22
|
(0, eventHandler_1.handleEvent)(consultation, eventHandlers);
|
|
23
23
|
}, [consultation, eventHandlers]);
|
|
24
24
|
var getConsultationScreen = (0, react_1.useCallback)(function (consultation) {
|
|
25
|
+
var _a;
|
|
25
26
|
var validActiveType = (0, valid_active_type_1.checkValidActiveType)(consultation, consultation_1.CASE_TYPE.VIDEO);
|
|
26
27
|
if (!validActiveType)
|
|
27
28
|
return <NotValidActiveTypeScreen_1.NotValidActiveTypeScreen caseType={consultation.type}/>;
|
|
@@ -37,7 +38,7 @@ var VideoConsultation = function (_a) {
|
|
|
37
38
|
case consultation_1.CONSULTATION_STATUS.VIDEO_CALL_ENDED:
|
|
38
39
|
return <PreparingSummaryScreen_1.PreparingSummaryScreen professional={professional}/>;
|
|
39
40
|
case consultation_1.CONSULTATION_STATUS.WAITING_FOR_INFO:
|
|
40
|
-
if (prescription === null || prescription === void 0 ? void 0 : prescription.data.delivery.address)
|
|
41
|
+
if ((_a = prescription === null || prescription === void 0 ? void 0 : prescription.data.delivery) === null || _a === void 0 ? void 0 : _a.address)
|
|
41
42
|
return <ProcessingPrescriptionScreen_1.ProcessingPrescriptionScreen />;
|
|
42
43
|
return <DeliveryAddressScreen_1.DeliveryAddressScreen initialDeliveryAddress={deliveryAddress}/>;
|
|
43
44
|
default:
|