@alibarbar/common 1.1.4 → 1.1.5
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/upload.cjs +1 -1
- package/dist/upload.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1296,7 +1296,7 @@ var ChunkUploader = class {
|
|
|
1296
1296
|
startProgressStream() {
|
|
1297
1297
|
if (!this.taskId) return;
|
|
1298
1298
|
this.progressStreamAbortController = new AbortController();
|
|
1299
|
-
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}`;
|
|
1299
|
+
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}/stream`;
|
|
1300
1300
|
fetch(url, {
|
|
1301
1301
|
method: "GET",
|
|
1302
1302
|
headers: {
|
package/dist/index.js
CHANGED
|
@@ -1287,7 +1287,7 @@ var ChunkUploader = class {
|
|
|
1287
1287
|
startProgressStream() {
|
|
1288
1288
|
if (!this.taskId) return;
|
|
1289
1289
|
this.progressStreamAbortController = new AbortController();
|
|
1290
|
-
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}`;
|
|
1290
|
+
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}/stream`;
|
|
1291
1291
|
fetch(url, {
|
|
1292
1292
|
method: "GET",
|
|
1293
1293
|
headers: {
|
package/dist/upload.cjs
CHANGED
|
@@ -194,7 +194,7 @@ var ChunkUploader = class {
|
|
|
194
194
|
startProgressStream() {
|
|
195
195
|
if (!this.taskId) return;
|
|
196
196
|
this.progressStreamAbortController = new AbortController();
|
|
197
|
-
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}`;
|
|
197
|
+
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}/stream`;
|
|
198
198
|
fetch(url, {
|
|
199
199
|
method: "GET",
|
|
200
200
|
headers: {
|
package/dist/upload.js
CHANGED
|
@@ -192,7 +192,7 @@ var ChunkUploader = class {
|
|
|
192
192
|
startProgressStream() {
|
|
193
193
|
if (!this.taskId) return;
|
|
194
194
|
this.progressStreamAbortController = new AbortController();
|
|
195
|
-
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}`;
|
|
195
|
+
const url = `${this.options.baseURL}/api/files/common/progress/${this.taskId}/stream`;
|
|
196
196
|
fetch(url, {
|
|
197
197
|
method: "GET",
|
|
198
198
|
headers: {
|