@api-client/core 0.19.13 → 0.19.14

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.19.13",
4
+ "version": "0.19.14",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
7
7
  "./browser.js": {
@@ -600,7 +600,8 @@ export function validateExposedEntity(entity: ExposedEntity, apiModel: ApiModel)
600
600
  message: `The ${action.kind} action has no security rules attached, making it entirely inaccessible or open.`,
601
601
  suggestion: 'Allow specific user roles to access this operation.',
602
602
  severity: 'error',
603
- context: { ...context, kind: 'Action', key: action.kind }, // using action.kind as the key context equivalent
603
+ // using action.kind as the key context equivalent
604
+ context: { ...context, kind: 'Action', key: action.kind, parentExposedEntityKey: entity.key },
604
605
  })
605
606
  }
606
607
  }