@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/browser/index.js
CHANGED
|
@@ -1476,9 +1476,20 @@ function useClaimRewards(username, auth, onSuccess) {
|
|
|
1476
1476
|
queryClient.invalidateQueries({
|
|
1477
1477
|
queryKey: getAccountFullQueryOptions(username).queryKey
|
|
1478
1478
|
});
|
|
1479
|
+
queryClient.invalidateQueries({
|
|
1480
|
+
queryKey: getHiveAssetGeneralInfoQueryOptions(username).queryKey
|
|
1481
|
+
});
|
|
1482
|
+
queryClient.invalidateQueries({
|
|
1483
|
+
queryKey: getHbdAssetGeneralInfoQueryOptions(username).queryKey
|
|
1484
|
+
});
|
|
1479
1485
|
queryClient.invalidateQueries({
|
|
1480
1486
|
queryKey: getHivePowerAssetGeneralInfoQueryOptions(username).queryKey
|
|
1481
1487
|
});
|
|
1488
|
+
["HIVE", "HBD", "HP"].forEach((asset) => {
|
|
1489
|
+
queryClient.invalidateQueries({
|
|
1490
|
+
queryKey: ["ecency-wallets", "asset-info", username, asset]
|
|
1491
|
+
});
|
|
1492
|
+
});
|
|
1482
1493
|
},
|
|
1483
1494
|
auth
|
|
1484
1495
|
);
|