@bolttech/form-engine 3.0.0-beta.17 → 3.0.0-beta.18

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.
Files changed (2) hide show
  1. package/index.esm.js +3 -4
  2. package/package.json +2 -2
package/index.esm.js CHANGED
@@ -1658,10 +1658,10 @@ const IsolatedContext = ({
1658
1658
  const printFormGroupInstance = () => {
1659
1659
  console.log(formGroupInstance.current.printFormGroupInstance());
1660
1660
  };
1661
- const submitMultipleFormsByIndex = indexes => {
1661
+ function submitMultipleFormsByIndex(indexes) {
1662
1662
  return formGroupInstance.current.submitMultipleFormsByIndex(indexes);
1663
- };
1664
- const contextValue = {
1663
+ }
1664
+ return {
1665
1665
  addFormWithIndex,
1666
1666
  addForm,
1667
1667
  getForm,
@@ -1673,7 +1673,6 @@ const IsolatedContext = ({
1673
1673
  debugMode: _debugMode,
1674
1674
  active: false
1675
1675
  };
1676
- return contextValue;
1677
1676
  };
1678
1677
  /**
1679
1678
  * context provider to wrap form-engine adapter elements
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@bolttech/form-engine",
3
- "version": "3.0.0-beta.17",
3
+ "version": "3.0.0-beta.18",
4
4
  "description": "A react adapter for bolttech form engine",
5
5
  "module": "./index.esm.js",
6
6
  "type": "module",
7
7
  "main": "./index.esm.js",
8
8
  "dependencies": {
9
- "@bolttech/form-engine-core": "0.0.1-beta.8",
9
+ "@bolttech/form-engine-core": "0.0.1-beta.9",
10
10
  "react": "18.2.0"
11
11
  },
12
12
  "peerDependencies": {}