Skip to content

Commit 372e7df

Browse files
author
alfredbrockotter
committed
chore: trying to add a breaking change to sem rel.
Trying to release a new major version BREAKING CHANGE: Upgraded to version 6 KC SDK
1 parent 8420a01 commit 372e7df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ npm i rxjs --save (because this is a peer dependency of the Kentico Cloud Delive
4040

4141
this.$deliveryClient.items()
4242
.type('page')
43-
.getPromise()
43+
.toPromise()
4444
.then(response => console.log('DeliveryClient Response', response));
4545

4646
```
4747
## Note:
48-
By default Nuxt can only work with promises. Therefor you always use the "getPromise" method provided by the Kentico Cloud Delivery SDK! RxJs operator's are not supported at the moment.
48+
By default Nuxt can only work with promises. Therefor you always use the "toPromise" method provided by the Kentico Cloud Delivery SDK! RxJs operator's are not supported at the moment.
4949

5050
## Caching
5151
API calls can be "cached" (they will be stored in memory) client side via the "viaCache" method.

0 commit comments

Comments
 (0)