@vpmedia/simplify 1.5.2 → 1.5.3
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/README.md +1 -1
- package/package.json +1 -1
- package/src/util/fetchRetry.js +1 -1
- package/types/util/fetchRetry.d.ts +0 -1
- package/types/util/fetchRetry.d.ts.map +1 -1
- package/CHANGES.md +0 -57
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @vpmedia/simplify
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/js/@vpmedia%2Fsimplify)
|
|
4
4
|
[](https://github.com/vpmedia/simplify/actions/workflows/ci.yml)
|
|
5
5
|
|
|
6
6
|
@vpmedia/simplify TBD
|
package/package.json
CHANGED
package/src/util/fetchRetry.js
CHANGED
|
@@ -7,7 +7,7 @@ const logger = new Logger('fetch');
|
|
|
7
7
|
* Fetch with retry.
|
|
8
8
|
* @param {string | URL | Request} resource - Fetch URL.
|
|
9
9
|
* @param {RequestInit} [fetchOptions] - Fetch options.
|
|
10
|
-
* @param {{
|
|
10
|
+
* @param {{delay?: number, numTries?: number}} [retryOptions] - Retry options.
|
|
11
11
|
* @returns {Promise<Response>} Fetch result.
|
|
12
12
|
*/
|
|
13
13
|
export const fetchRetry = async (resource, fetchOptions, retryOptions) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchRetry.d.ts","sourceRoot":"","sources":["../../src/util/fetchRetry.js"],"names":[],"mappings":"AAYO,qCALI,MAAM,GAAG,GAAG,GAAG,OAAO,iBACtB,WAAW,iBACX;
|
|
1
|
+
{"version":3,"file":"fetchRetry.d.ts","sourceRoot":"","sources":["../../src/util/fetchRetry.js"],"names":[],"mappings":"AAYO,qCALI,MAAM,GAAG,GAAG,GAAG,OAAO,iBACtB,WAAW,iBACX;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAC,GACjC,OAAO,CAAC,QAAQ,CAAC,CA0B7B"}
|
package/CHANGES.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Release notes
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
|
-
|
|
6
|
-
## 1.5.2
|
|
7
|
-
|
|
8
|
-
- Improved fetch retry helper logging
|
|
9
|
-
|
|
10
|
-
## 1.5.1
|
|
11
|
-
|
|
12
|
-
- Bugfixes for fetch retry helper
|
|
13
|
-
|
|
14
|
-
## 1.5.0
|
|
15
|
-
|
|
16
|
-
- Refactored fetch retry helper
|
|
17
|
-
|
|
18
|
-
## 1.4.0
|
|
19
|
-
|
|
20
|
-
- Added fetch retry helper
|
|
21
|
-
|
|
22
|
-
## 1.3.0
|
|
23
|
-
|
|
24
|
-
- Changed logger level initialization strategy
|
|
25
|
-
|
|
26
|
-
## 1.2.3
|
|
27
|
-
|
|
28
|
-
- Fixed logger issue with vite compiled apps
|
|
29
|
-
|
|
30
|
-
## 1.2.0
|
|
31
|
-
|
|
32
|
-
- Added Logger class
|
|
33
|
-
- Fixed lint and typecheck issues
|
|
34
|
-
|
|
35
|
-
## 1.1.0
|
|
36
|
-
|
|
37
|
-
- Updated dependencies
|
|
38
|
-
|
|
39
|
-
## 1.0.4
|
|
40
|
-
|
|
41
|
-
- Reverted package module exports to main
|
|
42
|
-
|
|
43
|
-
## 1.0.3
|
|
44
|
-
|
|
45
|
-
- Added deep object value getter / setter helpers
|
|
46
|
-
|
|
47
|
-
## 1.0.2
|
|
48
|
-
|
|
49
|
-
- Added missing typescript typedefs
|
|
50
|
-
|
|
51
|
-
## 1.0.1
|
|
52
|
-
|
|
53
|
-
- Changed export name, fixed input check
|
|
54
|
-
|
|
55
|
-
## 1.0.0
|
|
56
|
-
|
|
57
|
-
- Initial release
|