react-native-update 10.2.6 → 10.2.8
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.
|
@@ -14,7 +14,7 @@ import java.io.File;
|
|
|
14
14
|
import java.util.HashMap;
|
|
15
15
|
import java.util.Map;
|
|
16
16
|
|
|
17
|
-
public class UpdateModule extends
|
|
17
|
+
public class UpdateModule extends NativePushySpec {
|
|
18
18
|
UpdateContext updateContext;
|
|
19
19
|
public static ReactApplicationContext mContext;
|
|
20
20
|
public UpdateModule(ReactApplicationContext reactContext, UpdateContext updateContext) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-update",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.8",
|
|
4
4
|
"description": "react-native hot update",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -48,13 +48,9 @@
|
|
|
48
48
|
"nanoid": "^3.3.3"
|
|
49
49
|
},
|
|
50
50
|
"codegenConfig": {
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"type": "modules",
|
|
55
|
-
"jsSrcsDir": "lib"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
51
|
+
"name": "RCTPushySpec",
|
|
52
|
+
"type": "modules",
|
|
53
|
+
"jsSrcsDir": "src"
|
|
58
54
|
},
|
|
59
55
|
"devDependencies": {
|
|
60
56
|
"@babel/core": "^7.24.0",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
1
|
+
import { TurboModule, TurboModuleRegistry } from 'react-native';
|
|
3
2
|
|
|
4
3
|
export interface Spec extends TurboModule {
|
|
5
4
|
getConstants: () => {
|