@seamly/web-ui 19.1.5 → 19.1.6
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/CHANGELOG.md +7 -0
- package/build/dist/lib/index.debug.js +1 -1
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.js +6 -9
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/standalone.js +6 -9
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/style-guide.js +6 -9
- package/build/dist/lib/style-guide.min.js +1 -1
- package/package.json +1 -1
- package/src/javascripts/ui/utils/seamly-utils.js +3 -3
|
@@ -20881,9 +20881,9 @@ const seamlyStateReducer = (state, action) => {
|
|
|
20881
20881
|
|
|
20882
20882
|
|
|
20883
20883
|
if (accountHasUploads && (eventType === eventTypes.message || eventType === eventTypes.participant) && !payload.fromClient) {
|
|
20884
|
-
|
|
20885
|
-
|
|
20886
|
-
|
|
20884
|
+
var _payload$entry;
|
|
20885
|
+
|
|
20886
|
+
const entryType = payload === null || payload === void 0 ? void 0 : (_payload$entry = payload.entry) === null || _payload$entry === void 0 ? void 0 : _payload$entry.type;
|
|
20887
20887
|
newOptions = seamly_utils_objectSpread(seamly_utils_objectSpread({}, newOptions), {}, {
|
|
20888
20888
|
features: seamly_utils_objectSpread(seamly_utils_objectSpread({}, newOptions.features), {}, {
|
|
20889
20889
|
uploads: seamly_utils_objectSpread(seamly_utils_objectSpread({}, newOptions.features.uploads), {}, {
|
|
@@ -21015,12 +21015,9 @@ const seamlyStateReducer = (state, action) => {
|
|
|
21015
21015
|
const newFeaturesHasUpload = newFeatures.hasOwnProperty(featureKeys.uploads); // Only set uploads if it was initialised by the account config.
|
|
21016
21016
|
|
|
21017
21017
|
if (newFeaturesHasUpload) {
|
|
21018
|
-
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
const {
|
|
21022
|
-
type: entryType
|
|
21023
|
-
} = lastParticipantEventPayload.entry || {};
|
|
21018
|
+
var _lastParticipantEvent, _lastParticipantEvent2;
|
|
21019
|
+
|
|
21020
|
+
const entryType = lastParticipantEvent === null || lastParticipantEvent === void 0 ? void 0 : (_lastParticipantEvent = lastParticipantEvent.payload) === null || _lastParticipantEvent === void 0 ? void 0 : (_lastParticipantEvent2 = _lastParticipantEvent.entry) === null || _lastParticipantEvent2 === void 0 ? void 0 : _lastParticipantEvent2.type;
|
|
21024
21021
|
newFeatures = seamly_utils_objectSpread(seamly_utils_objectSpread({}, newFeatures), {}, {
|
|
21025
21022
|
uploads: {
|
|
21026
21023
|
enabled: !!(uploads && uploads.enabled),
|