@typed/fx 1.18.2 → 1.18.4

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 (291) hide show
  1. package/dist/cjs/Computed.js +8 -8
  2. package/dist/cjs/Computed.js.map +1 -1
  3. package/dist/cjs/Emitter.js +1 -1
  4. package/dist/cjs/Emitter.js.map +1 -1
  5. package/dist/cjs/Filtered.js +7 -7
  6. package/dist/cjs/Filtered.js.map +1 -1
  7. package/dist/cjs/Form.js +7 -7
  8. package/dist/cjs/Form.js.map +1 -1
  9. package/dist/cjs/FormEntry.js +6 -6
  10. package/dist/cjs/FormEntry.js.map +1 -1
  11. package/dist/cjs/Fx.js +11 -11
  12. package/dist/cjs/Fx.js.map +1 -1
  13. package/dist/cjs/Idle.js +3 -3
  14. package/dist/cjs/Idle.js.map +1 -1
  15. package/dist/cjs/Match.js +3 -3
  16. package/dist/cjs/Match.js.map +1 -1
  17. package/dist/cjs/Model.js +5 -5
  18. package/dist/cjs/Model.js.map +1 -1
  19. package/dist/cjs/RefArray.js +1 -1
  20. package/dist/cjs/RefArray.js.map +1 -1
  21. package/dist/cjs/RefAsyncData.js +4 -4
  22. package/dist/cjs/RefAsyncData.js.map +1 -1
  23. package/dist/cjs/RefAsyncDataArray.js +2 -2
  24. package/dist/cjs/RefAsyncDataArray.js.map +1 -1
  25. package/dist/cjs/RefBoolean.js +1 -1
  26. package/dist/cjs/RefBoolean.js.map +1 -1
  27. package/dist/cjs/RefChunk.js +1 -1
  28. package/dist/cjs/RefChunk.js.map +1 -1
  29. package/dist/cjs/RefHashMap.js +1 -1
  30. package/dist/cjs/RefHashMap.js.map +1 -1
  31. package/dist/cjs/RefHashSet.js +1 -1
  32. package/dist/cjs/RefHashSet.js.map +1 -1
  33. package/dist/cjs/RefNumber.js +1 -1
  34. package/dist/cjs/RefNumber.js.map +1 -1
  35. package/dist/cjs/RefSubject.js +9 -9
  36. package/dist/cjs/RefSubject.js.map +1 -1
  37. package/dist/cjs/Stream.js +2 -2
  38. package/dist/cjs/Stream.js.map +1 -1
  39. package/dist/cjs/Subject.js +4 -4
  40. package/dist/cjs/Subject.js.map +1 -1
  41. package/dist/cjs/TypeId.js +4 -4
  42. package/dist/cjs/TypeId.js.map +1 -1
  43. package/dist/cjs/Typeclass.js +2 -2
  44. package/dist/cjs/Typeclass.js.map +1 -1
  45. package/dist/cjs/Versioned.js +3 -3
  46. package/dist/cjs/Versioned.js.map +1 -1
  47. package/dist/cjs/index.js +9 -9
  48. package/dist/cjs/index.js.map +1 -1
  49. package/dist/cjs/internal/core-ref-subject.js +13 -13
  50. package/dist/cjs/internal/core-ref-subject.js.map +1 -1
  51. package/dist/cjs/internal/core-subject.js +3 -3
  52. package/dist/cjs/internal/core-subject.js.map +1 -1
  53. package/dist/cjs/internal/core.js +13 -13
  54. package/dist/cjs/internal/core.js.map +1 -1
  55. package/dist/cjs/internal/effect-operator.js +1 -1
  56. package/dist/cjs/internal/effect-operator.js.map +1 -1
  57. package/dist/cjs/internal/fx-effect-proto.js +2 -2
  58. package/dist/cjs/internal/fx-effect-proto.js.map +1 -1
  59. package/dist/cjs/internal/fx-primitive.js +3 -3
  60. package/dist/cjs/internal/fx-primitive.js.map +1 -1
  61. package/dist/cjs/internal/fx.js +5 -5
  62. package/dist/cjs/internal/fx.js.map +1 -1
  63. package/dist/cjs/internal/helpers.js +1 -1
  64. package/dist/cjs/internal/helpers.js.map +1 -1
  65. package/dist/cjs/internal/keyed.js +6 -6
  66. package/dist/cjs/internal/keyed.js.map +1 -1
  67. package/dist/cjs/internal/matchers.js +1 -1
  68. package/dist/cjs/internal/matchers.js.map +1 -1
  69. package/dist/cjs/internal/protos.js +1 -1
  70. package/dist/cjs/internal/protos.js.map +1 -1
  71. package/dist/cjs/internal/run.js +5 -5
  72. package/dist/cjs/internal/run.js.map +1 -1
  73. package/dist/cjs/internal/schema-ref-subject.js +4 -4
  74. package/dist/cjs/internal/schema-ref-subject.js.map +1 -1
  75. package/dist/cjs/internal/share.js +4 -4
  76. package/dist/cjs/internal/share.js.map +1 -1
  77. package/dist/cjs/internal/sync-operator.js +1 -1
  78. package/dist/cjs/internal/sync-operator.js.map +1 -1
  79. package/dist/cjs/internal/versioned-transform.js +2 -2
  80. package/dist/cjs/internal/versioned-transform.js.map +1 -1
  81. package/dist/cjs/internal/withKey.js +5 -5
  82. package/dist/cjs/internal/withKey.js.map +1 -1
  83. package/dist/dts/Computed.d.ts +4 -4
  84. package/dist/dts/Computed.d.ts.map +1 -1
  85. package/dist/dts/Emitter.d.ts +1 -1
  86. package/dist/dts/Emitter.d.ts.map +1 -1
  87. package/dist/dts/Filtered.d.ts +4 -4
  88. package/dist/dts/Filtered.d.ts.map +1 -1
  89. package/dist/dts/Form.d.ts +5 -5
  90. package/dist/dts/Form.d.ts.map +1 -1
  91. package/dist/dts/FormEntry.d.ts +3 -3
  92. package/dist/dts/FormEntry.d.ts.map +1 -1
  93. package/dist/dts/Fx.d.ts +7 -7
  94. package/dist/dts/Fx.d.ts.map +1 -1
  95. package/dist/dts/Match.d.ts +3 -3
  96. package/dist/dts/Match.d.ts.map +1 -1
  97. package/dist/dts/Model.d.ts +5 -5
  98. package/dist/dts/Model.d.ts.map +1 -1
  99. package/dist/dts/Pull.d.ts +1 -1
  100. package/dist/dts/Pull.d.ts.map +1 -1
  101. package/dist/dts/RefArray.d.ts +4 -4
  102. package/dist/dts/RefArray.d.ts.map +1 -1
  103. package/dist/dts/RefAsyncData.d.ts +5 -5
  104. package/dist/dts/RefAsyncData.d.ts.map +1 -1
  105. package/dist/dts/RefAsyncDataArray.d.ts +3 -3
  106. package/dist/dts/RefAsyncDataArray.d.ts.map +1 -1
  107. package/dist/dts/RefBoolean.d.ts +2 -2
  108. package/dist/dts/RefBoolean.d.ts.map +1 -1
  109. package/dist/dts/RefChunk.d.ts +4 -4
  110. package/dist/dts/RefChunk.d.ts.map +1 -1
  111. package/dist/dts/RefHashMap.d.ts +4 -4
  112. package/dist/dts/RefHashMap.d.ts.map +1 -1
  113. package/dist/dts/RefHashSet.d.ts +3 -3
  114. package/dist/dts/RefHashSet.d.ts.map +1 -1
  115. package/dist/dts/RefNumber.d.ts +2 -2
  116. package/dist/dts/RefNumber.d.ts.map +1 -1
  117. package/dist/dts/RefSubject.d.ts +5 -5
  118. package/dist/dts/RefSubject.d.ts.map +1 -1
  119. package/dist/dts/Stream.d.ts +1 -1
  120. package/dist/dts/Stream.d.ts.map +1 -1
  121. package/dist/dts/Subject.d.ts +2 -2
  122. package/dist/dts/Subject.d.ts.map +1 -1
  123. package/dist/dts/TypeId.d.ts.map +1 -1
  124. package/dist/dts/Typeclass.d.ts +1 -1
  125. package/dist/dts/Typeclass.d.ts.map +1 -1
  126. package/dist/dts/Versioned.d.ts +1 -1
  127. package/dist/dts/Versioned.d.ts.map +1 -1
  128. package/dist/dts/index.d.ts +9 -9
  129. package/dist/dts/index.d.ts.map +1 -1
  130. package/dist/dts/internal/core-ref-subject.d.ts +7 -7
  131. package/dist/dts/internal/core-ref-subject.d.ts.map +1 -1
  132. package/dist/dts/internal/core-subject.d.ts +1 -1
  133. package/dist/dts/internal/core-subject.d.ts.map +1 -1
  134. package/dist/dts/internal/core.d.ts +3 -3
  135. package/dist/dts/internal/core.d.ts.map +1 -1
  136. package/dist/dts/internal/effect-operator.d.ts +2 -2
  137. package/dist/dts/internal/effect-operator.d.ts.map +1 -1
  138. package/dist/dts/internal/fx-effect-proto.d.ts +3 -3
  139. package/dist/dts/internal/fx-effect-proto.d.ts.map +1 -1
  140. package/dist/dts/internal/fx-primitive.d.ts +5 -5
  141. package/dist/dts/internal/fx-primitive.d.ts.map +1 -1
  142. package/dist/dts/internal/fx.d.ts +1 -1
  143. package/dist/dts/internal/fx.d.ts.map +1 -1
  144. package/dist/dts/internal/helpers.d.ts +2 -2
  145. package/dist/dts/internal/helpers.d.ts.map +1 -1
  146. package/dist/dts/internal/keyed.d.ts +2 -2
  147. package/dist/dts/internal/keyed.d.ts.map +1 -1
  148. package/dist/dts/internal/matchers.d.ts +4 -4
  149. package/dist/dts/internal/matchers.d.ts.map +1 -1
  150. package/dist/dts/internal/protos.d.ts +2 -2
  151. package/dist/dts/internal/protos.d.ts.map +1 -1
  152. package/dist/dts/internal/run.d.ts +2 -2
  153. package/dist/dts/internal/run.d.ts.map +1 -1
  154. package/dist/dts/internal/schema-ref-subject.d.ts +1 -1
  155. package/dist/dts/internal/schema-ref-subject.d.ts.map +1 -1
  156. package/dist/dts/internal/share.d.ts +3 -3
  157. package/dist/dts/internal/share.d.ts.map +1 -1
  158. package/dist/dts/internal/strategies.d.ts +1 -1
  159. package/dist/dts/internal/strategies.d.ts.map +1 -1
  160. package/dist/dts/internal/sync-operator.d.ts +1 -1
  161. package/dist/dts/internal/sync-operator.d.ts.map +1 -1
  162. package/dist/dts/internal/versioned-transform.d.ts +3 -3
  163. package/dist/dts/internal/versioned-transform.d.ts.map +1 -1
  164. package/dist/dts/internal/withKey.d.ts +2 -2
  165. package/dist/dts/internal/withKey.d.ts.map +1 -1
  166. package/dist/esm/Computed.js +8 -8
  167. package/dist/esm/Computed.js.map +1 -1
  168. package/dist/esm/Emitter.js +1 -1
  169. package/dist/esm/Emitter.js.map +1 -1
  170. package/dist/esm/Filtered.js +7 -7
  171. package/dist/esm/Filtered.js.map +1 -1
  172. package/dist/esm/Form.js +7 -7
  173. package/dist/esm/Form.js.map +1 -1
  174. package/dist/esm/FormEntry.js +6 -6
  175. package/dist/esm/FormEntry.js.map +1 -1
  176. package/dist/esm/Fx.js +11 -11
  177. package/dist/esm/Fx.js.map +1 -1
  178. package/dist/esm/Idle.js +3 -3
  179. package/dist/esm/Idle.js.map +1 -1
  180. package/dist/esm/Match.js +3 -3
  181. package/dist/esm/Match.js.map +1 -1
  182. package/dist/esm/Model.js +5 -5
  183. package/dist/esm/Model.js.map +1 -1
  184. package/dist/esm/RefArray.js +1 -1
  185. package/dist/esm/RefArray.js.map +1 -1
  186. package/dist/esm/RefAsyncData.js +4 -4
  187. package/dist/esm/RefAsyncData.js.map +1 -1
  188. package/dist/esm/RefAsyncDataArray.js +2 -2
  189. package/dist/esm/RefAsyncDataArray.js.map +1 -1
  190. package/dist/esm/RefBoolean.js +1 -1
  191. package/dist/esm/RefBoolean.js.map +1 -1
  192. package/dist/esm/RefChunk.js +1 -1
  193. package/dist/esm/RefChunk.js.map +1 -1
  194. package/dist/esm/RefHashMap.js +1 -1
  195. package/dist/esm/RefHashMap.js.map +1 -1
  196. package/dist/esm/RefHashSet.js +1 -1
  197. package/dist/esm/RefHashSet.js.map +1 -1
  198. package/dist/esm/RefNumber.js +1 -1
  199. package/dist/esm/RefNumber.js.map +1 -1
  200. package/dist/esm/RefSubject.js +9 -9
  201. package/dist/esm/RefSubject.js.map +1 -1
  202. package/dist/esm/Stream.js +2 -2
  203. package/dist/esm/Stream.js.map +1 -1
  204. package/dist/esm/Subject.js +4 -4
  205. package/dist/esm/Subject.js.map +1 -1
  206. package/dist/esm/TypeId.js +4 -4
  207. package/dist/esm/TypeId.js.map +1 -1
  208. package/dist/esm/Typeclass.js +2 -2
  209. package/dist/esm/Typeclass.js.map +1 -1
  210. package/dist/esm/Versioned.js +3 -3
  211. package/dist/esm/Versioned.js.map +1 -1
  212. package/dist/esm/index.js +9 -9
  213. package/dist/esm/index.js.map +1 -1
  214. package/dist/esm/internal/core-ref-subject.js +13 -13
  215. package/dist/esm/internal/core-ref-subject.js.map +1 -1
  216. package/dist/esm/internal/core-subject.js +3 -3
  217. package/dist/esm/internal/core-subject.js.map +1 -1
  218. package/dist/esm/internal/core.js +14 -14
  219. package/dist/esm/internal/core.js.map +1 -1
  220. package/dist/esm/internal/effect-operator.js +1 -1
  221. package/dist/esm/internal/effect-operator.js.map +1 -1
  222. package/dist/esm/internal/fx-effect-proto.js +2 -2
  223. package/dist/esm/internal/fx-effect-proto.js.map +1 -1
  224. package/dist/esm/internal/fx-primitive.js +3 -3
  225. package/dist/esm/internal/fx-primitive.js.map +1 -1
  226. package/dist/esm/internal/fx.js +5 -5
  227. package/dist/esm/internal/fx.js.map +1 -1
  228. package/dist/esm/internal/helpers.js +1 -1
  229. package/dist/esm/internal/helpers.js.map +1 -1
  230. package/dist/esm/internal/keyed.js +6 -6
  231. package/dist/esm/internal/keyed.js.map +1 -1
  232. package/dist/esm/internal/matchers.js +1 -1
  233. package/dist/esm/internal/matchers.js.map +1 -1
  234. package/dist/esm/internal/protos.js +1 -1
  235. package/dist/esm/internal/protos.js.map +1 -1
  236. package/dist/esm/internal/run.js +5 -5
  237. package/dist/esm/internal/run.js.map +1 -1
  238. package/dist/esm/internal/schema-ref-subject.js +4 -4
  239. package/dist/esm/internal/schema-ref-subject.js.map +1 -1
  240. package/dist/esm/internal/share.js +4 -4
  241. package/dist/esm/internal/share.js.map +1 -1
  242. package/dist/esm/internal/sync-operator.js +1 -1
  243. package/dist/esm/internal/sync-operator.js.map +1 -1
  244. package/dist/esm/internal/versioned-transform.js +2 -2
  245. package/dist/esm/internal/versioned-transform.js.map +1 -1
  246. package/dist/esm/internal/withKey.js +5 -5
  247. package/dist/esm/internal/withKey.js.map +1 -1
  248. package/package.json +3 -3
  249. package/src/Computed.ts +9 -9
  250. package/src/Emitter.ts +3 -3
  251. package/src/Filtered.ts +8 -8
  252. package/src/Form.ts +11 -11
  253. package/src/FormEntry.ts +8 -8
  254. package/src/Fx.ts +14 -14
  255. package/src/Idle.ts +3 -3
  256. package/src/Match.ts +4 -4
  257. package/src/Model.ts +8 -8
  258. package/src/Pull.ts +1 -1
  259. package/src/RefArray.ts +4 -4
  260. package/src/RefAsyncData.ts +6 -6
  261. package/src/RefAsyncDataArray.ts +3 -3
  262. package/src/RefBoolean.ts +2 -2
  263. package/src/RefChunk.ts +4 -4
  264. package/src/RefHashMap.ts +4 -4
  265. package/src/RefHashSet.ts +3 -3
  266. package/src/RefNumber.ts +2 -2
  267. package/src/RefSubject.ts +11 -11
  268. package/src/Stream.ts +2 -2
  269. package/src/Subject.ts +5 -5
  270. package/src/TypeId.ts +4 -4
  271. package/src/Typeclass.ts +3 -3
  272. package/src/Versioned.ts +4 -4
  273. package/src/index.ts +9 -9
  274. package/src/internal/core-ref-subject.ts +16 -16
  275. package/src/internal/core-subject.ts +6 -6
  276. package/src/internal/core.ts +15 -15
  277. package/src/internal/effect-operator.ts +2 -2
  278. package/src/internal/fx-effect-proto.ts +4 -4
  279. package/src/internal/fx-primitive.ts +5 -5
  280. package/src/internal/fx.ts +6 -6
  281. package/src/internal/helpers.ts +4 -4
  282. package/src/internal/keyed.ts +8 -8
  283. package/src/internal/matchers.ts +5 -5
  284. package/src/internal/protos.ts +2 -2
  285. package/src/internal/run.ts +6 -6
  286. package/src/internal/schema-ref-subject.ts +6 -6
  287. package/src/internal/share.ts +6 -6
  288. package/src/internal/strategies.ts +1 -1
  289. package/src/internal/sync-operator.ts +1 -1
  290. package/src/internal/versioned-transform.ts +4 -4
  291. package/src/internal/withKey.ts +6 -6
package/src/RefSubject.ts CHANGED
@@ -16,17 +16,17 @@ import { dual } from "effect/Function"
16
16
  import type * as Layer from "effect/Layer"
17
17
  import * as Option from "effect/Option"
18
18
  import type * as Scope from "effect/Scope"
19
- import { Computed, fromTag } from "./Computed"
20
- import { Filtered } from "./Filtered"
21
- import type * as Fx from "./Fx"
22
- import { fromStream, provide, skipRepeatsWith } from "./internal/core"
23
- import * as coreRefSubject from "./internal/core-ref-subject"
24
- import { exit, fromFxEffect } from "./internal/fx"
25
- import { FxEffectBase } from "./internal/protos"
26
- import { fromRefSubject, toRefSubject } from "./internal/schema-ref-subject"
27
- import type * as Subject from "./Subject"
28
- import { ComputedTypeId, RefSubjectTypeId } from "./TypeId"
29
- import * as Versioned from "./Versioned"
19
+ import { Computed, fromTag } from "./Computed.js"
20
+ import { Filtered } from "./Filtered.js"
21
+ import type * as Fx from "./Fx.js"
22
+ import * as coreRefSubject from "./internal/core-ref-subject.js"
23
+ import { fromStream, provide, skipRepeatsWith } from "./internal/core.js"
24
+ import { exit, fromFxEffect } from "./internal/fx.js"
25
+ import { FxEffectBase } from "./internal/protos.js"
26
+ import { fromRefSubject, toRefSubject } from "./internal/schema-ref-subject.js"
27
+ import type * as Subject from "./Subject.js"
28
+ import { ComputedTypeId, RefSubjectTypeId } from "./TypeId.js"
29
+ import * as Versioned from "./Versioned.js"
30
30
 
31
31
  /**
32
32
  * A RefSubject is a Subject that has a current value that can be read and updated.
package/src/Stream.ts CHANGED
@@ -11,8 +11,8 @@ import * as Option from "effect/Option"
11
11
  import * as Queue from "effect/Queue"
12
12
  import type * as Scope from "effect/Scope"
13
13
  import * as Stream from "effect/Stream"
14
- import * as Fx from "./Fx"
15
- import { Sink } from "./Sink"
14
+ import * as Fx from "./Fx.js"
15
+ import { Sink } from "./Sink.js"
16
16
 
17
17
  /**
18
18
  * Convert an Fx to a Stream
package/src/Subject.ts CHANGED
@@ -8,11 +8,11 @@ import * as C from "@typed/context"
8
8
  import type { Cause } from "effect/Cause"
9
9
  import * as Effect from "effect/Effect"
10
10
  import type * as Layer from "effect/Layer"
11
- import { type Fx, ToFx } from "./Fx"
12
- import { provide } from "./internal/core"
13
- import * as internal from "./internal/core-subject"
14
- import { fromFxEffect } from "./internal/fx"
15
- import type { WithContext } from "./Sink"
11
+ import { type Fx, ToFx } from "./Fx.js"
12
+ import * as internal from "./internal/core-subject.js"
13
+ import { provide } from "./internal/core.js"
14
+ import { fromFxEffect } from "./internal/fx.js"
15
+ import type { WithContext } from "./Sink.js"
16
16
 
17
17
  /**
18
18
  * A Subject is an Fx which is also a Sink, and can be used to
package/src/TypeId.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @since 1.18.0
3
3
  * @category symbols
4
4
  */
5
- export const TypeId = Symbol.for("./Fx")
5
+ export const TypeId = Symbol.for("./Fx.js")
6
6
 
7
7
  /**
8
8
  * @since 1.18.0
@@ -14,7 +14,7 @@ export type TypeId = typeof TypeId
14
14
  * @since 1.18.0
15
15
  * @category symbols
16
16
  */
17
- export const RefSubjectTypeId = Symbol.for("./RefSubject")
17
+ export const RefSubjectTypeId = Symbol.for("./RefSubject.js")
18
18
 
19
19
  /**
20
20
  * @since 1.18.0
@@ -26,7 +26,7 @@ export type RefSubjectTypeId = typeof RefSubjectTypeId
26
26
  * @since 1.18.0
27
27
  * @category symbols
28
28
  */
29
- export const ComputedTypeId = Symbol.for("./Computed")
29
+ export const ComputedTypeId = Symbol.for("./Computed.js")
30
30
 
31
31
  /**
32
32
  * @since 1.18.0
@@ -38,7 +38,7 @@ export type ComputedTypeId = typeof ComputedTypeId
38
38
  * @since 1.18.0
39
39
  * @category symbols
40
40
  */
41
- export const FilteredTypeId = Symbol.for("./Filtered")
41
+ export const FilteredTypeId = Symbol.for("./Filtered.js")
42
42
 
43
43
  /**
44
44
  * @since 1.18.0
package/src/Typeclass.ts CHANGED
@@ -23,10 +23,10 @@ import type { Either } from "effect/Either"
23
23
  import { dual } from "effect/Function"
24
24
  import type * as HKT from "effect/HKT"
25
25
  import { getLeft, getRight } from "effect/Option"
26
- import type { Fx } from "./Fx"
26
+ import type { Fx } from "./Fx.js"
27
27
 
28
- import * as core from "./internal/core"
29
- import { multicast } from "./internal/share"
28
+ import * as core from "./internal/core.js"
29
+ import { multicast } from "./internal/share.js"
30
30
 
31
31
  /**
32
32
  * TypeLambda for an Fx
package/src/Versioned.ts CHANGED
@@ -9,10 +9,10 @@ import type { Context, Layer, Runtime } from "effect"
9
9
  import { Effect, identity } from "effect"
10
10
  import { dual } from "effect/Function"
11
11
  import { sum } from "effect/Number"
12
- import type * as Fx from "./Fx"
13
- import * as core from "./internal/core"
14
- import * as fxEffectProto from "./internal/fx-effect-proto"
15
- import { VersionedTransform } from "./internal/versioned-transform"
12
+ import type * as Fx from "./Fx.js"
13
+ import * as core from "./internal/core.js"
14
+ import * as fxEffectProto from "./internal/fx-effect-proto.js"
15
+ import { VersionedTransform } from "./internal/versioned-transform.js"
16
16
 
17
17
  /**
18
18
  * A data type which is both an Fx and an Effect. This is a more advanced type, and is the basis
package/src/index.ts CHANGED
@@ -13,52 +13,52 @@
13
13
  * [Computed documentation](https://tylors.github.io/typed/fx/Computed.ts.html)
14
14
  * @since 1.18.0
15
15
  */
16
- export * as Computed from "./Computed"
16
+ export * as Computed from "./Computed.js"
17
17
 
18
18
  /**
19
19
  * [Filtered documentation](https://tylors.github.io/typed/fx/Filtered.ts.html)
20
20
  * @since 1.18.0
21
21
  */
22
- export * as Filtered from "./Filtered"
22
+ export * as Filtered from "./Filtered.js"
23
23
 
24
24
  /**
25
25
  * [Fx documentation](https://tylors.github.io/typed/fx/Fx.ts.html)
26
26
  * @since 1.18.0
27
27
  */
28
- export * from "./Fx"
28
+ export * from "./Fx.js"
29
29
 
30
30
  /**
31
31
  * [RefArray documentation](https://tylors.github.io/typed/fx/RefArray.ts.html)
32
32
  * @since 1.18.0
33
33
  */
34
- export * as RefArray from "./RefArray"
34
+ export * as RefArray from "./RefArray.js"
35
35
 
36
36
  /**
37
37
  * [RefSubject documentation](https://tylors.github.io/typed/fx/RefSubject.ts.html)
38
38
  * @since 1.18.0
39
39
  */
40
- export * as RefSubject from "./RefSubject"
40
+ export * as RefSubject from "./RefSubject.js"
41
41
 
42
42
  /**
43
43
  * [Sink documentation](https://tylors.github.io/typed/fx/Sink.ts.html)
44
44
  * @since 1.18.0
45
45
  */
46
- export * as Sink from "./Sink"
46
+ export * as Sink from "./Sink.js"
47
47
 
48
48
  /**
49
49
  * [Subject documentation](https://tylors.github.io/typed/fx/Subject.ts.html)
50
50
  * @since 1.18.0
51
51
  */
52
- export * as Subject from "./Subject"
52
+ export * as Subject from "./Subject.js"
53
53
 
54
54
  /**
55
55
  * [Typeclass documentation](https://tylors.github.io/typed/fx/Typeclass.ts.html)
56
56
  * @since 1.18.0
57
57
  */
58
- export * as Typeclass from "./Typeclass"
58
+ export * as Typeclass from "./Typeclass.js"
59
59
 
60
60
  /**
61
61
  * [TypeId documentation](https://tylors.github.io/typed/fx/TypeId.ts.html)
62
62
  * @since 1.18.0
63
63
  */
64
- export * from "./TypeId"
64
+ export * from "./TypeId.js"
@@ -10,22 +10,22 @@ import { sum } from "effect/Number"
10
10
  import * as Option from "effect/Option"
11
11
  import { getEquivalence } from "effect/ReadonlyArray"
12
12
  import type * as Scope from "effect/Scope"
13
- import { Computed } from "../Computed"
14
- import { Filtered } from "../Filtered"
15
- import type { Fx, FxInput } from "../Fx"
16
- import { type RefSubject } from "../RefSubject"
17
- import { Sink, WithContext } from "../Sink"
18
- import type * as Subject from "../Subject"
19
- import { ComputedTypeId, RefSubjectTypeId } from "../TypeId"
20
- import { transformFx } from "../Versioned"
21
- import * as core from "./core"
22
- import { makeHoldSubject } from "./core-subject"
23
- import { DeferredRef } from "./deferred-ref"
24
- import { fromFxEffect } from "./fx"
25
- import { matchFxInput } from "./matchers"
26
- import { FxEffectBase } from "./protos"
27
- import { run } from "./run"
28
- import { share } from "./share"
13
+ import { Computed } from "../Computed.js"
14
+ import { Filtered } from "../Filtered.js"
15
+ import type { Fx, FxInput } from "../Fx.js"
16
+ import { type RefSubject } from "../RefSubject.js"
17
+ import { Sink, WithContext } from "../Sink.js"
18
+ import type * as Subject from "../Subject.js"
19
+ import { ComputedTypeId, RefSubjectTypeId } from "../TypeId.js"
20
+ import { transformFx } from "../Versioned.js"
21
+ import { makeHoldSubject } from "./core-subject.js"
22
+ import * as core from "./core.js"
23
+ import { DeferredRef } from "./deferred-ref.js"
24
+ import { fromFxEffect } from "./fx.js"
25
+ import { matchFxInput } from "./matchers.js"
26
+ import { FxEffectBase } from "./protos.js"
27
+ import { run } from "./run.js"
28
+ import { share } from "./share.js"
29
29
 
30
30
  export class RefSubjectImpl<R, E, A> extends FxEffectBase<R, E, A, R, E, A> implements RefSubject<R, E, A> {
31
31
  readonly [RefSubjectTypeId]: RefSubjectTypeId = RefSubjectTypeId
@@ -4,12 +4,12 @@ import * as Exit from "effect/Exit"
4
4
  import * as MutableRef from "effect/MutableRef"
5
5
  import * as Option from "effect/Option"
6
6
  import * as Scope from "effect/Scope"
7
- import type { Fx } from "../Fx"
8
- import type { Sink } from "../Sink"
9
- import type { Subject } from "../Subject"
10
- import { fromSink } from "./core"
11
- import { ToFx } from "./fx-primitive"
12
- import { RingBuffer } from "./helpers"
7
+ import type { Fx } from "../Fx.js"
8
+ import type { Sink } from "../Sink.js"
9
+ import type { Subject } from "../Subject.js"
10
+ import { fromSink } from "./core.js"
11
+ import { ToFx } from "./fx-primitive.js"
12
+ import { RingBuffer } from "./helpers.js"
13
13
 
14
14
  export function makeSubject<E, A>(): Subject<never, E, A> {
15
15
  return new SubjectImpl<E, A>()
@@ -27,16 +27,16 @@ import {
27
27
  liftSyncOperator,
28
28
  MapEffect,
29
29
  TapEffect
30
- } from "./effect-operator"
31
- import * as helpers from "./helpers"
32
- import * as Provide from "./provide"
33
- import * as strategies from "./strategies"
34
- import { compileSyncReducer, Filter, FilterMap, Map } from "./sync-operator"
30
+ } from "./effect-operator.js"
31
+ import * as helpers from "./helpers.js"
32
+ import * as Provide from "./provide.js"
33
+ import * as strategies from "./strategies.js"
34
+ import { compileSyncReducer, Filter, FilterMap, Map } from "./sync-operator.js"
35
35
 
36
36
  import type { DurationInput } from "effect/Duration"
37
37
  import type { Equivalence } from "effect/Equivalence"
38
38
  import type { Runtime } from "effect/Runtime"
39
- import * as Emitter from "../Emitter"
39
+ import * as Emitter from "../Emitter.js"
40
40
  import type {
41
41
  FlattenStrategy,
42
42
  Fx,
@@ -45,10 +45,10 @@ import type {
45
45
  WithEarlyExitParams,
46
46
  WithFlattenStrategyParams,
47
47
  WithScopedForkParams
48
- } from "../Fx"
49
- import * as Sink from "../Sink"
50
- import { type Bounds, boundsFrom, mergeBounds } from "./bounds"
51
- import { type InternalEffect, matchEffectPrimitive } from "./effect-primitive"
48
+ } from "../Fx.js"
49
+ import * as Sink from "../Sink.js"
50
+ import { type Bounds, boundsFrom, mergeBounds } from "./bounds.js"
51
+ import { type InternalEffect, matchEffectPrimitive } from "./effect-primitive.js"
52
52
  import {
53
53
  Empty,
54
54
  Fail,
@@ -65,11 +65,11 @@ import {
65
65
  WithEarlyExit,
66
66
  WithFlattenStrategy,
67
67
  WithScopedFork
68
- } from "./fx-primitive"
69
- import { adjustTime } from "./helpers"
70
- import { matchFxInput } from "./matchers"
71
- import { OnceEffect } from "./protos"
72
- import { run } from "./run"
68
+ } from "./fx-primitive.js"
69
+ import { adjustTime } from "./helpers.js"
70
+ import { matchFxInput } from "./matchers.js"
71
+ import { OnceEffect } from "./protos.js"
72
+ import { run } from "./run.js"
73
73
 
74
74
  const constUnit = () => Effect.unit
75
75
 
@@ -1,8 +1,8 @@
1
1
  import * as Cause from "effect/Cause"
2
2
  import * as Effect from "effect/Effect"
3
3
  import * as Option from "effect/Option"
4
- import { WithContext } from "../Sink"
5
- import type { SyncOperator } from "./sync-operator"
4
+ import { WithContext } from "../Sink.js"
5
+ import type { SyncOperator } from "./sync-operator.js"
6
6
 
7
7
  // Effect operators are a subset of operators which can be safely fused together assynchronously
8
8
 
@@ -1,8 +1,8 @@
1
1
  import * as Effect from "effect/Effect"
2
- import type { Fx } from "../Fx"
3
- import type { Versioned } from "../Versioned"
4
- import { succeed } from "./core"
5
- import { FxEffectBase } from "./protos"
2
+ import type { Fx } from "../Fx.js"
3
+ import type { Versioned } from "../Versioned.js"
4
+ import { succeed } from "./core.js"
5
+ import { FxEffectBase } from "./protos.js"
6
6
 
7
7
  /**
8
8
  * Construct a Versioned type.
@@ -2,12 +2,12 @@ import type * as Cause from "effect/Cause"
2
2
  import type * as Effect from "effect/Effect"
3
3
  import type * as Scope from "effect/Scope"
4
4
 
5
- import type * as Sink from "../Sink"
6
- import { type EffectOperator, fuseEffectOperators, liftSyncOperator } from "./effect-operator"
7
- import * as syncOperator from "./sync-operator"
5
+ import type * as Sink from "../Sink.js"
6
+ import { type EffectOperator, fuseEffectOperators, liftSyncOperator } from "./effect-operator.js"
7
+ import * as syncOperator from "./sync-operator.js"
8
8
 
9
- import type { FlattenStrategy, Fx, FxFork, WithEarlyExitParams, WithScopedForkParams } from "../Fx"
10
- import { FxProto } from "./protos"
9
+ import type { FlattenStrategy, Fx, FxFork, WithEarlyExitParams, WithScopedForkParams } from "../Fx.js"
10
+ import { FxProto } from "./protos.js"
11
11
 
12
12
  export type Primitive =
13
13
  | Empty
@@ -22,12 +22,12 @@ import type * as Request from "effect/Request"
22
22
  import type { Scheduler } from "effect/Scheduler"
23
23
  import type * as Scope from "effect/Scope"
24
24
  import * as Tracer from "effect/Tracer"
25
- import type { Fx, FxInput } from "../Fx"
26
- import * as Sink from "../Sink"
27
- import * as Typeclass from "../Typeclass"
28
- import * as core from "./core"
29
- import { run } from "./run"
30
- import { multicast } from "./share"
25
+ import type { Fx, FxInput } from "../Fx.js"
26
+ import * as Sink from "../Sink.js"
27
+ import * as Typeclass from "../Typeclass.js"
28
+ import * as core from "./core.js"
29
+ import { run } from "./run.js"
30
+ import { multicast } from "./share.js"
31
31
 
32
32
  /**
33
33
  * Create an Fx which will emit a value after waiting for a specified duration.
@@ -9,10 +9,10 @@ import * as Ref from "effect/Ref"
9
9
  import * as Runtime from "effect/Runtime"
10
10
  import * as Scope from "effect/Scope"
11
11
  import * as SynchronizedRef from "effect/SynchronizedRef"
12
- import type { FlattenStrategy, FxFork, ScopedFork } from "../Fx"
13
- import type * as Sink from "../Sink"
14
- import type { InternalEffect } from "./effect-primitive"
15
- import { matchEffectPrimitive } from "./effect-primitive"
12
+ import type { FlattenStrategy, FxFork, ScopedFork } from "../Fx.js"
13
+ import type * as Sink from "../Sink.js"
14
+ import type { InternalEffect } from "./effect-primitive.js"
15
+ import { matchEffectPrimitive } from "./effect-primitive.js"
16
16
 
17
17
  export function withScopedFork<R, E, A>(
18
18
  f: (fork: ScopedFork, scope: Scope.Scope) => Effect.Effect<R, E, A>
@@ -6,14 +6,14 @@ import * as MutableHashMap from "effect/MutableHashMap"
6
6
  import * as Option from "effect/Option"
7
7
  import * as ReadonlyArray from "effect/ReadonlyArray"
8
8
  import * as Scope from "effect/Scope"
9
- import type * as Fx from "../Fx"
10
- import { fromEffect, type RefSubject } from "../RefSubject"
11
- import { WithContext } from "../Sink"
12
- import type { Subject } from "../Subject"
13
- import { from, skipRepeatsWith, withScopedFork } from "./core"
14
- import { makeHoldSubject } from "./core-subject"
15
- import { adjustTime } from "./helpers"
16
- import { run } from "./run"
9
+ import type * as Fx from "../Fx.js"
10
+ import { fromEffect, type RefSubject } from "../RefSubject.js"
11
+ import { WithContext } from "../Sink.js"
12
+ import type { Subject } from "../Subject.js"
13
+ import { makeHoldSubject } from "./core-subject.js"
14
+ import { from, skipRepeatsWith, withScopedFork } from "./core.js"
15
+ import { adjustTime } from "./helpers.js"
16
+ import { run } from "./run.js"
17
17
 
18
18
  export function keyed<R, E, A, B, R2, E2, C>(
19
19
  fx: Fx.Fx<R, E, ReadonlyArray<A>>,
@@ -1,12 +1,12 @@
1
1
  import * as Cause from "effect/Cause"
2
2
  import * as Effect from "effect/Effect"
3
- import * as TypeId from "../TypeId"
3
+ import * as TypeId from "../TypeId.js"
4
4
 
5
- import type * as Sink from "../Sink"
5
+ import type * as Sink from "../Sink.js"
6
6
 
7
- import type { Fx, FxInput } from "../Fx"
8
- import type { RefSubject } from "../RefSubject"
9
- import type * as Primitive from "./fx-primitive"
7
+ import type { Fx, FxInput } from "../Fx.js"
8
+ import type { RefSubject } from "../RefSubject.js"
9
+ import type * as Primitive from "./fx-primitive.js"
10
10
 
11
11
  export function matchFxPrimitive<B>(
12
12
  matchers: {
@@ -8,8 +8,8 @@ import { Effectable } from "effect"
8
8
  import * as Fiber from "effect/Fiber"
9
9
  import { NodeInspectSymbol } from "effect/Inspectable"
10
10
  import type { Inspectable } from "effect/Inspectable"
11
- import type { Fx, ToFx } from "../Fx"
12
- import { TypeId } from "../TypeId"
11
+ import type { Fx, ToFx } from "../Fx.js"
12
+ import { TypeId } from "../TypeId.js"
13
13
 
14
14
  export const Variance: Fx<any, any, any>[TypeId] = {
15
15
  _R: identity,
@@ -1,12 +1,12 @@
1
1
  import * as Effect from "effect/Effect"
2
2
 
3
- import * as Sink from "../Sink"
4
- import { compileCauseEffectOperatorSink, compileEffectOperatorSink } from "./effect-operator"
5
- import * as helpers from "./helpers"
6
- import { compileSyncOperatorFailureSink, compileSyncOperatorSink } from "./sync-operator"
3
+ import * as Sink from "../Sink.js"
4
+ import { compileCauseEffectOperatorSink, compileEffectOperatorSink } from "./effect-operator.js"
5
+ import * as helpers from "./helpers.js"
6
+ import { compileSyncOperatorFailureSink, compileSyncOperatorSink } from "./sync-operator.js"
7
7
 
8
- import type { Fx } from "../Fx"
9
- import { matchFxPrimitive } from "./matchers"
8
+ import type { Fx } from "../Fx.js"
9
+ import { matchFxPrimitive } from "./matchers.js"
10
10
 
11
11
  const constUnit = () => Effect.unit
12
12
 
@@ -5,12 +5,12 @@ import { Option } from "effect"
5
5
  import * as Effect from "effect/Effect"
6
6
  import type * as Equivalence from "effect/Equivalence"
7
7
  import type * as Scope from "effect/Scope"
8
- import type { Fx, FxInput } from "../Fx"
9
- import type { MakeRefSubject, RefSubject, ToRefSubject } from "../RefSubject"
10
- import { ComputedTypeId, FilteredTypeId, RefSubjectTypeId } from "../TypeId"
11
- import { map } from "./core"
12
- import { make, struct } from "./core-ref-subject"
13
- import { matchFxInput } from "./matchers"
8
+ import type { Fx, FxInput } from "../Fx.js"
9
+ import type { MakeRefSubject, RefSubject, ToRefSubject } from "../RefSubject.js"
10
+ import { ComputedTypeId, FilteredTypeId, RefSubjectTypeId } from "../TypeId.js"
11
+ import { make, struct } from "./core-ref-subject.js"
12
+ import { map } from "./core.js"
13
+ import { matchFxInput } from "./matchers.js"
14
14
 
15
15
  const makeSchema = <O>(
16
16
  f: <R, E>(
@@ -3,12 +3,12 @@ import * as Fiber from "effect/Fiber"
3
3
  import { dual } from "effect/Function"
4
4
  import * as MutableRef from "effect/MutableRef"
5
5
  import * as Option from "effect/Option"
6
- import type { Fx } from "../Fx"
7
- import type { Subject } from "../Subject"
8
- import { withScopedFork } from "./core"
9
- import { makeHoldSubject, makeReplaySubject, makeSubject } from "./core-subject"
10
- import { ToFx } from "./fx-primitive"
11
- import { run } from "./run"
6
+ import type { Fx } from "../Fx.js"
7
+ import type { Subject } from "../Subject.js"
8
+ import { makeHoldSubject, makeReplaySubject, makeSubject } from "./core-subject.js"
9
+ import { withScopedFork } from "./core.js"
10
+ import { ToFx } from "./fx-primitive.js"
11
+ import { run } from "./run.js"
12
12
 
13
13
  export function share<R, E, A, R2>(
14
14
  fx: Fx<R, E, A>,
@@ -1,4 +1,4 @@
1
- import type * as Fx from "../Fx"
1
+ import type * as Fx from "../Fx.js"
2
2
 
3
3
  export const Unbounded: Fx.Unbounded = { _tag: "Unbounded" }
4
4
 
@@ -1,6 +1,6 @@
1
1
  import * as Effect from "effect/Effect"
2
2
  import * as Option from "effect/Option"
3
- import { WithContext } from "../Sink"
3
+ import { WithContext } from "../Sink.js"
4
4
 
5
5
  // Sync operators are a subset of operators which can be safely fused together synchronously
6
6
 
@@ -1,9 +1,9 @@
1
1
  import * as Effect from "effect/Effect"
2
2
  import * as Option from "effect/Option"
3
- import type { Fx } from "../Fx"
4
- import type { Versioned } from "../Versioned"
5
- import { MulticastEffect } from "./helpers"
6
- import { FxEffectBase } from "./protos"
3
+ import type { Fx } from "../Fx.js"
4
+ import type { Versioned } from "../Versioned.js"
5
+ import { MulticastEffect } from "./helpers.js"
6
+ import { FxEffectBase } from "./protos.js"
7
7
 
8
8
  export class VersionedTransform<R0, E0, R, E, A, R2, E2, B, R3, E3, C, R4, E4, D>
9
9
  extends FxEffectBase<R3, E3, C, R0 | R4, E0 | E4, D>
@@ -3,12 +3,12 @@ import { equals } from "effect/Equal"
3
3
  import * as Fiber from "effect/Fiber"
4
4
  import * as Option from "effect/Option"
5
5
  import * as Scope from "effect/Scope"
6
- import type { Fx, FxInput } from "../Fx"
7
- import * as RefSubject from "../RefSubject"
8
- import * as Sink from "../Sink"
9
- import * as core from "./core"
10
- import { adjustTime } from "./helpers"
11
- import { run } from "./run"
6
+ import type { Fx, FxInput } from "../Fx.js"
7
+ import * as RefSubject from "../RefSubject.js"
8
+ import * as Sink from "../Sink.js"
9
+ import * as core from "./core.js"
10
+ import { adjustTime } from "./helpers.js"
11
+ import { run } from "./run.js"
12
12
 
13
13
  export function withKey<R, E, A, B, R2, E2, C>(
14
14
  fx: Fx<R, E, A>,