anvilco / node-anvil

Node API Client for Anvil
https://www.useanvil.com/developers/
17 stars 6 forks source link

use response.arrayBuffer instead of response.buffer #443

Closed newhouse closed 7 months ago

newhouse commented 7 months ago

Description of the change

Stop an annoying deprecation warning by using the response.arrayBuffer rather than the response.buffer for buffer-like binary responses

Type of change

Related issues

Fixes https://github.com/anvilco/node-anvil/pull/442

Checklists

Development

Code review

newhouse commented 7 months ago

@wi-ski

newhouse commented 7 months ago

Released in v 3.3.0