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