@sylphx/lens-solid 2.4.4 → 2.4.6
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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2167,11 +2167,11 @@ class SseConnectionManager {
|
|
|
2167
2167
|
const subId = op2.id;
|
|
2168
2168
|
let retryCount = 0;
|
|
2169
2169
|
const connect = () => {
|
|
2170
|
-
const sseUrl = new URL(`${this.config.baseUrl}
|
|
2170
|
+
const sseUrl = new URL(`${this.config.baseUrl}/__lens/sse`);
|
|
2171
|
+
sseUrl.searchParams.set("path", op2.path);
|
|
2171
2172
|
if (op2.input !== undefined) {
|
|
2172
2173
|
sseUrl.searchParams.set("input", JSON.stringify(op2.input));
|
|
2173
2174
|
}
|
|
2174
|
-
sseUrl.searchParams.set("_sse", "1");
|
|
2175
2175
|
if (this.config.headers) {
|
|
2176
2176
|
for (const [key, value] of Object.entries(this.config.headers)) {
|
|
2177
2177
|
sseUrl.searchParams.set(`_h_${key}`, value);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sylphx/lens-solid",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "SolidJS bindings for Lens API framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"author": "SylphxAI",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sylphx/lens-client": "^3.1.
|
|
34
|
+
"@sylphx/lens-client": "^3.1.6",
|
|
35
35
|
"@sylphx/lens-core": "^4.1.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|