effect 3.16.7 → 3.16.9

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.
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.setCurrentVersion = exports.getCurrentVersion = void 0;
7
- let moduleVersion = "3.16.7";
7
+ let moduleVersion = "3.16.9";
8
8
  const getCurrentVersion = () => moduleVersion;
9
9
  exports.getCurrentVersion = getCurrentVersion;
10
10
  const setCurrentVersion = version => {
@@ -15984,7 +15984,7 @@ export declare const filterOrFail: {
15984
15984
  * @since 2.0.0
15985
15985
  * @category Filtering
15986
15986
  */
15987
- <A, E2, B extends A>(refinement: Refinement<NoInfer<A>, B>, orFailWith: (a: EqualsWith<A, B, NoInfer<A>, Exclude<NoInfer<A>, B>>) => E2): <E, R>(self: Effect<A, E, R>) => Effect<B, E2 | E, R>;
15987
+ <A, E2, B extends A>(refinement: Refinement<NoInfer<A>, B>, orFailWith: (a: EqualsWith<A, B, NoInfer<A>, Exclude<NoInfer<A>, B>>) => E2): <E, R>(self: Effect<A, E, R>) => Effect<NoInfer<B>, E2 | E, R>;
15988
15988
  /**
15989
15989
  * Filters an effect, failing with a custom error if the predicate fails.
15990
15990
  *
@@ -16086,7 +16086,7 @@ export declare const filterOrFail: {
16086
16086
  * @since 2.0.0
16087
16087
  * @category Filtering
16088
16088
  */
16089
- <A, E, R, E2, B extends A>(self: Effect<A, E, R>, refinement: Refinement<A, B>, orFailWith: (a: EqualsWith<A, B, A, Exclude<A, B>>) => E2): Effect<B, E2 | E, R>;
16089
+ <A, E, R, E2, B extends A>(self: Effect<A, E, R>, refinement: Refinement<A, B>, orFailWith: (a: EqualsWith<A, B, A, Exclude<A, B>>) => E2): Effect<NoInfer<B>, E2 | E, R>;
16090
16090
  /**
16091
16091
  * Filters an effect, failing with a custom error if the predicate fails.
16092
16092
  *
@@ -16188,7 +16188,7 @@ export declare const filterOrFail: {
16188
16188
  * @since 2.0.0
16189
16189
  * @category Filtering
16190
16190
  */
16191
- <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): <E, R>(self: Effect<A, E, R>) => Effect<B, Cause.NoSuchElementException | E, R>;
16191
+ <A, B extends A>(refinement: Refinement<NoInfer<A>, B>): <E, R>(self: Effect<A, E, R>) => Effect<NoInfer<B>, Cause.NoSuchElementException | E, R>;
16192
16192
  /**
16193
16193
  * Filters an effect, failing with a custom error if the predicate fails.
16194
16194
  *
@@ -16290,7 +16290,7 @@ export declare const filterOrFail: {
16290
16290
  * @since 2.0.0
16291
16291
  * @category Filtering
16292
16292
  */
16293
- <A, E, R, B extends A>(self: Effect<A, E, R>, refinement: Refinement<A, B>): Effect<B, E | Cause.NoSuchElementException, R>;
16293
+ <A, E, R, B extends A>(self: Effect<A, E, R>, refinement: Refinement<A, B>): Effect<NoInfer<B>, E | Cause.NoSuchElementException, R>;
16294
16294
  /**
16295
16295
  * Filters an effect, failing with a custom error if the predicate fails.
16296
16296
  *