@daz4126/helium 0.5.1 → 0.5.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.
Files changed (2) hide show
  1. package/helium.js +5 -4
  2. package/package.json +1 -1
package/helium.js CHANGED
@@ -28,7 +28,8 @@ export default function helium(data = {}) {
28
28
  state,
29
29
  event,
30
30
  elCtx,
31
- ...Object.values(data),
31
+ html,
32
+ ...Object.values(state),
32
33
  ...[...refs.values()],
33
34
  );
34
35
  if (prop in el) el[prop] = result;
@@ -97,7 +98,7 @@ export default function helium(data = {}) {
97
98
  {},
98
99
  el,
99
100
  html,
100
- ...Object.values(data),
101
+ ...Object.values(state),
101
102
  ...[...refs.values()],
102
103
  ),
103
104
  );
@@ -172,7 +173,7 @@ export default function helium(data = {}) {
172
173
  undefined,
173
174
  el,
174
175
  html,
175
- ...Object.values(data),
176
+ ...Object.values(state),
176
177
  ...[...refs.values()],
177
178
  );
178
179
  else if (name.startsWith("@") || name.startsWith("data-he-on")) {
@@ -229,7 +230,7 @@ export default function helium(data = {}) {
229
230
  e,
230
231
  el,
231
232
  html,
232
- ...Object.values(data),
233
+ ...Object.values(state),
233
234
  ...[...refs.values()],
234
235
  );
235
236
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daz4126/helium",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "main": "helium.js",
5
5
  "type": "module",
6
6
  "keywords": [