(key)
| 373 | * @return {Date} |
| 374 | */ |
| 375 | export function getLastModifiedDate(key) { |
| 376 | let lastModified = new Date(0); |
| 377 | key.toPacketList().forEach(packet => { |
| 378 | if (packet.created && packet.created > lastModified) { |
| 379 | lastModified = packet.created; |
| 380 | } |
| 381 | }); |
| 382 | return lastModified; |
| 383 | } |
| 384 | |
| 385 | export function mapAddressKeyMapToFpr(addressKeyMap = []) { |
| 386 | for (const address in addressKeyMap) { |
no outgoing calls
no test coverage detected