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