@onekeyfe/react-native-native-logger 3.0.179-alpha.2026101503 → 3.0.179-alpha.302

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 +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -44,6 +44,18 @@ writing credentials or other private values into messages.
44
44
  The current bridge is defined in [src/NativeLogger.nitro.ts](src/NativeLogger.nitro.ts).
45
45
  Native behavior is implemented in the package's `ios` and `android` directories.
46
46
 
47
+ ## Exporting a log snapshot
48
+
49
+ Flush pending repeated-message summaries before listing files for an export.
50
+ `write` and `flushPendingRepeat` return synchronously; enumeration and deletion
51
+ return promises. Await deletion before starting an application-owned export
52
+ that would otherwise race cleanup. The package does not expose an upload API.
53
+
54
+ The named `NativeLogger` export is created when this module is imported, so
55
+ import it only in a native runtime with the matching registration. The exported
56
+ TypeScript `NativeLogger` interface can be imported with `import type` without
57
+ creating that native object.
58
+
47
59
  ## License
48
60
 
49
61
  MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-native-logger",
3
- "version": "3.0.179-alpha.2026101503",
3
+ "version": "3.0.179-alpha.302",
4
4
  "description": "Native file logging and log export support for OneKey on iOS and Android",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",