The persisted WhatsApp code, or null if one hasn't been generated yet.
()
| 279 | |
| 280 | /** The persisted WhatsApp code, or null if one hasn't been generated yet. */ |
| 281 | public getWhitelistCode(): string | null { return localStorage.getItem(this.WHITELIST_CODE_KEY); } |
| 282 | |
| 283 | /** Mints a fresh WhatsApp code and overwrites the stored one, for "rotate to a new contact". */ |
| 284 | public rotateWhitelistCode(): string { return this.rotateCode(this.WHITELIST_CODE_KEY); } |
no outgoing calls
no test coverage detected