v0.13.0
Breaking Changes
requestnow returnsPromise<Response>instead ofPromise<object>- The
waitparameter ofpredictions.createhas been removed. To wait for a prediction to finish, call thewaitmethod or callruninstead. - The
wait.maxAttemptsoption has been renamed towait.max_attempts.
What's Changed
- Update README.md by @laoshu133 in https://github.com/replicate/replicate-javascript/pull/86
- Document how to customize client requests by setting
fetchproperty by @mattt in https://github.com/replicate/replicate-javascript/pull/96 - Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in https://github.com/replicate/replicate-javascript/pull/101
- Add information about training API to README by @mattt in https://github.com/replicate/replicate-javascript/pull/102
- Provide more information in API errors by @mattt in https://github.com/replicate/replicate-javascript/pull/103
- Fix
jsdoc/tag-lineslinter rule setting by @mattt in https://github.com/replicate/replicate-javascript/pull/105 - Add
streamoption topredictions.createoperation by @mattt in https://github.com/replicate/replicate-javascript/pull/99
New Contributors
- @laoshu133 made their first contribution in https://github.com/replicate/replicate-javascript/pull/86
Full Changelog: https://github.com/replicate/replicate-javascript/compare/v0.12.3...v0.13.0