@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.cjs
CHANGED
|
@@ -1501,9 +1501,20 @@ function useClaimRewards(username, auth, onSuccess) {
|
|
|
1501
1501
|
queryClient.invalidateQueries({
|
|
1502
1502
|
queryKey: sdk.getAccountFullQueryOptions(username).queryKey
|
|
1503
1503
|
});
|
|
1504
|
+
queryClient.invalidateQueries({
|
|
1505
|
+
queryKey: getHiveAssetGeneralInfoQueryOptions(username).queryKey
|
|
1506
|
+
});
|
|
1507
|
+
queryClient.invalidateQueries({
|
|
1508
|
+
queryKey: getHbdAssetGeneralInfoQueryOptions(username).queryKey
|
|
1509
|
+
});
|
|
1504
1510
|
queryClient.invalidateQueries({
|
|
1505
1511
|
queryKey: getHivePowerAssetGeneralInfoQueryOptions(username).queryKey
|
|
1506
1512
|
});
|
|
1513
|
+
["HIVE", "HBD", "HP"].forEach((asset) => {
|
|
1514
|
+
queryClient.invalidateQueries({
|
|
1515
|
+
queryKey: ["ecency-wallets", "asset-info", username, asset]
|
|
1516
|
+
});
|
|
1517
|
+
});
|
|
1507
1518
|
},
|
|
1508
1519
|
auth
|
|
1509
1520
|
);
|