diff --git a/packages/webauthn-stamper/src/universal.ts b/packages/webauthn-stamper/src/universal.ts index f3c3bee79..127f02a70 100644 --- a/packages/webauthn-stamper/src/universal.ts +++ b/packages/webauthn-stamper/src/universal.ts @@ -3,7 +3,7 @@ let buffer: typeof globalThis.Buffer; if (typeof globalThis?.Buffer !== "undefined") { buffer = globalThis.Buffer; } else { - buffer = require("buffer"); + buffer = require("buffer").Buffer; } export { buffer };