@shipengine/alchemy 4.1.5 → 4.1.6
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
|
@@ -8618,10 +8618,10 @@ var __async$o = (__this, __arguments, generator) => {
|
|
|
8618
8618
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
8619
8619
|
});
|
|
8620
8620
|
};
|
|
8621
|
-
const useAddFunds = (
|
|
8621
|
+
const useAddFunds = () => {
|
|
8622
8622
|
const { client } = useShipEngine();
|
|
8623
8623
|
return reactQuery.useMutation({
|
|
8624
|
-
mutationFn: (
|
|
8624
|
+
mutationFn: (_0) => __async$o(void 0, [_0], function* ({ carrierId, funds }) {
|
|
8625
8625
|
const result = yield client.carriers.addFunds(carrierId, funds);
|
|
8626
8626
|
return result.data;
|
|
8627
8627
|
}),
|
package/index.mjs
CHANGED
|
@@ -8596,10 +8596,10 @@ var __async$o = (__this, __arguments, generator) => {
|
|
|
8596
8596
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
8597
8597
|
});
|
|
8598
8598
|
};
|
|
8599
|
-
const useAddFunds = (
|
|
8599
|
+
const useAddFunds = () => {
|
|
8600
8600
|
const { client } = useShipEngine();
|
|
8601
8601
|
return useMutation({
|
|
8602
|
-
mutationFn: (
|
|
8602
|
+
mutationFn: (_0) => __async$o(void 0, [_0], function* ({ carrierId, funds }) {
|
|
8603
8603
|
const result = yield client.carriers.addFunds(carrierId, funds);
|
|
8604
8604
|
return result.data;
|
|
8605
8605
|
}),
|