@magicred-1/react-native-lxmf 0.2.20 → 0.2.22

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.
@@ -59,15 +59,15 @@ export interface TcpInterface {
59
59
  * Compatible with Sideband and other LXMF clients.
60
60
  */
61
61
  export interface LxmfMedia {
62
- /** Inline image: LXMF FIELD_IMAGE — rendered by receiving clients. */
62
+ /** Inline image: LXMF FIELD_IMAGE — rendered by receiving clients. data = base64 string. */
63
63
  image?: {
64
64
  mimeType: string;
65
- dataBase64: string;
65
+ data: string;
66
66
  };
67
- /** File attachments: LXMF FIELD_FILE_ATTACHMENTS — list of named blobs. */
67
+ /** File attachments: LXMF FIELD_FILE_ATTACHMENTS — list of named blobs. data = base64 string. */
68
68
  files?: {
69
69
  name: string;
70
- dataBase64: string;
70
+ data: string;
71
71
  }[];
72
72
  }
73
73
  export interface UseLxmfOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicred-1/react-native-lxmf",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "description": "LXMF Reticulum mesh networking for React Native + Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",