@friggframework/core 1.2.0-canary.293.5731c31.0 → 1.2.0
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 +141 -0
- package/README.md +80 -0
- package/encrypt/encrypt.test.js +1 -1
- package/errors/validation-errors.js +2 -2
- package/index.js +3 -11
- package/integrations/index.js +1 -4
- package/integrations/integration-base.js +24 -0
- package/integrations/integration-factory.js +0 -12
- package/integrations/integration-router.js +133 -53
- package/integrations/test/integration-base.test.js +2 -1
- package/jest-setup.js +2 -0
- package/jest-teardown.js +2 -0
- package/{module-plugin/jest.config.js → jest.config.js} +2 -1
- package/logs/logger.test.js +1 -1
- package/module-plugin/auther.js +14 -6
- package/module-plugin/index.js +1 -5
- package/module-plugin/requester/requester.js +15 -1
- package/package.json +12 -11
- package/assertions/CHANGELOG.md +0 -87
- package/assertions/LICENSE.md +0 -9
- package/assertions/README.md +0 -3
- package/assertions/bump.txt +0 -1
- package/assertions/bump3.txt +0 -0
- package/associations/LICENSE.md +0 -9
- package/associations/README.md +0 -3
- package/associations/bump3.txt +0 -0
- package/associations/jest.config.js +0 -5
- package/core/.eslintrc.json +0 -3
- package/core/CHANGELOG.md +0 -103
- package/core/LICENSE.md +0 -9
- package/core/README.md +0 -3
- package/core/bump3.txt +0 -0
- package/core/jest.config.js +0 -5
- package/database/.eslintrc.json +0 -3
- package/database/CHANGELOG.md +0 -97
- package/database/LICENSE.md +0 -9
- package/database/README.md +0 -3
- package/database/bump3.txt +0 -0
- package/encrypt/.eslintrc.json +0 -3
- package/encrypt/CHANGELOG.md +0 -78
- package/encrypt/LICENSE.md +0 -9
- package/encrypt/README.md +0 -13
- package/encrypt/bump3.txt +0 -0
- package/encrypt/jest.config.js +0 -5
- package/errors/.eslintrc.json +0 -3
- package/errors/CHANGELOG.md +0 -44
- package/errors/LICENSE.md +0 -9
- package/errors/README.md +0 -3
- package/errors/bump.txt +0 -1
- package/errors/bump3.txt +0 -0
- package/errors/jest.config.js +0 -5
- package/integrations/.eslintrc.json +0 -3
- package/integrations/CHANGELOG.md +0 -244
- package/integrations/LICENSE.md +0 -9
- package/integrations/README.md +0 -3
- package/integrations/bump3.txt +0 -0
- package/integrations/jest-setup.js +0 -2
- package/integrations/jest-teardown.js +0 -2
- package/integrations/jest.config.js +0 -12
- package/integrations/mock-integration.js +0 -83
- package/lambda/README.md +0 -3
- package/lambda/bump3.txt +0 -0
- package/lambda/jest.config.js +0 -3
- package/logs/CHANGELOG.md +0 -57
- package/logs/LICENSE.md +0 -9
- package/logs/README.md +0 -3
- package/logs/bump3.txt +0 -0
- package/logs/jest.config.js +0 -5
- package/module-plugin/.eslintrc.json +0 -3
- package/module-plugin/CHANGELOG.md +0 -224
- package/module-plugin/LICENSE.md +0 -9
- package/module-plugin/README.md +0 -3
- package/module-plugin/auther-definition-method-tester.js +0 -45
- package/module-plugin/auther-definition-tester.js +0 -121
- package/module-plugin/bump3.txt +0 -0
- package/module-plugin/jest-setup.js +0 -3
- package/module-plugin/jest-teardown.js +0 -2
- package/syncs/README.md +0 -3
- package/syncs/bump3.txt +0 -0
- package/syncs/jest.config.js +0 -5
- package/types/CHANGELOG.md +0 -49
- package/types/README.md +0 -24
- package/types/bump3.txt +0 -0
- /package/{assertions/.eslintrc.json → .eslintrc.json} +0 -0
package/module-plugin/auther.js
CHANGED
|
@@ -88,6 +88,12 @@ class Auther extends Delegate {
|
|
|
88
88
|
const definition = get(params, 'definition');
|
|
89
89
|
Auther.validateDefinition(definition);
|
|
90
90
|
Object.assign(this, definition.requiredAuthMethods);
|
|
91
|
+
if (definition.getEntityOptions) {
|
|
92
|
+
this.getEntityOptions = definition.getEntityOptions;
|
|
93
|
+
}
|
|
94
|
+
if (definition.refreshEntityOptions) {
|
|
95
|
+
this.refreshEntityOptions = definition.refreshEntityOptions;
|
|
96
|
+
}
|
|
91
97
|
this.name = definition.moduleName;
|
|
92
98
|
this.modelName = definition.modelName;
|
|
93
99
|
this.apiClass = definition.API;
|
|
@@ -197,7 +203,7 @@ class Auther extends Delegate {
|
|
|
197
203
|
return valid;
|
|
198
204
|
}
|
|
199
205
|
|
|
200
|
-
getAuthorizationRequirements(params) {
|
|
206
|
+
async getAuthorizationRequirements(params) {
|
|
201
207
|
// TODO: How can this be more helpful both to implement and consume
|
|
202
208
|
// this function must return a dictionary with the following format
|
|
203
209
|
// node only url key is required. Data would be used for Base Authentication
|
|
@@ -263,12 +269,14 @@ class Auther extends Delegate {
|
|
|
263
269
|
}
|
|
264
270
|
|
|
265
271
|
async getEntityOptions() {
|
|
266
|
-
// May not be needed if the callback already creates the entity, such as in situations
|
|
267
|
-
// like HubSpot where the account is determined in the authorization flow.
|
|
268
|
-
// This should only be used in situations such as FreshBooks where the user needs to make
|
|
269
|
-
// an account decision on the front end.
|
|
270
272
|
throw new Error(
|
|
271
|
-
'
|
|
273
|
+
'Method getEntityOptions() is not defined in the class'
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
async refreshEntityOptions() {
|
|
278
|
+
throw new Error(
|
|
279
|
+
'Method refreshEntityOptions() is not defined in the class'
|
|
272
280
|
);
|
|
273
281
|
}
|
|
274
282
|
|
package/module-plugin/index.js
CHANGED
|
@@ -9,8 +9,6 @@ const { Requester } = require('./requester/requester');
|
|
|
9
9
|
const { ModuleConstants } = require('./ModuleConstants');
|
|
10
10
|
const { ModuleFactory } = require('./module-factory');
|
|
11
11
|
const { Auther } = require('./auther');
|
|
12
|
-
const { testAutherDefinition } = require('./auther-definition-tester');
|
|
13
|
-
const { testDefinitionRequiredAuthMethods } = require('./auther-definition-method-tester');
|
|
14
12
|
|
|
15
13
|
module.exports = {
|
|
16
14
|
Credential,
|
|
@@ -23,7 +21,5 @@ module.exports = {
|
|
|
23
21
|
Requester,
|
|
24
22
|
ModuleConstants,
|
|
25
23
|
ModuleFactory,
|
|
26
|
-
Auther
|
|
27
|
-
testAutherDefinition,
|
|
28
|
-
testDefinitionRequiredAuthMethods
|
|
24
|
+
Auther
|
|
29
25
|
};
|
|
@@ -48,7 +48,21 @@ class Requester extends Delegate {
|
|
|
48
48
|
|
|
49
49
|
if (this.agent) options.agent = this.agent;
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
let response;
|
|
52
|
+
try {
|
|
53
|
+
response = await this.fetch(encodedUrl, options);
|
|
54
|
+
} catch (e) {
|
|
55
|
+
if (e.code === 'ECONNRESET' && i < this.backOff.length) {
|
|
56
|
+
const delay = this.backOff[i] * 1000;
|
|
57
|
+
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
58
|
+
return this._request(url, options, i + 1);
|
|
59
|
+
}
|
|
60
|
+
throw await FetchError.create({
|
|
61
|
+
resource: encodedUrl,
|
|
62
|
+
init: options,
|
|
63
|
+
responseBody: e,
|
|
64
|
+
});
|
|
65
|
+
}
|
|
52
66
|
const { status } = response;
|
|
53
67
|
|
|
54
68
|
// If the status is retriable and there are back off requests left, retry the request
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@friggframework/core",
|
|
3
3
|
"prettier": "@friggframework/prettier-config",
|
|
4
|
-
"version": "1.2.0
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hapi/boom": "^10.0.1",
|
|
7
7
|
"aws-sdk": "^2.1200.0",
|
|
@@ -15,20 +15,21 @@
|
|
|
15
15
|
"node-fetch": "^2.6.7"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@friggframework/
|
|
18
|
+
"@friggframework/eslint-config": "^1.2.0",
|
|
19
|
+
"@friggframework/prettier-config": "^1.2.0",
|
|
20
|
+
"@friggframework/test": "^1.2.0",
|
|
19
21
|
"@types/lodash": "^4.14.191",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
21
23
|
"chai": "^4.3.6",
|
|
22
|
-
"eslint": "^8.
|
|
23
|
-
"eslint-
|
|
24
|
-
"eslint-plugin-
|
|
25
|
-
"eslint-plugin-
|
|
26
|
-
"
|
|
27
|
-
"jest": "^28.1.3",
|
|
24
|
+
"eslint": "^8.22.0",
|
|
25
|
+
"eslint-plugin-import": "^2.29.1",
|
|
26
|
+
"eslint-plugin-n": "^17.10.2",
|
|
27
|
+
"eslint-plugin-promise": "^7.0.0",
|
|
28
|
+
"jest": "^29.7.0",
|
|
28
29
|
"jest-runner-groups": "^2.2.0",
|
|
29
30
|
"mongodb-memory-server": "^8.9.0",
|
|
30
31
|
"prettier": "^2.8.5",
|
|
31
|
-
"sinon": "^
|
|
32
|
+
"sinon": "^16.1.1",
|
|
32
33
|
"typescript": "^5.0.2"
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
@@ -47,5 +48,5 @@
|
|
|
47
48
|
},
|
|
48
49
|
"homepage": "https://github.com/friggframework/frigg#readme",
|
|
49
50
|
"description": "",
|
|
50
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "9bc9921fe6892cf48ce91702fbf1691646085061"
|
|
51
52
|
}
|
package/assertions/CHANGELOG.md
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# v1.0.8 (Tue Apr 04 2023)
|
|
2
|
-
|
|
3
|
-
:tada: This release contains work from a new contributor! :tada:
|
|
4
|
-
|
|
5
|
-
Thank you, null[@debbie-yu](https://github.com/debbie-yu), for all your work!
|
|
6
|
-
|
|
7
|
-
#### 🐛 Bug Fix
|
|
8
|
-
|
|
9
|
-
- Adding new IntegrationMapping collection [#142](https://github.com/friggframework/frigg/pull/142) ([@debbie-yu](https://github.com/debbie-yu))
|
|
10
|
-
- Merge branch 'main' of https://github.com/friggframework/frigg into debbie.yu/integration-mapping ([@debbie-yu](https://github.com/debbie-yu))
|
|
11
|
-
- addressing PR feedback and adding unit tests around IntegrationMapping ([@debbie-yu](https://github.com/debbie-yu))
|
|
12
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
13
|
-
|
|
14
|
-
#### Authors: 2
|
|
15
|
-
|
|
16
|
-
- [@debbie-yu](https://github.com/debbie-yu)
|
|
17
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
# v1.0.7 (Tue Jan 10 2023)
|
|
22
|
-
|
|
23
|
-
:tada: This release contains work from a new contributor! :tada:
|
|
24
|
-
|
|
25
|
-
Thank you, Jonathan O'Donnell ([@joncodo](https://github.com/joncodo)), for all your work!
|
|
26
|
-
|
|
27
|
-
#### 🐛 Bug Fix
|
|
28
|
-
|
|
29
|
-
- strKey is not defined [#90](https://github.com/friggframework/frigg/pull/90) ([@seanspeaks](https://github.com/seanspeaks))
|
|
30
|
-
- strKey is not defined ([@seanspeaks](https://github.com/seanspeaks))
|
|
31
|
-
- Merge branch 'main' of github.com:friggframework/frigg into doc-updates ([@joncodo](https://github.com/joncodo))
|
|
32
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
33
|
-
|
|
34
|
-
#### Authors: 2
|
|
35
|
-
|
|
36
|
-
- Jonathan O'Donnell ([@joncodo](https://github.com/joncodo))
|
|
37
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
# v1.0.6 (Mon Jan 09 2023)
|
|
42
|
-
|
|
43
|
-
:tada: This release contains work from new contributors! :tada:
|
|
44
|
-
|
|
45
|
-
Thanks for all your work!
|
|
46
|
-
|
|
47
|
-
:heart: null[@cgenesoniSouthWorks](https://github.com/cgenesoniSouthWorks)
|
|
48
|
-
|
|
49
|
-
:heart: Gregorio Martin ([@gregoriomartin](https://github.com/gregoriomartin))
|
|
50
|
-
|
|
51
|
-
#### 🐛 Bug Fix
|
|
52
|
-
|
|
53
|
-
- Merge remote-tracking branch 'origin/main' into gitbook-updates [#48](https://github.com/friggframework/frigg/pull/48) ([@seanspeaks](https://github.com/seanspeaks))
|
|
54
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
55
|
-
- Updates to managers [#24](https://github.com/friggframework/frigg/pull/24) ([@seanspeaks](https://github.com/seanspeaks))
|
|
56
|
-
- replace local references [#22](https://github.com/friggframework/frigg/pull/22) ([@cgenesoniSouthWorks](https://github.com/cgenesoniSouthWorks) [@gregoriomartin](https://github.com/gregoriomartin))
|
|
57
|
-
- replace local references ([@cgenesoniSouthWorks](https://github.com/cgenesoniSouthWorks))
|
|
58
|
-
- Merge remote-tracking branch 'origin/main' into simplify-mongoose-models ([@seanspeaks](https://github.com/seanspeaks))
|
|
59
|
-
- Add READMEs for all packages and api-modules [#20](https://github.com/friggframework/frigg/pull/20) ([@seanspeaks](https://github.com/seanspeaks))
|
|
60
|
-
- Add READMEs for all packages and api-modules ([@seanspeaks](https://github.com/seanspeaks))
|
|
61
|
-
|
|
62
|
-
#### ⚠️ Pushed to `main`
|
|
63
|
-
|
|
64
|
-
- Merge branch 'main' into gitbook-updates ([@seanspeaks](https://github.com/seanspeaks))
|
|
65
|
-
- Add lodash.get as a dependency ([@seanspeaks](https://github.com/seanspeaks))
|
|
66
|
-
- Refactored for more conventional naming (at least for packages) ([@seanspeaks](https://github.com/seanspeaks))
|
|
67
|
-
|
|
68
|
-
#### Authors: 3
|
|
69
|
-
|
|
70
|
-
- [@cgenesoniSouthWorks](https://github.com/cgenesoniSouthWorks)
|
|
71
|
-
- Gregorio Martin ([@gregoriomartin](https://github.com/gregoriomartin))
|
|
72
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
# v1.0.5 (Thu Oct 13 2022)
|
|
77
|
-
|
|
78
|
-
#### 🐛 Bug Fix
|
|
79
|
-
|
|
80
|
-
- Bf/ironclad credential entity bug [#54](https://github.com/friggframework/frigg/pull/54) ([@JonathanEdMoore](https://github.com/JonathanEdMoore) [@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
81
|
-
- merge conflicts ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
82
|
-
- slack module changes ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
83
|
-
|
|
84
|
-
#### Authors: 2
|
|
85
|
-
|
|
86
|
-
- Jonathan Moore ([@JonathanEdMoore](https://github.com/JonathanEdMoore))
|
|
87
|
-
- Sheehan Toufiq Khan ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
package/assertions/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Left Hook Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/assertions/README.md
DELETED
package/assertions/bump.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0
|
package/assertions/bump3.txt
DELETED
|
File without changes
|
package/associations/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Left Hook Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/associations/README.md
DELETED
package/associations/bump3.txt
DELETED
|
File without changes
|
package/core/.eslintrc.json
DELETED
package/core/CHANGELOG.md
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# v0.2.14 (Tue Nov 07 2023)
|
|
2
|
-
|
|
3
|
-
:tada: This release contains work from a new contributor! :tada:
|
|
4
|
-
|
|
5
|
-
Thank you, null[@Jo-lefthook](https://github.com/Jo-lefthook), for all your work!
|
|
6
|
-
|
|
7
|
-
#### 🐛 Bug Fix
|
|
8
|
-
|
|
9
|
-
- Add support for Worker context [#229](https://github.com/friggframework/frigg/pull/229) ([@Jo-lefthook](https://github.com/Jo-lefthook))
|
|
10
|
-
- Add support for Worker context ([@Jo-lefthook](https://github.com/Jo-lefthook))
|
|
11
|
-
|
|
12
|
-
#### Authors: 1
|
|
13
|
-
|
|
14
|
-
- [@Jo-lefthook](https://github.com/Jo-lefthook)
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
# v0.2.12 (Tue Apr 04 2023)
|
|
19
|
-
|
|
20
|
-
:tada: This release contains work from a new contributor! :tada:
|
|
21
|
-
|
|
22
|
-
Thank you, null[@debbie-yu](https://github.com/debbie-yu), for all your work!
|
|
23
|
-
|
|
24
|
-
#### 🐛 Bug Fix
|
|
25
|
-
|
|
26
|
-
- Adding new IntegrationMapping collection [#142](https://github.com/friggframework/frigg/pull/142) ([@debbie-yu](https://github.com/debbie-yu))
|
|
27
|
-
- Merge branch 'main' of https://github.com/friggframework/frigg into debbie.yu/integration-mapping ([@debbie-yu](https://github.com/debbie-yu))
|
|
28
|
-
- addressing PR feedback and adding unit tests around IntegrationMapping ([@debbie-yu](https://github.com/debbie-yu))
|
|
29
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
30
|
-
|
|
31
|
-
#### Authors: 2
|
|
32
|
-
|
|
33
|
-
- [@debbie-yu](https://github.com/debbie-yu)
|
|
34
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
# v0.2.11 (Tue Jan 10 2023)
|
|
39
|
-
|
|
40
|
-
:tada: This release contains work from a new contributor! :tada:
|
|
41
|
-
|
|
42
|
-
Thank you, Jonathan O'Donnell ([@joncodo](https://github.com/joncodo)), for all your work!
|
|
43
|
-
|
|
44
|
-
#### 🐛 Bug Fix
|
|
45
|
-
|
|
46
|
-
- Merge branch 'main' of github.com:friggframework/frigg into doc-updates ([@joncodo](https://github.com/joncodo))
|
|
47
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
48
|
-
|
|
49
|
-
#### Authors: 2
|
|
50
|
-
|
|
51
|
-
- Jonathan O'Donnell ([@joncodo](https://github.com/joncodo))
|
|
52
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
# v0.2.10 (Mon Jan 09 2023)
|
|
57
|
-
|
|
58
|
-
#### 🐛 Bug Fix
|
|
59
|
-
|
|
60
|
-
- Merge remote-tracking branch 'origin/main' into gitbook-updates [#48](https://github.com/friggframework/frigg/pull/48) ([@seanspeaks](https://github.com/seanspeaks))
|
|
61
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
62
|
-
- A lot of changes all rolled into one [#21](https://github.com/friggframework/frigg/pull/21) ([@seanspeaks](https://github.com/seanspeaks))
|
|
63
|
-
- Fix ConnectWise ([@seanspeaks](https://github.com/seanspeaks))
|
|
64
|
-
- Bad reference fix ([@seanspeaks](https://github.com/seanspeaks))
|
|
65
|
-
- Merge remote-tracking branch 'origin/main' into simplify-mongoose-models ([@seanspeaks](https://github.com/seanspeaks))
|
|
66
|
-
- Added core as a dependency of module-plugin ([@seanspeaks](https://github.com/seanspeaks))
|
|
67
|
-
- Add READMEs for all packages and api-modules [#20](https://github.com/friggframework/frigg/pull/20) ([@seanspeaks](https://github.com/seanspeaks))
|
|
68
|
-
- Add READMEs for all packages and api-modules ([@seanspeaks](https://github.com/seanspeaks))
|
|
69
|
-
|
|
70
|
-
#### ⚠️ Pushed to `main`
|
|
71
|
-
|
|
72
|
-
- Merge branch 'main' into gitbook-updates ([@seanspeaks](https://github.com/seanspeaks))
|
|
73
|
-
- Refactored for more conventional naming (at least for packages) ([@seanspeaks](https://github.com/seanspeaks))
|
|
74
|
-
|
|
75
|
-
#### Authors: 1
|
|
76
|
-
|
|
77
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
# v0.2.9 (Wed Dec 21 2022)
|
|
82
|
-
|
|
83
|
-
#### 🐛 Bug Fix
|
|
84
|
-
|
|
85
|
-
- Delegate now returns whatever the response is from the receiveNotific… [#80](https://github.com/friggframework/frigg/pull/80) ([@seanspeaks](https://github.com/seanspeaks))
|
|
86
|
-
- Delegate now returns whatever the response is from the receiveNotification function, if anything ([@seanspeaks](https://github.com/seanspeaks))
|
|
87
|
-
|
|
88
|
-
#### Authors: 1
|
|
89
|
-
|
|
90
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
# v0.2.8 (Tue Dec 06 2022)
|
|
95
|
-
|
|
96
|
-
#### 🐛 Bug Fix
|
|
97
|
-
|
|
98
|
-
- fix imports Worker.js [#73](https://github.com/friggframework/frigg/pull/73) ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
99
|
-
- fix imports Worker.js ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
100
|
-
|
|
101
|
-
#### Authors: 1
|
|
102
|
-
|
|
103
|
-
- Sheehan Toufiq Khan ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
package/core/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Left Hook Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/core/README.md
DELETED
package/core/bump3.txt
DELETED
|
File without changes
|
package/core/jest.config.js
DELETED
package/database/.eslintrc.json
DELETED
package/database/CHANGELOG.md
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# v1.0.12 (Tue Apr 04 2023)
|
|
2
|
-
|
|
3
|
-
#### 🐛 Bug Fix
|
|
4
|
-
|
|
5
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
6
|
-
|
|
7
|
-
#### Authors: 1
|
|
8
|
-
|
|
9
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# v1.0.11 (Sun Feb 12 2023)
|
|
14
|
-
|
|
15
|
-
#### 🐛 Bug Fix
|
|
16
|
-
|
|
17
|
-
- StrictQuery issue resolution [#127](https://github.com/friggframework/frigg/pull/127) ([@seanspeaks](https://github.com/seanspeaks))
|
|
18
|
-
- strictQuery is false by default in mongoose 5, changed in mongoose 6 (which gives weird behavior as it just returns all documents when a query filter statement is null or missing), and will be reverted back to false in 7. So, stick to false and override locally if need be. ([@seanspeaks](https://github.com/seanspeaks))
|
|
19
|
-
|
|
20
|
-
#### Authors: 1
|
|
21
|
-
|
|
22
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
# v1.0.10 (Tue Jan 31 2023)
|
|
27
|
-
|
|
28
|
-
#### 🐛 Bug Fix
|
|
29
|
-
|
|
30
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
31
|
-
|
|
32
|
-
#### Authors: 1
|
|
33
|
-
|
|
34
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
# v1.0.9 (Mon Jan 09 2023)
|
|
39
|
-
|
|
40
|
-
#### 🐛 Bug Fix
|
|
41
|
-
|
|
42
|
-
- Merge remote-tracking branch 'origin/main' into gitbook-updates [#48](https://github.com/friggframework/frigg/pull/48) ([@seanspeaks](https://github.com/seanspeaks))
|
|
43
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
44
|
-
- A lot of changes all rolled into one [#21](https://github.com/friggframework/frigg/pull/21) ([@seanspeaks](https://github.com/seanspeaks))
|
|
45
|
-
- Merge remote-tracking branch 'origin/main' into simplify-mongoose-models ([@seanspeaks](https://github.com/seanspeaks))
|
|
46
|
-
- Add READMEs for all packages and api-modules [#20](https://github.com/friggframework/frigg/pull/20) ([@seanspeaks](https://github.com/seanspeaks))
|
|
47
|
-
- Add READMEs for all packages and api-modules ([@seanspeaks](https://github.com/seanspeaks))
|
|
48
|
-
- Begin tweaks for mongo/mongoose models ([@seanspeaks](https://github.com/seanspeaks))
|
|
49
|
-
|
|
50
|
-
#### ⚠️ Pushed to `main`
|
|
51
|
-
|
|
52
|
-
- Merge branch 'main' into gitbook-updates ([@seanspeaks](https://github.com/seanspeaks))
|
|
53
|
-
- Refactored for more conventional naming (at least for packages) ([@seanspeaks](https://github.com/seanspeaks))
|
|
54
|
-
|
|
55
|
-
#### Authors: 1
|
|
56
|
-
|
|
57
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
# v1.0.8 (Mon Dec 19 2022)
|
|
62
|
-
|
|
63
|
-
#### 🐛 Bug Fix
|
|
64
|
-
|
|
65
|
-
- Add MIT [#77](https://github.com/friggframework/frigg/pull/77) ([@seanspeaks](https://github.com/seanspeaks))
|
|
66
|
-
- Add MIT ([@seanspeaks](https://github.com/seanspeaks))
|
|
67
|
-
|
|
68
|
-
#### Authors: 1
|
|
69
|
-
|
|
70
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
# v1.0.7 (Tue Dec 06 2022)
|
|
75
|
-
|
|
76
|
-
#### 🐛 Bug Fix
|
|
77
|
-
|
|
78
|
-
- fix modules to @friggframework [#74](https://github.com/friggframework/frigg/pull/74) ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
79
|
-
- fix modules to @friggframework ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
80
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
81
|
-
|
|
82
|
-
#### Authors: 2
|
|
83
|
-
|
|
84
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
85
|
-
- Sheehan Toufiq Khan ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
# v1.0.6 (Mon Sep 19 2022)
|
|
90
|
-
|
|
91
|
-
#### 🐛 Bug Fix
|
|
92
|
-
|
|
93
|
-
- Merge remote-tracking branch 'origin/main' into gitbook-updates [#48](https://github.com/friggframework/frigg/pull/48) ([@seanspeaks](https://github.com/seanspeaks))
|
|
94
|
-
|
|
95
|
-
#### Authors: 1
|
|
96
|
-
|
|
97
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
package/database/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Left Hook Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/database/README.md
DELETED
package/database/bump3.txt
DELETED
|
File without changes
|
package/encrypt/.eslintrc.json
DELETED
package/encrypt/CHANGELOG.md
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# v1.1.8 (Fri Feb 02 2024)
|
|
2
|
-
|
|
3
|
-
#### 🐛 Bug Fix
|
|
4
|
-
|
|
5
|
-
- Added variable BYPASS_ENCRYPTION_STAGE to encrypt module [#248](https://github.com/friggframework/frigg/pull/248) ([@leofmds](https://github.com/leofmds))
|
|
6
|
-
- Added variable BYPASS_ENCRYPTION_STAGE to encrypt module ([@leofmds](https://github.com/leofmds))
|
|
7
|
-
|
|
8
|
-
#### Authors: 1
|
|
9
|
-
|
|
10
|
-
- Leonardo Ferreira ([@leofmds](https://github.com/leofmds))
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# v1.1.7 (Tue Apr 04 2023)
|
|
15
|
-
|
|
16
|
-
:tada: This release contains work from a new contributor! :tada:
|
|
17
|
-
|
|
18
|
-
Thank you, null[@debbie-yu](https://github.com/debbie-yu), for all your work!
|
|
19
|
-
|
|
20
|
-
#### 🐛 Bug Fix
|
|
21
|
-
|
|
22
|
-
- Adding new IntegrationMapping collection [#142](https://github.com/friggframework/frigg/pull/142) ([@debbie-yu](https://github.com/debbie-yu))
|
|
23
|
-
- Merge branch 'main' of https://github.com/friggframework/frigg into debbie.yu/integration-mapping ([@debbie-yu](https://github.com/debbie-yu))
|
|
24
|
-
- addressing PR feedback and adding unit tests around IntegrationMapping ([@debbie-yu](https://github.com/debbie-yu))
|
|
25
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
26
|
-
|
|
27
|
-
#### Authors: 2
|
|
28
|
-
|
|
29
|
-
- [@debbie-yu](https://github.com/debbie-yu)
|
|
30
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
# v1.1.6 (Tue Jan 31 2023)
|
|
35
|
-
|
|
36
|
-
#### 🐛 Bug Fix
|
|
37
|
-
|
|
38
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
39
|
-
|
|
40
|
-
#### Authors: 1
|
|
41
|
-
|
|
42
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
# v1.1.5 (Mon Jan 09 2023)
|
|
47
|
-
|
|
48
|
-
#### 🐛 Bug Fix
|
|
49
|
-
|
|
50
|
-
- Merge remote-tracking branch 'origin/main' into gitbook-updates [#48](https://github.com/friggframework/frigg/pull/48) ([@seanspeaks](https://github.com/seanspeaks))
|
|
51
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
52
|
-
- Merge remote-tracking branch 'origin/main' into simplify-mongoose-models ([@seanspeaks](https://github.com/seanspeaks))
|
|
53
|
-
- Add READMEs for all packages and api-modules [#20](https://github.com/friggframework/frigg/pull/20) ([@seanspeaks](https://github.com/seanspeaks))
|
|
54
|
-
- Add READMEs for all packages and api-modules ([@seanspeaks](https://github.com/seanspeaks))
|
|
55
|
-
|
|
56
|
-
#### ⚠️ Pushed to `main`
|
|
57
|
-
|
|
58
|
-
- Merge branch 'main' into gitbook-updates ([@seanspeaks](https://github.com/seanspeaks))
|
|
59
|
-
- Refactored for more conventional naming (at least for packages) ([@seanspeaks](https://github.com/seanspeaks))
|
|
60
|
-
|
|
61
|
-
#### Authors: 1
|
|
62
|
-
|
|
63
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
# v1.1.4 (Tue Dec 06 2022)
|
|
68
|
-
|
|
69
|
-
#### 🐛 Bug Fix
|
|
70
|
-
|
|
71
|
-
- fix modules to @friggframework [#74](https://github.com/friggframework/frigg/pull/74) ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
72
|
-
- fix modules to @friggframework ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
|
73
|
-
- Bump independent versions \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
74
|
-
|
|
75
|
-
#### Authors: 2
|
|
76
|
-
|
|
77
|
-
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
78
|
-
- Sheehan Toufiq Khan ([@sheehantoufiq](https://github.com/sheehantoufiq))
|
package/encrypt/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Left Hook Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/encrypt/README.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# encrypt
|
|
2
|
-
|
|
3
|
-
This package exports the `encrypt` mongoose plugin used in [Frigg](https://friggframework.org). You can find its documentation [on Frigg's website](https://docs.friggframework.org/packages/encrypt).
|
|
4
|
-
|
|
5
|
-
## Configuration
|
|
6
|
-
|
|
7
|
-
| Environment variable | Description |
|
|
8
|
-
|-------------------------|------------------------------------------------------------------------------------------------------------|
|
|
9
|
-
| KMS_KEY_ARN | The AWS KMS Key ARN, if using it to encryption/decryption. |
|
|
10
|
-
| AES_KEY | AES key, used in conjunction with AES_KEY_ID. AES option is mutually exclusive with KMS_KEY_ARN. |
|
|
11
|
-
| AES_KEY_ID | AES key ID, used in conjunction with AES_KEY. |
|
|
12
|
-
| STAGE | The stage in which the application is running. It is usually defined in Serverless configuration, if used. |
|
|
13
|
-
| BYPASS_ENCRYPTION_STAGE | Stages to bypass encryption/decryption, separated by comma. |
|
package/encrypt/bump3.txt
DELETED
|
File without changes
|
package/encrypt/jest.config.js
DELETED
package/errors/.eslintrc.json
DELETED