@shipengine/alchemy 5.0.20 → 5.0.22

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
@@ -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 = (fundingSourceId) => {
17460
+ const useFundingSourcesAddFunds = () => {
17461
17461
  const { client } = useShipEngine();
17462
17462
  return reactQuery.useMutation({
17463
- mutationFn: (funds) => __async$n(void 0, null, function* () {
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 = (fundingSourceId) => {
17438
+ const useFundingSourcesAddFunds = () => {
17439
17439
  const { client } = useShipEngine();
17440
17440
  return useMutation({
17441
- mutationFn: (funds) => __async$n(void 0, null, function* () {
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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "5.0.20",
3
+ "version": "5.0.22",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {