@friggframework/core 1.1.4--canary.301.a08eae3.0 → 1.1.5
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 +34 -0
- package/module-plugin/requester/requester.js +15 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
# v1.1.5 (Tue Apr 09 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- update router to include options and refresh [#301](https://github.com/friggframework/frigg/pull/301) ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
6
|
+
- consistent spacing ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
7
|
+
- add back the /api/entity POST of a credential with a tentative adjustment to implementation ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
8
|
+
- be consistent about not using redundant variables for the response json ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
9
|
+
- remove accidental newline ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
10
|
+
- fixes to router and stubs ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
11
|
+
- update router to include options and refresh for entities, integration config, and integration user actions ([@MichaelRyanWebber](https://github.com/MichaelRyanWebber))
|
|
12
|
+
- Bump version to: v1.1.4 \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
13
|
+
- Bump version to: v1.1.3 \[skip ci\] ([@seanspeaks](https://github.com/seanspeaks))
|
|
14
|
+
|
|
15
|
+
#### Authors: 2
|
|
16
|
+
|
|
17
|
+
- [@MichaelRyanWebber](https://github.com/MichaelRyanWebber)
|
|
18
|
+
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# v1.1.4 (Fri Apr 05 2024)
|
|
23
|
+
|
|
24
|
+
#### 🐛 Bug Fix
|
|
25
|
+
|
|
26
|
+
- Socket hang up / ECONNRESET error retry for requester [#297](https://github.com/friggframework/frigg/pull/297) ([@seanspeaks](https://github.com/seanspeaks))
|
|
27
|
+
- Check linear task description for offending error. Unclear if this is the best approach. ([@seanspeaks](https://github.com/seanspeaks))
|
|
28
|
+
|
|
29
|
+
#### Authors: 1
|
|
30
|
+
|
|
31
|
+
- Sean Matthews ([@seanspeaks](https://github.com/seanspeaks))
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
1
35
|
# v1.1.3 (Tue Apr 02 2024)
|
|
2
36
|
|
|
3
37
|
#### 🐛 Bug Fix
|
|
@@ -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.1.
|
|
4
|
+
"version": "1.1.5",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hapi/boom": "^10.0.1",
|
|
7
7
|
"aws-sdk": "^2.1200.0",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"node-fetch": "^2.6.7"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@friggframework/eslint-config": "1.1.
|
|
19
|
-
"@friggframework/prettier-config": "1.1.
|
|
20
|
-
"@friggframework/test": "1.1.
|
|
18
|
+
"@friggframework/eslint-config": "^1.1.5",
|
|
19
|
+
"@friggframework/prettier-config": "^1.1.5",
|
|
20
|
+
"@friggframework/test": "^1.1.5",
|
|
21
21
|
"@types/lodash": "^4.14.191",
|
|
22
22
|
"@typescript-eslint/eslint-plugin": "^5.55.0",
|
|
23
23
|
"chai": "^4.3.6",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://github.com/friggframework/frigg#readme",
|
|
51
51
|
"description": "",
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "1a53bc7153b3735729e4d881ca9d7677964293c9"
|
|
53
53
|
}
|