Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Rothenberger committed Mar 19, 2024
1 parent 0243040 commit f6fdd19
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/frontend/src/flows/addDevice/manage/addFIDODevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
isWebAuthnCancel,
isWebAuthnDuplicateDevice,
} from "$src/utils/webAuthnErrorUtils";
import { WebAuthnIdentity } from "@dfinity/identity";
import { WebAuthnIdentity } from "$src/utils/WebAuthnIdentityCopy";
import { addDeviceSuccess } from "./addDeviceSuccess";

const displayFailedToAddDevice = (error: Error) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
isWebAuthnCancel,
isWebAuthnDuplicateDevice,
} from "$src/utils/webAuthnErrorUtils";
import { WebAuthnIdentity } from "@dfinity/identity";
import { WebAuthnIdentity } from "$src/utils/WebAuthnIdentityCopy";
import { deviceRegistrationDisabledInfo } from "./deviceRegistrationModeDisabled";
import { showVerificationCode } from "./showVerificationCode";

Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/flows/recovery/setupRecovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from "$src/utils/iiConnection";
import { unreachable, unreachableLax } from "$src/utils/utils";
import { DerEncodedPublicKey, SignIdentity } from "@dfinity/agent";
import { WebAuthnIdentity } from "@dfinity/identity";
import { WebAuthnIdentity } from "$src/utils/WebAuthnIdentityCopy";
import { confirmSeedPhrase } from "./confirmSeedPhrase";
import { displaySeedPhrase } from "./displaySeedPhrase";

Expand Down
3 changes: 2 additions & 1 deletion src/frontend/src/utils/multiWebAuthnIdentity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ import {
Signature,
SignIdentity,
} from "@dfinity/agent";
import { DER_COSE_OID, unwrapDER, WebAuthnIdentity } from "@dfinity/identity";
import { DER_COSE_OID, unwrapDER } from "@dfinity/identity";
import { isNullish } from "@dfinity/utils";
import borc from "borc";
import { bufferEqual } from "./iiConnection";
import { WebAuthnIdentity } from "./WebAuthnIdentityCopy";

export type CredentialId = ArrayBuffer;
export type CredentialData = {
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/utils/webAuthn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
DummyIdentity,
IIWebAuthnIdentity,
} from "$src/utils/iiConnection";
import { WebAuthnIdentity } from "@dfinity/identity";
import { WebAuthnIdentity } from "$src/utils/WebAuthnIdentityCopy";
import { isNullish } from "@dfinity/utils";

export const constructIdentity = async ({
Expand Down

0 comments on commit f6fdd19

Please sign in to comment.