@meistrari/auth-core 2.6.0 → 2.7.0

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.d.mts CHANGED
@@ -4897,7 +4897,7 @@ type CreateAdminApplicationRoleOptions = Omit<AdminApplicationRole, 'application
4897
4897
  /** Options accepted when updating an application role. */
4898
4898
  type UpdateAdminApplicationRoleOptions = CreateAdminApplicationRoleOptions;
4899
4899
  /** Kind of matcher an entitlement rule applies. */
4900
- type AdminEntitlementRuleType = 'email_equals' | 'email_domain_equals' | 'organization_member' | 'user_id_equals' | 'global';
4900
+ type AdminEntitlementRuleType = 'email_equals' | 'email_domain_equals' | 'organization_member' | 'user_id_equals' | 'organization_role_equals' | 'global';
4901
4901
  /**
4902
4902
  * A single access rule on an entitlement. Rules are evaluated in `position`
4903
4903
  * order with the global catch-all always last, first match wins. A non-null `role` grants access with that role; a
package/dist/index.d.ts CHANGED
@@ -4897,7 +4897,7 @@ type CreateAdminApplicationRoleOptions = Omit<AdminApplicationRole, 'application
4897
4897
  /** Options accepted when updating an application role. */
4898
4898
  type UpdateAdminApplicationRoleOptions = CreateAdminApplicationRoleOptions;
4899
4899
  /** Kind of matcher an entitlement rule applies. */
4900
- type AdminEntitlementRuleType = 'email_equals' | 'email_domain_equals' | 'organization_member' | 'user_id_equals' | 'global';
4900
+ type AdminEntitlementRuleType = 'email_equals' | 'email_domain_equals' | 'organization_member' | 'user_id_equals' | 'organization_role_equals' | 'global';
4901
4901
  /**
4902
4902
  * A single access rule on an entitlement. Rules are evaluated in `position`
4903
4903
  * order with the global catch-all always last, first match wins. A non-null `role` grants access with that role; a
package/dist/index.mjs CHANGED
@@ -21,7 +21,7 @@ function isTokenExpired(token, expiresInMs) {
21
21
  return nowInSeconds > expirationTime;
22
22
  }
23
23
 
24
- const version = "2.6.0";
24
+ const version = "2.7.0";
25
25
 
26
26
  function parsedEnumValues(schema) {
27
27
  return Object.fromEntries(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/auth-core",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {