Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cookie API #87

Merged
merged 1 commit into from
Nov 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bigcommerce/stencil-utils",
"version": "1.1.3",
"version": "2.0.0",
"main": "src/main.js",
"license": "BSD-4-Clause",
"author": "Bigcommerce",
Expand Down
2 changes: 0 additions & 2 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import ProductApi from './api/product';
import ProductAttributesApi from './api/product-attributes';
import SearchApi from './api/search';
import CartApi from './api/cart';
import CookieApi from './api/cookie';

const internals = {};

Expand All @@ -29,6 +28,5 @@ export default {
product: new ProductApi(),
search: new SearchApi(),
cart: new CartApi(),
cookie: new CookieApi(),
getPage: internals.getPage,
};
63 changes: 0 additions & 63 deletions src/api/cookie.js

This file was deleted.

1 change: 0 additions & 1 deletion src/test-unit/api.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ describe('API', () => {
expect(api.productAttributes).toBeDefined();
expect(api.product).toBeDefined();
expect(api.search).toBeDefined();
expect(api.cookie).toBeDefined();
expect(api.getPage).toBeDefined();
});
});