mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 14:54:33 +00:00
Fixing TS definition for open_ssl_verify_callback.
This commit is contained in:
parent
10480c1afe
commit
90cacdd6c7
@ -7,7 +7,7 @@ X.Y.Z Release notes
|
||||
* Added an optional user as argument to `Realm.automaticSyncConfiguration` (#1708).
|
||||
|
||||
### Bug fixes
|
||||
* None.
|
||||
* Fixed from TypeScript defintion for `open_ssl_verify_callback` configuration option (#1652).
|
||||
|
||||
### Internal
|
||||
* None.
|
||||
|
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@ -369,7 +369,7 @@ declare namespace Realm.Sync {
|
||||
}
|
||||
|
||||
type ErrorCallback = (session: Session, error: SyncError) => void;
|
||||
type SSLVerifyCallback = (serverAddress: string, serverPort: number, pemCertificate: string, preverifyOk: number, depth: number) => boolean;
|
||||
type SSLVerifyCallback = (serverAddress: string, serverPort: number, pemCertificate: string, acceptedByOpenSSL: boolean, depth: number) => boolean;
|
||||
|
||||
interface SyncConfiguration {
|
||||
user: User;
|
||||
|
Loading…
x
Reference in New Issue
Block a user