@clairejs/client 3.1.9 → 3.1.10

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