@trustgraph/react-state 1.2.0 → 1.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.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/state/token-costs.d.ts +10 -2
- package/dist/state/token-costs.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -551,7 +551,7 @@ const useFlows = () => {
|
|
|
551
551
|
* Uses React Query for caching and background refetching
|
|
552
552
|
*/
|
|
553
553
|
const flowBlueprintsQuery = reactQuery.useQuery({
|
|
554
|
-
queryKey: ["
|
|
554
|
+
queryKey: ["flows-blueprints"],
|
|
555
555
|
enabled: isSocketReady,
|
|
556
556
|
queryFn: () => {
|
|
557
557
|
return socket
|
|
@@ -3653,7 +3653,7 @@ const useFlowBlueprints = () => {
|
|
|
3653
3653
|
try {
|
|
3654
3654
|
const response = await socket.config().getConfigAll();
|
|
3655
3655
|
// Handle both array and object responses
|
|
3656
|
-
const config = response.config["flow-
|
|
3656
|
+
const config = response.config["flow-blueprint"];
|
|
3657
3657
|
if (Array.isArray(config)) {
|
|
3658
3658
|
// If it's already an array, check if it's an array of [key, value] pairs
|
|
3659
3659
|
if (config.length > 0 &&
|