react-native-mosquito-transport 0.0.25 → 0.0.26

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": "react-native-mosquito-transport",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "description": "React native javascript sdk for mosquito-transport (https://github.com/brainbehindx/mosquito-transport)",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -66,7 +66,7 @@ export const getFetchResources = async (projectUrl, access_id) => {
66
66
  const res = await useSqliteLinearAccessId(FETCH_RESOURCES(projectUrl), access_id, 'httpFetch')(async sqlite => {
67
67
  const query = await sqlite.executeSql('SELECT * FROM main WHERE access_id = ?', [access_id]).catch(() => null);
68
68
 
69
- const rawData = query && query[0].rows.item(0).value;
69
+ const rawData = query && query[0].rows.item(0)?.value;
70
70
  if (!rawData) return null;
71
71
 
72
72
  const data = await parseBigData(rawData);