@shipengine/react-api 3.14.0 → 3.14.1

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
@@ -2961,7 +2961,7 @@ const useUpsertAccountBilling = (params) => {
2961
2961
  const { client } = useShipEngine();
2962
2962
  return reactQuery.useMutation(__spreadProps$5(__spreadValues$6({}, params), {
2963
2963
  mutationFn: (billing) => __async$8(void 0, null, function* () {
2964
- const result = yield client.accountBilling.post(billing);
2964
+ const result = yield client.accountBilling.put(billing);
2965
2965
  return result.data;
2966
2966
  }),
2967
2967
  mutationKey: ["useUpsertAccountBilling"],
package/index.mjs CHANGED
@@ -2958,7 +2958,7 @@ const useUpsertAccountBilling = (params) => {
2958
2958
  const { client } = useShipEngine();
2959
2959
  return useMutation(__spreadProps$5(__spreadValues$6({}, params), {
2960
2960
  mutationFn: (billing) => __async$8(void 0, null, function* () {
2961
- const result = yield client.accountBilling.post(billing);
2961
+ const result = yield client.accountBilling.put(billing);
2962
2962
  return result.data;
2963
2963
  }),
2964
2964
  mutationKey: ["useUpsertAccountBilling"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/react-api",
3
- "version": "3.14.0",
3
+ "version": "3.14.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {