@radishland/runtime 0.0.6 → 0.0.8

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/client/index.js +1 -3
  2. package/package.json +1 -1
package/client/index.js CHANGED
@@ -373,8 +373,6 @@ var HandlerRegistry = class extends HTMLElement {
373
373
  }
374
374
  }
375
375
  };
376
- if (window && !customElements.get("handler-registry")) {
377
- customElements.define("handler-registry", HandlerRegistry);
378
- }
376
+ customElements?.define("handler-registry", HandlerRegistry);
379
377
 
380
378
  export { $array, $computed, $effect, $object, $state, HandlerRegistry, ReactiveComputation, ReactiveValue, getValue, isComputed, isState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radishland/runtime",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "description": "The Radish runtime",
6
6
  "author": "Frédéric Crozatier",