@uniweb/core 0.4.6 → 0.4.7

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/package.json +1 -1
  2. package/src/website.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
package/src/website.js CHANGED
@@ -467,7 +467,7 @@ export default class Website {
467
467
  * Get default block type from foundation config
468
468
  */
469
469
  getDefaultBlockType() {
470
- return globalThis.uniweb?.foundationConfig?.defaultType || 'Section'
470
+ return globalThis.uniweb?.foundationConfig?.defaultSection || 'Section'
471
471
  }
472
472
 
473
473
  // ─────────────────────────────────────────────────────────────────