()
| 18 | return secondary.read() || {} |
| 19 | }, |
| 20 | async readAsync(): Promise<SecureStorageData | null> { |
| 21 | const result = await primary.readAsync() |
| 22 | if (result !== null && result !== undefined) { |
| 23 | return result |
| 24 | } |
| 25 | return (await secondary.readAsync()) || {} |
| 26 | }, |
| 27 | update(data: SecureStorageData): { success: boolean; warning?: string } { |
| 28 | // Capture state before update |
| 29 | const primaryDataBefore = primary.read() |
nothing calls this directly
no outgoing calls
no test coverage detected