@singularsystems/neo-core 1.3.6 → 1.3.7

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,10 @@
1
1
  # Neo core changelog
2
2
 
3
+ ## Version 1.3.7 (24 Nov 2025)
4
+
5
+ - Deserialiser
6
+ - Fixed plain arrays not deserialising when marked with `ChildList` attribute (again).
7
+
3
8
  ## Version 1.3.6 (18 Nov 2025)
4
9
 
5
10
  - Deserialiser
@@ -188,7 +188,7 @@ var Deserialiser = /** @class */ (function () {
188
188
  }
189
189
  else {
190
190
  if (fromValue instanceof Array && !propertyInfo.assignOnDeserialise) {
191
- if (!to[key] || !(to[key] instanceof Array) || to[key].canDeserialise) {
191
+ if (!to[key] || !(to[key] instanceof Array) || propertyInfo.itemConstructorOptions || to[key].canDeserialise) {
192
192
  // Deserialise into full list / array.
193
193
  if (!to[key] && propertyInfo.relationType === RelationType.ChildList) {
194
194
  // If the property is null, assume it is an array, not a list.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singularsystems/neo-core",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Core functionality for the Neo client library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",