@scayle/storefront-core 8.38.0 → 8.38.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 8.38.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Resolved an issue where `Pagination` was not exported correctly as a `type`.
8
+
9
+ **Dependencies**
10
+
11
+ - Updated dependency to @scayle/storefront-api@18.12.0
12
+ - Updated dependency to @scayle/unstorage-scayle-kv-driver@1.0.3
13
+
3
14
  ## 8.38.0
4
15
 
5
16
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -68,4 +68,4 @@ export type RpcMethodParameters<N extends RpcMethodName> = Parameters<RpcMethod<
68
68
  */
69
69
  export type RpcMethodReturnType<N extends RpcMethodName> = ReturnType<RpcMethod<N>>;
70
70
  export type RpcMethodCall = <N extends RpcMethodName, P extends RpcMethodParameters<N>, TResult extends Exclude<Awaited<RpcMethodReturnType<N>>, Response>>(...args: P extends RpcContext ? [N] : [N, P]) => Promise<TResult>;
71
- export { ExistingItemHandling, AddToBasketFailureKind, UpdateBasketItemFailureKind, AddToWishlistFailureKind, PromotionEffectType, FilterTypes, APISortOption, APISortOrder, Pagination, type ProductSortConfig, type ShopCountryCustomData, } from '@scayle/storefront-api';
71
+ export { ExistingItemHandling, AddToBasketFailureKind, UpdateBasketItemFailureKind, AddToWishlistFailureKind, PromotionEffectType, FilterTypes, APISortOption, APISortOrder, type Pagination, type ProductSortConfig, type ShopCountryCustomData, } from '@scayle/storefront-api';
package/dist/index.mjs CHANGED
@@ -14,6 +14,5 @@ export {
14
14
  PromotionEffectType,
15
15
  FilterTypes,
16
16
  APISortOption,
17
- APISortOrder,
18
- Pagination
17
+ APISortOrder
19
18
  } from "@scayle/storefront-api";
@@ -33,7 +33,7 @@ export const getCheckoutToken = defineRpcHandler(async (jwtPayload = {}, context
33
33
  carrier,
34
34
  basketId: context.basketKey,
35
35
  campaignKey
36
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.38.0"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
36
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.38.1"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
37
37
  return {
38
38
  accessToken: refreshedAccessToken,
39
39
  checkoutJwt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "8.38.0",
3
+ "version": "8.38.1",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -56,8 +56,8 @@
56
56
  "ufo": "^1.5.3",
57
57
  "uncrypto": "^0.1.3",
58
58
  "utility-types": "^3.11.0",
59
- "@scayle/storefront-api": "18.11.0",
60
- "@scayle/unstorage-scayle-kv-driver": "1.0.2"
59
+ "@scayle/storefront-api": "18.12.0",
60
+ "@scayle/unstorage-scayle-kv-driver": "1.0.3"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/crypto-js": "4.2.2",
@@ -72,7 +72,7 @@
72
72
  "rimraf": "6.0.1",
73
73
  "typescript": "5.8.3",
74
74
  "unbuild": "3.5.0",
75
- "unstorage": "1.16.0",
75
+ "unstorage": "1.16.1",
76
76
  "vitest": "3.2.4",
77
77
  "@scayle/eslint-config-storefront": "4.7.0"
78
78
  },