@shipengine/alchemy 0.4.20 → 0.4.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 +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -8195,7 +8195,7 @@ const useCreateFundingSource = () => {
8195
8195
  return reactQuery.useMutation({
8196
8196
  mutationFn: (fundingSource) => __async$i(void 0, null, function* () {
8197
8197
  const result = yield client.fundingSources.create(fundingSource);
8198
- return result.data.fundingSource.fundingSourceId;
8198
+ return result.data;
8199
8199
  }),
8200
8200
  mutationKey: ["useCreateFundingSource"],
8201
8201
  onError
package/index.mjs CHANGED
@@ -8173,7 +8173,7 @@ const useCreateFundingSource = () => {
8173
8173
  return useMutation({
8174
8174
  mutationFn: (fundingSource) => __async$i(void 0, null, function* () {
8175
8175
  const result = yield client.fundingSources.create(fundingSource);
8176
- return result.data.fundingSource.fundingSourceId;
8176
+ return result.data;
8177
8177
  }),
8178
8178
  mutationKey: ["useCreateFundingSource"],
8179
8179
  onError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "0.4.20",
3
+ "version": "0.4.22",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {