effect-app 2.18.0 → 2.19.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/CHANGELOG.md +12 -0
- package/dist/Effect.d.ts +2 -2
- package/dist/client/apiClient.d.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
package/dist/Effect.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function tupleTap<A, B, R, E, C>(f: (b: B) => (a: A) => Effect.Ef
|
|
|
35
35
|
* taps the Effect, returning A.
|
|
36
36
|
*/
|
|
37
37
|
export declare function tupleTap_<A, B, R, E, C>(f: (a: A, b: B) => Effect.Effect<C, E, R>): (t: readonly [A, B]) => Effect.Effect<A, E, R>;
|
|
38
|
-
export declare function ifDiffR<I, R, E, A>(f: (i: I) => Effect.Effect<A, E, R>): (n: I, orig: I) => Effect.Effect<
|
|
39
|
-
export declare function ifDiff_<I, R, E, A>(n: I, orig: I, f: (i: I) => Effect.Effect<A, E, R>): Effect.Effect<
|
|
38
|
+
export declare function ifDiffR<I, R, E, A>(f: (i: I) => Effect.Effect<A, E, R>): (n: I, orig: I) => Effect.Effect<void, never, never> | Effect.Effect<A, E, R>;
|
|
39
|
+
export declare function ifDiff_<I, R, E, A>(n: I, orig: I, f: (i: I) => Effect.Effect<A, E, R>): Effect.Effect<void, never, never> | Effect.Effect<A, E, R>;
|
|
40
40
|
export declare function ifDiff<I, R, E, A>(n: I, orig: I): (f: (i: I) => Effect.Effect<A, E, R>) => Effect.Effect<void, never, never> | Effect.Effect<A, E, R>;
|
|
41
41
|
/**
|
|
42
42
|
* @tsplus static effect/io/Deferred.Ops await
|
|
@@ -65,7 +65,7 @@ declare const ApiClient_base: (abstract new (service: {
|
|
|
65
65
|
} : import("./clientFor.js").RequestHandlerWithInput<Omit<Schema.Schema.Type<Omit<M, "meta">[K]>, typeof Schema.symbolSerializable | typeof Schema.symbolWithResult | "_tag" | typeof import("effect/Request").RequestTypeId>, Schema.Schema.Type<Omit<M, "meta">[K]["success"]>, Schema.Schema.Type<Omit<M, "meta">[K]["failure"]>, never, Omit<M, "meta">[K]> & {
|
|
66
66
|
raw: import("./clientFor.js").RequestHandlerWithInput<Omit<Schema.Schema.Type<Omit<M, "meta">[K]>, typeof Schema.symbolSerializable | typeof Schema.symbolWithResult | "_tag" | typeof import("effect/Request").RequestTypeId>, Schema.Schema.Encoded<Omit<M, "meta">[K]["success"]>, Schema.Schema.Type<Omit<M, "meta">[K]["failure"]>, never, Omit<M, "meta">[K]>;
|
|
67
67
|
}; } : never;
|
|
68
|
-
}) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E,
|
|
68
|
+
}) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, R | ApiClient> : Effect.Effect<X, never, ApiClient>;
|
|
69
69
|
};
|
|
70
70
|
export declare class ApiClient extends ApiClient_base {
|
|
71
71
|
static readonly layer: (apiConfig: ApiConfig) => Layer.Layer<ApiClient, never, HttpClient.HttpClient<import("@effect/platform/HttpClientError").HttpClientError, import("effect/Scope").Scope>>;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "effect-app",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@effect/rpc": "^0.
|
|
8
|
-
"@effect/rpc-http": "^0.
|
|
7
|
+
"@effect/rpc": "^0.45.2",
|
|
8
|
+
"@effect/rpc-http": "^0.43.2",
|
|
9
9
|
"@tsconfig/strictest": "^2.0.5",
|
|
10
10
|
"date-fns": "^4.1.0",
|
|
11
11
|
"nanoid": "^5.0.9",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@babel/cli": "^7.25.9",
|
|
21
21
|
"@faker-js/faker": "^8.4.1",
|
|
22
|
-
"@types/node": "~22.10.
|
|
22
|
+
"@types/node": "~22.10.1",
|
|
23
23
|
"@types/uuid": "^10.0.0",
|
|
24
24
|
"@types/validator": "^13.12.2",
|
|
25
25
|
"fast-check": "~3.23.1",
|
|
26
26
|
"typescript": "^5.7.2",
|
|
27
|
-
"vitest": "^2.1.
|
|
27
|
+
"vitest": "^2.1.8"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@effect/platform": "^0.
|
|
31
|
-
"effect": "^3.
|
|
30
|
+
"@effect/platform": "^0.70.2",
|
|
31
|
+
"effect": "^3.11.2"
|
|
32
32
|
},
|
|
33
33
|
"typesVersions": {
|
|
34
34
|
"*": {
|