@ututrust/web-components 2.0.2 → 2.0.3
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 +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20938,6 +20938,8 @@
|
|
|
20938
20938
|
const UTU_SOCIAL_LINK_URL_PRODUCTION = "https://app.utu.io";
|
|
20939
20939
|
const UTU_SOCIAL_LINK_URL_TEST = "https://stage-app.utu.io";
|
|
20940
20940
|
const CORE_API_BASE = "/core-api-v2";
|
|
20941
|
+
const UPLOADER_API_BASE = "/uploader-api";
|
|
20942
|
+
const VIDEO_PUBLISHED_BASE = "/published-videos";
|
|
20941
20943
|
|
|
20942
20944
|
// API resource paths
|
|
20943
20945
|
const API_RANKING = "/ranking";
|
|
@@ -38846,7 +38848,7 @@
|
|
|
38846
38848
|
};
|
|
38847
38849
|
const options = {
|
|
38848
38850
|
resume: false,
|
|
38849
|
-
endpoint: "
|
|
38851
|
+
endpoint: "".concat(apiUrl).concat(UPLOADER_API_BASE, "/upload"),
|
|
38850
38852
|
headers: getAuthorizationHeader(accessToken),
|
|
38851
38853
|
chunkSize: 28 * 1024,
|
|
38852
38854
|
uploadLengthDeferred: true,
|
|
@@ -38893,7 +38895,7 @@
|
|
|
38893
38895
|
}
|
|
38894
38896
|
function getPublishedVideoUrl(apiUrl, uploadUrl) {
|
|
38895
38897
|
const videoId = uploadUrl.split("/").pop();
|
|
38896
|
-
const publishedUrl = "".concat(
|
|
38898
|
+
const publishedUrl = "".concat(apiUrl).concat(VIDEO_PUBLISHED_BASE, "/").concat(videoId);
|
|
38897
38899
|
return publishedUrl;
|
|
38898
38900
|
}
|
|
38899
38901
|
function createEntityCriteria(uuid) {
|