@xh/hoist 73.0.0-SNAPSHOT.1743512234296 → 73.0.0-SNAPSHOT.1743781894378
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 +1 -0
- package/data/Store.ts +3 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
package/data/Store.ts
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
isEmpty,
|
|
19
19
|
isFunction,
|
|
20
20
|
isNil,
|
|
21
|
+
isNull,
|
|
21
22
|
isString,
|
|
22
23
|
values,
|
|
23
24
|
remove as lodashRemove,
|
|
@@ -692,6 +693,8 @@ export class Store extends HoistBase {
|
|
|
692
693
|
* for backwards compat with app code predating support for multiple {@link summaryRecords}.
|
|
693
694
|
*/
|
|
694
695
|
get summaryRecord(): StoreRecord {
|
|
696
|
+
if (isNull(this.summaryRecords)) return null;
|
|
697
|
+
|
|
695
698
|
throwIf(
|
|
696
699
|
this.summaryRecords.length > 1,
|
|
697
700
|
'Store has multiple summary records - must access via Store.summaryRecords.'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "73.0.0-SNAPSHOT.
|
|
3
|
+
"version": "73.0.0-SNAPSHOT.1743781894378",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|