@microsoft/teams-js 2.24.0 → 2.24.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3395,7 +3395,7 @@ const _minRuntimeConfigToUninitialize = {
3395
3395
  * @hidden
3396
3396
  * Package version.
3397
3397
  */
3398
- const version = "2.24.0";
3398
+ const version = "2.24.1-beta.0";
3399
3399
 
3400
3400
  ;// CONCATENATED MODULE: ./src/internal/internalAPIs.ts
3401
3401
 
@@ -11809,6 +11809,7 @@ var clipboard_awaiter = (undefined && undefined.__awaiter) || function (thisArg,
11809
11809
 
11810
11810
 
11811
11811
 
11812
+
11812
11813
  /**
11813
11814
  * v2 APIs telemetry file: All of APIs in this capability file should send out API version v2 ONLY
11814
11815
  */
@@ -11883,7 +11884,14 @@ var clipboard;
11883
11884
  * @beta
11884
11885
  */
11885
11886
  function isSupported() {
11886
- return ensureInitialized(runtime) && navigator && navigator.clipboard && runtime.supports.clipboard ? true : false;
11887
+ if (GlobalVars.isFramelessWindow) {
11888
+ return ensureInitialized(runtime) && runtime.supports.clipboard ? true : false;
11889
+ }
11890
+ else {
11891
+ return ensureInitialized(runtime) && navigator && navigator.clipboard && runtime.supports.clipboard
11892
+ ? true
11893
+ : false;
11894
+ }
11887
11895
  }
11888
11896
  clipboard.isSupported = isSupported;
11889
11897
  })(clipboard || (clipboard = {}));