@supabase/storage-js 2.95.3 → 2.95.4-canary.0

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.
package/dist/index.cjs CHANGED
@@ -390,6 +390,18 @@ var BaseApiClient = class {
390
390
  return this;
391
391
  }
392
392
  /**
393
+ * Set an HTTP header for the request.
394
+ * Creates a shallow copy of headers to avoid mutating shared state.
395
+ *
396
+ * @param name - Header name
397
+ * @param value - Header value
398
+ * @returns this - For method chaining
399
+ */
400
+ setHeader(name, value) {
401
+ this.headers = _objectSpread2(_objectSpread2({}, this.headers), {}, { [name]: value });
402
+ return this;
403
+ }
404
+ /**
393
405
  * Handles API operation with standardized error handling
394
406
  * Eliminates repetitive try-catch blocks across all API methods
395
407
  *
@@ -1284,7 +1296,7 @@ var StorageFileApi = class extends BaseApiClient {
1284
1296
 
1285
1297
  //#endregion
1286
1298
  //#region src/lib/version.ts
1287
- const version = "2.95.3";
1299
+ const version = "2.95.4-canary.0";
1288
1300
 
1289
1301
  //#endregion
1290
1302
  //#region src/lib/constants.ts