@clairejs/client

update claire core

Usage no npm install needed!

<script type="module">
  import clairejsClient from 'https://cdn.skypack.dev/@clairejs/client';
</script>

README

Change Log

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