@api-client/core 0.18.28 → 0.18.30

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@api-client/core",
3
3
  "description": "The API Client's core client library. Works in NodeJS and in a ES enabled browser.",
4
- "version": "0.18.28",
4
+ "version": "0.18.30",
5
5
  "license": "Apache-2.0",
6
6
  "exports": {
7
7
  "./browser.js": {
@@ -97,15 +97,15 @@
97
97
  "chalk": "^5.4.1",
98
98
  "console-table-printer": "^2.11.2",
99
99
  "dompurify": "^3.2.6",
100
- "jsdom": "^26.1.0",
100
+ "jsdom": "^27.0.0",
101
101
  "nanoid": "^5.1.5",
102
102
  "tslog": "^4.9.3",
103
103
  "ws": "^8.12.0",
104
104
  "xpath": "^0.0.34"
105
105
  },
106
106
  "devDependencies": {
107
- "@commitlint/cli": "^19.3.0",
108
- "@commitlint/config-conventional": "^19.2.2",
107
+ "@commitlint/cli": "^20.1.0",
108
+ "@commitlint/config-conventional": "^20.0.0",
109
109
  "@eslint/js": "^9.20.0",
110
110
  "@japa/api-client": "^3.0.3",
111
111
  "@japa/assert": "^4.0.1",
@@ -116,7 +116,7 @@
116
116
  "@rollup/plugin-typescript": "^12.1.2",
117
117
  "@types/cors": "^2.8.12",
118
118
  "@types/express-ntlm": "^2.3.3",
119
- "@types/jsdom": "^21.1.7",
119
+ "@types/jsdom": "^27.0.0",
120
120
  "@types/json-schema": "^7.0.15",
121
121
  "@types/mocha": "^10.0.10",
122
122
  "@types/node": "^24.0.1",
@@ -741,7 +741,7 @@ export interface MatchUserRoleAccessRule extends BaseAccessRule {
741
741
  * The domain model should annotate this property with the "UserRole" semantic
742
742
  * to indicate that it is used for role-based access control.
743
743
  */
744
- role: string
744
+ role: string[]
745
745
  }
746
746
  /**
747
747
  * The action is allowed if a specific property on the authenticated user matches an expected value.
@@ -766,9 +766,9 @@ export interface MatchUserPropertyAccessRule extends BaseAccessRule {
766
766
  export interface MatchEmailDomainAccessRule extends BaseAccessRule {
767
767
  type: 'matchEmailDomain'
768
768
  /**
769
- * The email domain that the authenticated user's email must match.
769
+ * The email domains that the authenticated user's email must match.
770
770
  */
771
- domain: string
771
+ domains: string[]
772
772
  }
773
773
 
774
774
  /**