@rettangoli/fe 0.0.7-rc13 → 0.0.7-rc14

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rettangoli/fe",
3
- "version": "0.0.7-rc13",
3
+ "version": "0.0.7-rc14",
4
4
  "description": "Frontend framework for building reactive web components",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -348,7 +348,10 @@ class BaseComponent extends HTMLElement {
348
348
  if (oldValue !== newValue && this.render) {
349
349
  // Call handleOnUpdate if it exists
350
350
  if (this.handlers?.handleOnUpdate) {
351
- const changes = { [name]: { oldValue, newValue } };
351
+ const changes = {
352
+ oldAttrs: { [name]: oldValue },
353
+ newAttrs: { [name]: newValue }
354
+ };
352
355
  const deps = {
353
356
  ...this.deps,
354
357
  refIds: this.refIds,