@flexsurfer/reflex 0.1.18 → 0.1.19

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/dist/index.cjs CHANGED
@@ -925,7 +925,7 @@ var Reaction = class _Reaction {
925
925
  try {
926
926
  let changed = false;
927
927
  withTrace(
928
- { operation: this.subVector?.[0] ?? "", opType: "sub/run", tags: { queryV: this.subVector, reaction: this.id } },
928
+ { operation: this.subVector?.[0] ?? "", opType: "sub/run", tags: { queryV: this.subVector, reaction: this.id, deps: this.deps?.map((d) => d.getId()) ?? [] } },
929
929
  () => {
930
930
  if (this.isRoot) {
931
931
  changed = true;
@@ -957,7 +957,8 @@ var Reaction = class _Reaction {
957
957
  withTrace(
958
958
  {
959
959
  opType: "render",
960
- operation: w.componentName
960
+ operation: w.componentName,
961
+ tags: { reaction: this.id }
961
962
  },
962
963
  () => {
963
964
  w.callback(this.value);
package/dist/index.mjs CHANGED
@@ -850,7 +850,7 @@ var Reaction = class _Reaction {
850
850
  try {
851
851
  let changed = false;
852
852
  withTrace(
853
- { operation: this.subVector?.[0] ?? "", opType: "sub/run", tags: { queryV: this.subVector, reaction: this.id } },
853
+ { operation: this.subVector?.[0] ?? "", opType: "sub/run", tags: { queryV: this.subVector, reaction: this.id, deps: this.deps?.map((d) => d.getId()) ?? [] } },
854
854
  () => {
855
855
  if (this.isRoot) {
856
856
  changed = true;
@@ -882,7 +882,8 @@ var Reaction = class _Reaction {
882
882
  withTrace(
883
883
  {
884
884
  opType: "render",
885
- operation: w.componentName
885
+ operation: w.componentName,
886
+ tags: { reaction: this.id }
886
887
  },
887
888
  () => {
888
889
  w.callback(this.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexsurfer/reflex",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",