@zat-design/sisyphus-react 3.13.13-deta.1 → 3.13.14-deta.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.
@@ -145,7 +145,7 @@ var _filterInternalFields = function filterInternalFields(values, optimize) {
145
145
  if (_isObject(nextValues)) {
146
146
  var result = {};
147
147
  Object.keys(nextValues).forEach(function (key) {
148
- if (key.includes('-')) return;
148
+ if (key.includes('-') || key.startsWith('__')) return;
149
149
  result[key] = _filterInternalFields(nextValues[key]);
150
150
  });
151
151
  return result;
@@ -161,7 +161,7 @@ var _filterInternalFields = exports.filterInternalFields = function filterIntern
161
161
  if ((0, _isObject2.default)(nextValues)) {
162
162
  var result = {};
163
163
  Object.keys(nextValues).forEach(function (key) {
164
- if (key.includes('-')) return;
164
+ if (key.includes('-') || key.startsWith('__')) return;
165
165
  result[key] = _filterInternalFields(nextValues[key]);
166
166
  });
167
167
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.13.13-deta.1",
3
+ "version": "3.13.14-deta.1",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",