Skip to content

Commit 8f62cb4

Browse files
Merge pull request #47 from viamrobotics/refetch-if-empty
Refetch resourceNames if list is empty and connection established
2 parents 4cba1bb + 2d12ff9 commit 8f62cb4

File tree

7 files changed

+3140
-2686
lines changed

7 files changed

+3140
-2686
lines changed

.changeset/floppy-hats-say.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@viamrobotics/svelte-sdk': patch
3+
---
4+
5+
Refetch resourceNames if list is empty and connection established

eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,11 @@ export default ts.config(
3535
svelteConfig,
3636
},
3737
},
38+
},
39+
{
40+
rules: {
41+
// Currently has false positives
42+
'svelte/prefer-svelte-reactivity': 'off',
43+
},
3844
}
3945
);

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
"type": "git",
4040
"url": "git+https://github.com/viamrobotics/viam-svelte-sdk.git"
4141
},
42+
"dependencies": {
43+
"runed": "^0.29.1"
44+
},
4245
"peerDependencies": {
4346
"@tanstack/svelte-query": ">=5",
4447
"@viamrobotics/sdk": ">=0.38",
@@ -88,5 +91,5 @@
8891
"esbuild"
8992
]
9093
},
91-
"packageManager": "pnpm@8.15.6+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f"
94+
"packageManager": "pnpm@10.14.0"
9295
}

0 commit comments

Comments
 (0)