@mu-cabin/opms-permission 0.9.6 → 0.9.7

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
@@ -768,7 +768,7 @@ var Permission = class {
768
768
  return null;
769
769
  }
770
770
  }
771
- async queryCompanies(config = {
771
+ async queryTotalCompanies(config = {
772
772
  force: false,
773
773
  cacheTimeout: 2
774
774
  }) {
package/dist/index.d.mts CHANGED
@@ -374,7 +374,7 @@ declare class Permission {
374
374
  }): Promise<{
375
375
  orgTree: OrgTreeItem[];
376
376
  } | null>;
377
- queryCompanies(config?: {
377
+ queryTotalCompanies(config?: {
378
378
  force?: boolean;
379
379
  cacheTimeout?: number;
380
380
  }): Promise<OrgRecord$1[]>;
package/dist/index.d.ts CHANGED
@@ -374,7 +374,7 @@ declare class Permission {
374
374
  }): Promise<{
375
375
  orgTree: OrgTreeItem[];
376
376
  } | null>;
377
- queryCompanies(config?: {
377
+ queryTotalCompanies(config?: {
378
378
  force?: boolean;
379
379
  cacheTimeout?: number;
380
380
  }): Promise<OrgRecord$1[]>;
package/dist/index.mjs CHANGED
@@ -718,7 +718,7 @@ var Permission = class {
718
718
  return null;
719
719
  }
720
720
  }
721
- async queryCompanies(config = {
721
+ async queryTotalCompanies(config = {
722
722
  force: false,
723
723
  cacheTimeout: 2
724
724
  }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",