@mu-cabin/opms-permission 0.9.8 → 0.9.9

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/dist/index.cjs CHANGED
@@ -770,7 +770,7 @@ var Permission = class {
770
770
  }
771
771
  async queryTotalCompanies(config = {
772
772
  force: false,
773
- cacheTimeout: 2
773
+ cacheTimeout: 60 * 24
774
774
  }) {
775
775
  const { force, cacheTimeout = 2 } = config;
776
776
  let orgCompanyList;
package/dist/index.mjs CHANGED
@@ -720,7 +720,7 @@ var Permission = class {
720
720
  }
721
721
  async queryTotalCompanies(config = {
722
722
  force: false,
723
- cacheTimeout: 2
723
+ cacheTimeout: 60 * 24
724
724
  }) {
725
725
  const { force, cacheTimeout = 2 } = config;
726
726
  let orgCompanyList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.9.8",
3
+ "version": "0.9.9",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",