@uniweb/core 0.5.3 → 0.5.4

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/block.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
package/src/block.js CHANGED
@@ -299,10 +299,11 @@ export default class Block {
299
299
 
300
300
 
301
301
  /**
302
- * Get child block renderer from runtime
302
+ * Get child block renderer from runtime.
303
+ * @deprecated Use `ChildBlocks` from `@uniweb/kit` instead.
303
304
  */
304
305
  getChildBlockRenderer() {
305
- return globalThis.uniweb?.childBlockRenderer
306
+ return globalThis.uniweb.childBlockRenderer
306
307
  }
307
308
 
308
309
  /**