From a96c30fc0341564ae663202ef95b9e0c6c20fa99 Mon Sep 17 00:00:00 2001 From: Andrew Min Date: Wed, 4 Oct 2023 15:50:57 -0400 Subject: [PATCH] use subproperty --- packages/webauthn-stamper/src/universal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };