Skip to content

Commit

Permalink
use subproperty
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkmin committed Oct 4, 2023
1 parent 3de5690 commit a96c30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webauthn-stamper/src/universal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit a96c30f

Please sign in to comment.