Skip to content

Commit 9cf7c26

Browse files
authored
Merge pull request #87 from bookernath/remove-cookie-api
Remove cookie API
2 parents da0b08f + 3a4f09d commit 9cf7c26

File tree

4 files changed

+1
-67
lines changed

4 files changed

+1
-67
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bigcommerce/stencil-utils",
3-
"version": "1.1.3",
3+
"version": "2.0.0",
44
"main": "src/main.js",
55
"license": "BSD-4-Clause",
66
"author": "Bigcommerce",

src/api.js

-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import ProductApi from './api/product';
55
import ProductAttributesApi from './api/product-attributes';
66
import SearchApi from './api/search';
77
import CartApi from './api/cart';
8-
import CookieApi from './api/cookie';
98

109
const internals = {};
1110

@@ -29,6 +28,5 @@ export default {
2928
product: new ProductApi(),
3029
search: new SearchApi(),
3130
cart: new CartApi(),
32-
cookie: new CookieApi(),
3331
getPage: internals.getPage,
3432
};

src/api/cookie.js

-63
This file was deleted.

src/test-unit/api.spec.js

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ describe('API', () => {
1212
expect(api.productAttributes).toBeDefined();
1313
expect(api.product).toBeDefined();
1414
expect(api.search).toBeDefined();
15-
expect(api.cookie).toBeDefined();
1615
expect(api.getPage).toBeDefined();
1716
});
1817
});

0 commit comments

Comments
 (0)