@cocreate/authorize 1.2.0 → 1.2.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/.github/FUNDING.yml +3 -3
- package/.github/workflows/automated.yml +55 -55
- package/CHANGELOG.md +30 -16
- package/CoCreate.config.js +25 -25
- package/LICENSE +574 -574
- package/README.md +70 -70
- package/docs/index.html +232 -232
- package/package.json +4 -4
- package/release.config.js +21 -21
- package/src/index.js +384 -384
package/.github/FUNDING.yml
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# These are supported funding model platforms
|
|
2
|
-
|
|
3
|
-
github: CoCreate-app
|
|
1
|
+
# These are supported funding model platforms
|
|
2
|
+
|
|
3
|
+
github: CoCreate-app
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
name: Automated Deployment
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
1
|
+
name: Automated Deployment
|
|
2
|
+
"on":
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
|
+
jobs:
|
|
7
|
+
about:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- name: Checkout
|
|
11
|
+
uses: actions/checkout@v3
|
|
12
|
+
- name: setup nodejs
|
|
13
|
+
uses: actions/setup-node@v3
|
|
14
|
+
with:
|
|
15
|
+
node-version: 16
|
|
16
|
+
- name: Jaid/action-sync-node-meta
|
|
17
|
+
uses: jaid/action-sync-node-meta@v1.4.0
|
|
18
|
+
with:
|
|
19
|
+
direction: overwrite-github
|
|
20
|
+
githubToken: "${{ secrets.GITHUB }}"
|
|
21
|
+
release:
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
steps:
|
|
24
|
+
- name: Checkout
|
|
25
|
+
uses: actions/checkout@v3
|
|
26
|
+
- name: setup nodejs
|
|
27
|
+
uses: actions/setup-node@v3
|
|
28
|
+
with:
|
|
29
|
+
node-version: 14
|
|
30
|
+
- name: Semantic Release
|
|
31
|
+
uses: cycjimmy/semantic-release-action@v3
|
|
32
|
+
id: semantic
|
|
33
|
+
with:
|
|
34
|
+
extra_plugins: |
|
|
35
|
+
@semantic-release/changelog
|
|
36
|
+
@semantic-release/git
|
|
37
|
+
@semantic-release/github
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: "${{ secrets.GITHUB }}"
|
|
40
|
+
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
|
|
41
|
+
outputs:
|
|
42
|
+
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
|
|
43
|
+
new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
|
|
44
|
+
|
|
45
|
+
docs:
|
|
46
|
+
runs-on: ubuntu-latest
|
|
47
|
+
steps:
|
|
48
|
+
- name: Checkout
|
|
49
|
+
uses: actions/checkout@v3
|
|
50
|
+
- name: setup nodejs
|
|
51
|
+
uses: actions/setup-node@v3
|
|
52
|
+
with:
|
|
53
|
+
node-version: 16
|
|
54
|
+
- name: update documentation
|
|
55
|
+
uses: CoCreate-app/CoCreate-docs@master
|
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
## [1.2.2](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.2.1...v1.2.2) (2023-06-04)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([6d6b1c4](https://github.com/CoCreate-app/CoCreate-authorize/commit/6d6b1c40e292e78a43e98632e1ca28cf36e3fe50))
|
|
7
7
|
|
|
8
|
+
## [1.2.1](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.2.0...v1.2.1) (2023-06-04)
|
|
8
9
|
|
|
9
|
-
### Features
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
# [1.1.0](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.0.0...v1.1.0) (2023-06-01)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
### Features
|
|
17
|
-
|
|
18
|
-
* **authorize:** Add permission-based authorization function ([dce152f](https://github.com/CoCreate-app/CoCreate-authorize/commit/dce152f6f504a5ac790e98753ad31c5e83cee295))
|
|
19
|
-
|
|
20
|
-
# 1.0.0 (2023-05-31)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### Features
|
|
11
|
+
### Bug Fixes
|
|
24
12
|
|
|
13
|
+
* **semantic-release:** worklow error solved by running node version 14 ([111e8f2](https://github.com/CoCreate-app/CoCreate-authorize/commit/111e8f2593f6b39ce5fb6ce7c5981cd7213b2a25))
|
|
14
|
+
|
|
15
|
+
# [1.2.0](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.1.0...v1.2.0) (2023-06-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* html formating ([0882b10](https://github.com/CoCreate-app/CoCreate-authorize/commit/0882b10bd6ad41909b8f834a4828620a5253331d))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* Added support for utils package ([c05d7da](https://github.com/CoCreate-app/CoCreate-authorize/commit/c05d7dae1ec85687f753737a790021ff01b90450))
|
|
26
|
+
|
|
27
|
+
# [1.1.0](https://github.com/CoCreate-app/CoCreate-authorize/compare/v1.0.0...v1.1.0) (2023-06-01)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **authorize:** Add permission-based authorization function ([dce152f](https://github.com/CoCreate-app/CoCreate-authorize/commit/dce152f6f504a5ac790e98753ad31c5e83cee295))
|
|
33
|
+
|
|
34
|
+
# 1.0.0 (2023-05-31)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
25
39
|
* Initial release. Compares data with authorized object and removes keys user does not have authorization to access. ([005b827](https://github.com/CoCreate-app/CoCreate-authorize/commit/005b82745002a2d9d33ca1e0625f50287db30572))
|
package/CoCreate.config.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
"config": {
|
|
3
|
-
"organization_id": "5ff747727005da1c272740ab",
|
|
4
|
-
"key": "2061acef-0451-4545-f754-60cf8160",
|
|
5
|
-
"host": "general.cocreate.app"
|
|
6
|
-
},
|
|
7
|
-
"sources": [
|
|
8
|
-
{
|
|
9
|
-
"collection": "files",
|
|
10
|
-
"document": {
|
|
11
|
-
"_id": "637ca55150234ef1671ce324",
|
|
12
|
-
"name": "index.html",
|
|
13
|
-
"path": "/docs/authorize/index.html",
|
|
14
|
-
"src": "{{./docs/index.html}}",
|
|
15
|
-
"hosts": [
|
|
16
|
-
"*",
|
|
17
|
-
"general.cocreate.app"
|
|
18
|
-
],
|
|
19
|
-
"directory": "/docs/authorize",
|
|
20
|
-
"content-type": "text/html",
|
|
21
|
-
"public": "true",
|
|
22
|
-
"website_id": "5ffbceb7f11d2d00103c4535"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
]
|
|
1
|
+
module.exports = {
|
|
2
|
+
"config": {
|
|
3
|
+
"organization_id": "5ff747727005da1c272740ab",
|
|
4
|
+
"key": "2061acef-0451-4545-f754-60cf8160",
|
|
5
|
+
"host": "general.cocreate.app"
|
|
6
|
+
},
|
|
7
|
+
"sources": [
|
|
8
|
+
{
|
|
9
|
+
"collection": "files",
|
|
10
|
+
"document": {
|
|
11
|
+
"_id": "637ca55150234ef1671ce324",
|
|
12
|
+
"name": "index.html",
|
|
13
|
+
"path": "/docs/authorize/index.html",
|
|
14
|
+
"src": "{{./docs/index.html}}",
|
|
15
|
+
"hosts": [
|
|
16
|
+
"*",
|
|
17
|
+
"general.cocreate.app"
|
|
18
|
+
],
|
|
19
|
+
"directory": "/docs/authorize",
|
|
20
|
+
"content-type": "text/html",
|
|
21
|
+
"public": "true",
|
|
22
|
+
"website_id": "5ffbceb7f11d2d00103c4535"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
26
|
}
|