@sylphx/lens-solid 2.2.0 → 2.2.1

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -667,7 +667,12 @@ class ClientImpl {
667
667
  sub.unsubscribe = () => subscription.unsubscribe();
668
668
  }
669
669
  } else {
670
- this.executeQuery(path, input).then(() => {});
670
+ this.executeQuery(path, input).then(() => {
671
+ sub.completed = true;
672
+ for (const observer of sub.observers) {
673
+ observer.complete?.();
674
+ }
675
+ });
671
676
  }
672
677
  }
673
678
  async executeMutation(path, input, select) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sylphx/lens-solid",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "SolidJS bindings for Lens API framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "author": "SylphxAI",
32
32
  "license": "MIT",
33
33
  "dependencies": {
34
- "@sylphx/lens-client": "^2.3.1",
35
- "@sylphx/lens-core": "^2.2.0"
34
+ "@sylphx/lens-client": "^2.3.2",
35
+ "@sylphx/lens-core": "^2.3.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "solid-js": ">=1.8.0"