@clairejs/client 3.1.10 → 3.1.11

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,425 +1,425 @@
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
1
+ ## Change Log
2
+
3
+ #### 3.1.11:
4
+
5
+ - send & 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