@ututrust/web-components 1.1.25 → 1.1.27
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -23
package/dist/index.js
CHANGED
|
@@ -30270,7 +30270,7 @@
|
|
|
30270
30270
|
};
|
|
30271
30271
|
var options = {
|
|
30272
30272
|
resume: false,
|
|
30273
|
-
endpoint: "".concat(apiUrl).concat(UPLOADER_API_BASE),
|
|
30273
|
+
endpoint: "".concat(apiUrl).concat(UPLOADER_API_BASE, "/upload"),
|
|
30274
30274
|
headers: getAuthorizationHeader(accessToken),
|
|
30275
30275
|
chunkSize: 28 * 1024,
|
|
30276
30276
|
uploadLengthDeferred: true,
|
|
@@ -30317,7 +30317,7 @@
|
|
|
30317
30317
|
|
|
30318
30318
|
function getPublishedVideoUrl(apiUrl, uploadUrl) {
|
|
30319
30319
|
var videoId = uploadUrl.split("/").pop();
|
|
30320
|
-
var publishedUrl = "".concat(
|
|
30320
|
+
var publishedUrl = "".concat(apiUrl).concat(VIDEO_PUBLISHED_BASE, "/").concat(videoId);
|
|
30321
30321
|
return publishedUrl;
|
|
30322
30322
|
}
|
|
30323
30323
|
|
|
@@ -30338,7 +30338,7 @@
|
|
|
30338
30338
|
|
|
30339
30339
|
function getAuthorizationHeader(accessToken) {
|
|
30340
30340
|
return {
|
|
30341
|
-
|
|
30341
|
+
Authorization: "Bearer ".concat(accessToken)
|
|
30342
30342
|
};
|
|
30343
30343
|
}
|
|
30344
30344
|
|