adminforth 1.5.3-next.1 → 1.5.4-next.0

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.
@@ -28,7 +28,7 @@ async function init() {
28
28
  }://${window.location.host}/afws`);
29
29
  state.status = 'connecting';
30
30
  state.ws.addEventListener('open', () => {
31
- console.log('connected');
31
+ console.log('🔌 AFWS connected');
32
32
  state.status = 'connected';
33
33
  Object.keys(subscriptions).forEach((topic) => {
34
34
  doPhysicalSubscribe(topic);
@@ -51,10 +51,10 @@ async function init() {
51
51
  }
52
52
  });
53
53
  state.ws.addEventListener('close', () => {
54
- console.log('disconnected');
54
+ console.log('🔌 AFWS disconnected');
55
55
  state.status = 'disconnected';
56
56
  setTimeout(() => {
57
- console.log('reconnecting');
57
+ console.log('🔌 AFWS reconnecting');
58
58
  init();
59
59
  }, 1000);
60
60
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.5.3-next.1",
3
+ "version": "1.5.4-next.0",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",