@ecency/wallets 1.5.3 → 1.5.4
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/browser/index.js +11 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +11 -0
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +11 -0
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/node/index.mjs
CHANGED
|
@@ -1474,9 +1474,20 @@ function useClaimRewards(username, auth, onSuccess) {
|
|
|
1474
1474
|
queryClient.invalidateQueries({
|
|
1475
1475
|
queryKey: getAccountFullQueryOptions(username).queryKey
|
|
1476
1476
|
});
|
|
1477
|
+
queryClient.invalidateQueries({
|
|
1478
|
+
queryKey: getHiveAssetGeneralInfoQueryOptions(username).queryKey
|
|
1479
|
+
});
|
|
1480
|
+
queryClient.invalidateQueries({
|
|
1481
|
+
queryKey: getHbdAssetGeneralInfoQueryOptions(username).queryKey
|
|
1482
|
+
});
|
|
1477
1483
|
queryClient.invalidateQueries({
|
|
1478
1484
|
queryKey: getHivePowerAssetGeneralInfoQueryOptions(username).queryKey
|
|
1479
1485
|
});
|
|
1486
|
+
["HIVE", "HBD", "HP"].forEach((asset) => {
|
|
1487
|
+
queryClient.invalidateQueries({
|
|
1488
|
+
queryKey: ["ecency-wallets", "asset-info", username, asset]
|
|
1489
|
+
});
|
|
1490
|
+
});
|
|
1480
1491
|
},
|
|
1481
1492
|
auth
|
|
1482
1493
|
);
|