mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
use node 16 in ci
use `npm i` instead of `npm ci` try fix ci script and fix a doc comment
This commit is contained in:
@@ -57,7 +57,7 @@ impl CommandApi {
|
||||
// Misc top level functions
|
||||
// ---------------------------------------------
|
||||
|
||||
// Check if an email address is valid.
|
||||
/// Check if an email address is valid.
|
||||
async fn check_email_validity(&self, email: String) -> bool {
|
||||
may_be_valid_addr(&email)
|
||||
}
|
||||
|
||||
@@ -14,7 +14,9 @@ interface Transport {
|
||||
export class RawClient {
|
||||
constructor(private _transport: Transport) {}
|
||||
|
||||
|
||||
/**
|
||||
* Check if an email address is valid.
|
||||
*/
|
||||
public checkEmailValidity(email: string): Promise<boolean> {
|
||||
return (this._transport.request('check_email_validity', [email] as RPC.Params)) as Promise<boolean>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user