@hedia/recommendation-screen 2.2.0-alpha.28 → 2.2.0-alpha.29
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.
|
@@ -253,6 +253,6 @@ export declare function checkCarbohydrates(carbohydrates: number): void;
|
|
|
253
253
|
*
|
|
254
254
|
* Steps:
|
|
255
255
|
* 1. Check if forecasted glucose is above very low limit. If it isn’t then throw a ForecastedGlucoseIsVeryLowError().
|
|
256
|
-
* @param
|
|
256
|
+
* @param forecast The forecast data, that includes `forecastGlucoseMmoll` and `forecastTimestamp`
|
|
257
257
|
*/
|
|
258
258
|
export declare function checkVeryLowForecastedGlucose(forecast: IForecast | undefined): void;
|
|
@@ -413,7 +413,7 @@ export function checkCarbohydrates(carbohydrates) {
|
|
|
413
413
|
*
|
|
414
414
|
* Steps:
|
|
415
415
|
* 1. Check if forecasted glucose is above very low limit. If it isn’t then throw a ForecastedGlucoseIsVeryLowError().
|
|
416
|
-
* @param
|
|
416
|
+
* @param forecast The forecast data, that includes `forecastGlucoseMmoll` and `forecastTimestamp`
|
|
417
417
|
*/
|
|
418
418
|
export function checkVeryLowForecastedGlucose(forecast) {
|
|
419
419
|
if (forecast?.forecastGlucoseMmoll) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hedia/recommendation-screen",
|
|
3
|
-
"version": "2.2.0-alpha.
|
|
3
|
+
"version": "2.2.0-alpha.29",
|
|
4
4
|
"description": "Hedia Recommendation Screen for Bolus and Carbohydrates",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"typescript": "4.4.3"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@hedia/types": "2.
|
|
86
|
+
"@hedia/types": "2.3.15",
|
|
87
87
|
"@lingui/babel-preset-react": "2.9.2",
|
|
88
88
|
"@lingui/cli": "2.9.2",
|
|
89
89
|
"@lingui/macro": "2.9.2",
|