@scayle/storefront-core 7.66.7 → 7.67.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 (64) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/helpers/categoryHelper.d.ts +1 -1
  3. package/dist/helpers/productHelpers.d.ts +1 -1
  4. package/dist/index.cjs +43 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.mjs +7 -1
  7. package/dist/rpc/methods/basket/basket.cjs +4 -4
  8. package/dist/rpc/methods/basket/basket.mjs +4 -4
  9. package/dist/rpc/methods/checkout/checkout.cjs +1 -1
  10. package/dist/rpc/methods/checkout/checkout.mjs +1 -1
  11. package/dist/rpc/methods/search.d.ts +1 -1
  12. package/dist/types/index.cjs +15 -15
  13. package/dist/types/index.d.ts +15 -15
  14. package/dist/types/index.mjs +15 -15
  15. package/dist/types/user.d.ts +2 -2
  16. package/package.json +2 -2
  17. /package/dist/types/{bapi → sapi}/basket.cjs +0 -0
  18. /package/dist/types/{bapi → sapi}/basket.d.ts +0 -0
  19. /package/dist/types/{bapi → sapi}/basket.mjs +0 -0
  20. /package/dist/types/{bapi → sapi}/brand.cjs +0 -0
  21. /package/dist/types/{bapi → sapi}/brand.d.ts +0 -0
  22. /package/dist/types/{bapi → sapi}/brand.mjs +0 -0
  23. /package/dist/types/{bapi → sapi}/campaign.cjs +0 -0
  24. /package/dist/types/{bapi → sapi}/campaign.d.ts +0 -0
  25. /package/dist/types/{bapi → sapi}/campaign.mjs +0 -0
  26. /package/dist/types/{bapi → sapi}/category.cjs +0 -0
  27. /package/dist/types/{bapi → sapi}/category.d.ts +0 -0
  28. /package/dist/types/{bapi → sapi}/category.mjs +0 -0
  29. /package/dist/types/{bapi → sapi}/filter.cjs +0 -0
  30. /package/dist/types/{bapi → sapi}/filter.d.ts +0 -0
  31. /package/dist/types/{bapi → sapi}/filter.mjs +0 -0
  32. /package/dist/types/{bapi → sapi}/navigation.cjs +0 -0
  33. /package/dist/types/{bapi → sapi}/navigation.d.ts +0 -0
  34. /package/dist/types/{bapi → sapi}/navigation.mjs +0 -0
  35. /package/dist/types/{bapi → sapi}/order.cjs +0 -0
  36. /package/dist/types/{bapi → sapi}/order.d.ts +0 -0
  37. /package/dist/types/{bapi → sapi}/order.mjs +0 -0
  38. /package/dist/types/{bapi → sapi}/product.cjs +0 -0
  39. /package/dist/types/{bapi → sapi}/product.d.ts +0 -0
  40. /package/dist/types/{bapi → sapi}/product.mjs +0 -0
  41. /package/dist/types/{bapi → sapi}/productFilter.cjs +0 -0
  42. /package/dist/types/{bapi → sapi}/productFilter.d.ts +0 -0
  43. /package/dist/types/{bapi → sapi}/productFilter.mjs +0 -0
  44. /package/dist/types/{bapi → sapi}/promotion.cjs +0 -0
  45. /package/dist/types/{bapi → sapi}/promotion.d.ts +0 -0
  46. /package/dist/types/{bapi → sapi}/promotion.mjs +0 -0
  47. /package/dist/types/{bapi → sapi}/redirects.cjs +0 -0
  48. /package/dist/types/{bapi → sapi}/redirects.d.ts +0 -0
  49. /package/dist/types/{bapi → sapi}/redirects.mjs +0 -0
  50. /package/dist/types/{bapi → sapi}/router.cjs +0 -0
  51. /package/dist/types/{bapi → sapi}/router.d.ts +0 -0
  52. /package/dist/types/{bapi → sapi}/router.mjs +0 -0
  53. /package/dist/types/{bapi → sapi}/search.cjs +0 -0
  54. /package/dist/types/{bapi → sapi}/search.d.ts +0 -0
  55. /package/dist/types/{bapi → sapi}/search.mjs +0 -0
  56. /package/dist/types/{bapi → sapi}/sorting.cjs +0 -0
  57. /package/dist/types/{bapi → sapi}/sorting.d.ts +0 -0
  58. /package/dist/types/{bapi → sapi}/sorting.mjs +0 -0
  59. /package/dist/types/{bapi → sapi}/variant.cjs +0 -0
  60. /package/dist/types/{bapi → sapi}/variant.d.ts +0 -0
  61. /package/dist/types/{bapi → sapi}/variant.mjs +0 -0
  62. /package/dist/types/{bapi → sapi}/wishlist.cjs +0 -0
  63. /package/dist/types/{bapi → sapi}/wishlist.d.ts +0 -0
  64. /package/dist/types/{bapi → sapi}/wishlist.mjs +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 7.67.1
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ - Updated dependency to @scayle/storefront-api@17.10.1
10
+
11
+ ## 7.67.0
12
+
13
+ ### Minor Changes
14
+
15
+ - Expose SAPI test factories externally
16
+
3
17
  ## 7.66.7
4
18
 
5
19
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { Category, ProductCategory } from '../types/bapi/category';
1
+ import type { Category, ProductCategory } from '../types/sapi/category';
2
2
  import type { BreadcrumbItem } from '../types/breadcrumb';
3
3
  export declare const getBreadcrumbsFromProductCategories: (categories: ProductCategory[] | Category[]) => BreadcrumbItem[];
4
4
  export declare const getBreadcrumbsFromCategory: (category: Category, activeNode?: Category) => BreadcrumbItem[];
@@ -1,5 +1,5 @@
1
1
  import type { AppliedReduction, BasketItemPrice, Product, Value, Variant, VariantPrice } from '@scayle/storefront-api';
2
- import type { ProductSibling } from '../types/bapi/product';
2
+ import type { ProductSibling } from '../types/sapi/product';
3
3
  interface Route {
4
4
  path?: string;
5
5
  }
package/dist/index.cjs CHANGED
@@ -6,7 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  var _exportNames = {
7
7
  rpcMethods: true,
8
8
  APISortOption: true,
9
- APISortOrder: true
9
+ APISortOrder: true,
10
+ attributeGroupFactory: true,
11
+ advancedAttributeFactory: true,
12
+ categoryFactory: true,
13
+ productFactory: true,
14
+ priceFactory: true,
15
+ variantFactory: true
10
16
  };
11
17
  Object.defineProperty(exports, "APISortOption", {
12
18
  enumerable: true,
@@ -20,7 +26,43 @@ Object.defineProperty(exports, "APISortOrder", {
20
26
  return _storefrontApi.APISortOrder;
21
27
  }
22
28
  });
29
+ Object.defineProperty(exports, "advancedAttributeFactory", {
30
+ enumerable: true,
31
+ get: function () {
32
+ return _storefrontApi.advancedAttributeFactory;
33
+ }
34
+ });
35
+ Object.defineProperty(exports, "attributeGroupFactory", {
36
+ enumerable: true,
37
+ get: function () {
38
+ return _storefrontApi.attributeGroupFactory;
39
+ }
40
+ });
41
+ Object.defineProperty(exports, "categoryFactory", {
42
+ enumerable: true,
43
+ get: function () {
44
+ return _storefrontApi.categoryFactory;
45
+ }
46
+ });
47
+ Object.defineProperty(exports, "priceFactory", {
48
+ enumerable: true,
49
+ get: function () {
50
+ return _storefrontApi.priceFactory;
51
+ }
52
+ });
53
+ Object.defineProperty(exports, "productFactory", {
54
+ enumerable: true,
55
+ get: function () {
56
+ return _storefrontApi.productFactory;
57
+ }
58
+ });
23
59
  exports.rpcMethods = void 0;
60
+ Object.defineProperty(exports, "variantFactory", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _storefrontApi.variantFactory;
64
+ }
65
+ });
24
66
  var rpcMethods = _interopRequireWildcard(require("./rpc/methods/index.cjs"));
25
67
  exports.rpcMethods = rpcMethods;
26
68
  var _errors = require("./errors/index.cjs");
package/dist/index.d.ts CHANGED
@@ -17,4 +17,4 @@ export type RpcMethodName = Resolve<keyof RpcMethods>;
17
17
  export type RpcMethod<N extends RpcMethodName> = RpcMethods[N];
18
18
  export type RpcMethodParameters<N extends RpcMethodName> = Parameters<RpcMethod<N>>[0];
19
19
  export type RpcMethodReturnType<N extends RpcMethodName> = ReturnType<RpcMethod<N>>;
20
- export { APISortOption, APISortOrder, type ProductSortConfig, } from '@scayle/storefront-api';
20
+ export { APISortOption, APISortOrder, type ProductSortConfig, attributeGroupFactory, advancedAttributeFactory, categoryFactory, productFactory, priceFactory, variantFactory, } from '@scayle/storefront-api';
package/dist/index.mjs CHANGED
@@ -8,5 +8,11 @@ export * from "./helpers/index.mjs";
8
8
  export * from "./types/index.mjs";
9
9
  export {
10
10
  APISortOption,
11
- APISortOrder
11
+ APISortOrder,
12
+ attributeGroupFactory,
13
+ advancedAttributeFactory,
14
+ categoryFactory,
15
+ productFactory,
16
+ priceFactory,
17
+ variantFactory
12
18
  } from "@scayle/storefront-api";
@@ -9,7 +9,7 @@ var _types = require("../../../types/index.cjs");
9
9
  var _constants = require("../../../constants/index.cjs");
10
10
  var _user = require("../../../utils/user.cjs");
11
11
  var _response = require("../../../utils/response.cjs");
12
- const BAPI_ERROR_NAME = "BAPI ERROR";
12
+ const SAPI_ERROR_NAME = "SAPI ERROR";
13
13
  function getWithParams(params, context) {
14
14
  return params.with ?? context.withParams?.basket ?? _constants.MIN_WITH_PARAMS_BASKET;
15
15
  }
@@ -65,7 +65,7 @@ const addItemToBasket = exports.addItemToBasket = async function addItemToBasket
65
65
  message,
66
66
  statusCode
67
67
  });
68
- return new _errors.ErrorResponse(statusCode, BAPI_ERROR_NAME, "Adding item to basket failed", {
68
+ return new _errors.ErrorResponse(statusCode, SAPI_ERROR_NAME, "Adding item to basket failed", {
69
69
  detail: message
70
70
  });
71
71
  }
@@ -112,7 +112,7 @@ const addItemsToBasket = exports.addItemsToBasket = async function addItemsToBas
112
112
  statusCode,
113
113
  message
114
114
  });
115
- return new _errors.ErrorResponse(statusCode, BAPI_ERROR_NAME, "Adding one or more items to basket failed", {
115
+ return new _errors.ErrorResponse(statusCode, SAPI_ERROR_NAME, "Adding one or more items to basket failed", {
116
116
  detail: message
117
117
  });
118
118
  }
@@ -140,7 +140,7 @@ const getBasket = exports.getBasket = async function getBasket2(options, context
140
140
  statusCode,
141
141
  message
142
142
  } = parseBasketError(response);
143
- return new _errors.ErrorResponse(statusCode, BAPI_ERROR_NAME, "Adding item to basket failed", {
143
+ return new _errors.ErrorResponse(statusCode, SAPI_ERROR_NAME, "Adding item to basket failed", {
144
144
  detail: message
145
145
  });
146
146
  }
@@ -8,7 +8,7 @@ import {
8
8
  } from "../../../constants/index.mjs";
9
9
  import { mergeBaskets as mergeBasketFunction } from "../../../utils/user.mjs";
10
10
  import { unwrap } from "../../../utils/response.mjs";
11
- const BAPI_ERROR_NAME = "BAPI ERROR";
11
+ const SAPI_ERROR_NAME = "SAPI ERROR";
12
12
  function getWithParams(params, context) {
13
13
  return params.with ?? context.withParams?.basket ?? MIN_WITH_PARAMS_BASKET;
14
14
  }
@@ -68,7 +68,7 @@ export const addItemToBasket = async function addItemToBasket2({
68
68
  context.log.error("Adding item to basket failed", { message, statusCode });
69
69
  return new ErrorResponse(
70
70
  statusCode,
71
- BAPI_ERROR_NAME,
71
+ SAPI_ERROR_NAME,
72
72
  "Adding item to basket failed",
73
73
  {
74
74
  detail: message
@@ -122,7 +122,7 @@ export const addItemsToBasket = async function addItemsToBasket2(params, context
122
122
  });
123
123
  return new ErrorResponse(
124
124
  statusCode,
125
- BAPI_ERROR_NAME,
125
+ SAPI_ERROR_NAME,
126
126
  "Adding one or more items to basket failed",
127
127
  {
128
128
  detail: message
@@ -153,7 +153,7 @@ export const getBasket = async function getBasket2(options, context) {
153
153
  const { statusCode, message } = parseBasketError(response);
154
154
  return new ErrorResponse(
155
155
  statusCode,
156
- BAPI_ERROR_NAME,
156
+ SAPI_ERROR_NAME,
157
157
  "Adding item to basket failed",
158
158
  {
159
159
  detail: message
@@ -37,7 +37,7 @@ const getCheckoutToken = exports.getCheckoutToken = async function getCheckoutTo
37
37
  carrier,
38
38
  basketId: context.basketKey,
39
39
  campaignKey: context.campaignKey
40
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.66.7"}`).setProtectedHeader({
40
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.67.1"}`).setProtectedHeader({
41
41
  alg: "HS256",
42
42
  typ: "JWT"
43
43
  }).sign(secret);
@@ -35,7 +35,7 @@ export const getCheckoutToken = async function getCheckoutToken2(jwtPayload = {}
35
35
  carrier,
36
36
  basketId: context.basketKey,
37
37
  campaignKey: context.campaignKey
38
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.66.7"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
38
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.67.1"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
39
39
  return {
40
40
  accessToken: refreshedAccessToken,
41
41
  checkoutJwt
@@ -1,5 +1,5 @@
1
1
  import type { TypeaheadSuggestionsEndpointRequestParameters, TypeaheadSuggestionsEndpointResponseData } from '@scayle/storefront-api';
2
- import type { SearchV2ResolveEndpointParameters, SearchV2SuggestionsEndpointParameters, SearchV2SuggestionsEndpointResponseData } from '../../types/bapi/search';
2
+ import type { SearchV2ResolveEndpointParameters, SearchV2SuggestionsEndpointParameters, SearchV2SuggestionsEndpointResponseData } from '../../types/sapi/search';
3
3
  type SearchWith = TypeaheadSuggestionsEndpointRequestParameters['with'];
4
4
  /** @deprecated `searchProducts` is deprecated. Please, use `getSuggestions` or `resolve` RPC methods */
5
5
  export declare const searchProducts: ({ term, slug, with: _with, productLimit }: {
@@ -85,7 +85,7 @@ Object.keys(_auth).forEach(function (key) {
85
85
  });
86
86
  });
87
87
  var _storefrontApi = require("@scayle/storefront-api");
88
- var _basket = require("./bapi/basket.cjs");
88
+ var _basket = require("./sapi/basket.cjs");
89
89
  Object.keys(_basket).forEach(function (key) {
90
90
  if (key === "default" || key === "__esModule") return;
91
91
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -97,7 +97,7 @@ Object.keys(_basket).forEach(function (key) {
97
97
  }
98
98
  });
99
99
  });
100
- var _brand = require("./bapi/brand.cjs");
100
+ var _brand = require("./sapi/brand.cjs");
101
101
  Object.keys(_brand).forEach(function (key) {
102
102
  if (key === "default" || key === "__esModule") return;
103
103
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -109,7 +109,7 @@ Object.keys(_brand).forEach(function (key) {
109
109
  }
110
110
  });
111
111
  });
112
- var _campaign = require("./bapi/campaign.cjs");
112
+ var _campaign = require("./sapi/campaign.cjs");
113
113
  Object.keys(_campaign).forEach(function (key) {
114
114
  if (key === "default" || key === "__esModule") return;
115
115
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -121,7 +121,7 @@ Object.keys(_campaign).forEach(function (key) {
121
121
  }
122
122
  });
123
123
  });
124
- var _category = require("./bapi/category.cjs");
124
+ var _category = require("./sapi/category.cjs");
125
125
  Object.keys(_category).forEach(function (key) {
126
126
  if (key === "default" || key === "__esModule") return;
127
127
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -133,7 +133,7 @@ Object.keys(_category).forEach(function (key) {
133
133
  }
134
134
  });
135
135
  });
136
- var _filter = require("./bapi/filter.cjs");
136
+ var _filter = require("./sapi/filter.cjs");
137
137
  Object.keys(_filter).forEach(function (key) {
138
138
  if (key === "default" || key === "__esModule") return;
139
139
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -145,7 +145,7 @@ Object.keys(_filter).forEach(function (key) {
145
145
  }
146
146
  });
147
147
  });
148
- var _navigation = require("./bapi/navigation.cjs");
148
+ var _navigation = require("./sapi/navigation.cjs");
149
149
  Object.keys(_navigation).forEach(function (key) {
150
150
  if (key === "default" || key === "__esModule") return;
151
151
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -157,7 +157,7 @@ Object.keys(_navigation).forEach(function (key) {
157
157
  }
158
158
  });
159
159
  });
160
- var _order = require("./bapi/order.cjs");
160
+ var _order = require("./sapi/order.cjs");
161
161
  Object.keys(_order).forEach(function (key) {
162
162
  if (key === "default" || key === "__esModule") return;
163
163
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -169,7 +169,7 @@ Object.keys(_order).forEach(function (key) {
169
169
  }
170
170
  });
171
171
  });
172
- var _product = require("./bapi/product.cjs");
172
+ var _product = require("./sapi/product.cjs");
173
173
  Object.keys(_product).forEach(function (key) {
174
174
  if (key === "default" || key === "__esModule") return;
175
175
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -181,7 +181,7 @@ Object.keys(_product).forEach(function (key) {
181
181
  }
182
182
  });
183
183
  });
184
- var _productFilter = require("./bapi/productFilter.cjs");
184
+ var _productFilter = require("./sapi/productFilter.cjs");
185
185
  Object.keys(_productFilter).forEach(function (key) {
186
186
  if (key === "default" || key === "__esModule") return;
187
187
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -193,7 +193,7 @@ Object.keys(_productFilter).forEach(function (key) {
193
193
  }
194
194
  });
195
195
  });
196
- var _redirects = require("./bapi/redirects.cjs");
196
+ var _redirects = require("./sapi/redirects.cjs");
197
197
  Object.keys(_redirects).forEach(function (key) {
198
198
  if (key === "default" || key === "__esModule") return;
199
199
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -205,7 +205,7 @@ Object.keys(_redirects).forEach(function (key) {
205
205
  }
206
206
  });
207
207
  });
208
- var _router = require("./bapi/router.cjs");
208
+ var _router = require("./sapi/router.cjs");
209
209
  Object.keys(_router).forEach(function (key) {
210
210
  if (key === "default" || key === "__esModule") return;
211
211
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -217,7 +217,7 @@ Object.keys(_router).forEach(function (key) {
217
217
  }
218
218
  });
219
219
  });
220
- var _search = require("./bapi/search.cjs");
220
+ var _search = require("./sapi/search.cjs");
221
221
  Object.keys(_search).forEach(function (key) {
222
222
  if (key === "default" || key === "__esModule") return;
223
223
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -229,7 +229,7 @@ Object.keys(_search).forEach(function (key) {
229
229
  }
230
230
  });
231
231
  });
232
- var _sorting = require("./bapi/sorting.cjs");
232
+ var _sorting = require("./sapi/sorting.cjs");
233
233
  Object.keys(_sorting).forEach(function (key) {
234
234
  if (key === "default" || key === "__esModule") return;
235
235
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -241,7 +241,7 @@ Object.keys(_sorting).forEach(function (key) {
241
241
  }
242
242
  });
243
243
  });
244
- var _wishlist = require("./bapi/wishlist.cjs");
244
+ var _wishlist = require("./sapi/wishlist.cjs");
245
245
  Object.keys(_wishlist).forEach(function (key) {
246
246
  if (key === "default" || key === "__esModule") return;
247
247
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -253,7 +253,7 @@ Object.keys(_wishlist).forEach(function (key) {
253
253
  }
254
254
  });
255
255
  });
256
- var _promotion = require("./bapi/promotion.cjs");
256
+ var _promotion = require("./sapi/promotion.cjs");
257
257
  Object.keys(_promotion).forEach(function (key) {
258
258
  if (key === "default" || key === "__esModule") return;
259
259
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
@@ -5,18 +5,18 @@ export * from './api/rpc';
5
5
  export * from './api/context';
6
6
  export * from './api/auth';
7
7
  export { StorefrontAPIClient } from '@scayle/storefront-api';
8
- export * from './bapi/basket';
9
- export * from './bapi/brand';
10
- export * from './bapi/campaign';
11
- export * from './bapi/category';
12
- export * from './bapi/filter';
13
- export * from './bapi/navigation';
14
- export * from './bapi/order';
15
- export * from './bapi/product';
16
- export * from './bapi/productFilter';
17
- export * from './bapi/redirects';
18
- export * from './bapi/router';
19
- export * from './bapi/search';
20
- export * from './bapi/sorting';
21
- export * from './bapi/wishlist';
22
- export * from './bapi/promotion';
8
+ export * from './sapi/basket';
9
+ export * from './sapi/brand';
10
+ export * from './sapi/campaign';
11
+ export * from './sapi/category';
12
+ export * from './sapi/filter';
13
+ export * from './sapi/navigation';
14
+ export * from './sapi/order';
15
+ export * from './sapi/product';
16
+ export * from './sapi/productFilter';
17
+ export * from './sapi/redirects';
18
+ export * from './sapi/router';
19
+ export * from './sapi/search';
20
+ export * from './sapi/sorting';
21
+ export * from './sapi/wishlist';
22
+ export * from './sapi/promotion';
@@ -5,18 +5,18 @@ export * from "./api/rpc.mjs";
5
5
  export * from "./api/context.mjs";
6
6
  export * from "./api/auth.mjs";
7
7
  export { StorefrontAPIClient } from "@scayle/storefront-api";
8
- export * from "./bapi/basket.mjs";
9
- export * from "./bapi/brand.mjs";
10
- export * from "./bapi/campaign.mjs";
11
- export * from "./bapi/category.mjs";
12
- export * from "./bapi/filter.mjs";
13
- export * from "./bapi/navigation.mjs";
14
- export * from "./bapi/order.mjs";
15
- export * from "./bapi/product.mjs";
16
- export * from "./bapi/productFilter.mjs";
17
- export * from "./bapi/redirects.mjs";
18
- export * from "./bapi/router.mjs";
19
- export * from "./bapi/search.mjs";
20
- export * from "./bapi/sorting.mjs";
21
- export * from "./bapi/wishlist.mjs";
22
- export * from "./bapi/promotion.mjs";
8
+ export * from "./sapi/basket.mjs";
9
+ export * from "./sapi/brand.mjs";
10
+ export * from "./sapi/campaign.mjs";
11
+ export * from "./sapi/category.mjs";
12
+ export * from "./sapi/filter.mjs";
13
+ export * from "./sapi/navigation.mjs";
14
+ export * from "./sapi/order.mjs";
15
+ export * from "./sapi/product.mjs";
16
+ export * from "./sapi/productFilter.mjs";
17
+ export * from "./sapi/redirects.mjs";
18
+ export * from "./sapi/router.mjs";
19
+ export * from "./sapi/search.mjs";
20
+ export * from "./sapi/sorting.mjs";
21
+ export * from "./sapi/wishlist.mjs";
22
+ export * from "./sapi/promotion.mjs";
@@ -1,5 +1,5 @@
1
- import type { UseBasketParams } from './bapi/basket';
2
- import type { UseWishlistParams } from './bapi/wishlist';
1
+ import type { UseBasketParams } from './sapi/basket';
2
+ import type { UseWishlistParams } from './sapi/wishlist';
3
3
  export type Gender = 'm' | 'f' | 'd';
4
4
  export interface UpdatePasswordParams {
5
5
  oldPassword: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "7.66.7",
3
+ "version": "7.67.1",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -59,7 +59,7 @@
59
59
  "test:ci": "vitest --run --passWithNoTests --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
60
60
  },
61
61
  "dependencies": {
62
- "@scayle/storefront-api": "17.10.0",
62
+ "@scayle/storefront-api": "17.10.1",
63
63
  "crypto-js": "^4.2.0",
64
64
  "hookable": "^5.5.3",
65
65
  "jose": "^5.6.3",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes