3.4.4 • Published 2 years ago

@clairejs/client v3.4.4

Weekly downloads
1,472
License
-
Repository
-
Last release
2 years ago

Change Log

3.4.4:

  • update claire core
  • fix mergeInstances not merge null
  • fix http client cache headers
  • update claire core
  • apply LogHandler to some implementations

3.3.3:

  • update claire core
  • export getAPI utils
  • remove webpack, change module to esm

3.2.33:

  • fix return type of updateRecords
  • add updateRecords in crud api

3.2.29:

  • update claire core

3.2.28:

  • fix refresh http client wait for refresh token

3.2.27:

  • fix error handle in http clients

3.2.26:

  • add cache ability to DefaultHttpClient (for use in non-browser env)

3.2.25:

  • new implementation of http clients

3.2.23:

  • simple implementation of RefreshHttpClient error handler without recursion

3.2.22:

  • AbstractHttpClient operations return undefined in case error handler intercepted

3.2.21:

  • fix refresh http client clear access token before refreshing
  • fix refresh http client infinite loop
  • pump axios version

3.2.19:

  • fix http client get method

3.2.18:

  • update claire core with new Errors
  • refactor HttpClient

3.2.17:

  • update claire core
  • fix mergeInstance type issue Partial -> DeepPartial

3.2.16:

  • move reset cache to AbstractHttpClient

3.2.15:

  • remove ws
  • remove rxjs
  • update core, fix returning in update many

3.2.12:

  • update core package, adapt abstract model id field data type change

3.2.11:

  • update core package
  • improve mergeInstances to be aware of @HasMany

3.2.4:

  • fix RefreshHttpClient bug in getting refresh token condition

3.2.3:

  • fix translate undefined/null/empty template
  • update Translator.translate to return string instead of promise
  • fix translation loading translation pending promises
  • implement new Translator

3.1.26:

  • fix DefaultHttpClient retry
  • add retry config in RefreshHttpClient
  • fix stringifyQueries not encode URI
  • add withCredentials option to abstract request

3.1.22:

  • fix DefaultHttpClient: add delay before retry
  • fix stringifyQueries
  • add cache and reset cache ability to DefaultHttpClient
  • fix HttpClient, allow get with cache, allow retry when get 503 error

3.1.15:

  • mergeInstance accept Identifiable class instead of AbstractModel

3.1.14:

  • using deepMerge for mergeInstances

3.1.13:

  • send & handle socket READY message
  • update Translator
  • fix socket terminated not calling disconnection handler error
  • fix typo in socket config

3.1.5:

  • add get pingpong info
  • fix resolve header promise in api client
  • add IWebsocket onclose error handler
  • fix rejoin channel when socket disconnect un-intentionally
  • fix join channel when socket is not available
  • refactor client socket & socket manager

3.0.17:

  • AxiosApiClient -> RefreshHttpClient
  • Add DefaultHttpClient (axios)

3.0.16:

  • fix AbstractHttpClient header case-sensitive issue

3.0.14:

  • fix catch issue when cannot refresh token

3.0.13:

  • fix mergeInstance

3.0.12:

  • add default storage key for token manager

3.0.11:

  • fix AbstractHttpClient refresh token

3.0.10:

  • fix export
  • fix CrudApi

3.0.7:

  • add DefaultTokenManager
  • add CrudApi

3.0.6: update url info

  • add hash
  • update view middware: from is nullable

3.0.4: update translation

  • Translator is now in charge of mapping translation (getTranslationObject)
  • translation template supports function expression
  • translator has language update subscribers registry

3.0.0

  • update claire core 3.0
  • remove AbstractRouter

2.2.5

  • update core, remove crud router

2.2.4

  • use socket provider for DefaultClientSocketManager instead of native WebSocket

2.2.1

  • revert to WebSocket implementation (because API gateway only support native websocket)

2.1.24

  • downgrade webpack

2.1.23

  • fix socket not reconnect due to refresh token was obtained after socket was closed

2.1.22

  • remove socket manager initial connect

2.1.21

  • add type support for api provider

2.1.19

  • forceReconnect when cannot get access token

2.1.18

  • update claire core 2.1.2
  • fix not connect with undefined access token
  • add forceDisconnect to AbstractClientSocketManager

2.1.17

  • fix socket connect not processing success result

2.1.16

  • update claire core

2.1.13

  • remove encodeURI as socket data

2.1.11

  • client socket to send encodedURI as data

2.1.9

  • use rxJs to implement client socket logic

2.0.24:

  • remove test token manager
  • fix forceSocket reconnect

2.0.12:

  • add test token manager

2.0.10:

  • add AbstractTokenManager, refresh token mechanism for http and socket

2.0.7:

  • update claire core

2.0.6:

  • use DI for view middleware in router config
  • update peer dependencies
  • update abstract view middleware signature

2.0.2:

  • use Claire Core 2.0
  • add log to Axios api client

1.6.55:

  • add socket keep alive ping/pong

1.6.50:

  • fix build script
  • update clairejs/core

1.6.48 (Breaking change):

  • add socket multiplex

1.6.28:

  • fix disconnection event not called when socket disconnect

1.6.25:

  • split logic of translation into LocaleTranslator

1.6.24:

  • add ClientSocket unsubscriber function as return result of onXXX listeners

1.6.23:

  • add getAllSockets in SocketProvider
  • fix socket provider not remove disconnected sockets
  • add ClientSocket.isReconnecting

1.6.17:

  • fix socket getAuthId => getAuthInfo

1.6.16:

  • add socket provider to claire client

1.6.14:

  • fix client socket multiple handlers

1.6.12:

  • add ClientSocket and SocketProvider

1.6.11:

  • ClientSocket logger optional

1.6.10:

  • ClientSocket connection retry

1.6.7:

  • fix ClientSocket

1.6.5:

  • export and fix ClientSocket

1.6.3:

  • detach vue code into separate package
  • add nodeExternals

1.6.0:

  • revert back to 1.4.16

1.4.16:

  • update claire core

1.4.15:

  • export protected convertQueryObjectToString

1.4.14:

  • remove unused styling

1.4.13:

  • update VuexCrudModule merge create model instance

1.4.12:

  • vuexCrudModule default sort by id

1.4.11:

  • fix crud logic populate server value field

1.4.10:

  • update claire core
  • update crud logic

1.4.9:

  • reset editItem in CrudLogic

1.4.8:

  • fix reading data from undefined response in AxiosApiProvider

1.4.6:

  • remove redudant AbstractErrorHandler

1.4.5:

  • introduce CrudLogic and scss

1.4.4:

  • fix VuexCrudModule.decache async return
  • return removed instances from VuexCrudModule.decache

1.4.2:

  • adjust AbstractCrudRouter

1.4.1:

  • update claire core
  • public mutation method in VuexCrudModule

1.4.0:

  • move VuexCrudModule and VueCrudRouter into
  • add getModule into VueHandler

1.3.29:

  • update navigation with validated query

1.3.27:

  • update claire core

1.3.26:

  • renove onHandleChange listener of VueHandler, use @Watch("\$route") on component instead

1.3.25:

  • fix VueHandler url change listener callback from beforeEach to afterEach

1.3.24:

  • inject error handler in VueHandler

1.3.23:

  • rename App to Navigator

1.3.20:

  • add vuex-class-modules

1.3.19:

  • update ViewHandler getUrlInfo
  • allow ViewHandler navigate relative
  • force update vue instance after change language

1.3.18:

  • fix language init

1.3.17:

  • add getCurrentLanguage to VueHandler

1.3.15 (Breaking change):

  • adjust RouterConfig

1.3.11:

  • fix named components in RouterConfig

1.3.8:

  • add named components to RouterConfig
  • add components property to RouterConfig

1.3.7 (Breaking change):

  • remove middleware from AbstractRouter

1.3.6:

  • update RouterConfig to have nested config

1.3.5:

  • upgrade clairejs core

1.3.4:

  • update VueHandler config options, remove @Router decorator

1.3.1:

  • new history, use vue-cli-service library build

1.2.9:

  • removal of rootComponentClass
  • fix optimizeSSR: false
  • add Crud views

1.2.5 (Breaking change):

  • AbstractRouter getRoutes() type change

1.2.4:

  • improve client builder

1.2.1:

  • adapt rework of claire core

1.1.8:

  • fix nested translation

1.1.3:

  • update VuexCrudModule
  • use listener in AbstractViewHandler for url change event

1.1.0:

  • use template for translation

1.0.13:

  • set build target es6
  • remove vue-i18n

1.0.12:

  • introduce bootstrap

1.0.11:

  • allow module injection inside module

1.0.8:

  • update AbstractViewHandler forward with UrlInfo

1.0.5:

  • add getUrlInfo in AbstractViewHandler

1.0.4:

  • remove scss and default App.vue

1.0.3:

  • update translation resolver
3.4.4

2 years ago

3.4.0

2 years ago

3.4.3

2 years ago

3.4.2

2 years ago

3.4.1

2 years ago

3.3.3

2 years ago

3.3.2

2 years ago

3.2.28

2 years ago

3.2.29

2 years ago

3.2.31

2 years ago

3.2.30

2 years ago

3.2.33

2 years ago

3.2.32

2 years ago

3.3.1

2 years ago

3.3.0

2 years ago

3.2.24

2 years ago

3.2.23

2 years ago

3.2.26

2 years ago

3.2.25

2 years ago

3.2.27

2 years ago

3.2.20

2 years ago

3.2.22

2 years ago

3.2.21

2 years ago

3.2.19

2 years ago

3.2.18

2 years ago

3.2.17

2 years ago

3.2.13

2 years ago

3.2.15

2 years ago

3.2.14

2 years ago

3.2.16

2 years ago

3.2.12

2 years ago

3.2.11

3 years ago

3.2.2

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

3.2.6

3 years ago

3.2.5

3 years ago

3.2.4

3 years ago

3.2.3

3 years ago

3.2.9

3 years ago

3.2.8

3 years ago

3.2.7

3 years ago

3.2.10

3 years ago

3.1.25

3 years ago

3.1.24

3 years ago

3.1.26

3 years ago

3.1.23

3 years ago

3.1.14

3 years ago

3.1.13

3 years ago

3.1.16

3 years ago

3.1.15

3 years ago

3.1.17

3 years ago

3.1.22

3 years ago

3.1.21

3 years ago

3.1.20

3 years ago

3.1.19

3 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.1.7

3 years ago

3.1.6

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.1.9

3 years ago

3.1.8

3 years ago

3.0.16

3 years ago

3.0.17

3 years ago

3.0.14

3 years ago

3.0.15

3 years ago

3.1.12

3 years ago

3.1.11

3 years ago

3.1.10

3 years ago

3.0.12

3 years ago

3.0.13

3 years ago

3.0.11

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.0

3 years ago

3.0.9

3 years ago

3.0.10

3 years ago

2.2.5

3 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.4

4 years ago

2.1.23

4 years ago

2.1.24

4 years ago

2.1.22

4 years ago

2.1.21

4 years ago

2.1.20

4 years ago

2.1.19

4 years ago

2.1.17

4 years ago

2.1.18

4 years ago

2.1.16

4 years ago

2.1.14

4 years ago

2.1.15

4 years ago

2.1.12

4 years ago

2.1.13

4 years ago

2.1.10

4 years ago

2.1.11

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.1.9

4 years ago

2.1.2

4 years ago

2.0.15

4 years ago

2.0.16

4 years ago

2.1.4

4 years ago

2.0.13

4 years ago

2.1.3

4 years ago

2.0.14

4 years ago

2.1.6

4 years ago

2.0.11

4 years ago

2.1.5

4 years ago

2.0.12

4 years ago

2.1.8

4 years ago

2.1.7

4 years ago

2.0.10

4 years ago

2.0.19

4 years ago

2.0.17

4 years ago

2.0.18

4 years ago

2.0.26

4 years ago

2.0.24

4 years ago

2.0.25

4 years ago

2.0.22

4 years ago

2.0.23

4 years ago

2.0.20

4 years ago

2.0.21

4 years ago

1.6.51

4 years ago

1.6.53

4 years ago

1.6.52

4 years ago

1.6.55

4 years ago

1.6.54

4 years ago

1.6.50

4 years ago

1.6.49

4 years ago

1.6.48

4 years ago

1.6.40

4 years ago

1.6.42

4 years ago

1.6.41

4 years ago

1.6.44

4 years ago

1.6.43

4 years ago

1.6.46

4 years ago

1.6.45

4 years ago

1.6.47

4 years ago

1.6.39

4 years ago

1.6.38

4 years ago

1.6.37

4 years ago

1.6.36

4 years ago

1.6.35

4 years ago

1.6.34

4 years ago

1.6.33

4 years ago

1.6.32

4 years ago

1.6.31

4 years ago

1.6.30

4 years ago

1.6.29

4 years ago

1.6.26

4 years ago

1.6.28

4 years ago

1.6.27

4 years ago

1.6.25

5 years ago

1.6.24

5 years ago

1.6.23

5 years ago

1.6.22

5 years ago

1.6.21

5 years ago

1.6.20

5 years ago

1.6.19

5 years ago

1.6.18

5 years ago

1.6.17

5 years ago

1.6.16

5 years ago

1.6.15

5 years ago

1.6.14

5 years ago

1.6.13

5 years ago

1.6.12

5 years ago

1.6.11

5 years ago

1.6.10

5 years ago

1.6.9

5 years ago

1.6.8

5 years ago

1.6.7

5 years ago

1.6.6

5 years ago

1.6.5

5 years ago

1.6.4

5 years ago

1.6.3

5 years ago

1.6.2

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.16

5 years ago

1.4.15

5 years ago

1.4.14

5 years ago

1.4.13

5 years ago

1.4.12

5 years ago

1.4.11

5 years ago

1.4.10

5 years ago

1.4.9

5 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.29

5 years ago

1.3.28

5 years ago

1.3.26

5 years ago

1.3.27

5 years ago

1.3.25

5 years ago

1.3.24

5 years ago

1.3.23

5 years ago

1.3.21

5 years ago

1.3.22

5 years ago

1.3.20

5 years ago

1.3.19

5 years ago

1.3.17

5 years ago

1.3.18

5 years ago

1.3.16

5 years ago

1.3.15

5 years ago

1.3.13

5 years ago

1.3.11

5 years ago

1.3.12

5 years ago

1.3.10

5 years ago

1.3.9

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.1

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago