@manyducks.co/dolla 1.0.0 → 1.0.1

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/lib/index.js CHANGED
@@ -115,7 +115,6 @@ var CrashCollector = class {
115
115
  for (const callback of this.#errorCallbacks) {
116
116
  callback(ctx);
117
117
  }
118
- throw error;
119
118
  }
120
119
  /**
121
120
  * Reports a recoverable error.
@@ -1926,11 +1925,11 @@ function _assertPropTypes(props) {
1926
1925
  }
1927
1926
  }
1928
1927
  for (const key in props) {
1929
- if (key.startsWith("$$")) {
1928
+ if (key.startsWith("$$") && props[key] !== void 0) {
1930
1929
  if (!isSettableSignal(props[key])) {
1931
1930
  throw new TypeError(`Prop '${key}' is named as a SettableSignal but value is not. Got: ${props[key]}`);
1932
1931
  }
1933
- } else if (key.startsWith("$")) {
1932
+ } else if (key.startsWith("$") && props[key] !== void 0) {
1934
1933
  if (!isSignal(props[key])) {
1935
1934
  throw new TypeError(`Prop '${key}' is named as a Signal but value is not. Got: ${props[key]}`);
1936
1935
  }