@applicaster/zapp-react-dom-app 16.0.0-rc.28 → 16.0.0-rc.29

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.
@@ -26,7 +26,7 @@ export function StorageMock() {
26
26
 
27
27
  delete this[key];
28
28
 
29
- return true;
29
+ // Return undefined like the real API; a truthy return would re-mask the bug.
30
30
  };
31
31
 
32
32
  storage.getItem = (key) => {
@@ -155,7 +155,11 @@ export function getStorageModule(type) {
155
155
  function removeItem(key, namespace = DEFAULT_NAMESPACE) {
156
156
  const keyName = applyNamespaceToKeyName(key, namespace);
157
157
 
158
- return tryAndResolve(() => Storage.callMethod("removeItem", keyName));
158
+ return tryAndResolve(() => {
159
+ Storage.callMethod("removeItem", keyName);
160
+
161
+ return true;
162
+ });
159
163
  }
160
164
 
161
165
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applicaster/zapp-react-dom-app",
3
- "version": "16.0.0-rc.28",
3
+ "version": "16.0.0-rc.29",
4
4
  "description": "Zapp App Component for Applicaster's Quick Brick React Native App",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/applicaster/zapp-react-dom-app#readme",
24
24
  "dependencies": {
25
- "@applicaster/zapp-react-dom-ui-components": "16.0.0-rc.28",
26
- "@applicaster/zapp-react-native-bridge": "16.0.0-rc.28",
27
- "@applicaster/zapp-react-native-redux": "16.0.0-rc.28",
28
- "@applicaster/zapp-react-native-ui-components": "16.0.0-rc.28",
29
- "@applicaster/zapp-react-native-utils": "16.0.0-rc.28",
25
+ "@applicaster/zapp-react-dom-ui-components": "16.0.0-rc.29",
26
+ "@applicaster/zapp-react-native-bridge": "16.0.0-rc.29",
27
+ "@applicaster/zapp-react-native-redux": "16.0.0-rc.29",
28
+ "@applicaster/zapp-react-native-ui-components": "16.0.0-rc.29",
29
+ "@applicaster/zapp-react-native-utils": "16.0.0-rc.29",
30
30
  "abortcontroller-polyfill": "^1.7.5",
31
31
  "typeface-montserrat": "^0.0.54",
32
32
  "video.js": "7.14.3",