@arquimedes.co/eureka-forms 1.0.8-test → 1.0.9-test

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/dist/App.js CHANGED
@@ -69,6 +69,8 @@ function App(_a) {
69
69
  var _this = this;
70
70
  var _b, _c, _d, _e;
71
71
  var apiKey = _a.apiKey, domain = _a.domain, preview = _a.preview, formData = _a.formData, postview = _a.postview, isWidget = _a.isWidget, internal = _a.internal, valuesData = _a.valuesData, customSteps = _a.customSteps, handleConfirmed = _a.handleConfirmed, others = __rest(_a, ["apiKey", "domain", "preview", "formData", "postview", "isWidget", "internal", "valuesData", "customSteps", "handleConfirmed"]);
72
+ // eslint-disable-next-line no-console
73
+ console.log('PROPS:', { formData: formData, customSteps: customSteps });
72
74
  var _f = useState(undefined), form = _f[0], setForm = _f[1];
73
75
  var _g = useState({}), originalValues = _g[0], setOriginalValues = _g[1];
74
76
  var _h = useState(undefined), organizationInfo = _h[0], setOrganizationInfo = _h[1];
@@ -219,10 +219,12 @@ var updateValue = function (idStep, values, form, customSteps) {
219
219
  break;
220
220
  }
221
221
  default:
222
- console.log('CustomSteps:', customSteps);
223
- console.log('values');
224
- console.log('STEP', step);
225
- var custom = customSteps[step.type];
222
+ // eslint-disable-next-line no-console
223
+ console.log(customSteps);
224
+ // eslint-disable-next-line no-console
225
+ console.log('idStep', idStep);
226
+ var custom = customSteps[idStep];
227
+ // eslint-disable-next-line no-console
226
228
  console.log('UPDATE:', custom);
227
229
  if (custom !== undefined) {
228
230
  custom.updateValue(idStep, values, form);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.0.8-test",
4
+ "version":"1.0.9-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",