@scayle/storefront-core 8.62.0 → 8.62.2

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,13 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 8.62.2
4
+
5
+ No changes in this release.
6
+
7
+ ## 8.62.1
8
+
9
+ No changes in this release.
10
+
3
11
  ## 8.62.0
4
12
 
5
13
  ### Minor Changes
@@ -1566,11 +1574,7 @@ See [Overriding core RPC Methods](https://scayle.dev/en/core-documentation/store
1566
1574
  } as const
1567
1575
 
1568
1576
  type BadgeLabelParamsKeys =
1569
- | 'isNew'
1570
- | 'isSoldOut'
1571
- | 'isOnlineOnly'
1572
- | 'isSustainable'
1573
- | 'isPremium'
1577
+ 'isNew' | 'isSoldOut' | 'isOnlineOnly' | 'isSustainable' | 'isPremium'
1574
1578
  type BadgeLabelParams = Partial<Record<BadgeLabelParamsKeys, boolean>>
1575
1579
 
1576
1580
  const getBadgeLabel = (params: BadgeLabelParams = {}): string => {
@@ -41,7 +41,7 @@ export const getCheckoutToken = defineRpcHandler(
41
41
  ...customData,
42
42
  ...orderCustomData
43
43
  }
44
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.62.0"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
44
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.62.2"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
45
45
  return {
46
46
  accessToken: refreshedAccessToken,
47
47
  checkoutJwt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "8.62.0",
3
+ "version": "8.62.2",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "fishery": "^2.2.3"
42
42
  },
43
43
  "dependencies": {
44
- "@scayle/storefront-api": "^19.1.0",
44
+ "@scayle/storefront-api": "^19.1.2",
45
45
  "@scayle/unstorage-scayle-kv-driver": "^2.1.0",
46
46
  "crypto-js": "^4.2.0",
47
47
  "hookable": "^5.5.3",
@@ -56,15 +56,15 @@
56
56
  "@types/crypto-js": "4.2.2",
57
57
  "@types/node": "24.12.2",
58
58
  "@types/webpack-env": "1.18.8",
59
- "@vitest/coverage-v8": "4.1.7",
60
- "eslint-formatter-gitlab": "7.1.0",
61
- "eslint": "10.4.0",
59
+ "@vitest/coverage-v8": "4.1.9",
60
+ "eslint-formatter-gitlab": "7.2.0",
61
+ "eslint": "10.7.0",
62
62
  "fishery": "2.4.0",
63
63
  "publint": "0.3.21",
64
64
  "typescript": "6.0.3",
65
65
  "unbuild": "3.6.1",
66
66
  "unstorage": "1.17.5",
67
- "vitest": "4.1.7",
67
+ "vitest": "4.1.10",
68
68
  "@scayle/vitest-config-storefront": "1.0.0"
69
69
  },
70
70
  "scripts": {