commerce-sdk-isomorphic 1.6.0 → 1.7.0
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 +16 -2
- package/lib/index.cjs.d.ts +19390 -6030
- package/lib/index.cjs.js +1 -1
- package/lib/index.esm.d.ts +19390 -6030
- package/lib/index.esm.js +1 -1
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v1.7.0
|
|
4
|
+
|
|
5
|
+
* Export API type definitions. They are available as top-level exports, following the pattern `<API Name>Types`.
|
|
6
|
+
|
|
7
|
+
Example usage:
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import {ShopperBaskets, ShopperBasketsTypes} from "commerce-sdk-isomorphic"
|
|
11
|
+
|
|
12
|
+
const basketsClient = new ShopperBaskets(config)
|
|
13
|
+
const basket: ShopperBasketsTypes.Basket = await basketsClient.getBasket({ basketId: "some-basket" })
|
|
14
|
+
```
|
|
15
|
+
|
|
3
16
|
## v1.6.0
|
|
4
17
|
|
|
5
18
|
#### API Changes
|
|
@@ -20,11 +33,11 @@
|
|
|
20
33
|
#### Bug fixes
|
|
21
34
|
|
|
22
35
|
* SLAS helper `loginRegisteredUserB2C` no longer calls `redirectURI` when running server side
|
|
36
|
+
|
|
23
37
|
#### Documentation
|
|
24
38
|
|
|
25
39
|
* `README` updated to explicitly note lack of CORS support for SCAPI
|
|
26
40
|
|
|
27
|
-
|
|
28
41
|
## v1.5.2
|
|
29
42
|
|
|
30
43
|
### New Features
|
|
@@ -70,7 +83,8 @@
|
|
|
70
83
|
#### Bug Fixes
|
|
71
84
|
|
|
72
85
|
* Added support for `application/x-www-form-urlencoded` request bodies.
|
|
73
|
-
|
|
86
|
+
* SLAS endpoints now work out of the box
|
|
87
|
+
|
|
74
88
|
## v1.4.0
|
|
75
89
|
|
|
76
90
|
#### New Features
|