@shipengine/alchemy 5.0.21 → 5.0.23
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 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -17457,10 +17457,10 @@ var __async$n = (__this, __arguments, generator) => {
|
|
|
17457
17457
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
17458
17458
|
});
|
|
17459
17459
|
};
|
|
17460
|
-
const useFundingSourcesAddFunds = (
|
|
17460
|
+
const useFundingSourcesAddFunds = () => {
|
|
17461
17461
|
const { client } = useShipEngine();
|
|
17462
17462
|
return reactQuery.useMutation({
|
|
17463
|
-
mutationFn: (
|
|
17463
|
+
mutationFn: (_0) => __async$n(void 0, [_0], function* ({ funds, fundingSourceId }) {
|
|
17464
17464
|
const result = yield client.fundingSources.addFunds(funds, fundingSourceId);
|
|
17465
17465
|
return result.data;
|
|
17466
17466
|
}),
|
package/index.mjs
CHANGED
|
@@ -17435,10 +17435,10 @@ var __async$n = (__this, __arguments, generator) => {
|
|
|
17435
17435
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
17436
17436
|
});
|
|
17437
17437
|
};
|
|
17438
|
-
const useFundingSourcesAddFunds = (
|
|
17438
|
+
const useFundingSourcesAddFunds = () => {
|
|
17439
17439
|
const { client } = useShipEngine();
|
|
17440
17440
|
return useMutation({
|
|
17441
|
-
mutationFn: (
|
|
17441
|
+
mutationFn: (_0) => __async$n(void 0, [_0], function* ({ funds, fundingSourceId }) {
|
|
17442
17442
|
const result = yield client.fundingSources.addFunds(funds, fundingSourceId);
|
|
17443
17443
|
return result.data;
|
|
17444
17444
|
}),
|