@kwiz/common 1.0.43 → 1.0.44

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": "@kwiz/common",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "KWIZ common utilities and helpers for M365 platform",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -725,10 +725,10 @@ export async function isSharePointOnline() {
725
725
  return _spPageContextInfo.isSPO === true;
726
726
  }
727
727
 
728
- return null;
728
+ return false;
729
729
  }
730
730
 
731
- export async function isSharePointOnlineSync() {
731
+ export function isSharePointOnlineSync() {
732
732
  let url = new URL(window.location.href);
733
733
  //Most cases are satisfied by this check. Very few customers have custom domains for SharePoint online.
734
734
  if (url.host.toLowerCase().endsWith(".sharepoint.com")) {
@@ -739,5 +739,5 @@ export async function isSharePointOnlineSync() {
739
739
  return _spPageContextInfo.isSPO === true;
740
740
  }
741
741
 
742
- return null;
742
+ return false;
743
743
  }