podchat-browser 12.9.20 → 12.9.21-snapshot.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/node/buildConfig.json +1 -1
- package/dist/node/lib/call/multitrack/callUser.js +1 -0
- package/dist/node/lib/files/fileManagement/fileManager.js +6 -4
- package/dist/podchat-browser-bundle.js +8 -5
- package/package.json +1 -1
- package/src/buildConfig.json +1 -1
- package/src/lib/call/multitrack/callUser.js +1 -0
- package/src/lib/files/fileManagement/fileManager.js +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"12.9.
|
|
1
|
+
{"version":"12.9.21-snapshot.0","date":"۱۴۰۵/۴/۸","VersionInfo":"Release: false, Snapshot: true, Is For Test: true"}
|
|
@@ -239,7 +239,7 @@ var FileDownloadObject = /*#__PURE__*/function () {
|
|
|
239
239
|
var _downloadWithResume2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
240
240
|
var _this4 = this;
|
|
241
241
|
|
|
242
|
-
var _this$options, _this$options$method, method, _this$options$maxRetr, maxRetries, _this$options$initial, initialDelay, _this$options$timeout, timeoutDuration, retries, currentDelay, totalSize, headResponse, signal, timeoutId, rangeHeader, response, receivedRange, currentFileTotalSize, reader, chunkDownloadedSize, progressPercentOld, _yield$reader$read, done, value, currentChunkSize, blob, jitter, delayWithJitter;
|
|
242
|
+
var _this$options, _this$options$method, method, _this$options$maxRetr, maxRetries, _this$options$initial, initialDelay, _this$options$timeout, timeoutDuration, retries, currentDelay, totalSize, headResponse, signal, timeoutId, rangeHeader, response, receivedRange, currentFileTotalSize, reader, chunkDownloadedSize, progressPercentOld, _yield$reader$read, done, value, currentChunkSize, blob, _blob, jitter, delayWithJitter;
|
|
243
243
|
|
|
244
244
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
245
245
|
while (1) {
|
|
@@ -411,6 +411,8 @@ var FileDownloadObject = /*#__PURE__*/function () {
|
|
|
411
411
|
this.status.downloadProgress = this.status.totalSize > 0 ? Math.round(this.status.downloadedSize / this.status.totalSize * 100) : 0;
|
|
412
412
|
|
|
413
413
|
if (this.status.downloadProgress > progressPercentOld) {
|
|
414
|
+
blob = new Blob(this.dataChunks);
|
|
415
|
+
this.status.fileObject = blob;
|
|
414
416
|
progressPercentOld = this.status.downloadProgress;
|
|
415
417
|
this.options.onProgress && this.options.onProgress(this.status);
|
|
416
418
|
}
|
|
@@ -424,11 +426,11 @@ var FileDownloadObject = /*#__PURE__*/function () {
|
|
|
424
426
|
break;
|
|
425
427
|
}
|
|
426
428
|
|
|
427
|
-
|
|
428
|
-
this.status.fileObject =
|
|
429
|
+
_blob = new Blob(this.dataChunks);
|
|
430
|
+
this.status.fileObject = _blob;
|
|
429
431
|
|
|
430
432
|
if (this.options.onComplete) {
|
|
431
|
-
this.status.fileObject =
|
|
433
|
+
this.status.fileObject = _blob;
|
|
432
434
|
this.options.onComplete(this.status);
|
|
433
435
|
}
|
|
434
436
|
|
|
@@ -47981,7 +47981,7 @@ FilterXSS.prototype.process = function (html) {
|
|
|
47981
47981
|
module.exports = FilterXSS;
|
|
47982
47982
|
|
|
47983
47983
|
},{"./default":282,"./parser":284,"./util":285,"cssfilter":153}],287:[function(require,module,exports){
|
|
47984
|
-
module.exports={"version":"12.9.
|
|
47984
|
+
module.exports={"version":"12.9.21-snapshot.0","date":"۱۴۰۵/۴/۸","VersionInfo":"Release: false, Snapshot: true, Is For Test: true"}
|
|
47985
47985
|
},{}],288:[function(require,module,exports){
|
|
47986
47986
|
"use strict";
|
|
47987
47987
|
|
|
@@ -60658,6 +60658,7 @@ function CallUser(app, user) {
|
|
|
60658
60658
|
topic: conf.topic,
|
|
60659
60659
|
mediaType: 3,
|
|
60660
60660
|
clientId: config.user.clientId,
|
|
60661
|
+
mline: conf && conf.mline,
|
|
60661
60662
|
onTrackCallback: function onTrackCallback() {},
|
|
60662
60663
|
onUpdateSuccess: function onUpdateSuccess() {}
|
|
60663
60664
|
});
|
|
@@ -69066,7 +69067,7 @@ var FileDownloadObject = /*#__PURE__*/function () {
|
|
|
69066
69067
|
var _downloadWithResume2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
69067
69068
|
var _this4 = this;
|
|
69068
69069
|
|
|
69069
|
-
var _this$options, _this$options$method, method, _this$options$maxRetr, maxRetries, _this$options$initial, initialDelay, _this$options$timeout, timeoutDuration, retries, currentDelay, totalSize, headResponse, signal, timeoutId, rangeHeader, response, receivedRange, currentFileTotalSize, reader, chunkDownloadedSize, progressPercentOld, _yield$reader$read, done, value, currentChunkSize, blob, jitter, delayWithJitter;
|
|
69070
|
+
var _this$options, _this$options$method, method, _this$options$maxRetr, maxRetries, _this$options$initial, initialDelay, _this$options$timeout, timeoutDuration, retries, currentDelay, totalSize, headResponse, signal, timeoutId, rangeHeader, response, receivedRange, currentFileTotalSize, reader, chunkDownloadedSize, progressPercentOld, _yield$reader$read, done, value, currentChunkSize, blob, _blob, jitter, delayWithJitter;
|
|
69070
69071
|
|
|
69071
69072
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
69072
69073
|
while (1) {
|
|
@@ -69239,6 +69240,8 @@ var FileDownloadObject = /*#__PURE__*/function () {
|
|
|
69239
69240
|
this.status.downloadProgress = this.status.totalSize > 0 ? Math.round(this.status.downloadedSize / this.status.totalSize * 100) : 0;
|
|
69240
69241
|
|
|
69241
69242
|
if (this.status.downloadProgress > progressPercentOld) {
|
|
69243
|
+
blob = new Blob(this.dataChunks);
|
|
69244
|
+
this.status.fileObject = blob;
|
|
69242
69245
|
progressPercentOld = this.status.downloadProgress;
|
|
69243
69246
|
this.options.onProgress && this.options.onProgress(this.status);
|
|
69244
69247
|
}
|
|
@@ -69252,11 +69255,11 @@ var FileDownloadObject = /*#__PURE__*/function () {
|
|
|
69252
69255
|
break;
|
|
69253
69256
|
}
|
|
69254
69257
|
|
|
69255
|
-
|
|
69256
|
-
this.status.fileObject =
|
|
69258
|
+
_blob = new Blob(this.dataChunks);
|
|
69259
|
+
this.status.fileObject = _blob;
|
|
69257
69260
|
|
|
69258
69261
|
if (this.options.onComplete) {
|
|
69259
|
-
this.status.fileObject =
|
|
69262
|
+
this.status.fileObject = _blob;
|
|
69260
69263
|
this.options.onComplete(this.status);
|
|
69261
69264
|
}
|
|
69262
69265
|
|
package/package.json
CHANGED
package/src/buildConfig.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"12.9.
|
|
1
|
+
{"version":"12.9.21-snapshot.0","date":"۱۴۰۵/۴/۸","VersionInfo":"Release: false, Snapshot: true, Is For Test: true"}
|
|
@@ -314,13 +314,15 @@ class FileDownloadObject {
|
|
|
314
314
|
|
|
315
315
|
this.status.downloadProgress = this.status.totalSize > 0 ? Math.round((this.status.downloadedSize / this.status.totalSize) * 100) : 0;
|
|
316
316
|
if(this.status.downloadProgress > progressPercentOld) {
|
|
317
|
+
let blob = new Blob(this.dataChunks);
|
|
318
|
+
this.status.fileObject = blob;
|
|
317
319
|
progressPercentOld = this.status.downloadProgress;
|
|
318
320
|
this.options.onProgress && this.options.onProgress(this.status);
|
|
319
321
|
}
|
|
320
322
|
}
|
|
321
323
|
|
|
322
324
|
if (this.status.downloadedSize >= this.status.totalSize && this.status.totalSize > 0) {
|
|
323
|
-
|
|
325
|
+
let blob = new Blob(this.dataChunks);
|
|
324
326
|
this.status.fileObject = blob;
|
|
325
327
|
if (this.options.onComplete) {
|
|
326
328
|
this.status.fileObject = blob;
|