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>;
|
getMyKeys: () => Promise<number>;
|
||||||
getProfile: (
|
getProfile: (
|
||||||
identifier: string,
|
identifier: string,
|
||||||
options?: {
|
options: {
|
||||||
profileKeyVersion?: string;
|
profileKeyVersion?: string;
|
||||||
profileKeyCredentialRequest?: string;
|
profileKeyCredentialRequest?: string;
|
||||||
}
|
}
|
||||||
|
@ -1307,7 +1307,7 @@ export function initialize({
|
||||||
options: {
|
options: {
|
||||||
profileKeyVersion?: string;
|
profileKeyVersion?: string;
|
||||||
profileKeyCredentialRequest?: string;
|
profileKeyCredentialRequest?: string;
|
||||||
} = {}
|
}
|
||||||
) {
|
) {
|
||||||
const { profileKeyVersion, profileKeyCredentialRequest } = options;
|
const { profileKeyVersion, profileKeyCredentialRequest } = options;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue