querysub 0.703.0 → 0.704.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.703.0",
3
+ "version": "0.704.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -856,7 +856,8 @@ class QRenderClass {
856
856
  for (let [key, value] of Object.entries(vNode.props)) {
857
857
  rawProps[key] = value;
858
858
  }
859
- if (statics.deepProps) {
859
+ let childStatics = vNode.type as QComponentStatic;
860
+ if (childStatics.deepProps) {
860
861
  // NOTE: By removing atomic we can leverage the proxy automatically decomposing
861
862
  // the props to each individual primitive value.
862
863
  doProxyOptions({ atomicWrites: false }, () => {
@@ -864,7 +865,7 @@ class QRenderClass {
864
865
  props = syncedData.props;
865
866
  });
866
867
  } else {
867
- let atomicProps = statics.atomicSetProps || statics.jsonComparePropUpdates;
868
+ let atomicProps = childStatics.atomicSetProps || childStatics.jsonComparePropUpdates;
868
869
  if (atomicProps) {
869
870
  syncedData.props = vNode.props;
870
871
  }