@rool-dev/svelte 0.1.7 → 0.1.8-dev.f8c7dea
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/rool.svelte.js +6 -6
- package/package.json +2 -2
package/dist/rool.svelte.js
CHANGED
|
@@ -39,12 +39,12 @@ class RoolImpl {
|
|
|
39
39
|
};
|
|
40
40
|
this.#client.on('connectionStateChanged', onConnectionStateChanged);
|
|
41
41
|
this.#unsubscribers.push(() => this.#client.off('connectionStateChanged', onConnectionStateChanged));
|
|
42
|
-
const
|
|
43
|
-
this.#client.on('
|
|
44
|
-
this.#unsubscribers.push(() => this.#client.off('
|
|
45
|
-
const
|
|
46
|
-
this.#client.on('
|
|
47
|
-
this.#unsubscribers.push(() => this.#client.off('
|
|
42
|
+
const onSpaceAdded = () => this.#refreshSpaces();
|
|
43
|
+
this.#client.on('spaceAdded', onSpaceAdded);
|
|
44
|
+
this.#unsubscribers.push(() => this.#client.off('spaceAdded', onSpaceAdded));
|
|
45
|
+
const onSpaceRemoved = () => this.#refreshSpaces();
|
|
46
|
+
this.#client.on('spaceRemoved', onSpaceRemoved);
|
|
47
|
+
this.#unsubscribers.push(() => this.#client.off('spaceRemoved', onSpaceRemoved));
|
|
48
48
|
const onSpaceRenamed = () => this.#refreshSpaces();
|
|
49
49
|
this.#client.on('spaceRenamed', onSpaceRenamed);
|
|
50
50
|
this.#unsubscribers.push(() => this.#client.off('spaceRenamed', onSpaceRenamed));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rool-dev/svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8-dev.f8c7dea",
|
|
4
4
|
"description": "Svelte 5 runes for Rool Spaces",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"svelte": "./dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@rool-dev/sdk": "0.1.
|
|
44
|
+
"@rool-dev/sdk": "0.1.15"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"svelte": "^5.0.0"
|