commerce-sdk-isomorphic 1.10.0 → 1.10.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 +12 -1
- package/lib/index.cjs.d.ts +378 -53
- package/lib/index.cjs.js +1 -1
- package/lib/index.esm.d.ts +378 -53
- package/lib/index.esm.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v1.10.2
|
|
4
|
+
|
|
5
|
+
#### Documentation
|
|
6
|
+
- Descriptions for certain `shopper-login` and `shopper-context` operations have been updated on [generated documentation site](https://salesforcecommercecloud.github.io/commerce-sdk-isomorphic/)
|
|
7
|
+
|
|
8
|
+
## v1.10.1
|
|
9
|
+
|
|
10
|
+
#### Bug fixes
|
|
11
|
+
|
|
12
|
+
- The 'To is not a function' [issue](https://github.com/SalesforceCommerceCloud/commerce-sdk-isomorphic/issues/122) is fixed.
|
|
13
|
+
|
|
3
14
|
## v1.10.0
|
|
4
15
|
|
|
5
16
|
#### Enhancements
|
|
6
17
|
|
|
7
18
|
- Cookies are disabled by default.
|
|
8
|
-
- The cross-fetch dependency has been removed. Now commerce-sdk-isomorphic uses native fetch in browser and node-fetch library in node.
|
|
19
|
+
- The cross-fetch dependency has been removed. Now commerce-sdk-isomorphic uses native fetch in browser and node-fetch library in node. This has potential impact for client implementations. Passing `fetchOptions: {redirect: 'manual'}` as called on the server-side to prevent following of redirects prior to this upgrade had no effect on the client because `cross-fetch` used `XMLHttpRequest` and was silently ignored. The new approach respects this `redirect: 'manual'` directive, potentially causing redirects on the client (given these optional parameters) to not be followed, which breaks flows including the SLAS `authorizeCustomer` method, which could fail with an `opaqueredirect` error.
|
|
9
20
|
|
|
10
21
|
#### API Added
|
|
11
22
|
|