Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion modules/sdk-core/src/bitgo/keychain/iKeychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,13 @@ export interface AddKeychainOptions {
// indicates if the key is MPCv2 or not
isMPCv2?: boolean;
coinSpecific?: { [coinName: string]: unknown };
/** WebAuthn devices that have an additional encrypted copy of the private key, keyed by PRF-derived passphrases. */
/** WebAuthn devices that have an additional encrypted copy of the private key, keyed by PRF-derived passphrases.
* @deprecated Use {@link webauthnInfo} instead — the backend reads `webauthnInfo` (single object), not `webauthnDevices`. */
webauthnDevices?: WebauthnInfo[];
/** Single webauthn device to atomically attach during key creation.
* Sent as `webauthnInfo` in the POST /key body so the backend can link
* the passkey to the keychain in the same request. */
webauthnInfo?: WebauthnInfo;
}

export interface ApiKeyShare {
Expand Down
1 change: 1 addition & 0 deletions modules/sdk-core/src/bitgo/keychain/keychains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ export class Keychains implements IKeychains {
isMPCv2: params.isMPCv2,
coinSpecific: params.coinSpecific,
webauthnDevices: params.webauthnDevices,
webauthnInfo: params.webauthnInfo,
})
.result();
}
Expand Down
Loading