@kokimoki/app 0.6.1 → 0.6.2

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.
@@ -138,10 +138,11 @@ export class KokimokiClient extends EventEmitter {
138
138
  // Attempt to reconnect immediately with retries
139
139
  await provider.connect();
140
140
  });
141
+ provider.on("connect", () => {
142
+ this.checkConnectionState();
143
+ });
141
144
  provider.on("synced", () => {
142
- if (provider.status === "connected") {
143
- this.checkConnectionState();
144
- }
145
+ this.checkConnectionState();
145
146
  });
146
147
  }
147
148
  removeProvider(name) {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const KOKIMOKI_APP_VERSION = "0.6.1";
1
+ export declare const KOKIMOKI_APP_VERSION = "0.6.2";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const KOKIMOKI_APP_VERSION = "0.6.1";
1
+ export const KOKIMOKI_APP_VERSION = "0.6.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kokimoki/app",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "type": "module",
5
5
  "description": "Kokimoki app",
6
6
  "main": "dist/index.js",