expo-manifests 0.15.1 → 0.15.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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 0.15.2 — 2024-11-05
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 0.15.1 — 2024-10-22
14
18
 
15
19
  _This version does not introduce any user-facing changes._
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '0.15.1'
4
+ version = '0.15.2'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -14,7 +14,7 @@ android {
14
14
  namespace "expo.modules.manifests"
15
15
  defaultConfig {
16
16
  versionCode 31
17
- versionName '0.15.1'
17
+ versionName '0.15.2'
18
18
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
19
19
  }
20
20
  testOptions {
@@ -91,7 +91,7 @@ abstract class Manifest(protected val json: JSONObject) {
91
91
  abstract fun getSlug(): String?
92
92
 
93
93
  fun getDebuggerHost(): String = getExpoGoConfigRootObject()!!.require("debuggerHost")
94
- fun getMainModuleName(): String = getExpoGoConfigRootObject()!!.require("mainModuleName")
94
+ fun getMainModuleName(): String = getExpoGoConfigRootObject()?.require("mainModuleName") ?: "main"
95
95
  fun getHostUri(): String? = getExpoClientConfigRootObject()?.getNullable("hostUri")
96
96
 
97
97
  fun isVerified(): Boolean = json.getNullable("isVerified") ?: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-manifests",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "description": "Code to parse and use Expo and Expo Updates manifests.",
5
5
  "main": "build/Manifests.js",
6
6
  "types": "build/Manifests.d.ts",
@@ -43,5 +43,5 @@
43
43
  "peerDependencies": {
44
44
  "expo": "*"
45
45
  },
46
- "gitHead": "f7adac0a6b82ab484a8254a68c3808ba6f2afde5"
46
+ "gitHead": "a64603dce90981bf7688657f87dfa4be3e24f58b"
47
47
  }