@widergy/utilitygo-smart-bill-mobile 3.10.0 → 3.11.0

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,3 +1,10 @@
1
+ # [3.11.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.10.0...v3.11.0) (2026-02-26)
2
+
3
+
4
+ ### Features
5
+
6
+ * [EVEP-273] smartbill t2 t3 ([#66](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/66)) ([ddef20b](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/ddef20b121aeec0510b49d2ba2e7e9056c10ffc9))
7
+
1
8
  # [3.10.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.9.0...v3.10.0) (2026-02-26)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/utilitygo-smart-bill-mobile",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "UtilityGO SmartBill Mobile",
5
5
  "license": "MIT",
6
6
  "main": "src/lib/index.js",
@@ -19,7 +19,7 @@ const Billing = ({
19
19
  }) => {
20
20
  const styles = createStyles(colors);
21
21
  const { dateRange, title, tagLabel, clarification, periodDetail } = texts?.billing || {};
22
- const currentPeriod = smartBill?.periods.find(period => period.current);
22
+ const currentPeriod = smartBill?.periods?.find(period => period.current);
23
23
  const billingsToShow = getBillingsToShow(currentPeriod?.settlements, periodSpan);
24
24
 
25
25
  const { start_date: startDate, end_date: endDate } = currentPeriod?.settlements || {};