@rhc-office/sdk 6.6.398 → 6.6.399

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhc-office/sdk",
3
- "version": "6.6.398",
3
+ "version": "6.6.399",
4
4
  "description": "SDK for third-party integration with RHC Office Platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -175,7 +175,7 @@ const normalizeReaderHostActivationFeatureToken = (viewMode: string): string | n
175
175
  };
176
176
 
177
177
  const normalizeReaderHostActivationFeature = (viewMode: string): string => {
178
- const features: string[] = [];
178
+ const features: string[] = ['VIEW'];
179
179
  viewMode.split(/[;,]/).forEach((token) => {
180
180
  const feature = normalizeReaderHostActivationFeatureToken(token);
181
181
  if (feature && !features.includes(feature)) {
@@ -183,7 +183,7 @@ const normalizeReaderHostActivationFeature = (viewMode: string): string => {
183
183
  }
184
184
  });
185
185
 
186
- return features.length > 0 ? features.join(',') : 'VIEW';
186
+ return features.join(',');
187
187
  };
188
188
 
189
189
  const normalizeEmbedRuntimeOptions = (