WebAPI: Require options in getProfile
This commit is contained in:
parent
7dca544295
commit
c9a49ecb4b
1 changed files with 2 additions and 2 deletions
|
@ -757,7 +757,7 @@ export type WebAPIType = {
|
|||
getMyKeys: () => Promise<number>;
|
||||
getProfile: (
|
||||
identifier: string,
|
||||
options?: {
|
||||
options: {
|
||||
profileKeyVersion?: string;
|
||||
profileKeyCredentialRequest?: string;
|
||||
}
|
||||
|
@ -1307,7 +1307,7 @@ export function initialize({
|
|||
options: {
|
||||
profileKeyVersion?: string;
|
||||
profileKeyCredentialRequest?: string;
|
||||
} = {}
|
||||
}
|
||||
) {
|
||||
const { profileKeyVersion, profileKeyCredentialRequest } = options;
|
||||
|
||||
|
|
Loading…
Reference in a new issue