@lotics/app-sdk 0.131.16 → 0.131.17

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11520,7 +11520,7 @@ function useAgentRuns(sessionId, opts) {
11520
11520
  import { useCallback as useCallback5, useMemo as useMemo3, useState as useState3 } from "react";
11521
11521
 
11522
11522
  // ../shared/src/iam_helpers.ts
11523
- var ORGANIZATION_OWNER_ROLES = ["owner", "admin", "co_owner"];
11523
+ var ORGANIZATION_OWNER_ROLES = ["owner", "co_owner"];
11524
11524
  function isOrganizationOwner(role) {
11525
11525
  return ORGANIZATION_OWNER_ROLES.some((one) => one === role);
11526
11526
  }
@@ -11529,7 +11529,7 @@ function organizationRole(stored) {
11529
11529
  return isCoOwner(stored) ? "co_owner" : "member";
11530
11530
  }
11531
11531
  function isCoOwner(role) {
11532
- return isOrganizationOwner(role) && role !== "owner";
11532
+ return role === "co_owner";
11533
11533
  }
11534
11534
 
11535
11535
  // ../shared/src/app_screen/cells.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.131.16",
3
+ "version": "0.131.17",
4
4
  "description": "The SDK a Lotics custom-code app reads and writes through — typed hooks over the host bridge, cell readers, mount() and AppRouter",
5
5
  "type": "module",
6
6
  "exports": {