wavespeed 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -248,6 +248,9 @@ class WaveSpeed {
248
248
  if (options == null) {
249
249
  options = { isUpload: true };
250
250
  }
251
+ else {
252
+ options.isUpload = true;
253
+ }
251
254
  const response = await this.fetchWithTimeout('media/upload/binary', {
252
255
  method: 'POST',
253
256
  body: form,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wavespeed",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "WaveSpeed Client SDK for Wavespeed API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",