@hoosk/minisignals 1.0.6 → 1.0.7

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.
@@ -1,4 +1,4 @@
1
- import { ReadonlySignal } from './signal';
1
+ import { ReadonlySignal } from './signal.js';
2
2
  export interface Computed<T> extends ReadonlySignal<T> {
3
3
  /**
4
4
  * Stops the internal effect from observing dependencies.
package/dist/computed.js CHANGED
@@ -1,5 +1,5 @@
1
- import { signal } from './signal';
2
- import { effect } from './effect';
1
+ import { signal } from './signal.js';
2
+ import { effect } from './effect.js';
3
3
  /**
4
4
  * Creates a computed signal that derives its value from other signals.
5
5
  * It only calculates and subscribes when its value is read for the first time.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './signal';
2
- export * from './effect';
3
- export * from './computed';
1
+ export * from './signal.js';
2
+ export * from './effect.js';
3
+ export * from './computed.js';
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export * from './signal';
2
- export * from './effect';
3
- export * from './computed';
1
+ export * from './signal.js';
2
+ export * from './effect.js';
3
+ export * from './computed.js';
package/dist/signal.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getActiveEffect, scheduleSubs } from './effect';
1
+ import { getActiveEffect, scheduleSubs } from './effect.js';
2
2
  /**
3
3
  * Creates a reactive signal.
4
4
  * @param initialValue The starting value.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoosk/minisignals",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Minimal agnostic signals library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",