@applicaster/zapp-react-native-utils 15.0.0-alpha.1351496011 → 15.0.0-alpha.1692821627

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.
@@ -64,8 +64,6 @@ export async function setFocusOnContent(currentRoute: string) {
64
64
 
65
65
  const { success } = setInitialFocus(content);
66
66
 
67
- console.log("debug_2", "setFocusOnContent", { success, currentRoute });
68
-
69
67
  if (!success) {
70
68
  // we've failed to put initial focus on content, re-run "setFocusOnContent" again as a fallback
71
69
  throw Error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-native-utils",
3
- "version": "15.0.0-alpha.1351496011",
3
+ "version": "15.0.0-alpha.1692821627",
4
4
  "description": "Applicaster Zapp React Native utilities package",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/applicaster/quickbrick#readme",
29
29
  "dependencies": {
30
- "@applicaster/applicaster-types": "15.0.0-alpha.1351496011",
30
+ "@applicaster/applicaster-types": "15.0.0-alpha.1692821627",
31
31
  "buffer": "^5.2.1",
32
32
  "camelize": "^1.0.0",
33
33
  "dayjs": "^1.11.10",
@@ -151,7 +151,13 @@ export const useBatchLoading = (
151
151
  }
152
152
  }
153
153
  });
154
- }, [feedUrls, feeds, loadPipesDataDispatcher]);
154
+ }, [
155
+ batchComponents,
156
+ feeds,
157
+ getUrl,
158
+ loadPipesDataDispatcher,
159
+ options.riverId,
160
+ ]);
155
161
 
156
162
  React.useEffect(() => {
157
163
  runBatchLoading();
@@ -34,7 +34,9 @@ export const usePipesCacheReset = (riverId, riverComponents) => {
34
34
  component
35
35
  );
36
36
 
37
- dispatch(clearPipesData(url, { riverId }));
37
+ if (url) {
38
+ dispatch(clearPipesData(url, { riverId }));
39
+ }
38
40
  }
39
41
  });
40
42
  };
package/utils/index.ts CHANGED
@@ -34,4 +34,6 @@ export {
34
34
  last,
35
35
  toLower,
36
36
  isEqual as equals,
37
+ uniq,
38
+ uniqWith,
37
39
  } from "lodash";