react-native-update 10.29.2 → 10.29.4

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.
@@ -73,7 +73,7 @@ static jsi::Value _hostFunction_PushyTurboModule_downloadPatchFromPpk(
73
73
  const jsi::Value* args,
74
74
  size_t count)
75
75
  {
76
- return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).call(rt,"downloadPatchFromPpk", args, count));
76
+ return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).callAsync(rt,"downloadPatchFromPpk", args, count));
77
77
  }
78
78
 
79
79
  static jsi::Value _hostFunction_PushyTurboModule_downloadPatchFromPackage(
@@ -82,7 +82,7 @@ static jsi::Value _hostFunction_PushyTurboModule_downloadPatchFromPackage(
82
82
  const jsi::Value* args,
83
83
  size_t count)
84
84
  {
85
- return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).call(rt,"downloadPatchFromPackage", args, count));
85
+ return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).callAsync(rt,"downloadPatchFromPackage", args, count));
86
86
  }
87
87
 
88
88
  static jsi::Value _hostFunction_PushyTurboModule_downloadFullUpdate(
@@ -91,7 +91,7 @@ static jsi::Value _hostFunction_PushyTurboModule_downloadFullUpdate(
91
91
  const jsi::Value* args,
92
92
  size_t count)
93
93
  {
94
- return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).call(rt,"downloadFullUpdate", args, count));
94
+ return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).callAsync(rt,"downloadFullUpdate", args, count));
95
95
  }
96
96
 
97
97
  static jsi::Value _hostFunction_PushyTurboModule_downloadAndInstallApk(
@@ -100,7 +100,7 @@ static jsi::Value _hostFunction_PushyTurboModule_downloadAndInstallApk(
100
100
  const jsi::Value* args,
101
101
  size_t count)
102
102
  {
103
- return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).call(rt,"downloadAndInstallApk", args, count));
103
+ return jsi::Value(static_cast<ArkTSTurboModule &> (turboModule).callAsync(rt,"downloadAndInstallApk", args, count));
104
104
  }
105
105
 
106
106
 
@@ -12,7 +12,7 @@ export class PushyFileJSBundleProvider extends JSBundleProvider {
12
12
  this.updateContext = new UpdateContext(context);
13
13
  }
14
14
  getURL(): string {
15
- return this.updateContext.getBundleUrl();
15
+ return this.updateContext.getBundleUrl().substring(1);
16
16
  }
17
17
 
18
18
  async getBundle(): Promise<ArrayBuffer> {
package/harmony/pushy.har CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.29.2",
3
+ "version": "10.29.4",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "scripts": {