@commercetools-frontend/sdk 22.22.0 → 22.23.1
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.
|
@@ -70,6 +70,7 @@ function get(payload) {
|
|
|
70
70
|
|
|
71
71
|
// contrary to the other methods this does not bear the exact name of the HTTP-verb
|
|
72
72
|
// because `delete` is a reserved keyword in ECMAScript
|
|
73
|
+
|
|
73
74
|
function del(payload) {
|
|
74
75
|
return {
|
|
75
76
|
type: 'SDK',
|
|
@@ -165,7 +166,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
165
166
|
});
|
|
166
167
|
|
|
167
168
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
168
|
-
function _isNativeReflectConstruct() {
|
|
169
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
169
170
|
let SdkGet = /*#__PURE__*/function (_Component) {
|
|
170
171
|
_inherits(SdkGet, _Component);
|
|
171
172
|
var _super = _createSuper(SdkGet);
|
|
@@ -299,7 +300,7 @@ const mapDispatchToProps = dispatch => ({
|
|
|
299
300
|
var SdkGet$1 = reactRedux.connect(null, mapDispatchToProps)(SdkGet);
|
|
300
301
|
|
|
301
302
|
// NOTE: This string will be replaced on build time with the package version.
|
|
302
|
-
var version = "22.
|
|
303
|
+
var version = "22.23.1";
|
|
303
304
|
|
|
304
305
|
/* eslint-disable no-console */
|
|
305
306
|
|
|
@@ -69,6 +69,7 @@ function get(payload) {
|
|
|
69
69
|
|
|
70
70
|
// contrary to the other methods this does not bear the exact name of the HTTP-verb
|
|
71
71
|
// because `delete` is a reserved keyword in ECMAScript
|
|
72
|
+
|
|
72
73
|
function del(payload) {
|
|
73
74
|
return {
|
|
74
75
|
type: 'SDK',
|
|
@@ -164,7 +165,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
164
165
|
});
|
|
165
166
|
|
|
166
167
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct__default["default"](Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
167
|
-
function _isNativeReflectConstruct() {
|
|
168
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct__default["default"](Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
168
169
|
let SdkGet = /*#__PURE__*/function (_Component) {
|
|
169
170
|
_inherits(SdkGet, _Component);
|
|
170
171
|
var _super = _createSuper(SdkGet);
|
|
@@ -290,7 +291,7 @@ const mapDispatchToProps = dispatch => ({
|
|
|
290
291
|
var SdkGet$1 = reactRedux.connect(null, mapDispatchToProps)(SdkGet);
|
|
291
292
|
|
|
292
293
|
// NOTE: This string will be replaced on build time with the package version.
|
|
293
|
-
var version = "22.
|
|
294
|
+
var version = "22.23.1";
|
|
294
295
|
|
|
295
296
|
const mcHostnameRegex = /^mc(-(\d){4,})?\.(.*)$/;
|
|
296
297
|
const mcPreviewHostnameRegex = /^.*\.mc-preview\.(.*)$/;
|
|
@@ -46,6 +46,7 @@ function get(payload) {
|
|
|
46
46
|
|
|
47
47
|
// contrary to the other methods this does not bear the exact name of the HTTP-verb
|
|
48
48
|
// because `delete` is a reserved keyword in ECMAScript
|
|
49
|
+
|
|
49
50
|
function del(payload) {
|
|
50
51
|
return {
|
|
51
52
|
type: 'SDK',
|
|
@@ -141,7 +142,7 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
141
142
|
});
|
|
142
143
|
|
|
143
144
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
144
|
-
function _isNativeReflectConstruct() {
|
|
145
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
|
|
145
146
|
let SdkGet = /*#__PURE__*/function (_Component) {
|
|
146
147
|
_inherits(SdkGet, _Component);
|
|
147
148
|
var _super = _createSuper(SdkGet);
|
|
@@ -275,7 +276,7 @@ const mapDispatchToProps = dispatch => ({
|
|
|
275
276
|
var SdkGet$1 = connect(null, mapDispatchToProps)(SdkGet);
|
|
276
277
|
|
|
277
278
|
// NOTE: This string will be replaced on build time with the package version.
|
|
278
|
-
var version = "22.
|
|
279
|
+
var version = "22.23.1";
|
|
279
280
|
|
|
280
281
|
/* eslint-disable no-console */
|
|
281
282
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/sdk",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.23.1",
|
|
4
4
|
"description": "Tools for declarative fetching",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -37,29 +37,29 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.22.15",
|
|
39
39
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
40
|
-
"@commercetools-frontend/constants": "22.
|
|
40
|
+
"@commercetools-frontend/constants": "22.23.1",
|
|
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",
|
|
44
44
|
"@commercetools/sdk-middleware-correlation-id": "3.0.0",
|
|
45
|
-
"@commercetools/sdk-middleware-http": "7.0.
|
|
46
|
-
"@types/node-fetch": "2.6.
|
|
45
|
+
"@commercetools/sdk-middleware-http": "7.0.4",
|
|
46
|
+
"@types/node-fetch": "2.6.11",
|
|
47
47
|
"@types/prop-types": "^15.7.5",
|
|
48
48
|
"@types/react": "^17.0.56",
|
|
49
49
|
"@types/react-redux": "^7.1.26",
|
|
50
50
|
"buffer": "6.0.3",
|
|
51
51
|
"fast-equals": "2.0.4",
|
|
52
|
-
"omit-empty-es": "1.
|
|
52
|
+
"omit-empty-es": "1.2.0",
|
|
53
53
|
"prop-types": "15.8.1",
|
|
54
54
|
"qss": "2.0.3",
|
|
55
55
|
"unfetch": "4.2.0",
|
|
56
|
-
"uuid": "9.0.
|
|
56
|
+
"uuid": "9.0.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@emotion/react": "^11.11.4",
|
|
60
60
|
"@testing-library/react": "12.1.5",
|
|
61
61
|
"@types/uuid": "^9.0.3",
|
|
62
|
-
"jest-mock": "29.
|
|
62
|
+
"jest-mock": "29.7.0",
|
|
63
63
|
"react": "17.0.2",
|
|
64
64
|
"react-dom": "17.0.2",
|
|
65
65
|
"react-redux": "7.2.9",
|