@restorecommerce/protos 0.6.1 → 0.6.4

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,29 @@
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
+ ## [0.6.4](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.3...@restorecommerce/protos@0.6.4) (2022-02-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **protos:** add token to code exchange ([9c17cb6](https://github.com/restorecommerce/libs/commit/9c17cb6e3a16761a85a4b9379c3c6996cc5422e8))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.6.3](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.6.0...@restorecommerce/protos@0.6.3) (2022-02-14)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **protos:** added data field for user and created time stamp for role associations ([cf14968](https://github.com/restorecommerce/libs/commit/cf14968aa1575ef83fde4b73780ba80fd3bf0188))
23
+ * **protos:** fix auth proto ([b5e7f41](https://github.com/restorecommerce/libs/commit/b5e7f410bad2c1786e69186555584f591cd0c48b))
24
+
25
+
26
+
27
+
28
+
6
29
  # [0.6.0](https://github.com/restorecommerce/libs/compare/@restorecommerce/protos@0.5.0...@restorecommerce/protos@0.6.0) (2022-02-09)
7
30
 
8
31
 
@@ -319,4 +342,4 @@ Updated user proto to include auth_context and roles proto to include `assignabl
319
342
 
320
343
  ### 0.0.1 (January 29th, 2020)
321
344
 
322
- Initial share.
345
+ Initial share
package/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) n-fuse GmbH and other contributors.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -35,7 +35,7 @@ message RoleAssociation {
35
35
  string role = 1; // role ID
36
36
  repeated io.restorecommerce.attribute.Attribute attributes = 2; // useful attributes for RBAC/ABAC like organizational scope
37
37
  string id = 3; // identifier for role_association
38
- double created = 1; // timestamp when the role was created
38
+ double created = 4; // timestamp when the role was created
39
39
  }
40
40
 
41
41
  message HierarchicalScopesRequest {
@@ -2,6 +2,7 @@ syntax = "proto3";
2
2
 
3
3
  package io.restorecommerce.oauth;
4
4
 
5
+ import "io/restorecommerce/auth.proto";
5
6
  import "io/restorecommerce/user.proto";
6
7
  import "google/protobuf/empty.proto";
7
8
 
@@ -28,4 +29,5 @@ message ExchangeCodeRequest {
28
29
  message ExchangeCodeResponse {
29
30
  io.restorecommerce.user.UserResponse user = 1;
30
31
  string email = 2;
32
+ io.restorecommerce.auth.Tokens token = 3;
31
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restorecommerce/protos",
3
- "version": "0.6.1",
3
+ "version": "0.6.4",
4
4
  "description": "Protobuf descriptors for Restorecommerce services",
5
5
  "author": "n-fuse GmbH",
6
6
  "repository": {
@@ -15,5 +15,5 @@
15
15
  "protobufs"
16
16
  ],
17
17
  "scripts": {},
18
- "gitHead": "0a6f7c94bfb1811c5dd60ab8c4912a41299b3717"
18
+ "gitHead": "48d54d4a52972fa4c7f03a105241ea0662454e83"
19
19
  }