Missing import of Buffer in DeviceResponse.ts
Closed this issue ยท 1 comments
kkmanos commented
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';
github-actions commented
๐ This issue has been resolved in version 1.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐