auth0-lab/mdl

Missing import of Buffer in DeviceResponse.ts

Closed this issue ยท 1 comments

As we were testing the library on a browser application, we realized that the browser couldn't generate a device response because "Buffer" is not defined in the browser context, but only in the NodeJS API.

This error occurs because "Buffer" is not imported from the "buffer" package in the DeviceResponse.ts file.

The following line should solve the issue:

import { Buffer } from 'buffer';

๐ŸŽ‰ This issue has been resolved in version 1.0.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€