@hot-updater/core 0.22.1 → 0.23.0

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/dist/index.d.cts CHANGED
@@ -88,8 +88,10 @@ interface UpdateInfo {
88
88
  interface AppUpdateInfo extends Omit<UpdateInfo, "storageUri"> {
89
89
  fileUrl: string | null;
90
90
  /**
91
- * SHA256 hash of the bundle file for integrity verification.
92
- * If provided, the client will verify the downloaded file's hash before extraction.
91
+ * SHA256 hash of the bundle file, optionally with embedded signature.
92
+ * Format when signed: "sig:<base64_signature>"
93
+ * Format when unsigned: "<hex_hash>" (64-character lowercase hex)
94
+ * The client parses this to extract signature for native verification.
93
95
  */
94
96
  fileHash: string | null;
95
97
  }
package/dist/index.d.ts CHANGED
@@ -88,8 +88,10 @@ interface UpdateInfo {
88
88
  interface AppUpdateInfo extends Omit<UpdateInfo, "storageUri"> {
89
89
  fileUrl: string | null;
90
90
  /**
91
- * SHA256 hash of the bundle file for integrity verification.
92
- * If provided, the client will verify the downloaded file's hash before extraction.
91
+ * SHA256 hash of the bundle file, optionally with embedded signature.
92
+ * Format when signed: "sig:<base64_signature>"
93
+ * Format when unsigned: "<hex_hash>" (64-character lowercase hex)
94
+ * The client parses this to extract signature for native verification.
93
95
  */
94
96
  fileHash: string | null;
95
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hot-updater/core",
3
- "version": "0.22.1",
3
+ "version": "0.23.0",
4
4
  "type": "module",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "sideEffects": false,