We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in the documentation:
options.file Object Path or Buffer of the new firmware file Either a path or Buffer of the file contents in Node, or a File or Blob in the browser.
test parameter appears to only set file to a buffer, and not a path file: new Buffer('ELF...'),
file: new Buffer('ELF...'),
discovered because upload with path appears to not work as expected during testing / development.
The text was updated successfully, but these errors were encountered:
(stream of consciousness, still investigating)
it looks like maybe this isn't working in the browser (maybe just chrome / firefox), seems like it really expects a blob and not a path...
https://github.com/particle-iot/particle-api-js/blob/master/src/Agent.js#L139-L153
Am I correct in thinking this functionality just wasn't tested?
Sorry, something went wrong.
No branches or pull requests
in the documentation:
test parameter appears to only set file to a buffer, and not a path
file: new Buffer('ELF...'),
discovered because upload with path appears to not work as expected during testing / development.
The text was updated successfully, but these errors were encountered: