@restorecommerce/acs-client 1.0.0 → 1.0.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.2](https://github.com/restorecommerce/libs/compare/@restorecommerce/acs-client@1.0.1...@restorecommerce/acs-client@1.0.2) (2022-10-04)
7
+
8
+ **Note:** Version bump only for package @restorecommerce/acs-client
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.1](https://github.com/restorecommerce/libs/compare/@restorecommerce/acs-client@1.0.0...@restorecommerce/acs-client@1.0.1) (2022-08-25)
15
+
16
+ **Note:** Version bump only for package @restorecommerce/acs-client
17
+
18
+
19
+
20
+
21
+
6
22
  # [1.0.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/acs-client@0.6.37...@restorecommerce/acs-client@1.0.0) (2022-08-25)
7
23
 
8
24
 
@@ -41,8 +41,6 @@ export interface Database {
41
41
  }
42
42
  export interface AuthZSubject {
43
43
  id: string;
44
- role_associations: RoleAssociation[];
45
- hierarchical_scopes?: HierarchicalScope[];
46
44
  }
47
45
  export interface HierarchicalScope {
48
46
  id: string;
@@ -113,7 +111,7 @@ export interface AuthZResponse extends Response {
113
111
  decision: Response_Decision;
114
112
  obligation: string;
115
113
  }
116
- export interface IAuthZ extends AuthZ<AuthZSubject | UnauthenticatedData, AuthZContext, Resource[], AuthZAction> {
114
+ export interface IAuthZ extends AuthZ<Subject | UnauthenticatedData, AuthZContext, Resource[], AuthZAction> {
117
115
  whatIsAllowed: (request: Request<AuthZWhatIsAllowedTarget | NoAuthWhatIsAllowedTarget, AuthZContext>, ctx: ACSClientContext, useCache: boolean) => Promise<PolicySetRQResponse>;
118
116
  }
119
117
  export interface UserCredentials extends Credentials {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/acs-client",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Access Control Service Client",
5
5
  "author": "n-fuse GmbH",
6
6
  "repository": {
@@ -17,17 +17,17 @@
17
17
  ],
18
18
  "main": "./lib/index.js",
19
19
  "dependencies": {
20
- "@restorecommerce/grpc-client": "^1.0.0",
21
- "@restorecommerce/kafka-client": "^1.0.0",
22
- "@restorecommerce/logger": "^1.0.0",
23
- "@restorecommerce/rc-grpc-clients": "^1.0.0",
24
- "@restorecommerce/service-config": "^1.0.0",
20
+ "@restorecommerce/grpc-client": "^1.0.1",
21
+ "@restorecommerce/kafka-client": "^1.0.2",
22
+ "@restorecommerce/logger": "^1.1.0",
23
+ "@restorecommerce/rc-grpc-clients": "^1.1.0",
24
+ "@restorecommerce/service-config": "^1.0.1",
25
25
  "lodash": "^4.17.21",
26
26
  "node-eval": "^2.0.0",
27
27
  "redis": "^4.2.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@restorecommerce/protos": "^1.0.0",
30
+ "@restorecommerce/protos": "^1.1.0",
31
31
  "@types/koa": "^2.13.4",
32
32
  "@types/lodash": "^4.14.182",
33
33
  "@types/mocha": "^9.1.1",
@@ -73,5 +73,5 @@
73
73
  }
74
74
  }
75
75
  },
76
- "gitHead": "2b25803ec9494c298f4f008a55485bc201c83bb8"
76
+ "gitHead": "0f34bd9515033e3933b0fe578d8e9b7b0b7bcc30"
77
77
  }