@amityco/ts-sdk-react-native 6.22.1-12d640a.0 → 6.22.1-54cd206.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.js CHANGED
@@ -11842,7 +11842,7 @@ const uploadVideo = async (formData, feedType, onProgress) => {
11842
11842
  }
11843
11843
  const headers = 'getHeaders' in formData
11844
11844
  ? formData.getHeaders()
11845
- : { 'content-type': 'multipart/form-data' };
11845
+ : { 'Content-Type': 'multipart/form-data' };
11846
11846
  const { data } = await client.http.post('/api/v4/videos', formData, {
11847
11847
  headers,
11848
11848
  onUploadProgress({ loaded, total = 100 }) {
@@ -11886,7 +11886,7 @@ const uploadImage = async (formData, onProgress) => {
11886
11886
  throw new Error('The formData object must have a `files` key.');
11887
11887
  const headers = 'getHeaders' in formData
11888
11888
  ? formData.getHeaders()
11889
- : { 'content-type': 'multipart/form-data' };
11889
+ : { 'Content-Type': 'multipart/form-data' };
11890
11890
  const { data } = await client.http.post('/api/v4/images', formData, {
11891
11891
  headers,
11892
11892
  onUploadProgress({ loaded, total = 100 }) {
package/dist/index.esm.js CHANGED
@@ -27913,7 +27913,7 @@ const uploadVideo = async (formData, feedType, onProgress) => {
27913
27913
  }
27914
27914
  const headers = 'getHeaders' in formData
27915
27915
  ? formData.getHeaders()
27916
- : { 'content-type': 'multipart/form-data' };
27916
+ : { 'Content-Type': 'multipart/form-data' };
27917
27917
  const { data } = await client.http.post('/api/v4/videos', formData, {
27918
27918
  headers,
27919
27919
  onUploadProgress({ loaded, total = 100 }) {
@@ -27957,7 +27957,7 @@ const uploadImage = async (formData, onProgress) => {
27957
27957
  throw new Error('The formData object must have a `files` key.');
27958
27958
  const headers = 'getHeaders' in formData
27959
27959
  ? formData.getHeaders()
27960
- : { 'content-type': 'multipart/form-data' };
27960
+ : { 'Content-Type': 'multipart/form-data' };
27961
27961
  const { data } = await client.http.post('/api/v4/images', formData, {
27962
27962
  headers,
27963
27963
  onUploadProgress({ loaded, total = 100 }) {