@shipengine/alchemy 5.0.15 → 5.0.16
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/index.js +2 -1
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -17568,9 +17568,10 @@ const useGetFundingSourceMetadata = () => {
|
|
|
17568
17568
|
const useGetFundingSourceTransactions = (fundingSourceId, params) => {
|
|
17569
17569
|
const { client } = useShipEngine();
|
|
17570
17570
|
return reactQuery.useQuery({
|
|
17571
|
+
keepPreviousData: true,
|
|
17571
17572
|
onError,
|
|
17572
17573
|
queryFn: () => client.fundingSources.transactions(fundingSourceId, params),
|
|
17573
|
-
queryKey: ["useGetFundingSourceTransactions", fundingSourceId],
|
|
17574
|
+
queryKey: ["useGetFundingSourceTransactions", fundingSourceId, params],
|
|
17574
17575
|
select: (result) => result.data
|
|
17575
17576
|
});
|
|
17576
17577
|
};
|
package/index.mjs
CHANGED
|
@@ -17546,9 +17546,10 @@ const useGetFundingSourceMetadata = () => {
|
|
|
17546
17546
|
const useGetFundingSourceTransactions = (fundingSourceId, params) => {
|
|
17547
17547
|
const { client } = useShipEngine();
|
|
17548
17548
|
return useQuery({
|
|
17549
|
+
keepPreviousData: true,
|
|
17549
17550
|
onError,
|
|
17550
17551
|
queryFn: () => client.fundingSources.transactions(fundingSourceId, params),
|
|
17551
|
-
queryKey: ["useGetFundingSourceTransactions", fundingSourceId],
|
|
17552
|
+
queryKey: ["useGetFundingSourceTransactions", fundingSourceId, params],
|
|
17552
17553
|
select: (result) => result.data
|
|
17553
17554
|
});
|
|
17554
17555
|
};
|