@scayle/storefront-core 8.15.0 → 8.15.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,13 @@
|
|
|
1
1
|
# @scayle/storefront-core
|
|
2
2
|
|
|
3
|
+
## 8.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
**Dependencies**
|
|
8
|
+
|
|
9
|
+
- Updated dependency to @scayle/storefront-api@18.2.1
|
|
10
|
+
|
|
3
11
|
## 8.15.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -238,11 +246,11 @@ See [Overriding core RPC Methods](https://scayle.dev/en/storefront-guide/develop
|
|
|
238
246
|
This change will primarily affect users who are currently using the CommonJS format of this package. To update your code, you should replace `require` statements with `import` statements and update your build tooling if necessary.
|
|
239
247
|
|
|
240
248
|
```TypeScript
|
|
241
|
-
const { ... } = require('@scayle/storefront-core')
|
|
249
|
+
const { ... } = require('@scayle/storefront-core')
|
|
242
250
|
|
|
243
251
|
// will become
|
|
244
252
|
|
|
245
|
-
import { ... } from '@scayle/storefront-core'
|
|
253
|
+
import { ... } from '@scayle/storefront-core'
|
|
246
254
|
```
|
|
247
255
|
|
|
248
256
|
### Patch Changes
|
|
@@ -260,11 +268,11 @@ See [Overriding core RPC Methods](https://scayle.dev/en/storefront-guide/develop
|
|
|
260
268
|
This change will primarily affect users who are currently using the CommonJS format of this package. To update your code, you should replace `require` statements with `import` statements and update your build tooling if necessary.
|
|
261
269
|
|
|
262
270
|
```TypeScript
|
|
263
|
-
const { ... } = require('@scayle/storefront-core')
|
|
271
|
+
const { ... } = require('@scayle/storefront-core')
|
|
264
272
|
|
|
265
273
|
// will become
|
|
266
274
|
|
|
267
|
-
import { ... } from '@scayle/storefront-core'
|
|
275
|
+
import { ... } from '@scayle/storefront-core'
|
|
268
276
|
```
|
|
269
277
|
|
|
270
278
|
## 8.4.0
|
|
@@ -36,7 +36,7 @@ export const getCheckoutToken = async function getCheckoutToken2(jwtPayload = {}
|
|
|
36
36
|
carrier,
|
|
37
37
|
basketId: context.basketKey,
|
|
38
38
|
campaignKey
|
|
39
|
-
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.15.
|
|
39
|
+
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.15.1"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
|
|
40
40
|
return {
|
|
41
41
|
accessToken: refreshedAccessToken,
|
|
42
42
|
checkoutJwt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-core",
|
|
3
|
-
"version": "8.15.
|
|
3
|
+
"version": "8.15.1",
|
|
4
4
|
"description": "Collection of essential utilities to work with the Storefront API",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"fishery": "^2.2.3"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@scayle/storefront-api": "18.2.
|
|
66
|
+
"@scayle/storefront-api": "18.2.1",
|
|
67
67
|
"@scayle/unstorage-scayle-kv-driver": "0.1.1",
|
|
68
68
|
"crypto-js": "^4.2.0",
|
|
69
69
|
"hookable": "^5.5.3",
|