@alwatr/fetch 2.0.7 → 2.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +179 -167
  2. package/package.json +11 -7
package/CHANGELOG.md CHANGED
@@ -3,45 +3,57 @@
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
- ## [2.0.7](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.6...@alwatr/fetch@2.0.7) (2023-11-01)
6
+ # [2.1.0](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.8...@alwatr/fetch@2.1.0) (2023-11-14)
7
+
8
+ ### Features
9
+
10
+ * **yarn:** pnp ([b6a562c](https://github.com/Alwatr/eslib/commit/b6a562c909a35b3e626442e5c325da3fce448e1b)) by @AliMD
11
+
12
+ ## [2.0.8](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.7...@alwatr/fetch@2.0.8) (2023-11-08)
13
+
14
+ ### Bug Fixes
15
+
16
+ * move repo urls ([719aa3e](https://github.com/Alwatr/eslib/commit/719aa3e7462d3c9c6272958fc93f89fda6793fb1)) by @AliMD
17
+
18
+ ## [2.0.7](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.6...@alwatr/fetch@2.0.7) (2023-11-01)
7
19
 
8
20
  **Note:** Version bump only for package @alwatr/fetch
9
21
 
10
- ## [2.0.6](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.5...@alwatr/fetch@2.0.6) (2023-10-23)
22
+ ## [2.0.6](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.5...@alwatr/fetch@2.0.6) (2023-10-23)
11
23
 
12
24
  **Note:** Version bump only for package @alwatr/fetch
13
25
 
14
- ## [2.0.5](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.4...@alwatr/fetch@2.0.5) (2023-10-23)
26
+ ## [2.0.5](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.4...@alwatr/fetch@2.0.5) (2023-10-23)
15
27
 
16
28
  **Note:** Version bump only for package @alwatr/fetch
17
29
 
18
- ## [2.0.4](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.3...@alwatr/fetch@2.0.4) (2023-10-23)
30
+ ## [2.0.4](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.3...@alwatr/fetch@2.0.4) (2023-10-23)
19
31
 
20
32
  ### Bug Fixes
21
33
 
22
- * **fetch:** compatible with new logger api ([a51d7d2](https://github.com/AliMD/alwatr-eslib/commit/a51d7d23e9f7760c4d68685375cc8010456128fc)) by @AliMD
34
+ * **fetch:** compatible with new logger api ([a51d7d2](https://github.com/Alwatr/eslib/commit/a51d7d23e9f7760c4d68685375cc8010456128fc)) by @AliMD
23
35
 
24
- ## [2.0.3](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.2...@alwatr/fetch@2.0.3) (2023-10-23)
36
+ ## [2.0.3](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.2...@alwatr/fetch@2.0.3) (2023-10-23)
25
37
 
26
38
  **Note:** Version bump only for package @alwatr/fetch
27
39
 
28
- ## [2.0.2](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.1...@alwatr/fetch@2.0.2) (2023-10-23)
40
+ ## [2.0.2](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.1...@alwatr/fetch@2.0.2) (2023-10-23)
29
41
 
30
42
  **Note:** Version bump only for package @alwatr/fetch
31
43
 
32
- ## [2.0.1](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@2.0.0...@alwatr/fetch@2.0.1) (2023-09-19)
44
+ ## [2.0.1](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@2.0.0...@alwatr/fetch@2.0.1) (2023-09-19)
33
45
 
34
46
  ### Bug Fixes
35
47
 
36
- - package repo urls ([466cbe9](https://github.com/AliMD/alwatr-eslib/commit/466cbe9188f24e1a1bc36d879a95b52538a58f16)) by @AliMD
48
+ - package repo urls ([466cbe9](https://github.com/Alwatr/eslib/commit/466cbe9188f24e1a1bc36d879a95b52538a58f16)) by @AliMD
37
49
 
38
- # [2.0.0](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@1.1.3...@alwatr/fetch@2.0.0) (2023-09-19)
50
+ # [2.0.0](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@1.1.3...@alwatr/fetch@2.0.0) (2023-09-19)
39
51
 
40
52
  ### Bug Fixes
41
53
 
42
- - **fetch:** remove @alwatr/signal ([03d947b](https://github.com/AliMD/alwatr-eslib/commit/03d947be3889d63805eabb7f4be618fed6da0d55)) by @AliMD
54
+ - **fetch:** remove @alwatr/signal ([03d947b](https://github.com/Alwatr/eslib/commit/03d947be3889d63805eabb7f4be618fed6da0d55)) by @AliMD
43
55
 
44
- - fix(fetch)!: remove fetchContext ([eba9cf0](https://github.com/AliMD/alwatr-eslib/commit/eba9cf0a443564478b5b985a69d0f54fbd514440)) by @AliMD
56
+ - fix(fetch)!: remove fetchContext ([eba9cf0](https://github.com/Alwatr/eslib/commit/eba9cf0a443564478b5b985a69d0f54fbd514440)) by @AliMD
45
57
 
46
58
  ### BREAKING CHANGES
47
59
 
@@ -51,13 +63,13 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
51
63
 
52
64
  ### Bug Fixes
53
65
 
54
- - cleanup extra packages ([dfc0bd2](https://github.com/AliMD/alwatr-eslib/commit/dfc0bd2b42d49e1094ae0303d34e653aa289d358)) by @AliMD
66
+ - cleanup extra packages ([dfc0bd2](https://github.com/Alwatr/eslib/commit/dfc0bd2b42d49e1094ae0303d34e653aa289d358)) by @AliMD
55
67
 
56
- ## [1.1.2](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@1.1.1...@alwatr/fetch@1.1.2) (2023-09-12)
68
+ ## [1.1.2](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@1.1.1...@alwatr/fetch@1.1.2) (2023-09-12)
57
69
 
58
70
  **Note:** Version bump only for package @alwatr/fetch
59
71
 
60
- ## [1.1.1](https://github.com/AliMD/alwatr-eslib/compare/@alwatr/fetch@1.1.0...@alwatr/fetch@1.1.1) (2023-09-12)
72
+ ## [1.1.1](https://github.com/Alwatr/eslib/compare/@alwatr/fetch@1.1.0...@alwatr/fetch@1.1.1) (2023-09-12)
61
73
 
62
74
  **Note:** Version bump only for package @alwatr/fetch
63
75
 
@@ -69,51 +81,51 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
69
81
 
70
82
  ### Bug Fixes
71
83
 
72
- - **fetch:** serviceRequest type ([44c1086](https://github.com/AliMD/alwatr-eslib/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
73
- - **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/AliMD/alwatr-eslib/commit/f554b575584cb1464d48fbe8a8c4006125365853))
84
+ - **fetch:** serviceRequest type ([44c1086](https://github.com/Alwatr/eslib/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
85
+ - **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/Alwatr/eslib/commit/f554b575584cb1464d48fbe8a8c4006125365853))
74
86
 
75
87
  # 0.31.0 (2023-05-08)
76
88
 
77
89
  ### Bug Fixes
78
90
 
79
- - **fetch.ts:** compatible with node ([c3acb53](https://github.com/AliMD/alwatr-eslib/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
80
- - **fetch:** bodyJson type ([5740467](https://github.com/AliMD/alwatr-eslib/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
81
- - **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/AliMD/alwatr-eslib/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
82
- - **fetch:** serviceRequest generic type ([074ef38](https://github.com/AliMD/alwatr-eslib/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
83
- - **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/AliMD/alwatr-eslib/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
84
- - new logger api ([9d83a7d](https://github.com/AliMD/alwatr-eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
91
+ - **fetch.ts:** compatible with node ([c3acb53](https://github.com/Alwatr/eslib/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
92
+ - **fetch:** bodyJson type ([5740467](https://github.com/Alwatr/eslib/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
93
+ - **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/Alwatr/eslib/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
94
+ - **fetch:** serviceRequest generic type ([074ef38](https://github.com/Alwatr/eslib/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
95
+ - **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/Alwatr/eslib/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
96
+ - new logger api ([9d83a7d](https://github.com/Alwatr/eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
85
97
 
86
98
  ### Features
87
99
 
88
- - **fetch:** add user auth ([811fbc0](https://github.com/AliMD/alwatr-eslib/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
89
- - **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/AliMD/alwatr-eslib/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
100
+ - **fetch:** add user auth ([811fbc0](https://github.com/Alwatr/eslib/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
101
+ - **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/Alwatr/eslib/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
90
102
 
91
103
  # 0.30.0 (2023-03-06)
92
104
 
93
105
  ### Bug Fixes
94
106
 
95
- - **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/AliMD/alwatr-eslib/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
96
- - **fetch:** getClientId in nodejs ([c99e41c](https://github.com/AliMD/alwatr-eslib/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
107
+ - **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/Alwatr/eslib/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
108
+ - **fetch:** getClientId in nodejs ([c99e41c](https://github.com/Alwatr/eslib/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
97
109
 
98
110
  ### Features
99
111
 
100
- - **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/AliMD/alwatr-eslib/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
101
- - **fetch:** fetchContext ([d63d17e](https://github.com/AliMD/alwatr-eslib/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
102
- - **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/AliMD/alwatr-eslib/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
103
- - **fetch:** fetchContext work on background ([2e12bfd](https://github.com/AliMD/alwatr-eslib/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
104
- - **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/AliMD/alwatr-eslib/commit/6a8d7b7159732d834be052191935580331e36962))
112
+ - **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/Alwatr/eslib/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
113
+ - **fetch:** fetchContext ([d63d17e](https://github.com/Alwatr/eslib/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
114
+ - **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/Alwatr/eslib/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
115
+ - **fetch:** fetchContext work on background ([2e12bfd](https://github.com/Alwatr/eslib/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
116
+ - **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/Alwatr/eslib/commit/6a8d7b7159732d834be052191935580331e36962))
105
117
 
106
118
  # 0.29.0 (2023-02-10)
107
119
 
108
120
  ### Bug Fixes
109
121
 
110
- - **fetch:** device id to client id ([077e467](https://github.com/AliMD/alwatr-eslib/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
111
- - **fetch:** headers type ([cd4b14e](https://github.com/AliMD/alwatr-eslib/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
122
+ - **fetch:** device id to client id ([077e467](https://github.com/Alwatr/eslib/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
123
+ - **fetch:** headers type ([cd4b14e](https://github.com/Alwatr/eslib/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
112
124
 
113
125
  ### Features
114
126
 
115
- - **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/AliMD/alwatr-eslib/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
116
- - **fetch:** clientId on service request ([9575a1d](https://github.com/AliMD/alwatr-eslib/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
127
+ - **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/Alwatr/eslib/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
128
+ - **fetch:** clientId on service request ([9575a1d](https://github.com/Alwatr/eslib/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
117
129
 
118
130
  # 0.28.0 (2023-01-20)
119
131
 
@@ -121,308 +133,308 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
121
133
 
122
134
  ### Bug Fixes
123
135
 
124
- - review issue ([e5d192c](https://github.com/AliMD/alwatr-eslib/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
136
+ - review issue ([e5d192c](https://github.com/Alwatr/eslib/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
125
137
 
126
138
  ### Features
127
139
 
128
- - **type:** add types ([2de3842](https://github.com/AliMD/alwatr-eslib/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
140
+ - **type:** add types ([2de3842](https://github.com/Alwatr/eslib/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
129
141
 
130
142
  # 0.26.0 (2022-12-22)
131
143
 
132
144
  ### Bug Fixes
133
145
 
134
- - all import without .js ([fa739ab](https://github.com/AliMD/alwatr-eslib/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
135
- - **packages/fetch:** tsconfig refrences ([e6b9542](https://github.com/AliMD/alwatr-eslib/commit/e6b9542284e67b67600da4dcebd19daedb031c9c))
136
- - **fetch:** always call revalidateCallback ([444edc5](https://github.com/AliMD/alwatr-eslib/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
137
- - **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/AliMD/alwatr-eslib/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
138
- - **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/AliMD/alwatr-eslib/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
139
- - **fetch:** fetch_failed error message ([3e98bd9](https://github.com/AliMD/alwatr-eslib/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
140
- - **fetch:** remove extra \_options ([ad24c81](https://github.com/AliMD/alwatr-eslib/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
141
- - **fetch:** revalidateCallback issue ([7207909](https://github.com/AliMD/alwatr-eslib/commit/72079098edb438c28256dad03d7802bc2fab0858))
142
- - set correct path ([d01ce6f](https://github.com/AliMD/alwatr-eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
143
- - **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr-eslib/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
144
- - tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
145
- - tsconfig refrences ([cea0562](https://github.com/AliMD/alwatr-eslib/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
146
+ - all import without .js ([fa739ab](https://github.com/Alwatr/eslib/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
147
+ - **packages/fetch:** tsconfig refrences ([e6b9542](https://github.com/Alwatr/eslib/commit/e6b9542284e67b67600da4dcebd19daedb031c9c))
148
+ - **fetch:** always call revalidateCallback ([444edc5](https://github.com/Alwatr/eslib/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
149
+ - **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/Alwatr/eslib/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
150
+ - **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/Alwatr/eslib/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
151
+ - **fetch:** fetch_failed error message ([3e98bd9](https://github.com/Alwatr/eslib/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
152
+ - **fetch:** remove extra \_options ([ad24c81](https://github.com/Alwatr/eslib/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
153
+ - **fetch:** revalidateCallback issue ([7207909](https://github.com/Alwatr/eslib/commit/72079098edb438c28256dad03d7802bc2fab0858))
154
+ - set correct path ([d01ce6f](https://github.com/Alwatr/eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
155
+ - **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/Alwatr/eslib/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
156
+ - tsconfig ([e96dcd3](https://github.com/Alwatr/eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
157
+ - tsconfig refrences ([cea0562](https://github.com/Alwatr/eslib/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
146
158
 
147
159
  ### Features
148
160
 
149
- - **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/AliMD/alwatr-eslib/commit/44b84f0754169a707472655811020f6e542a6e5d))
150
- - **fetch:** serviceRequest ([b0b5478](https://github.com/AliMD/alwatr-eslib/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
151
- - **fetch:** serviceRequest ([#513](https://github.com/AliMD/alwatr-eslib/issues/513)) ([113ee49](https://github.com/AliMD/alwatr-eslib/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
152
- - improve accident debugging ([d697e6c](https://github.com/AliMD/alwatr-eslib/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
153
- - improve error debugging ([1fba504](https://github.com/AliMD/alwatr-eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
161
+ - **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/Alwatr/eslib/commit/44b84f0754169a707472655811020f6e542a6e5d))
162
+ - **fetch:** serviceRequest ([b0b5478](https://github.com/Alwatr/eslib/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
163
+ - **fetch:** serviceRequest ([#513](https://github.com/Alwatr/eslib/issues/513)) ([113ee49](https://github.com/Alwatr/eslib/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
164
+ - improve accident debugging ([d697e6c](https://github.com/Alwatr/eslib/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
165
+ - improve error debugging ([1fba504](https://github.com/Alwatr/eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
154
166
 
155
- # [1.0.0](https://github.com/AliMD/alwatr-eslib/compare/v0.32.0...v1.0.0) (2023-06-14)
167
+ # [1.0.0](https://github.com/Alwatr/eslib/compare/v0.32.0...v1.0.0) (2023-06-14)
156
168
 
157
169
  **Note:** Version bump only for package @alwatr/fetch
158
170
 
159
- # [0.32.0](https://github.com/AliMD/alwatr-eslib/compare/v0.31.0...v0.32.0) (2023-05-27)
171
+ # [0.32.0](https://github.com/Alwatr/eslib/compare/v0.31.0...v0.32.0) (2023-05-27)
160
172
 
161
173
  ### Bug Fixes
162
174
 
163
- - **fetch:** serviceRequest type ([44c1086](https://github.com/AliMD/alwatr-eslib/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
164
- - **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/AliMD/alwatr-eslib/commit/f554b575584cb1464d48fbe8a8c4006125365853))
175
+ - **fetch:** serviceRequest type ([44c1086](https://github.com/Alwatr/eslib/commit/44c10866e1c630bc3cf85b3e9be38b268b5b0c31))
176
+ - **fetch:** userAuth in StringifyableFetchOptions ([f554b57](https://github.com/Alwatr/eslib/commit/f554b575584cb1464d48fbe8a8c4006125365853))
165
177
 
166
- # [0.31.0](https://github.com/AliMD/alwatr-eslib/compare/v0.30.0...v0.31.0) (2023-05-08)
178
+ # [0.31.0](https://github.com/Alwatr/eslib/compare/v0.30.0...v0.31.0) (2023-05-08)
167
179
 
168
180
  ### Bug Fixes
169
181
 
170
- - **fetch.ts:** compatible with node ([c3acb53](https://github.com/AliMD/alwatr-eslib/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
171
- - **fetch:** bodyJson type ([5740467](https://github.com/AliMD/alwatr-eslib/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
172
- - **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/AliMD/alwatr-eslib/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
173
- - **fetch:** serviceRequest generic type ([074ef38](https://github.com/AliMD/alwatr-eslib/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
174
- - **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/AliMD/alwatr-eslib/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
175
- - new logger api ([9d83a7d](https://github.com/AliMD/alwatr-eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
182
+ - **fetch.ts:** compatible with node ([c3acb53](https://github.com/Alwatr/eslib/commit/c3acb53effd4a79e389bc4de1567b0285c03d71d))
183
+ - **fetch:** bodyJson type ([5740467](https://github.com/Alwatr/eslib/commit/57404673e7f031a73d1cf23501e6fa8d89759769))
184
+ - **fetch:** check node_mode before use navigator.online ([a688f48](https://github.com/Alwatr/eslib/commit/a688f48e9ce4b103c25ffd50f1b8c96e89c205d1))
185
+ - **fetch:** serviceRequest generic type ([074ef38](https://github.com/Alwatr/eslib/commit/074ef3876086f93486753559d8e3db0b60c52a0e))
186
+ - **fetch:** suppress fetch_cache_not_found extra error ([c04f609](https://github.com/Alwatr/eslib/commit/c04f60944106dbd8d1bf2fb5ce0e7be644c3abc6))
187
+ - new logger api ([9d83a7d](https://github.com/Alwatr/eslib/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300))
176
188
 
177
189
  ### Features
178
190
 
179
- - **fetch:** add user auth ([811fbc0](https://github.com/AliMD/alwatr-eslib/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
180
- - **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/AliMD/alwatr-eslib/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
191
+ - **fetch:** add user auth ([811fbc0](https://github.com/Alwatr/eslib/commit/811fbc018c2b4e3b808704e8623bd5dff2b2f3f7))
192
+ - **fetch:** StringifyableFetchOptions type ([e13fdb2](https://github.com/Alwatr/eslib/commit/e13fdb2550cf3a2102c331aa7980234ca6f86e08))
181
193
 
182
- # [0.30.0](https://github.com/AliMD/alwatr-eslib/compare/v0.29.0...v0.30.0) (2023-03-06)
194
+ # [0.30.0](https://github.com/Alwatr/eslib/compare/v0.29.0...v0.30.0) (2023-03-06)
183
195
 
184
196
  ### Bug Fixes
185
197
 
186
- - **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/AliMD/alwatr-eslib/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
187
- - **fetch:** getClientId in nodejs ([c99e41c](https://github.com/AliMD/alwatr-eslib/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
198
+ - **fetch:** fetchContext duplicate setSignalValue ([8aa9b00](https://github.com/Alwatr/eslib/commit/8aa9b003a2d7b7ffc8243ff7092d9560763d7273))
199
+ - **fetch:** getClientId in nodejs ([c99e41c](https://github.com/Alwatr/eslib/commit/c99e41c9e9a979ca50cc01aeb5371a3487d9da2e))
188
200
 
189
201
  ### Features
190
202
 
191
- - **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/AliMD/alwatr-eslib/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
192
- - **fetch:** fetchContext ([d63d17e](https://github.com/AliMD/alwatr-eslib/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
193
- - **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/AliMD/alwatr-eslib/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
194
- - **fetch:** fetchContext work on background ([2e12bfd](https://github.com/AliMD/alwatr-eslib/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
195
- - **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/AliMD/alwatr-eslib/commit/6a8d7b7159732d834be052191935580331e36962))
203
+ - **fetch:** enhance fetchContext with dispatchOptions and only cache_only request in first time ([1f6b575](https://github.com/Alwatr/eslib/commit/1f6b575437104d64ede8a2c23d141160360d2cd5))
204
+ - **fetch:** fetchContext ([d63d17e](https://github.com/Alwatr/eslib/commit/d63d17ecb58221159dc45a473fdd1c992d306d2b))
205
+ - **fetch:** fetchContext skip online request when offline ([7c2b649](https://github.com/Alwatr/eslib/commit/7c2b6491f78acb961cdc0583112e3c709a177b79))
206
+ - **fetch:** fetchContext work on background ([2e12bfd](https://github.com/Alwatr/eslib/commit/2e12bfde0a0636c30e60906c4812ec66b2d36742))
207
+ - **fetch:** handle offline for all requests ([6a8d7b7](https://github.com/Alwatr/eslib/commit/6a8d7b7159732d834be052191935580331e36962))
196
208
 
197
- # [0.29.0](https://github.com/AliMD/alwatr-eslib/compare/v0.28.0...v0.29.0) (2023-02-10)
209
+ # [0.29.0](https://github.com/Alwatr/eslib/compare/v0.28.0...v0.29.0) (2023-02-10)
198
210
 
199
211
  ### Bug Fixes
200
212
 
201
- - **fetch:** device id to client id ([077e467](https://github.com/AliMD/alwatr-eslib/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
202
- - **fetch:** headers type ([cd4b14e](https://github.com/AliMD/alwatr-eslib/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
213
+ - **fetch:** device id to client id ([077e467](https://github.com/Alwatr/eslib/commit/077e4671d804d43c8f61a9d163d8d51d7a69134e))
214
+ - **fetch:** headers type ([cd4b14e](https://github.com/Alwatr/eslib/commit/cd4b14e46b5090b6df8cb4f89d22b53966b9151e))
203
215
 
204
216
  ### Features
205
217
 
206
- - **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/AliMD/alwatr-eslib/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
207
- - **fetch:** clientId on service request ([9575a1d](https://github.com/AliMD/alwatr-eslib/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
218
+ - **fetch:** add update_cache to CacheStrategy ([e1406b1](https://github.com/Alwatr/eslib/commit/e1406b12e1276de3295c47506c8102ab3f8bfa79))
219
+ - **fetch:** clientId on service request ([9575a1d](https://github.com/Alwatr/eslib/commit/9575a1d595a0a4757581a29a66837cbe4be46ed3))
208
220
 
209
- # [0.28.0](https://github.com/AliMD/alwatr-eslib/compare/v0.27.0...v0.28.0) (2023-01-20)
221
+ # [0.28.0](https://github.com/Alwatr/eslib/compare/v0.27.0...v0.28.0) (2023-01-20)
210
222
 
211
223
  ### Bug Fixes
212
224
 
213
- - review issue ([e5d192c](https://github.com/AliMD/alwatr-eslib/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
225
+ - review issue ([e5d192c](https://github.com/Alwatr/eslib/commit/e5d192cbee6917c2de01146cf8bd026895724ab8))
214
226
 
215
227
  ### Features
216
228
 
217
- - **type:** add types ([2de3842](https://github.com/AliMD/alwatr-eslib/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
229
+ - **type:** add types ([2de3842](https://github.com/Alwatr/eslib/commit/2de384297b70b9818ec8d62ce8d31be4822d95a4))
218
230
 
219
- # [0.27.0](https://github.com/AliMD/alwatr-eslib/compare/v0.26.0...v0.27.0) (2022-12-29)
231
+ # [0.27.0](https://github.com/Alwatr/eslib/compare/v0.26.0...v0.27.0) (2022-12-29)
220
232
 
221
233
  **Note:** Version bump only for package @alwatr/fetch
222
234
 
223
- # [0.26.0](https://github.com/AliMD/alwatr-eslib/compare/v0.25.0...v0.26.0) (2022-12-22)
235
+ # [0.26.0](https://github.com/Alwatr/eslib/compare/v0.25.0...v0.26.0) (2022-12-22)
224
236
 
225
237
  ### Bug Fixes
226
238
 
227
- - all import without .js ([fa739ab](https://github.com/AliMD/alwatr-eslib/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
228
- - **packages/fetch:** tsconfig refrences ([e6b9542](https://github.com/AliMD/alwatr-eslib/commit/e6b9542284e67b67600da4dcebd19daedb031c9c))
229
- - **fetch:** always call revalidateCallback ([444edc5](https://github.com/AliMD/alwatr-eslib/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
230
- - **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/AliMD/alwatr-eslib/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
231
- - **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/AliMD/alwatr-eslib/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
232
- - **fetch:** fetch_failed error message ([3e98bd9](https://github.com/AliMD/alwatr-eslib/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
233
- - **fetch:** remove extra \_options ([ad24c81](https://github.com/AliMD/alwatr-eslib/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
234
- - **fetch:** revalidateCallback issue ([7207909](https://github.com/AliMD/alwatr-eslib/commit/72079098edb438c28256dad03d7802bc2fab0858))
235
- - set correct path ([d01ce6f](https://github.com/AliMD/alwatr-eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
236
- - **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr-eslib/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
237
- - tsconfig ([e96dcd3](https://github.com/AliMD/alwatr-eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
238
- - tsconfig refrences ([cea0562](https://github.com/AliMD/alwatr-eslib/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
239
+ - all import without .js ([fa739ab](https://github.com/Alwatr/eslib/commit/fa739ab23f67bae1d10bfcc146920b71377a26fc))
240
+ - **packages/fetch:** tsconfig refrences ([e6b9542](https://github.com/Alwatr/eslib/commit/e6b9542284e67b67600da4dcebd19daedb031c9c))
241
+ - **fetch:** always call revalidateCallback ([444edc5](https://github.com/Alwatr/eslib/commit/444edc52b6dd5de5418ae8630e1f2270f0114372))
242
+ - **fetch:** enhance handle and report errors in serviceRequest ([dbfc7ff](https://github.com/Alwatr/eslib/commit/dbfc7ff2a036216498dc8e2ff58b74b7eb8d9bc0))
243
+ - **fetch:** fetch_cache_not_found is not error ([3d1aa4e](https://github.com/Alwatr/eslib/commit/3d1aa4e572fbf4bc7b0a527a3fdcf4c521af18dd))
244
+ - **fetch:** fetch_failed error message ([3e98bd9](https://github.com/Alwatr/eslib/commit/3e98bd926a495c13d476f2f1cfb9e546a059d4d8))
245
+ - **fetch:** remove extra \_options ([ad24c81](https://github.com/Alwatr/eslib/commit/ad24c8104b944ebda52308e60d41976ac1eeee81))
246
+ - **fetch:** revalidateCallback issue ([7207909](https://github.com/Alwatr/eslib/commit/72079098edb438c28256dad03d7802bc2fab0858))
247
+ - set correct path ([d01ce6f](https://github.com/Alwatr/eslib/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9))
248
+ - **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/Alwatr/eslib/commit/ca9a7bf5e17b333538e749ada5d481a06c847101))
249
+ - tsconfig ([e96dcd3](https://github.com/Alwatr/eslib/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35))
250
+ - tsconfig refrences ([cea0562](https://github.com/Alwatr/eslib/commit/cea05621ecfa499476c5b10a412e60f27ba6a06d))
239
251
 
240
252
  ### Features
241
253
 
242
- - **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/AliMD/alwatr-eslib/commit/44b84f0754169a707472655811020f6e542a6e5d))
243
- - **fetch:** serviceRequest ([b0b5478](https://github.com/AliMD/alwatr-eslib/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
244
- - **fetch:** serviceRequest ([#513](https://github.com/AliMD/alwatr-eslib/issues/513)) ([113ee49](https://github.com/AliMD/alwatr-eslib/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
245
- - improve accident debugging ([d697e6c](https://github.com/AliMD/alwatr-eslib/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
246
- - improve error debugging ([1fba504](https://github.com/AliMD/alwatr-eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
254
+ - **fetch:** add AlwatrDocumentStorage type ([44b84f0](https://github.com/Alwatr/eslib/commit/44b84f0754169a707472655811020f6e542a6e5d))
255
+ - **fetch:** serviceRequest ([b0b5478](https://github.com/Alwatr/eslib/commit/b0b5478d16b2cb590cfc29d644006e4a459dd6d6))
256
+ - **fetch:** serviceRequest ([#513](https://github.com/Alwatr/eslib/issues/513)) ([113ee49](https://github.com/Alwatr/eslib/commit/113ee498c778d9efc00cc4807bfef09e52336a31))
257
+ - improve accident debugging ([d697e6c](https://github.com/Alwatr/eslib/commit/d697e6c4c7d0a4172f4dba9caf6fbd478f79de9c))
258
+ - improve error debugging ([1fba504](https://github.com/Alwatr/eslib/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c))
247
259
 
248
- # [0.25.0](https://github.com/AliMD/alwatr-eslib/compare/v0.24.1...v0.25.0) (2022-12-07)
260
+ # [0.25.0](https://github.com/Alwatr/eslib/compare/v0.24.1...v0.25.0) (2022-12-07)
249
261
 
250
262
  **Note:** Version bump only for package @alwatr/fetch
251
263
 
252
- ## [0.24.1](https://github.com/AliMD/alwatr-eslib/compare/v0.24.0...v0.24.1) (2022-12-01)
264
+ ## [0.24.1](https://github.com/Alwatr/eslib/compare/v0.24.0...v0.24.1) (2022-12-01)
253
265
 
254
266
  **Note:** Version bump only for package @alwatr/fetch
255
267
 
256
- # [0.24.0](https://github.com/AliMD/alwatr-eslib/compare/v0.23.0...v0.24.0) (2022-11-28)
268
+ # [0.24.0](https://github.com/Alwatr/eslib/compare/v0.23.0...v0.24.0) (2022-11-28)
257
269
 
258
270
  ### Bug Fixes
259
271
 
260
- - **fetch:** AlwatrServiceResponseSuccessWithMeta types ([b46f3f2](https://github.com/AliMD/alwatr-eslib/commit/b46f3f22a7c5a671385b0a8f58d0881501ce1b94))
261
- - **fetch:** use nre method type ([1c63eca](https://github.com/AliMD/alwatr-eslib/commit/1c63eca994582c241112c3e5ae79bac49831532f))
262
- - update types ([44cc57f](https://github.com/AliMD/alwatr-eslib/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c))
263
- - use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr-eslib/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
272
+ - **fetch:** AlwatrServiceResponseSuccessWithMeta types ([b46f3f2](https://github.com/Alwatr/eslib/commit/b46f3f22a7c5a671385b0a8f58d0881501ce1b94))
273
+ - **fetch:** use nre method type ([1c63eca](https://github.com/Alwatr/eslib/commit/1c63eca994582c241112c3e5ae79bac49831532f))
274
+ - update types ([44cc57f](https://github.com/Alwatr/eslib/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c))
275
+ - use ~ for package version ([4e027ff](https://github.com/Alwatr/eslib/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec))
264
276
 
265
- # [0.23.0](https://github.com/AliMD/alwatr-eslib/compare/v0.22.1...v0.23.0) (2022-11-23)
277
+ # [0.23.0](https://github.com/Alwatr/eslib/compare/v0.22.1...v0.23.0) (2022-11-23)
266
278
 
267
279
  ### Bug Fixes
268
280
 
269
- - **fetch:** types ([4ce81a7](https://github.com/AliMD/alwatr-eslib/commit/4ce81a7b82d01ab938754bc5e483ccb074671e33))
281
+ - **fetch:** types ([4ce81a7](https://github.com/Alwatr/eslib/commit/4ce81a7b82d01ab938754bc5e483ccb074671e33))
270
282
 
271
283
  ### Features
272
284
 
273
- - **fetch:** set token in options ([033a638](https://github.com/AliMD/alwatr-eslib/commit/033a63846f8c43b86c7d0a662e4bb6aa7cae3af5))
285
+ - **fetch:** set token in options ([033a638](https://github.com/Alwatr/eslib/commit/033a63846f8c43b86c7d0a662e4bb6aa7cae3af5))
274
286
 
275
- ## [0.22.1](https://github.com/AliMD/alwatr-eslib/compare/v0.22.0...v0.22.1) (2022-11-21)
287
+ ## [0.22.1](https://github.com/Alwatr/eslib/compare/v0.22.0...v0.22.1) (2022-11-21)
276
288
 
277
289
  **Note:** Version bump only for package @alwatr/fetch
278
290
 
279
- # [0.22.0](https://github.com/AliMD/alwatr-eslib/compare/v0.21.0...v0.22.0) (2022-11-20)
291
+ # [0.22.0](https://github.com/Alwatr/eslib/compare/v0.21.0...v0.22.0) (2022-11-20)
280
292
 
281
293
  ### Bug Fixes
282
294
 
283
- - **fetch:** \_handleRetryPattern ([fe4ac12](https://github.com/AliMD/alwatr-eslib/commit/fe4ac12b4ad3086d44e545591c767cb322e32b8d))
284
- - **fetch:** bodyJson issue ([5d8d6fa](https://github.com/AliMD/alwatr-eslib/commit/5d8d6fa4a0f608c2c5ed583aa54de9b836daaa5f))
295
+ - **fetch:** \_handleRetryPattern ([fe4ac12](https://github.com/Alwatr/eslib/commit/fe4ac12b4ad3086d44e545591c767cb322e32b8d))
296
+ - **fetch:** bodyJson issue ([5d8d6fa](https://github.com/Alwatr/eslib/commit/5d8d6fa4a0f608c2c5ed583aa54de9b836daaa5f))
285
297
 
286
298
  ### Features
287
299
 
288
- - **fetch:** support nodejs ([2ed2ef4](https://github.com/AliMD/alwatr-eslib/commit/2ed2ef42e9f204d4896ada4e20b839cfabdc7284))
300
+ - **fetch:** support nodejs ([2ed2ef4](https://github.com/Alwatr/eslib/commit/2ed2ef42e9f204d4896ada4e20b839cfabdc7284))
289
301
 
290
302
  ### Performance Improvements
291
303
 
292
- - **fetch:** Improve performance and decrease memory usage ([7c29333](https://github.com/AliMD/alwatr-eslib/commit/7c293339215bea3a5013effe4aea5b6267a7a75e))
304
+ - **fetch:** Improve performance and decrease memory usage ([7c29333](https://github.com/Alwatr/eslib/commit/7c293339215bea3a5013effe4aea5b6267a7a75e))
293
305
 
294
- # [0.21.0](https://github.com/AliMD/alwatr-eslib/compare/v0.20.0...v0.21.0) (2022-11-13)
306
+ # [0.21.0](https://github.com/Alwatr/eslib/compare/v0.20.0...v0.21.0) (2022-11-13)
295
307
 
296
308
  **Note:** Version bump only for package @alwatr/fetch
297
309
 
298
- # [0.20.0](https://github.com/AliMD/alwatr-eslib/compare/v0.19.0...v0.20.0) (2022-11-05)
310
+ # [0.20.0](https://github.com/Alwatr/eslib/compare/v0.19.0...v0.20.0) (2022-11-05)
299
311
 
300
312
  ### Bug Fixes
301
313
 
302
- - **fetch:** \_handleRemoveDuplicate ([6207b48](https://github.com/AliMD/alwatr-eslib/commit/6207b4867935d05a0e5a1c795de9efab4ff77c68))
303
- - **fetch:** cacheStorageName issue ([e641ff7](https://github.com/AliMD/alwatr-eslib/commit/e641ff740055a68b6397f00bf46f1d05943c348a))
304
- - **fetch:** method type and case ([8d4ba77](https://github.com/AliMD/alwatr-eslib/commit/8d4ba77e56ecfe2aeaa459dcd26039c38c4b2199))
305
- - **fetch:** prevent duplicate revalidateCallback on first time ([2da7dc5](https://github.com/AliMD/alwatr-eslib/commit/2da7dc579e4850af06914590a231548cd469cd75))
314
+ - **fetch:** \_handleRemoveDuplicate ([6207b48](https://github.com/Alwatr/eslib/commit/6207b4867935d05a0e5a1c795de9efab4ff77c68))
315
+ - **fetch:** cacheStorageName issue ([e641ff7](https://github.com/Alwatr/eslib/commit/e641ff740055a68b6397f00bf46f1d05943c348a))
316
+ - **fetch:** method type and case ([8d4ba77](https://github.com/Alwatr/eslib/commit/8d4ba77e56ecfe2aeaa459dcd26039c38c4b2199))
317
+ - **fetch:** prevent duplicate revalidateCallback on first time ([2da7dc5](https://github.com/Alwatr/eslib/commit/2da7dc579e4850af06914590a231548cd469cd75))
306
318
 
307
319
  ### Features
308
320
 
309
- - **fetch:** add retryDelay ([28e3244](https://github.com/AliMD/alwatr-eslib/commit/28e3244a2d35e7a1a91f9a5a4942f1bb4a56d981))
310
- - **fetch:** revalidate callback for `stale_while_revalidate` cache strategy. ([8976cc4](https://github.com/AliMD/alwatr-eslib/commit/8976cc424b2a9e96e4cfa69941d5378a6640af6f))
311
- - **fetch:** simple memory caching for remove duplicate/parallel requests ([74cd7f1](https://github.com/AliMD/alwatr-eslib/commit/74cd7f1500d730021a0f577c0ecfd7a2460fdb15))
321
+ - **fetch:** add retryDelay ([28e3244](https://github.com/Alwatr/eslib/commit/28e3244a2d35e7a1a91f9a5a4942f1bb4a56d981))
322
+ - **fetch:** revalidate callback for `stale_while_revalidate` cache strategy. ([8976cc4](https://github.com/Alwatr/eslib/commit/8976cc424b2a9e96e4cfa69941d5378a6640af6f))
323
+ - **fetch:** simple memory caching for remove duplicate/parallel requests ([74cd7f1](https://github.com/Alwatr/eslib/commit/74cd7f1500d730021a0f577c0ecfd7a2460fdb15))
312
324
 
313
- # [0.19.0](https://github.com/AliMD/alwatr-eslib/compare/v0.18.0...v0.19.0) (2022-11-01)
325
+ # [0.19.0](https://github.com/Alwatr/eslib/compare/v0.18.0...v0.19.0) (2022-11-01)
314
326
 
315
327
  **Note:** Version bump only for package @alwatr/fetch
316
328
 
317
- # [0.18.0](https://github.com/AliMD/alwatr-eslib/compare/v0.17.0...v0.18.0) (2022-10-22)
329
+ # [0.18.0](https://github.com/Alwatr/eslib/compare/v0.17.0...v0.18.0) (2022-10-22)
318
330
 
319
331
  ### Bug Fixes
320
332
 
321
- - **fetch:** update cache on network_first ([54b59cd](https://github.com/AliMD/alwatr-eslib/commit/54b59cdc64a543a0afcd09d2ec78d20661f3a06d))
333
+ - **fetch:** update cache on network_first ([54b59cd](https://github.com/Alwatr/eslib/commit/54b59cdc64a543a0afcd09d2ec78d20661f3a06d))
322
334
 
323
335
  ### Features
324
336
 
325
- - **fetch:** cache strategy ([106eabd](https://github.com/AliMD/alwatr-eslib/commit/106eabdd10574b24f9919049d0b509ae40168a9a))
326
- - **fetch:** optional cacheStorageName ([f2bd8f2](https://github.com/AliMD/alwatr-eslib/commit/f2bd8f2a899466628417294cb269fd569b87e17a))
327
- - **fetch:** stale_while_revalidate cache strategy ([f758f49](https://github.com/AliMD/alwatr-eslib/commit/f758f495efb42ce7441e8f2058c1b67de0615a8c))
337
+ - **fetch:** cache strategy ([106eabd](https://github.com/Alwatr/eslib/commit/106eabdd10574b24f9919049d0b509ae40168a9a))
338
+ - **fetch:** optional cacheStorageName ([f2bd8f2](https://github.com/Alwatr/eslib/commit/f2bd8f2a899466628417294cb269fd569b87e17a))
339
+ - **fetch:** stale_while_revalidate cache strategy ([f758f49](https://github.com/Alwatr/eslib/commit/f758f495efb42ce7441e8f2058c1b67de0615a8c))
328
340
 
329
- # [0.17.0](https://github.com/AliMD/alwatr-eslib/compare/v0.16.1...v0.17.0) (2022-10-21)
341
+ # [0.17.0](https://github.com/Alwatr/eslib/compare/v0.16.1...v0.17.0) (2022-10-21)
330
342
 
331
343
  ### Bug Fixes
332
344
 
333
- - **fetch:** not ok retry condition ([0da1edd](https://github.com/AliMD/alwatr-eslib/commit/0da1edda64ec5abf70a83361d159e207691e368e))
345
+ - **fetch:** not ok retry condition ([0da1edd](https://github.com/Alwatr/eslib/commit/0da1edda64ec5abf70a83361d159e207691e368e))
334
346
 
335
347
  ### Features
336
348
 
337
- - **fetch:** docs & pattern ([459ad1c](https://github.com/AliMD/alwatr-eslib/commit/459ad1c5996f851769306639136d79c0f7270770))
338
- - **fetch:** logger & jsdocs ([36f652d](https://github.com/AliMD/alwatr-eslib/commit/36f652d5dad23b2aeb824af77d1b0e442119c6e8))
339
- - **fetch:** retry pattern ([5350d1a](https://github.com/AliMD/alwatr-eslib/commit/5350d1a81b9134d598f46006a1baa880b280ea98))
349
+ - **fetch:** docs & pattern ([459ad1c](https://github.com/Alwatr/eslib/commit/459ad1c5996f851769306639136d79c0f7270770))
350
+ - **fetch:** logger & jsdocs ([36f652d](https://github.com/Alwatr/eslib/commit/36f652d5dad23b2aeb824af77d1b0e442119c6e8))
351
+ - **fetch:** retry pattern ([5350d1a](https://github.com/Alwatr/eslib/commit/5350d1a81b9134d598f46006a1baa880b280ea98))
340
352
 
341
353
  ### Performance Improvements
342
354
 
343
- - **fetch:** syntax ([1fdd02e](https://github.com/AliMD/alwatr-eslib/commit/1fdd02ec8b52e32a124b8d7c1d1c7fd7c993e3af))
355
+ - **fetch:** syntax ([1fdd02e](https://github.com/Alwatr/eslib/commit/1fdd02ec8b52e32a124b8d7c1d1c7fd7c993e3af))
344
356
 
345
- # [0.16.0](https://github.com/AliMD/alwatr-eslib/compare/v0.15.0...v0.16.0) (2022-09-08)
357
+ # [0.16.0](https://github.com/Alwatr/eslib/compare/v0.15.0...v0.16.0) (2022-09-08)
346
358
 
347
359
  **Note:** Version bump only for package @alwatr/fetch
348
360
 
349
- # [0.15.0](https://github.com/AliMD/alwatr-eslib/compare/v0.14.0...v0.15.0) (2022-09-01)
361
+ # [0.15.0](https://github.com/Alwatr/eslib/compare/v0.14.0...v0.15.0) (2022-09-01)
350
362
 
351
363
  **Note:** Version bump only for package @alwatr/fetch
352
364
 
353
- # [0.14.0](https://github.com/AliMD/alwatr-eslib/compare/v0.13.0...v0.14.0) (2022-08-19)
365
+ # [0.14.0](https://github.com/Alwatr/eslib/compare/v0.13.0...v0.14.0) (2022-08-19)
354
366
 
355
367
  **Note:** Version bump only for package @alwatr/fetch
356
368
 
357
- # [0.13.0](https://github.com/AliMD/alwatr-eslib/compare/v0.12.0...v0.13.0) (2022-08-06)
369
+ # [0.13.0](https://github.com/Alwatr/eslib/compare/v0.12.0...v0.13.0) (2022-08-06)
358
370
 
359
371
  **Note:** Version bump only for package @alwatr/fetch
360
372
 
361
- # [0.12.0](https://github.com/AliMD/alwatr-eslib/compare/v0.11.0...v0.12.0) (2022-07-22)
373
+ # [0.12.0](https://github.com/Alwatr/eslib/compare/v0.11.0...v0.12.0) (2022-07-22)
362
374
 
363
375
  ### Bug Fixes
364
376
 
365
- - **fetch:** compatible with new ts types AbortSignal ([949655a](https://github.com/AliMD/alwatr-eslib/commit/949655a257852aaaaa311e32603ecc0819eedf51))
377
+ - **fetch:** compatible with new ts types AbortSignal ([949655a](https://github.com/Alwatr/eslib/commit/949655a257852aaaaa311e32603ecc0819eedf51))
366
378
 
367
- # [0.11.0](https://github.com/AliMD/alwatr-eslib/compare/v0.10.1...v0.11.0) (2022-04-16)
379
+ # [0.11.0](https://github.com/Alwatr/eslib/compare/v0.10.1...v0.11.0) (2022-04-16)
368
380
 
369
381
  **Note:** Version bump only for package @alwatr/fetch
370
382
 
371
- # [0.10.0](https://github.com/AliMD/alwatr-eslib/compare/v0.9.0...v0.10.0) (2022-04-02)
383
+ # [0.10.0](https://github.com/Alwatr/eslib/compare/v0.9.0...v0.10.0) (2022-04-02)
372
384
 
373
385
  **Note:** Version bump only for package @alwatr/fetch
374
386
 
375
- # [0.9.0](https://github.com/AliMD/alwatr-eslib/compare/v0.8.0...v0.9.0) (2022-03-22)
387
+ # [0.9.0](https://github.com/Alwatr/eslib/compare/v0.8.0...v0.9.0) (2022-03-22)
376
388
 
377
389
  **Note:** Version bump only for package @alwatr/fetch
378
390
 
379
- # [0.8.0](https://github.com/AliMD/alwatr-eslib/compare/v0.7.2...v0.8.0) (2022-03-14)
391
+ # [0.8.0](https://github.com/Alwatr/eslib/compare/v0.7.2...v0.8.0) (2022-03-14)
380
392
 
381
393
  **Note:** Version bump only for package @alwatr/fetch
382
394
 
383
- ## [0.7.2](https://github.com/AliMD/alwatr-eslib/compare/v0.7.1...v0.7.2) (2022-03-12)
395
+ ## [0.7.2](https://github.com/Alwatr/eslib/compare/v0.7.1...v0.7.2) (2022-03-12)
384
396
 
385
397
  **Note:** Version bump only for package @alwatr/fetch
386
398
 
387
- # [0.7.0](https://github.com/AliMD/alwatr-eslib/compare/v0.6.1...v0.7.0) (2022-03-12)
399
+ # [0.7.0](https://github.com/Alwatr/eslib/compare/v0.6.1...v0.7.0) (2022-03-12)
388
400
 
389
401
  **Note:** Version bump only for package @alwatr/fetch
390
402
 
391
- # [0.6.0](https://github.com/AliMD/alwatr-eslib/compare/v0.5.0...v0.6.0) (2022-03-11)
403
+ # [0.6.0](https://github.com/Alwatr/eslib/compare/v0.5.0...v0.6.0) (2022-03-11)
392
404
 
393
405
  ### Bug Fixes
394
406
 
395
- - alalwatr ([898aa6e](https://github.com/AliMD/alwatr-eslib/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
396
- - **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/AliMD/alwatr-eslib/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
407
+ - alalwatr ([898aa6e](https://github.com/Alwatr/eslib/commit/898aa6ed0888eab9265c83b96a50f1b8c216d143))
408
+ - **packages:** duplicate alwatr keyword ([77d4aa2](https://github.com/Alwatr/eslib/commit/77d4aa2105ad47515c3eee251fd6b8c281d0d1fc))
397
409
 
398
- # [0.5.0](https://github.com/AliMD/alwatr-eslib/compare/v0.4.0...v0.5.0) (2022-03-11)
410
+ # [0.5.0](https://github.com/Alwatr/eslib/compare/v0.4.0...v0.5.0) (2022-03-11)
399
411
 
400
412
  **Note:** Version bump only for package @alwatr/fetch
401
413
 
402
- # [0.4.0](https://github.com/AliMD/alwatr-eslib/compare/v0.3.0...v0.4.0) (2022-03-11)
414
+ # [0.4.0](https://github.com/Alwatr/eslib/compare/v0.3.0...v0.4.0) (2022-03-11)
403
415
 
404
416
  ### Bug Fixes
405
417
 
406
- - **fetch:** build issue [#73](https://github.com/AliMD/alwatr-eslib/issues/73) ([fb74463](https://github.com/AliMD/alwatr-eslib/commit/fb74463d367393706d16e482488a565bdfef70a1))
418
+ - **fetch:** build issue [#73](https://github.com/Alwatr/eslib/issues/73) ([fb74463](https://github.com/Alwatr/eslib/commit/fb74463d367393706d16e482488a565bdfef70a1))
407
419
 
408
- # [0.3.0](https://github.com/AliMD/alwatr-eslib/compare/v0.2.1...v0.3.0) (2022-03-06)
420
+ # [0.3.0](https://github.com/Alwatr/eslib/compare/v0.2.1...v0.3.0) (2022-03-06)
409
421
 
410
422
  **Note:** Version bump only for package @alwatr/fetch
411
423
 
412
- ## [0.2.1](https://github.com/AliMD/alwatr-eslib/compare/v0.2.0...v0.2.1) (2022-03-05)
424
+ ## [0.2.1](https://github.com/Alwatr/eslib/compare/v0.2.0...v0.2.1) (2022-03-05)
413
425
 
414
426
  **Note:** Version bump only for package @alwatr/fetch
415
427
 
416
- # [0.2.0](https://github.com/AliMD/alwatr-eslib/compare/v0.1.2...v0.2.0) (2022-03-05)
428
+ # [0.2.0](https://github.com/Alwatr/eslib/compare/v0.1.2...v0.2.0) (2022-03-05)
417
429
 
418
430
  ### Bug Fixes
419
431
 
420
- - **fetch:** error codes ([4e0be80](https://github.com/AliMD/alwatr-eslib/commit/4e0be80786b6667035ae82750f2351bd2da4f341))
432
+ - **fetch:** error codes ([4e0be80](https://github.com/Alwatr/eslib/commit/4e0be80786b6667035ae82750f2351bd2da4f341))
421
433
 
422
434
  ### Features
423
435
 
424
- - **fetch:** add getData ([4a627c4](https://github.com/AliMD/alwatr-eslib/commit/4a627c43d2ad07acb340f058f02d41ce57288405))
425
- - **fetch:** add postData and fetchJson ([b0262b8](https://github.com/AliMD/alwatr-eslib/commit/b0262b83b5b7d8b7c376dce68aae3e16bd8e2610))
426
- - **fetch:** base fetch api ([925cdab](https://github.com/AliMD/alwatr-eslib/commit/925cdab8700ffb801e1d836ffc5d3245b66815cf))
427
- - **fetch:** FetchOptions type ([dd2d141](https://github.com/AliMD/alwatr-eslib/commit/dd2d1418d090387e1afa8277f78ae88ace17fd17))
428
- - **fetch:** new enhanced fetch package ([7e90472](https://github.com/AliMD/alwatr-eslib/commit/7e904720c983372317358ce107f6ad0f79c65647))
436
+ - **fetch:** add getData ([4a627c4](https://github.com/Alwatr/eslib/commit/4a627c43d2ad07acb340f058f02d41ce57288405))
437
+ - **fetch:** add postData and fetchJson ([b0262b8](https://github.com/Alwatr/eslib/commit/b0262b83b5b7d8b7c376dce68aae3e16bd8e2610))
438
+ - **fetch:** base fetch api ([925cdab](https://github.com/Alwatr/eslib/commit/925cdab8700ffb801e1d836ffc5d3245b66815cf))
439
+ - **fetch:** FetchOptions type ([dd2d141](https://github.com/Alwatr/eslib/commit/dd2d1418d090387e1afa8277f78ae88ace17fd17))
440
+ - **fetch:** new enhanced fetch package ([7e90472](https://github.com/Alwatr/eslib/commit/7e904720c983372317358ce107f6ad0f79c65647))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/fetch",
3
- "version": "2.0.7",
3
+ "version": "2.1.0",
4
4
  "description": "Enhanced fetch API with cache strategy, retry pattern, timeout, helper methods and enhanced types written in tiny TypeScript, ES module.",
5
5
  "keywords": [
6
6
  "fetch",
@@ -26,17 +26,21 @@
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "https://github.com/AliMD/alwatr-eslib",
29
+ "url": "https://github.com/Alwatr/eslib",
30
30
  "directory": "packages/fetch"
31
31
  },
32
- "homepage": "https://github.com/AliMD/alwatr-eslib/tree/next/packages/fetch#readme",
32
+ "homepage": "https://github.com/Alwatr/eslib/tree/next/packages/fetch#readme",
33
33
  "bugs": {
34
- "url": "https://github.com/AliMD/alwatr-eslib/issues"
34
+ "url": "https://github.com/Alwatr/eslib/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@alwatr/logger": "^2.1.2",
38
- "@alwatr/util": "^1.2.9",
37
+ "@alwatr/logger": "^2.2.0",
38
+ "@alwatr/util": "^1.3.0",
39
39
  "tslib": "^2.6.2"
40
40
  },
41
- "gitHead": "6eb68b96dffe4104c58f711feb3d9f88fc0798ee"
41
+ "devDependencies": {
42
+ "@alwatr/type": "^1.2.0",
43
+ "@types/node": "^20.9.0"
44
+ },
45
+ "gitHead": "c9c6d5abf5e2aeafa915fde58c73e030ac00db27"
42
46
  }