@clairejs/client 3.1.6 → 3.1.9

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