@andrew_l/toolkit 0.2.14 → 0.2.15

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.mjs CHANGED
@@ -4381,7 +4381,7 @@ class SimpleEventEmitter {
4381
4381
  if (!set) return false;
4382
4382
  set.forEach((fn) => {
4383
4383
  try {
4384
- const result = fn();
4384
+ const result = fn(...args);
4385
4385
  if (isPromise(result)) {
4386
4386
  result.catch((err) => {
4387
4387
  this.emit("error", err);