Commit 772d60d
feat(dataexchange): add data_b64 field to inbox messages
Store the raw payload as standard base64 alongside the existing
`data` string field. The string representation mangles bytes > 0x7F
(Go's json.Marshal replaces invalid UTF-8 with U+FFFD), making
binary payloads (zlib-compressed HealthKit envelopes, etc.) impossible
to recover. `data_b64` is the lossless counterpart.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent de6db86 commit 772d60d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
0 commit comments