expo-module-template 11.0.7 → 11.0.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.
package/$package.json
CHANGED
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/react": "~19.1.0",
|
|
34
|
-
"expo-module-scripts": "^5.0.
|
|
35
|
-
"expo": "^54.0.0-preview.
|
|
34
|
+
"expo-module-scripts": "^5.0.6",
|
|
35
|
+
"expo": "^54.0.0-preview.13",
|
|
36
36
|
"react-native": "0.81.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
@@ -14,10 +14,10 @@ class <%- project.moduleName %> : Module() {
|
|
|
14
14
|
// The module will be accessible from `requireNativeModule('<%- project.name %>')` in JavaScript.
|
|
15
15
|
Name("<%- project.name %>")
|
|
16
16
|
|
|
17
|
-
//
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
// Defines constant property on the module.
|
|
18
|
+
Constant("PI") {
|
|
19
|
+
Math.PI
|
|
20
|
+
}
|
|
21
21
|
|
|
22
22
|
// Defines event names that the module can send to JavaScript.
|
|
23
23
|
Events("onChange")
|
|
@@ -10,10 +10,10 @@ public class <%- project.moduleName %>: Module {
|
|
|
10
10
|
// The module will be accessible from `requireNativeModule('<%- project.name %>')` in JavaScript.
|
|
11
11
|
Name("<%- project.name %>")
|
|
12
12
|
|
|
13
|
-
//
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
// Defines constant property on the module.
|
|
14
|
+
Constant("PI") {
|
|
15
|
+
Double.pi
|
|
16
|
+
}
|
|
17
17
|
|
|
18
18
|
// Defines event names that the module can send to JavaScript.
|
|
19
19
|
Events("onChange")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-module-template",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.8",
|
|
4
4
|
"description": "ExpoModuleTemplate standalone module",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"keywords": [
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"typescript": "^5.9.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "d635404a12ea7996b987ce0fb7679a238ebcf31b"
|
|
28
28
|
}
|