react-native-update 10.13.1 → 10.13.2

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-update",
3
- "version": "10.13.1",
3
+ "version": "10.13.2",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -277,7 +277,7 @@ export class Pushy {
277
277
  paths = [],
278
278
  name,
279
279
  description = '',
280
- metaInfo = '',
280
+ metaInfo,
281
281
  } = info;
282
282
  if (
283
283
  this.options.beforeDownloadUpdate &&
package/src/provider.tsx CHANGED
@@ -165,6 +165,7 @@ export const PushyProvider = ({
165
165
  if (!info) {
166
166
  return;
167
167
  }
168
+ info.description = info.description ?? '';
168
169
  updateInfoRef.current = info;
169
170
  setUpdateInfo(info);
170
171
  if (info.expired) {