@builttocreate/engine-utils 2.3.0-beta.0 → 2.3.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.
@@ -133,6 +133,7 @@ var getCleanedJoyDoc = function getCleanedJoyDoc(doc) {
133
133
  */
134
134
 
135
135
  nextFile.pages = getCleanedJoyDocPages(nextFile.pages);
136
+ nextFile.pageOrder = cleanPageOrder(getPageOrder(nextFile.pageOrder, nextFile.pages), nextFile.pages);
136
137
  /**
137
138
  * Step 1.4: Replace view page ids and field ids if they are not valid
138
139
  */
@@ -142,6 +143,7 @@ var getCleanedJoyDoc = function getCleanedJoyDoc(doc) {
142
143
  var nextView = _objectSpread({}, view);
143
144
 
144
145
  nextView.pages = getCleanedJoyDocPages(nextView.pages);
146
+ nextView.pageOrder = cleanPageOrder(getPageOrder(nextView.pageOrder, nextView.pages), nextView.pages);
145
147
  return nextView;
146
148
  });
147
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builttocreate/engine-utils",
3
- "version": "2.3.0-beta.0",
3
+ "version": "2.3.1",
4
4
  "description": "Utility library for common logic shared across web and mobile",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -12,7 +12,7 @@
12
12
  "build-src": "NODE_ENV=production babel src --out-dir dist --extensions '.js,.jsx' --ignore 'src/testUtils/*','src/**/*.stories.js','src/**/*.test.js','src/lib/**/*.test.js','src/**/__snapshots__','src/**/__mocks__'",
13
13
  "build": "npm run clean && npm run build-src",
14
14
  "prepublish": "npm run build",
15
- "publish-beta": "npm run build && npm publish --tag beta",
15
+ "publish-beta": "npm publish --tag beta",
16
16
  "test": "jest",
17
17
  "test-watch": "jest --watch",
18
18
  "lint": "npx eslint ./src",