@inboxsdk/core 2.1.51 → 2.1.52
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/inboxsdk.js +10 -9
- package/inboxsdk.js.map +1 -1
- package/package.json +1 -1
- package/pageWorld.js.map +1 -1
- package/src/platform-implementation-js/views/conversations/attachment-card-view.d.ts +6 -1
- package/src/platform-implementation-js/views/conversations/attachment-card-view.d.ts.map +1 -1
package/inboxsdk.js
CHANGED
|
@@ -371,7 +371,7 @@ function isNotNil(value) {
|
|
|
371
371
|
|
|
372
372
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- SDK_VERSION is injected by webpack
|
|
373
373
|
///@ts-ignore
|
|
374
|
-
const BUILD_VERSION = "2.1.
|
|
374
|
+
const BUILD_VERSION = "2.1.52-1713788065589-6b4e868f94dc09e8";
|
|
375
375
|
if (false) {}
|
|
376
376
|
|
|
377
377
|
/***/ }),
|
|
@@ -10134,7 +10134,7 @@ options.insert = htmlElement => {
|
|
|
10134
10134
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
10135
10135
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
10136
10136
|
///@ts-ignore
|
|
10137
|
-
"2.1.
|
|
10137
|
+
"2.1.52-1713788065589-6b4e868f94dc09e8");
|
|
10138
10138
|
document.head.append(htmlElement);
|
|
10139
10139
|
};
|
|
10140
10140
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -11474,13 +11474,14 @@ class AttachmentCardView extends safe_event_emitter/* default */.Z {
|
|
|
11474
11474
|
}
|
|
11475
11475
|
|
|
11476
11476
|
/**
|
|
11477
|
-
*
|
|
11477
|
+
* Get the URL for the attachment card's download link as a promise for a string.
|
|
11478
|
+
* For FILE attachment cards, the URL will be a short-lived URL that can be
|
|
11479
|
+
* accessed without cookies. For CUSTOM attachment cards, the URL will be the
|
|
11480
|
+
* downloadUrl property of the card's download button if it has one, otherwise
|
|
11481
|
+
* null. Other attachment card types may not have a download URL, and the promise
|
|
11482
|
+
* may resolve to null.
|
|
11478
11483
|
*/
|
|
11479
11484
|
getDownloadURL() {
|
|
11480
|
-
this.#driver.getLogger().deprecationWarning('AttachmentCardView.getDownloadURL', 'AttachmentCardView.addButton -> onClick -> AttachmentCardClickEvent');
|
|
11481
|
-
if (this.#driver.getOpts().REQUESTED_API_VERSION !== 1) {
|
|
11482
|
-
throw new Error('This method was discontinued after API version 1');
|
|
11483
|
-
}
|
|
11484
11485
|
return this.#attachmentCardImplementation.getDownloadURL();
|
|
11485
11486
|
}
|
|
11486
11487
|
getMessageView() {
|
|
@@ -14863,7 +14864,7 @@ options.insert = htmlElement => {
|
|
|
14863
14864
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
14864
14865
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
14865
14866
|
///@ts-ignore
|
|
14866
|
-
"2.1.
|
|
14867
|
+
"2.1.52-1713788065589-6b4e868f94dc09e8");
|
|
14867
14868
|
document.head.append(htmlElement);
|
|
14868
14869
|
};
|
|
14869
14870
|
options.domAPI = (styleDomAPI_default());
|
|
@@ -19486,7 +19487,7 @@ mole_view_module_options.insert = htmlElement => {
|
|
|
19486
19487
|
htmlElement.setAttribute('data-inboxsdk-version',
|
|
19487
19488
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- this is injected by webpack
|
|
19488
19489
|
///@ts-ignore
|
|
19489
|
-
"2.1.
|
|
19490
|
+
"2.1.52-1713788065589-6b4e868f94dc09e8");
|
|
19490
19491
|
document.head.append(htmlElement);
|
|
19491
19492
|
};
|
|
19492
19493
|
mole_view_module_options.domAPI = (styleDomAPI_default());
|