@onekeyfe/react-native-bundle-update 3.0.179-alpha.303 → 3.0.179-alpha.304

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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -50,6 +50,19 @@ See [src/ReactNativeBundleUpdate.nitro.ts](src/ReactNativeBundleUpdate.nitro.ts)
50
50
  for all methods, result objects and path APIs. This README documents the existing
51
51
  interface; it does not establish end-to-end update acceptance for a consumer.
52
52
 
53
+ ## Version and path result types
54
+
55
+ `listLocalBundles()` returns `LocalBundleInfo[]`, containing `appVersion` and
56
+ `bundleVersion`. `getFallbackUpdateBundleData()` returns records with those
57
+ versions plus `signature`; fallback metadata and an installed directory are
58
+ separate from a completed verification operation.
59
+
60
+ The interface offers synchronous and asynchronous variants of the UI, background
61
+ and embedded-Web path getters. Select the appropriate runtime path rather than
62
+ assuming both runtimes use one JavaScript bundle. Application adapters can import
63
+ `BundleDownloadParams`, `BundleDownloadResult`, `BundleVerifyParams`,
64
+ `BundleInstallParams` and `BundleSwitchParams` as types from this package.
65
+
53
66
  ## License
54
67
 
55
68
  MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-bundle-update",
3
- "version": "3.0.179-alpha.303",
3
+ "version": "3.0.179-alpha.304",
4
4
  "description": "Native JavaScript bundle download, verification and version management for OneKey",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",