@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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/index.mjs +2 -2
  3. 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 = (carrierId) => {
8621
+ const useAddFunds = () => {
8622
8622
  const { client } = useShipEngine();
8623
8623
  return reactQuery.useMutation({
8624
- mutationFn: (funds) => __async$o(void 0, null, function* () {
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 = (carrierId) => {
8599
+ const useAddFunds = () => {
8600
8600
  const { client } = useShipEngine();
8601
8601
  return useMutation({
8602
- mutationFn: (funds) => __async$o(void 0, null, function* () {
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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "4.1.5",
3
+ "version": "4.1.6",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {