@arrai-innovations/reactive-helpers 8.5.3 → 8.5.4

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": "@arrai-innovations/reactive-helpers",
3
- "version": "8.5.3",
3
+ "version": "8.5.4",
4
4
  "description": "VueJS 3 utility composition functions to help manipulate objects and lists.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -49,14 +49,13 @@ export function useListSubscription({ listInstance, props, functions }) {
49
49
  );
50
50
  }
51
51
  if (!listInstance) {
52
- listInstance = useListInstance({ props, functions });
53
- } else {
54
52
  if (!("listArgs" in props)) {
55
53
  console.error("listArgs not set, must be true for intendToList or intendToSubscribe to work.");
56
54
  }
57
55
  if (!("retrieveArgs" in props)) {
58
56
  console.error("retrieveArgs not set, must be true for intendToList or intendToSubscribe to work.");
59
57
  }
58
+ listInstance = useListInstance({ props, functions });
60
59
  }
61
60
  if (!listInstance.state.crud.subscribe) {
62
61
  listInstance.state.crud.subscribe = defaultCrud.subscribe;