@commercetools/history-sdk 2.1.0 → 2.3.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 CHANGED
@@ -1,5 +1,38 @@
1
1
  # @commercetools/history-sdk
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#211](https://github.com/commercetools/commercetools-sdk-typescript/pull/211) [`f3c1e3e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/f3c1e3ea0ca000b309eca1de6163c3ad065d526f) Thanks [@jherey](https://github.com/jherey)! - - Change Import Summaries `processingState` to `processingstate`.
8
+ - Add `sort` to `ByProjectKeyShippingMethodsMatchingLocationRequestBuilder`.
9
+ - New `MyCustomerResetPassword` model added to `ByProjectKeyMePasswordResetRequestBuilder` class.
10
+ - Other changes are detailed here: https://github.com/commercetools/commercetools-sdk-typescript/pull/192/files.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`f3c1e3e`](https://github.com/commercetools/commercetools-sdk-typescript/commit/f3c1e3ea0ca000b309eca1de6163c3ad065d526f)]:
15
+ - @commercetools/sdk-client-v2@1.2.0
16
+
17
+ ## 2.2.0
18
+
19
+ ### Minor Changes
20
+
21
+ - [#188](https://github.com/commercetools/commercetools-sdk-typescript/pull/188) [`4c2d9b6`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4c2d9b64b204200dffbeb18130239138dd2ad7d3) Thanks [@ajimae](https://github.com/ajimae)! - February package release
22
+
23
+ ### Patch Changes
24
+
25
+ - [#149](https://github.com/commercetools/commercetools-sdk-typescript/pull/149) [`08caea9`](https://github.com/commercetools/commercetools-sdk-typescript/commit/08caea93560c01e2158f018538b7a2b9f4be39c1) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update all dependencies
26
+
27
+ - Updated dependencies [[`08caea9`](https://github.com/commercetools/commercetools-sdk-typescript/commit/08caea93560c01e2158f018538b7a2b9f4be39c1), [`4c2d9b6`](https://github.com/commercetools/commercetools-sdk-typescript/commit/4c2d9b64b204200dffbeb18130239138dd2ad7d3)]:
28
+ - @commercetools/sdk-client-v2@1.1.0
29
+
30
+ ## 2.1.1
31
+
32
+ ### Patch Changes
33
+
34
+ - [#165](https://github.com/commercetools/commercetools-sdk-typescript/pull/165) [`1b305a1`](https://github.com/commercetools/commercetools-sdk-typescript/commit/1b305a18602f6daceab31d7691f5b0239db2ad23) Thanks [@github-actions](https://github.com/apps/github-actions)! - Update generated SDKs
35
+
3
36
  ## 2.1.0
4
37
 
5
38
  ### Minor Changes
package/README.md CHANGED
@@ -48,7 +48,7 @@ const authMiddlewareOptions = {
48
48
  clientId: 'mc-client-id',
49
49
  clientSecret: 'mc-client-secrets',
50
50
  },
51
- oauthUri: 'https://auth.europe-west1.gcp.commercetools.com',
51
+ oauthUri: '/oauth/token', // - optional: custom oauthUri
52
52
  scopes: [`manage_project:${projectKey}`],
53
53
  fetch,
54
54
  }
@@ -193,14 +193,12 @@ class ByProjectKeyRequestBuilder {
193
193
 
194
194
  class ApiRoot {
195
195
  constructor(args) {
196
- var _args$baseUri;
197
-
198
196
  _defineProperty(this, "executeRequest", void 0);
199
197
 
200
198
  _defineProperty(this, "baseUri", void 0);
201
199
 
202
200
  this.executeRequest = args.executeRequest;
203
- this.baseUri = (_args$baseUri = args.baseUri) !== null && _args$baseUri !== void 0 ? _args$baseUri : 'https://history.europe-west1.gcp.commercetools.com';
201
+ this.baseUri = args.baseUri || 'https://history.europe-west1.gcp.commercetools.com';
204
202
  }
205
203
 
206
204
  withProjectKeyValue(childPathArgs) {
@@ -189,14 +189,12 @@ class ByProjectKeyRequestBuilder {
189
189
 
190
190
  class ApiRoot {
191
191
  constructor(args) {
192
- var _args$baseUri;
193
-
194
192
  _defineProperty(this, "executeRequest", void 0);
195
193
 
196
194
  _defineProperty(this, "baseUri", void 0);
197
195
 
198
196
  this.executeRequest = args.executeRequest;
199
- this.baseUri = (_args$baseUri = args.baseUri) !== null && _args$baseUri !== void 0 ? _args$baseUri : 'https://history.europe-west1.gcp.commercetools.com';
197
+ this.baseUri = args.baseUri || 'https://history.europe-west1.gcp.commercetools.com';
200
198
  }
201
199
 
202
200
  withProjectKeyValue(childPathArgs) {
@@ -193,14 +193,12 @@ class ByProjectKeyRequestBuilder {
193
193
 
194
194
  class ApiRoot {
195
195
  constructor(args) {
196
- var _args$baseUri;
197
-
198
196
  _defineProperty(this, "executeRequest", void 0);
199
197
 
200
198
  _defineProperty(this, "baseUri", void 0);
201
199
 
202
200
  this.executeRequest = args.executeRequest;
203
- this.baseUri = (_args$baseUri = args.baseUri) !== null && _args$baseUri !== void 0 ? _args$baseUri : 'https://history.europe-west1.gcp.commercetools.com';
201
+ this.baseUri = args.baseUri || 'https://history.europe-west1.gcp.commercetools.com';
204
202
  }
205
203
 
206
204
  withProjectKeyValue(childPathArgs) {
@@ -193,14 +193,12 @@ class ByProjectKeyRequestBuilder {
193
193
 
194
194
  class ApiRoot {
195
195
  constructor(args) {
196
- var _args$baseUri;
197
-
198
196
  _defineProperty(this, "executeRequest", void 0);
199
197
 
200
198
  _defineProperty(this, "baseUri", void 0);
201
199
 
202
200
  this.executeRequest = args.executeRequest;
203
- this.baseUri = (_args$baseUri = args.baseUri) !== null && _args$baseUri !== void 0 ? _args$baseUri : 'https://history.europe-west1.gcp.commercetools.com';
201
+ this.baseUri = args.baseUri || 'https://history.europe-west1.gcp.commercetools.com';
204
202
  }
205
203
 
206
204
  withProjectKeyValue(childPathArgs) {
@@ -189,14 +189,12 @@ class ByProjectKeyRequestBuilder {
189
189
 
190
190
  class ApiRoot {
191
191
  constructor(args) {
192
- var _args$baseUri;
193
-
194
192
  _defineProperty(this, "executeRequest", void 0);
195
193
 
196
194
  _defineProperty(this, "baseUri", void 0);
197
195
 
198
196
  this.executeRequest = args.executeRequest;
199
- this.baseUri = (_args$baseUri = args.baseUri) !== null && _args$baseUri !== void 0 ? _args$baseUri : 'https://history.europe-west1.gcp.commercetools.com';
197
+ this.baseUri = args.baseUri || 'https://history.europe-west1.gcp.commercetools.com';
200
198
  }
201
199
 
202
200
  withProjectKeyValue(childPathArgs) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@commercetools/history-sdk",
7
- "version": "2.1.0",
7
+ "version": "2.3.0",
8
8
  "description": "Type script sdk for commercetools audit log features",
9
9
  "keywords": ["commercetools", "typescript", "sdk", "history"],
10
10
  "homepage": "https://github.com/commercetools/commercetools-typescript-sdks/packages/history-sdk",
@@ -23,16 +23,16 @@
23
23
  "./dist/commercetools-history-sdk.esm.js": "./dist/commercetools-history-sdk.browser.esm.js"
24
24
  },
25
25
  "dependencies": {
26
- "@commercetools/sdk-client-v2": "^1.0.1",
26
+ "@commercetools/sdk-client-v2": "^1.2.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",
30
30
  "querystring": "^0.2.1"
31
31
  },
32
32
  "devDependencies": {
33
- "@commercetools/platform-sdk": "2.1.0",
34
- "@types/uuid": "8.3.3",
35
- "organize-imports-cli": "0.8.0",
33
+ "@commercetools/platform-sdk": "2.5.0",
34
+ "@types/uuid": "8.3.4",
35
+ "organize-imports-cli": "0.9.0",
36
36
  "tsconfig-replace-paths": "0.0.11",
37
37
  "uuid": "8.3.2"
38
38
  },