create-ekka-desktop-app 0.3.10 → 0.3.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ekka-desktop-app",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "Create an EKKA desktop app with built-in demo backend. No setup required.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -198,8 +198,8 @@ fn engine_disconnect(state: State<EngineState>) {
198
198
  fn engine_request(req: EngineRequest, state: State<EngineState>) -> EngineResponse {
199
199
  let home_path_str = state.home_path.display().to_string();
200
200
 
201
- // Check connected (except for status operations)
202
- if !matches!(req.op.as_str(), "runtime.info" | "home.status") {
201
+ // Check connected (except for status operations that run pre-connect)
202
+ if !matches!(req.op.as_str(), "runtime.info" | "home.status" | "setup.status" | "nodeCredentials.status") {
203
203
  let connected = match state.connected.lock() {
204
204
  Ok(guard) => *guard,
205
205
  Err(e) => return EngineResponse::err("INTERNAL_ERROR", &e.to_string()),