@applicaster/zapp-react-native-bridge 14.0.0-rc.56 → 14.0.0-rc.58
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/OfflineAssets/index.ts +5 -1
- package/package.json +2 -2
package/OfflineAssets/index.ts
CHANGED
|
@@ -102,7 +102,11 @@ export const remapAssetPath = (
|
|
|
102
102
|
|
|
103
103
|
// Traverse the path to the appropriate nested object
|
|
104
104
|
for (let i = 0; i < path.length - 1; i++) {
|
|
105
|
-
|
|
105
|
+
if (typeof target[path[i]] !== "object" || target[path[i]] === null) {
|
|
106
|
+
target[path[i]] = {};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
target = target[path[i]];
|
|
106
110
|
}
|
|
107
111
|
|
|
108
112
|
if (!target) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applicaster/zapp-react-native-bridge",
|
|
3
|
-
"version": "14.0.0-rc.
|
|
3
|
+
"version": "14.0.0-rc.58",
|
|
4
4
|
"description": "Applicaster Zapp React Native modules",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"homepage": "https://github.com/applicaster/quickbrick#readme",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@applicaster/zapp-pipes-dev-kit": "1.4.7",
|
|
35
|
-
"@applicaster/zapp-react-native-utils": "14.0.0-rc.
|
|
35
|
+
"@applicaster/zapp-react-native-utils": "14.0.0-rc.58",
|
|
36
36
|
"md5": "^2.3.0",
|
|
37
37
|
"uuid": "^3.3.2"
|
|
38
38
|
},
|