@singularsystems/neo-react 1.3.7 → 1.3.8

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
@@ -2,6 +2,11 @@
2
2
 
3
3
  This file details all new features and changes to functionality. If you only need to see changes that require updates to your project, see the [breaking changes](./Breaking.md) readme.
4
4
 
5
+ ## Version 1.3.8 (24 Nov 2025)
6
+
7
+ - Deserialiser
8
+ - Fixed plain arrays not deserialising when marked with `ChildList` attribute.
9
+
5
10
  ## Version 1.3.7 (18 Nov 2025)
6
11
 
7
12
  - Modals shown with ModalUtils will now preserve pre-formatted text if the provided content is a string.
@@ -141,6 +141,10 @@ var ReactModelCreator = /** @class */ (function (_super) {
141
141
  };
142
142
  ReactModelCreator.prototype.setupList = function (object, propertyName, originalList) {
143
143
  var obsArray = object[propertyName];
144
+ if ((originalList === null || originalList === void 0 ? void 0 : originalList.setupProxy) === undefined) {
145
+ // This is a plain array, not a neo list.
146
+ return;
147
+ }
144
148
  List.copyMethods(obsArray);
145
149
  originalList.setupProxy(obsArray, object);
146
150
  // Don't allow list to change, just change the list contents.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singularsystems/neo-react",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "React application logic and components for the Neo client library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",