From 8bf418aa14b3370edabdabfc53a08ca38a63e91e Mon Sep 17 00:00:00 2001 From: jorgemasta Date: Mon, 26 Jul 2021 17:55:06 +0100 Subject: [PATCH 1/2] chore: remove address on clean --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6f01b5b..7c72b91 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "wishlist" ], "scripts": { - "clean": "rimraf *.js *.d.ts api cart commerce products scripts wishlist", + "clean": "rimraf *.js *.d.ts api cart commerce products scripts wishlist address", "build": "npm run clean && tsc && cp src/schema.d.ts schema.d.ts", "start": "npm run clean && tsc -w", "prepublish": "npm run build", From 6c9594236c5b93cc7eeae72a36241c513bf4aeb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Zeman?= Date: Thu, 29 Jul 2021 12:56:12 +0200 Subject: [PATCH 2/2] fix(addressApi): imports --- src/api/address/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/address/index.ts b/src/api/address/index.ts index cc62e36..8b01370 100644 --- a/src/api/address/index.ts +++ b/src/api/address/index.ts @@ -5,8 +5,8 @@ import createApiHandler, { import { BigcommerceApiError } from "../utils/errors" import getAddresses from "./handlers/get-addresses" import addAddress from "./handlers/add-address" -import updateAddress from "./handlers/remove-address" -import removeAddress from "./handlers/update-address" +import updateAddress from "./handlers/update-address" +import removeAddress from "./handlers/remove-address" import { AddressesResponse, AddressHandlers } from './types';