@clairejs/client 3.1.4 → 3.1.5

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