@onekeyfe/react-native-bundle-update 3.0.21 → 3.0.23

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.
@@ -990,11 +990,12 @@ object BundleUpdateStoreAndroid {
990
990
  }
991
991
 
992
992
  /**
993
- * Walks bundleDir/web-embed/** and verifies every file's sha256 against
994
- * the metadata entry (key is the bundle-relative path). Also rejects
995
- * files on disk that aren't listed in metadata, and metadata entries
996
- * whose backing file is missing. Returns true when web-embed is absent
997
- * from both disk and metadata (bundles without web-embed).
993
+ * Walks every file under bundleDir/web-embed/ recursively and verifies
994
+ * each file's sha256 against the metadata entry (key is the bundle-relative
995
+ * path). Also rejects files on disk that aren't listed in metadata, and
996
+ * metadata entries whose backing file is missing. Returns true when
997
+ * web-embed is absent from both disk and metadata (bundles without
998
+ * web-embed).
998
999
  */
999
1000
  fun validateWebEmbedSha256(bundleDir: String, metadata: Map<String, String>): Boolean {
1000
1001
  val webEmbedRoot = File(bundleDir, "web-embed")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-bundle-update",
3
- "version": "3.0.21",
3
+ "version": "3.0.23",
4
4
  "description": "react-native-bundle-update",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",