@commercetools-frontend/sdk 22.17.0 → 22.17.2

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.
@@ -299,7 +299,7 @@ const mapDispatchToProps = dispatch => ({
299
299
  var SdkGet$1 = reactRedux.connect(null, mapDispatchToProps)(SdkGet);
300
300
 
301
301
  // NOTE: This string will be replaced on build time with the package version.
302
- var version = "22.17.0";
302
+ var version = "22.17.2";
303
303
 
304
304
  /* eslint-disable no-console */
305
305
 
@@ -400,7 +400,7 @@ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _
400
400
  _globalThis__default["default"].Buffer = buffer.Buffer;
401
401
  const userAgent = createHttpUserAgent__default["default"]({
402
402
  name: '@commercetools/sdk-client',
403
- libraryName: [window.app.applicationName, 'sdk'].join('/'),
403
+ libraryName: [typeof window !== 'undefined' ? window.app.applicationName : 'unknown-application-name', 'sdk'].join('/'),
404
404
  libraryVersion: version,
405
405
  contactUrl: 'https://git.io/fjuyC',
406
406
  // points to the appkit repo issues
@@ -290,7 +290,7 @@ const mapDispatchToProps = dispatch => ({
290
290
  var SdkGet$1 = reactRedux.connect(null, mapDispatchToProps)(SdkGet);
291
291
 
292
292
  // NOTE: This string will be replaced on build time with the package version.
293
- var version = "22.17.0";
293
+ var version = "22.17.2";
294
294
 
295
295
  const mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
296
296
  const mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
@@ -330,7 +330,7 @@ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _
330
330
  _globalThis__default["default"].Buffer = buffer.Buffer;
331
331
  const userAgent = createHttpUserAgent__default["default"]({
332
332
  name: '@commercetools/sdk-client',
333
- libraryName: [window.app.applicationName, 'sdk'].join('/'),
333
+ libraryName: [typeof window !== 'undefined' ? window.app.applicationName : 'unknown-application-name', 'sdk'].join('/'),
334
334
  libraryVersion: version,
335
335
  contactUrl: 'https://git.io/fjuyC',
336
336
  // points to the appkit repo issues
@@ -275,7 +275,7 @@ const mapDispatchToProps = dispatch => ({
275
275
  var SdkGet$1 = connect(null, mapDispatchToProps)(SdkGet);
276
276
 
277
277
  // NOTE: This string will be replaced on build time with the package version.
278
- var version = "22.17.0";
278
+ var version = "22.17.2";
279
279
 
280
280
  /* eslint-disable no-console */
281
281
 
@@ -376,7 +376,7 @@ function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var _
376
376
  _globalThis.Buffer = Buffer;
377
377
  const userAgent = createHttpUserAgent({
378
378
  name: '@commercetools/sdk-client',
379
- libraryName: [window.app.applicationName, 'sdk'].join('/'),
379
+ libraryName: [typeof window !== 'undefined' ? window.app.applicationName : 'unknown-application-name', 'sdk'].join('/'),
380
380
  libraryVersion: version,
381
381
  contactUrl: 'https://git.io/fjuyC',
382
382
  // points to the appkit repo issues
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/sdk",
3
- "version": "22.17.0",
3
+ "version": "22.17.2",
4
4
  "description": "Tools for declarative fetching",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.22.15",
39
39
  "@babel/runtime-corejs3": "^7.22.15",
40
- "@commercetools-frontend/constants": "22.17.0",
40
+ "@commercetools-frontend/constants": "22.17.2",
41
41
  "@commercetools/api-request-builder": "6.0.0",
42
42
  "@commercetools/http-user-agent": "3.0.0",
43
43
  "@commercetools/sdk-client": "3.0.0",