Releases: commercetools/commercetools-sdk-typescript
Releases · commercetools/commercetools-sdk-typescript
@commercetools/[email protected]
Minor Changes
- #148
0281529
Thanks @github-actions! - Update generated SDKs
Patch Changes
- Updated dependencies [
fcd35a0
]:- @commercetools/[email protected]
@commercetools/[email protected]
Minor Changes
- #148
0281529
Thanks @github-actions! - Update generated SDKs
Patch Changes
- Updated dependencies [
fcd35a0
]:- @commercetools/[email protected]
@commercetools/[email protected]
@commercetools/[email protected]
@commercetools/[email protected]
@commercetools/[email protected]
@commercetools/[email protected]
Major Changes
Changelog
We released the @commercetools/sdk-client-v2
package and added it as the new default HTTP client. The package is written in typescript. It comes with the necessary middlewares (sdk-auth, sdk-logger, ...) to talk to the commercetools API and it exposes the following class and functions which can be directly imported from the sdk-client-v2
Class
- ClientBuilder
Functions
- createClient
- getErrorByCode
- createAuthForAnonymousSessionFlow
- createAuthForClientCredentialsFlow
- createAuthWithExistingToken
- createAuthForPasswordFlow
- createAuthForRefreshTokenFlow
- createCorrelationIdMiddleware
- createHttpClient
- createLoggerMiddleware
- createQueueMiddleware
- createUserAgentMiddleware
Note that the names of some functions have changed from what we use to have in the previous version.