@microsoft/teams-js 2.0.0-beta.6-dev.9 → 2.0.0-beta.6-dev.10

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.
@@ -1122,7 +1122,7 @@ __webpack_require__.d(__webpack_exports__, {
1122
1122
  });
1123
1123
 
1124
1124
  ;// CONCATENATED MODULE: ./src/internal/constants.ts
1125
- var version = "2.0.0-beta.6-dev.9";
1125
+ var version = "2.0.0-beta.6-dev.10";
1126
1126
  /**
1127
1127
  * @hidden
1128
1128
  * The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
@@ -4350,6 +4350,7 @@ function createMessageEvent(func, args) {
4350
4350
 
4351
4351
 
4352
4352
 
4353
+
4353
4354
  /**
4354
4355
  * @hidden
4355
4356
  * Namespace to interact with the logging part of the SDK.
@@ -4371,6 +4372,9 @@ var logs;
4371
4372
  */
4372
4373
  function registerGetLogHandler(handler) {
4373
4374
  ensureInitialized();
4375
+ if (!isSupported()) {
4376
+ throw errorNotSupportedOnPlatform;
4377
+ }
4374
4378
  if (handler) {
4375
4379
  registerHandler('log.request', function () {
4376
4380
  var log = handler();