@bagelink/sdk 0.0.374 → 0.0.384

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
@@ -505,7 +505,7 @@ class Bagel {
505
505
  async uploadFile(file, options) {
506
506
  const formData = new FormData();
507
507
  formData.append("file", file);
508
- const { data } = await axios.post("/files/upload", formData, {
508
+ const { data } = await axios.post("/static_files/upload", formData, {
509
509
  headers: {
510
510
  "Content-Type": "multipart/form-data"
511
511
  },
package/dist/index.mjs CHANGED
@@ -499,7 +499,7 @@ class Bagel {
499
499
  async uploadFile(file, options) {
500
500
  const formData = new FormData();
501
501
  formData.append("file", file);
502
- const { data } = await axios.post("/files/upload", formData, {
502
+ const { data } = await axios.post("/static_files/upload", formData, {
503
503
  headers: {
504
504
  "Content-Type": "multipart/form-data"
505
505
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/sdk",
3
3
  "type": "module",
4
- "version": "0.0.374",
4
+ "version": "0.0.384",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
package/src/index.ts CHANGED
@@ -313,7 +313,7 @@ export class Bagel {
313
313
  formData.append('file', file);
314
314
  // get an indication of the progress
315
315
 
316
- const { data } = await axios.post<T>('/files/upload', formData, {
316
+ const { data } = await axios.post<T>('/static_files/upload', formData, {
317
317
  headers: {
318
318
  'Content-Type': 'multipart/form-data',
319
319
  },