@clairejs/client 3.0.12 → 3.0.15

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 CHANGED
@@ -1,392 +1,404 @@
1
- ## Change Log
2
-
3
- #### 3.0.12:
4
-
5
- - add default storage key for token manager
6
-
7
- #### 3.0.11:
8
-
9
- - fix AbstractHttpClient refresh token
10
-
11
- #### 3.0.10:
12
-
13
- - fix export
14
- - fix CrudApi
15
-
16
- #### 3.0.7:
17
-
18
- - add DefaultTokenManager
19
- - add CrudApi
20
-
21
- #### 3.0.6: update url info
22
-
23
- - add hash
24
- - update view middware: from is nullable
25
-
26
- #### 3.0.4: update translation
27
-
28
- - Translator is now in charge of mapping translation (getTranslationObject)
29
- - translation template supports function expression
30
- - translator has language update subscribers registry
31
-
32
- #### 3.0.0
33
-
34
- - update claire core 3.0
35
- - remove AbstractRouter
36
-
37
- #### 2.2.5
38
-
39
- - update core, remove crud router
40
-
41
- #### 2.2.4
42
-
43
- - use socket provider for DefaultClientSocketManager instead of native WebSocket
44
-
45
- #### 2.2.1
46
-
47
- - revert to WebSocket implementation (because API gateway only support native websocket)
48
-
49
- #### 2.1.24
50
-
51
- - downgrade webpack
52
-
53
- #### 2.1.23
54
-
55
- - fix socket not reconnect due to refresh token was obtained after socket was closed
56
-
57
- #### 2.1.22
58
-
59
- - remove socket manager initial connect
60
-
61
- #### 2.1.21
62
-
63
- - add type support for api provider
64
-
65
- #### 2.1.19
66
-
67
- - forceReconnect when cannot get access token
68
-
69
- #### 2.1.18
70
-
71
- - update claire core 2.1.2
72
- - fix not connect with undefined access token
73
- - add forceDisconnect to AbstractClientSocketManager
74
-
75
- #### 2.1.17
76
-
77
- - fix socket connect not processing success result
78
-
79
- #### 2.1.16
80
-
81
- - update claire core
82
-
83
- #### 2.1.13
84
-
85
- - remove encodeURI as socket data
86
-
87
- #### 2.1.11
88
-
89
- - client socket to send encodedURI as data
90
-
91
- #### 2.1.9
92
-
93
- - use rxJs to implement client socket logic
94
-
95
- #### 2.0.24:
96
-
97
- - remove test token manager
98
- - fix forceSocket reconnect
99
-
100
- #### 2.0.12:
101
-
102
- - add test token manager
103
-
104
- #### 2.0.10:
105
-
106
- - add AbstractTokenManager, refresh token mechanism for http and socket
107
-
108
- #### 2.0.7:
109
-
110
- - update claire core
111
-
112
- #### 2.0.6:
113
-
114
- - use DI for view middleware in router config
115
- - update peer dependencies
116
- - update abstract view middleware signature
117
-
118
- #### 2.0.2:
119
-
120
- - use Claire Core 2.0
121
- - add log to Axios api client
122
-
123
- #### 1.6.55:
124
-
125
- - add socket keep alive ping/pong
126
-
127
- #### 1.6.50:
128
-
129
- - fix build script
130
- - update clairejs/core
131
-
132
- #### 1.6.48 (Breaking change):
133
-
134
- - add socket multiplex
135
-
136
- #### 1.6.28:
137
-
138
- - fix disconnection event not called when socket disconnect
139
-
140
- #### 1.6.25:
141
-
142
- - split logic of translation into LocaleTranslator
143
-
144
- #### 1.6.24:
145
-
146
- - add ClientSocket unsubscriber function as return result of onXXX listeners
147
-
148
- #### 1.6.23:
149
-
150
- - add getAllSockets in SocketProvider
151
- - fix socket provider not remove disconnected sockets
152
- - add ClientSocket.isReconnecting
153
-
154
- #### 1.6.17:
155
-
156
- - fix socket getAuthId => getAuthInfo
157
-
158
- #### 1.6.16:
159
-
160
- - add socket provider to claire client
161
-
162
- #### 1.6.14:
163
-
164
- - fix client socket multiple handlers
165
-
166
- #### 1.6.12:
167
-
168
- - add ClientSocket and SocketProvider
169
-
170
- #### 1.6.11:
171
-
172
- - ClientSocket logger optional
173
-
174
- #### 1.6.10:
175
-
176
- - ClientSocket connection retry
177
-
178
- #### 1.6.7:
179
-
180
- - fix ClientSocket
181
-
182
- #### 1.6.5:
183
-
184
- - export and fix ClientSocket
185
-
186
- #### 1.6.3:
187
-
188
- - detach vue code into separate package
189
- - add nodeExternals
190
-
191
- #### 1.6.0:
192
-
193
- - revert back to 1.4.16
194
-
195
- #### 1.4.16:
196
-
197
- - update claire core
198
-
199
- #### 1.4.15:
200
-
201
- - export protected convertQueryObjectToString
202
-
203
- #### 1.4.14:
204
-
205
- - remove unused styling
206
-
207
- #### 1.4.13:
208
-
209
- - update VuexCrudModule merge create model instance
210
-
211
- #### 1.4.12:
212
-
213
- - vuexCrudModule default sort by id
214
-
215
- #### 1.4.11:
216
-
217
- - fix crud logic populate server value field
218
-
219
- #### 1.4.10:
220
-
221
- - update claire core
222
- - update crud logic
223
-
224
- #### 1.4.9:
225
-
226
- - reset editItem in CrudLogic
227
-
228
- #### 1.4.8:
229
-
230
- - fix reading data from undefined response in AxiosApiProvider
231
-
232
- #### 1.4.6:
233
-
234
- - remove redudant AbstractErrorHandler
235
-
236
- #### 1.4.5:
237
-
238
- - introduce CrudLogic and scss
239
-
240
- #### 1.4.4:
241
-
242
- - fix VuexCrudModule.decache async return
243
- - return removed instances from VuexCrudModule.decache
244
-
245
- #### 1.4.2:
246
-
247
- - adjust AbstractCrudRouter
248
-
249
- #### 1.4.1:
250
-
251
- - update claire core
252
- - public mutation method in VuexCrudModule
253
-
254
- #### 1.4.0:
255
-
256
- - move VuexCrudModule and VueCrudRouter into
257
- - add getModule into VueHandler
258
-
259
- #### 1.3.29:
260
-
261
- - update navigation with validated query
262
-
263
- #### 1.3.27:
264
-
265
- - update claire core
266
-
267
- #### 1.3.26:
268
-
269
- - renove onHandleChange listener of VueHandler, use @Watch("\$route") on component instead
270
-
271
- #### 1.3.25:
272
-
273
- - fix VueHandler url change listener callback from beforeEach to afterEach
274
-
275
- #### 1.3.24:
276
-
277
- - inject error handler in VueHandler
278
-
279
- #### 1.3.23:
280
-
281
- - rename App to Navigator
282
-
283
- #### 1.3.20:
284
-
285
- - add vuex-class-modules
286
-
287
- #### 1.3.19:
288
-
289
- - update ViewHandler getUrlInfo
290
- - allow ViewHandler navigate relative
291
- - force update vue instance after change language
292
-
293
- #### 1.3.18:
294
-
295
- - fix language init
296
-
297
- #### 1.3.17:
298
-
299
- - add getCurrentLanguage to VueHandler
300
-
301
- #### 1.3.15 (Breaking change):
302
-
303
- - adjust RouterConfig
304
-
305
- #### 1.3.11:
306
-
307
- - fix named components in RouterConfig
308
-
309
- #### 1.3.8:
310
-
311
- - add named components to RouterConfig
312
- - add components property to RouterConfig
313
-
314
- #### 1.3.7 (Breaking change):
315
-
316
- - remove middleware from AbstractRouter
317
-
318
- #### 1.3.6:
319
-
320
- - update RouterConfig to have nested config
321
-
322
- #### 1.3.5:
323
-
324
- - upgrade clairejs core
325
-
326
- #### 1.3.4:
327
-
328
- - update VueHandler config options, remove @Router decorator
329
-
330
- #### 1.3.1:
331
-
332
- - new history, use vue-cli-service library build
333
-
334
- #### 1.2.9:
335
-
336
- - removal of rootComponentClass
337
- - fix optimizeSSR: false
338
- - add Crud views
339
-
340
- #### 1.2.5 (Breaking change):
341
-
342
- - AbstractRouter getRoutes() type change
343
-
344
- #### 1.2.4:
345
-
346
- - improve client builder
347
-
348
- #### 1.2.1:
349
-
350
- - adapt rework of claire core
351
-
352
- #### 1.1.8:
353
-
354
- - fix nested translation
355
-
356
- #### 1.1.3:
357
-
358
- - update VuexCrudModule
359
- - use listener in AbstractViewHandler for url change event
360
-
361
- #### 1.1.0:
362
-
363
- - use template for translation
364
-
365
- #### 1.0.13:
366
-
367
- - set build target es6
368
- - remove vue-i18n
369
-
370
- #### 1.0.12:
371
-
372
- - introduce bootstrap
373
-
374
- #### 1.0.11:
375
-
376
- - allow module injection inside module
377
-
378
- #### 1.0.8:
379
-
380
- - update AbstractViewHandler forward with UrlInfo
381
-
382
- #### 1.0.5:
383
-
384
- - add getUrlInfo in AbstractViewHandler
385
-
386
- #### 1.0.4:
387
-
388
- - remove scss and default App.vue
389
-
390
- #### 1.0.3:
391
-
392
- - update translation resolver
1
+ ## Change Log
2
+
3
+ #### 3.0.15:
4
+
5
+ - fix AbstractHttpClient header case-sensitive issue
6
+
7
+ #### 3.0.14:
8
+
9
+ - fix catch issue when cannot refresh token
10
+
11
+ #### 3.0.13:
12
+
13
+ - fix mergeInstance
14
+
15
+ #### 3.0.12:
16
+
17
+ - add default storage key for token manager
18
+
19
+ #### 3.0.11:
20
+
21
+ - fix AbstractHttpClient refresh token
22
+
23
+ #### 3.0.10:
24
+
25
+ - fix export
26
+ - fix CrudApi
27
+
28
+ #### 3.0.7:
29
+
30
+ - add DefaultTokenManager
31
+ - add CrudApi
32
+
33
+ #### 3.0.6: update url info
34
+
35
+ - add hash
36
+ - update view middware: from is nullable
37
+
38
+ #### 3.0.4: update translation
39
+
40
+ - Translator is now in charge of mapping translation (getTranslationObject)
41
+ - translation template supports function expression
42
+ - translator has language update subscribers registry
43
+
44
+ #### 3.0.0
45
+
46
+ - update claire core 3.0
47
+ - remove AbstractRouter
48
+
49
+ #### 2.2.5
50
+
51
+ - update core, remove crud router
52
+
53
+ #### 2.2.4
54
+
55
+ - use socket provider for DefaultClientSocketManager instead of native WebSocket
56
+
57
+ #### 2.2.1
58
+
59
+ - revert to WebSocket implementation (because API gateway only support native websocket)
60
+
61
+ #### 2.1.24
62
+
63
+ - downgrade webpack
64
+
65
+ #### 2.1.23
66
+
67
+ - fix socket not reconnect due to refresh token was obtained after socket was closed
68
+
69
+ #### 2.1.22
70
+
71
+ - remove socket manager initial connect
72
+
73
+ #### 2.1.21
74
+
75
+ - add type support for api provider
76
+
77
+ #### 2.1.19
78
+
79
+ - forceReconnect when cannot get access token
80
+
81
+ #### 2.1.18
82
+
83
+ - update claire core 2.1.2
84
+ - fix not connect with undefined access token
85
+ - add forceDisconnect to AbstractClientSocketManager
86
+
87
+ #### 2.1.17
88
+
89
+ - fix socket connect not processing success result
90
+
91
+ #### 2.1.16
92
+
93
+ - update claire core
94
+
95
+ #### 2.1.13
96
+
97
+ - remove encodeURI as socket data
98
+
99
+ #### 2.1.11
100
+
101
+ - client socket to send encodedURI as data
102
+
103
+ #### 2.1.9
104
+
105
+ - use rxJs to implement client socket logic
106
+
107
+ #### 2.0.24:
108
+
109
+ - remove test token manager
110
+ - fix forceSocket reconnect
111
+
112
+ #### 2.0.12:
113
+
114
+ - add test token manager
115
+
116
+ #### 2.0.10:
117
+
118
+ - add AbstractTokenManager, refresh token mechanism for http and socket
119
+
120
+ #### 2.0.7:
121
+
122
+ - update claire core
123
+
124
+ #### 2.0.6:
125
+
126
+ - use DI for view middleware in router config
127
+ - update peer dependencies
128
+ - update abstract view middleware signature
129
+
130
+ #### 2.0.2:
131
+
132
+ - use Claire Core 2.0
133
+ - add log to Axios api client
134
+
135
+ #### 1.6.55:
136
+
137
+ - add socket keep alive ping/pong
138
+
139
+ #### 1.6.50:
140
+
141
+ - fix build script
142
+ - update clairejs/core
143
+
144
+ #### 1.6.48 (Breaking change):
145
+
146
+ - add socket multiplex
147
+
148
+ #### 1.6.28:
149
+
150
+ - fix disconnection event not called when socket disconnect
151
+
152
+ #### 1.6.25:
153
+
154
+ - split logic of translation into LocaleTranslator
155
+
156
+ #### 1.6.24:
157
+
158
+ - add ClientSocket unsubscriber function as return result of onXXX listeners
159
+
160
+ #### 1.6.23:
161
+
162
+ - add getAllSockets in SocketProvider
163
+ - fix socket provider not remove disconnected sockets
164
+ - add ClientSocket.isReconnecting
165
+
166
+ #### 1.6.17:
167
+
168
+ - fix socket getAuthId => getAuthInfo
169
+
170
+ #### 1.6.16:
171
+
172
+ - add socket provider to claire client
173
+
174
+ #### 1.6.14:
175
+
176
+ - fix client socket multiple handlers
177
+
178
+ #### 1.6.12:
179
+
180
+ - add ClientSocket and SocketProvider
181
+
182
+ #### 1.6.11:
183
+
184
+ - ClientSocket logger optional
185
+
186
+ #### 1.6.10:
187
+
188
+ - ClientSocket connection retry
189
+
190
+ #### 1.6.7:
191
+
192
+ - fix ClientSocket
193
+
194
+ #### 1.6.5:
195
+
196
+ - export and fix ClientSocket
197
+
198
+ #### 1.6.3:
199
+
200
+ - detach vue code into separate package
201
+ - add nodeExternals
202
+
203
+ #### 1.6.0:
204
+
205
+ - revert back to 1.4.16
206
+
207
+ #### 1.4.16:
208
+
209
+ - update claire core
210
+
211
+ #### 1.4.15:
212
+
213
+ - export protected convertQueryObjectToString
214
+
215
+ #### 1.4.14:
216
+
217
+ - remove unused styling
218
+
219
+ #### 1.4.13:
220
+
221
+ - update VuexCrudModule merge create model instance
222
+
223
+ #### 1.4.12:
224
+
225
+ - vuexCrudModule default sort by id
226
+
227
+ #### 1.4.11:
228
+
229
+ - fix crud logic populate server value field
230
+
231
+ #### 1.4.10:
232
+
233
+ - update claire core
234
+ - update crud logic
235
+
236
+ #### 1.4.9:
237
+
238
+ - reset editItem in CrudLogic
239
+
240
+ #### 1.4.8:
241
+
242
+ - fix reading data from undefined response in AxiosApiProvider
243
+
244
+ #### 1.4.6:
245
+
246
+ - remove redudant AbstractErrorHandler
247
+
248
+ #### 1.4.5:
249
+
250
+ - introduce CrudLogic and scss
251
+
252
+ #### 1.4.4:
253
+
254
+ - fix VuexCrudModule.decache async return
255
+ - return removed instances from VuexCrudModule.decache
256
+
257
+ #### 1.4.2:
258
+
259
+ - adjust AbstractCrudRouter
260
+
261
+ #### 1.4.1:
262
+
263
+ - update claire core
264
+ - public mutation method in VuexCrudModule
265
+
266
+ #### 1.4.0:
267
+
268
+ - move VuexCrudModule and VueCrudRouter into
269
+ - add getModule into VueHandler
270
+
271
+ #### 1.3.29:
272
+
273
+ - update navigation with validated query
274
+
275
+ #### 1.3.27:
276
+
277
+ - update claire core
278
+
279
+ #### 1.3.26:
280
+
281
+ - renove onHandleChange listener of VueHandler, use @Watch("\$route") on component instead
282
+
283
+ #### 1.3.25:
284
+
285
+ - fix VueHandler url change listener callback from beforeEach to afterEach
286
+
287
+ #### 1.3.24:
288
+
289
+ - inject error handler in VueHandler
290
+
291
+ #### 1.3.23:
292
+
293
+ - rename App to Navigator
294
+
295
+ #### 1.3.20:
296
+
297
+ - add vuex-class-modules
298
+
299
+ #### 1.3.19:
300
+
301
+ - update ViewHandler getUrlInfo
302
+ - allow ViewHandler navigate relative
303
+ - force update vue instance after change language
304
+
305
+ #### 1.3.18:
306
+
307
+ - fix language init
308
+
309
+ #### 1.3.17:
310
+
311
+ - add getCurrentLanguage to VueHandler
312
+
313
+ #### 1.3.15 (Breaking change):
314
+
315
+ - adjust RouterConfig
316
+
317
+ #### 1.3.11:
318
+
319
+ - fix named components in RouterConfig
320
+
321
+ #### 1.3.8:
322
+
323
+ - add named components to RouterConfig
324
+ - add components property to RouterConfig
325
+
326
+ #### 1.3.7 (Breaking change):
327
+
328
+ - remove middleware from AbstractRouter
329
+
330
+ #### 1.3.6:
331
+
332
+ - update RouterConfig to have nested config
333
+
334
+ #### 1.3.5:
335
+
336
+ - upgrade clairejs core
337
+
338
+ #### 1.3.4:
339
+
340
+ - update VueHandler config options, remove @Router decorator
341
+
342
+ #### 1.3.1:
343
+
344
+ - new history, use vue-cli-service library build
345
+
346
+ #### 1.2.9:
347
+
348
+ - removal of rootComponentClass
349
+ - fix optimizeSSR: false
350
+ - add Crud views
351
+
352
+ #### 1.2.5 (Breaking change):
353
+
354
+ - AbstractRouter getRoutes() type change
355
+
356
+ #### 1.2.4:
357
+
358
+ - improve client builder
359
+
360
+ #### 1.2.1:
361
+
362
+ - adapt rework of claire core
363
+
364
+ #### 1.1.8:
365
+
366
+ - fix nested translation
367
+
368
+ #### 1.1.3:
369
+
370
+ - update VuexCrudModule
371
+ - use listener in AbstractViewHandler for url change event
372
+
373
+ #### 1.1.0:
374
+
375
+ - use template for translation
376
+
377
+ #### 1.0.13:
378
+
379
+ - set build target es6
380
+ - remove vue-i18n
381
+
382
+ #### 1.0.12:
383
+
384
+ - introduce bootstrap
385
+
386
+ #### 1.0.11:
387
+
388
+ - allow module injection inside module
389
+
390
+ #### 1.0.8:
391
+
392
+ - update AbstractViewHandler forward with UrlInfo
393
+
394
+ #### 1.0.5:
395
+
396
+ - add getUrlInfo in AbstractViewHandler
397
+
398
+ #### 1.0.4:
399
+
400
+ - remove scss and default App.vue
401
+
402
+ #### 1.0.3:
403
+
404
+ - update translation resolver