@commercetools/importapi-sdk 2.3.0 → 2.4.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 +14 -0
- package/README.md +3 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @commercetools/importapi-sdk
|
|
2
2
|
|
|
3
|
+
## 2.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#241](https://github.com/commercetools/commercetools-sdk-typescript/pull/241) [`85f5be3`](https://github.com/commercetools/commercetools-sdk-typescript/commit/85f5be349a9b0fa46539259981bfd8d5fc2ffdc6) Thanks [@ajimae](https://github.com/ajimae)! - Releasing the TS SDK with the following changelogs
|
|
8
|
+
|
|
9
|
+
- added functionalities to extend client user agent
|
|
10
|
+
- custom field added to OrderFromCardDraft
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`85f5be3`](https://github.com/commercetools/commercetools-sdk-typescript/commit/85f5be349a9b0fa46539259981bfd8d5fc2ffdc6)]:
|
|
15
|
+
- @commercetools/sdk-client-v2@1.3.0
|
|
16
|
+
|
|
3
17
|
## 2.3.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ const authMiddlewareOptions = {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
const httpMiddlewareOptions = {
|
|
57
|
-
host: 'https://
|
|
57
|
+
host: 'https://import.europe-west1.gcp.commercetools.com',
|
|
58
58
|
fetch,
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -79,9 +79,10 @@ const apiRoot = createApiBuilderFromCtpClient(client)
|
|
|
79
79
|
// calling the importapi functions
|
|
80
80
|
// get project details
|
|
81
81
|
apiRoot
|
|
82
|
-
.
|
|
82
|
+
.withProjectKeyValue({
|
|
83
83
|
projectKey,
|
|
84
84
|
})
|
|
85
|
+
.importContainers()
|
|
85
86
|
.get()
|
|
86
87
|
.execute()
|
|
87
88
|
.then((x) => {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@commercetools/importapi-sdk",
|
|
7
|
-
"version": "2.
|
|
7
|
+
"version": "2.4.0",
|
|
8
8
|
"description": "Type script sdk for commercetools import features",
|
|
9
9
|
"keywords": ["commercetools", "typescript", "sdk", "import"],
|
|
10
10
|
"homepage": "https://github.com/commercetools/commercetools-sdk-typescript/packages/importapi-sdk",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"./dist/commercetools-importapi-sdk.esm.js": "./dist/commercetools-importapi-sdk.browser.esm.js"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@commercetools/sdk-client-v2": "^1.
|
|
26
|
+
"@commercetools/sdk-client-v2": "^1.3.0",
|
|
27
27
|
"@commercetools/sdk-middleware-auth": "^6.0.4",
|
|
28
28
|
"@commercetools/sdk-middleware-http": "^6.0.4",
|
|
29
29
|
"@commercetools/sdk-middleware-logger": "^2.1.1",
|