expo-module-template 10.15.5 → 10.15.6
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.
|
@@ -36,7 +36,7 @@ public class <%- project.moduleName %>: Module {
|
|
|
36
36
|
// view definition: Prop, Events.
|
|
37
37
|
View(<%- project.viewName %>.self) {
|
|
38
38
|
// Defines a setter for the `url` prop.
|
|
39
|
-
Prop("url") { (view:
|
|
39
|
+
Prop("url") { (view: <%- project.viewName %>, url: URL) in
|
|
40
40
|
if view.webView.url != url {
|
|
41
41
|
view.webView.load(URLRequest(url: url))
|
|
42
42
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-module-template",
|
|
3
|
-
"version": "10.15.
|
|
3
|
+
"version": "10.15.6",
|
|
4
4
|
"description": "ExpoModuleTemplate standalone module",
|
|
5
5
|
"scripts": {},
|
|
6
6
|
"keywords": [
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"dependencies": {},
|
|
23
23
|
"devDependencies": {},
|
|
24
24
|
"peerDependencies": {},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "d97ae0839fa465cee14e13ca38f3c6c84c124d82"
|
|
26
26
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Reexport the native module. On web, it will be resolved to
|
|
2
|
-
// and on native platforms to
|
|
1
|
+
// Reexport the native module. On web, it will be resolved to <%- project.moduleName %>.web.ts
|
|
2
|
+
// and on native platforms to <%- project.moduleName %>.ts
|
|
3
3
|
export { default } from './<%- project.moduleName %>';
|
|
4
4
|
export { default as <%- project.viewName %> } from './<%- project.viewName %>';
|
|
5
5
|
export * from './<%- project.name %>.types';
|