@builttocreate/engine-utils 1.23.0 → 1.23.2

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.
@@ -53,7 +53,7 @@ exports.getDefaultJoyDocPage = getDefaultJoyDocPage;
53
53
  var getDefaultJoyDocFile = function getDefaultJoyDocFile() {
54
54
  var defaults = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
55
55
  var pageDefaults = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
56
- var page = getDefaultJoySpecPage(pageDefaults);
56
+ var page = getDefaultJoyDocPage(pageDefaults);
57
57
  return _objectSpread({
58
58
  _id: (0, _generateObjectId["default"])(),
59
59
  name: 'New File',
@@ -81,7 +81,7 @@ var getDefaultJoyDoc = function getDefaultJoyDoc() {
81
81
  _id: id,
82
82
  identifier: "doc_".concat(id),
83
83
  name: 'New Doc',
84
- files: [getDefaultJoySpecFile(fileDefaults, pageDefaults)]
84
+ files: [getDefaultJoyDocFile(fileDefaults, pageDefaults)]
85
85
  }, defaults);
86
86
  };
87
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builttocreate/engine-utils",
3
- "version": "1.23.0",
3
+ "version": "1.23.2",
4
4
  "description": "Utility library for common logic shared across web and mobile",
5
5
  "main": "dist/index.js",
6
6
  "files": [