@effect/atom-vue 4.0.0-rc.117 → 4.0.0

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 (35) hide show
  1. package/AGENTS.md +4 -4
  2. package/CLAUDE.md +4 -4
  3. package/README.md +15 -4
  4. package/ai-docs/package.json +1 -1
  5. package/ai-docs/src/01_effect/03_services/20_layer-composition.ts +1 -1
  6. package/ai-docs/src/01_effect/06_running/20_layer-launch.ts +1 -1
  7. package/ai-docs/src/03_stream/30_encoding.ts +1 -1
  8. package/ai-docs/src/08_observability/20_otlp-tracing.ts +2 -2
  9. package/ai-docs/src/08_observability/index.md +1 -1
  10. package/ai-docs/src/40_sql/10_basics.ts +2 -2
  11. package/ai-docs/src/40_sql/index.md +1 -1
  12. package/ai-docs/src/50_http-client/10_basics.ts +1 -1
  13. package/ai-docs/src/51_http-server/10_basics.ts +2 -2
  14. package/ai-docs/src/51_http-server/20_testing.ts +2 -2
  15. package/ai-docs/src/51_http-server/fixtures/api/Api.ts +1 -1
  16. package/ai-docs/src/51_http-server/fixtures/api/Authorization.ts +1 -1
  17. package/ai-docs/src/51_http-server/fixtures/api/System.ts +1 -1
  18. package/ai-docs/src/51_http-server/fixtures/api/Users.ts +1 -1
  19. package/ai-docs/src/51_http-server/fixtures/domain/User.ts +1 -1
  20. package/ai-docs/src/51_http-server/fixtures/server/Users/http.ts +1 -1
  21. package/ai-docs/src/51_http-server/fixtures/server/Users.ts +1 -1
  22. package/ai-docs/src/60_child-process/10_working-with-child-processes.ts +1 -1
  23. package/ai-docs/src/60_child-process/index.md +1 -1
  24. package/ai-docs/src/70_cli/10_basics.ts +1 -1
  25. package/ai-docs/src/70_cli/index.md +1 -1
  26. package/ai-docs/src/71_ai/10_language-model.ts +2 -2
  27. package/ai-docs/src/71_ai/20_tools.ts +2 -2
  28. package/ai-docs/src/71_ai/30_chat.ts +2 -2
  29. package/ai-docs/src/80_cluster/10_entities.ts +3 -3
  30. package/dist/index.d.ts +16 -10
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +13 -7
  33. package/dist/index.js.map +1 -1
  34. package/package.json +3 -3
  35. package/src/index.ts +16 -10
package/AGENTS.md CHANGED
@@ -302,7 +302,7 @@ Use it when your Effect programs need testable current time, safe parsing, stabl
302
302
 
303
303
  Effect has built-in support for structured logging, distributed tracing, and
304
304
  metrics. For exporting telemetry, use the lightweight Otlp modules from
305
- `effect/unstable/observability` in new projects, or use
305
+ `effect/observability` in new projects, or use
306
306
  `@effect/opentelemetry` NodeSdk when integrating with an existing OpenTelemetry
307
307
  setup.
308
308
 
@@ -344,7 +344,7 @@ if (Predicate.isObject(thing)) {
344
344
 
345
345
  ## Working with SQL databases
346
346
 
347
- Use the `effect/unstable/sql` modules together with a driver package such as
347
+ Use the `effect/sql` modules together with a driver package such as
348
348
  `@effect/sql-sqlite-node` to access SQL databases. Define domain models with
349
349
  `Model.Class` to derive schemas for the database and JSON boundaries, run
350
350
  migrations, and write type-safe queries.
@@ -372,13 +372,13 @@ Build http clients with the `HttpClient` module.
372
372
 
373
373
  ## Working with child processes
374
374
 
375
- Use the `effect/unstable/process` modules to define child processes and run them with `ChildProcessSpawner`.
375
+ Use the `effect/process` modules to define child processes and run them with `ChildProcessSpawner`.
376
376
 
377
377
  - **[Working with child processes](./ai-docs/src/60_child-process/10_working-with-child-processes.ts)**: This example shows how to collect process output, compose pipelines, and stream long-running command output.
378
378
 
379
379
  ## Building CLI applications
380
380
 
381
- Use the "effect/unstable/cli" modules to build CLI applications. These modules
381
+ Use the "effect/cli" modules to build CLI applications. These modules
382
382
  provide utilities for parsing command-line arguments, handling user input, and
383
383
  managing the flow of a CLI application.
384
384
 
package/CLAUDE.md CHANGED
@@ -302,7 +302,7 @@ Use it when your Effect programs need testable current time, safe parsing, stabl
302
302
 
303
303
  Effect has built-in support for structured logging, distributed tracing, and
304
304
  metrics. For exporting telemetry, use the lightweight Otlp modules from
305
- `effect/unstable/observability` in new projects, or use
305
+ `effect/observability` in new projects, or use
306
306
  `@effect/opentelemetry` NodeSdk when integrating with an existing OpenTelemetry
307
307
  setup.
308
308
 
@@ -344,7 +344,7 @@ if (Predicate.isObject(thing)) {
344
344
 
345
345
  ## Working with SQL databases
346
346
 
347
- Use the `effect/unstable/sql` modules together with a driver package such as
347
+ Use the `effect/sql` modules together with a driver package such as
348
348
  `@effect/sql-sqlite-node` to access SQL databases. Define domain models with
349
349
  `Model.Class` to derive schemas for the database and JSON boundaries, run
350
350
  migrations, and write type-safe queries.
@@ -372,13 +372,13 @@ Build http clients with the `HttpClient` module.
372
372
 
373
373
  ## Working with child processes
374
374
 
375
- Use the `effect/unstable/process` modules to define child processes and run them with `ChildProcessSpawner`.
375
+ Use the `effect/process` modules to define child processes and run them with `ChildProcessSpawner`.
376
376
 
377
377
  - **[Working with child processes](./ai-docs/src/60_child-process/10_working-with-child-processes.ts)**: This example shows how to collect process output, compose pipelines, and stream long-running command output.
378
378
 
379
379
  ## Building CLI applications
380
380
 
381
- Use the "effect/unstable/cli" modules to build CLI applications. These modules
381
+ Use the "effect/cli" modules to build CLI applications. These modules
382
382
  provide utilities for parsing command-line arguments, handling user input, and
383
383
  managing the flow of a CLI application.
384
384
 
package/README.md CHANGED
@@ -5,10 +5,21 @@
5
5
  ## Installation
6
6
 
7
7
  ```sh
8
- npm install effect@rc @effect/atom-vue@rc
8
+ npm install effect @effect/atom-vue
9
9
  ```
10
10
 
11
- ## Documentation
11
+ ## Links
12
12
 
13
- - [Effect website](https://effect.website)
14
- - [API reference](https://effect.website/docs/v4/api/atom-vue)
13
+ - [Website](https://effect.website): documentation, guides, and news.
14
+ - [Reference](https://effect.website/docs/v4/api/atom-vue): API documentation for this package.
15
+ - [Discord](https://discord.gg/effect-ts): ask questions, share what you're building, and talk to the core team.
16
+ - [Community](https://effect.website/community-hub): meetups and events, or bring Effect to your own.
17
+ - [Issues](https://github.com/Effect-TS/effect/issues): bug reports and feature requests.
18
+
19
+ ## Let's talk
20
+
21
+ Whether your team is considering Effect, rolling it out, or already running it in production, we'd love to hear from you: what you're building, what works, and what you need from Effect next.
22
+
23
+ - **Talk to the maintainers.** Introduce your team on [Discord](https://discord.gg/effect-ts) or email [contact@effectful.co](mailto:contact@effectful.co). We're happy to connect privately on Slack or Discord for feedback and help with adoption.
24
+ - **Production support.** We're exploring how to better support teams running Effect in production. If your organization has specific support needs, let's discuss them.
25
+ - **Adoption help.** Our [adoption partners](https://effect.website/adoption-partners) offer implementation, consulting, team extension, training, and commercial support.
@@ -27,7 +27,7 @@
27
27
  "@effect/sql-sqlite-wasm": "workspace:*",
28
28
  "@effect/vitest": "workspace:*",
29
29
  "effect": "workspace:*",
30
- "hono": "^4.13.8",
30
+ "hono": "^4.13.9",
31
31
  "nodemailer": "^10.0.10"
32
32
  },
33
33
  "devDependencies": {
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { PgClient } from "@effect/sql-pg"
9
9
  import { Array, Config, Context, Effect, Layer, type Option, Schema } from "effect"
10
- import { SqlClient, SqlError } from "effect/unstable/sql"
10
+ import { SqlClient, SqlError } from "effect/sql"
11
11
 
12
12
  // Define a layer for the SqlClient service
13
13
  export const SqlClientLayer: Layer.Layer<
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { NodeHttpServer, NodeRuntime } from "@effect/platform-node"
7
7
  import { Effect, Layer } from "effect"
8
- import { HttpRouter, HttpServerResponse } from "effect/unstable/http"
8
+ import { HttpRouter, HttpServerResponse } from "effect/http"
9
9
  import { createServer } from "node:http"
10
10
 
11
11
  // Build a tiny HTTP app with a health-check endpoint.
@@ -5,7 +5,7 @@
5
5
  * decode and encode streams of structured data.
6
6
  */
7
7
  import { DateTime, Schema, Stream } from "effect"
8
- import { Ndjson, SchemaBinary } from "effect/unstable/encoding"
8
+ import { Ndjson, SchemaBinary } from "effect/encoding"
9
9
 
10
10
  // SchemaBinary derives a framed binary decoder directly from a schema.
11
11
  export const schemaBinaryDecoder = SchemaBinary.decode(Schema.Struct({
@@ -5,8 +5,8 @@
5
5
  */
6
6
  import { NodeRuntime } from "@effect/platform-node"
7
7
  import { Context, Effect, Layer } from "effect"
8
- import { FetchHttpClient } from "effect/unstable/http"
9
- import { OtlpLogger, OtlpSerialization, OtlpTracer } from "effect/unstable/observability"
8
+ import { FetchHttpClient } from "effect/http"
9
+ import { OtlpLogger, OtlpSerialization, OtlpTracer } from "effect/observability"
10
10
 
11
11
  // Configure OTLP span export.
12
12
  export const OtlpTracingLayer = OtlpTracer.layer({
@@ -2,6 +2,6 @@
2
2
 
3
3
  Effect has built-in support for structured logging, distributed tracing, and
4
4
  metrics. For exporting telemetry, use the lightweight Otlp modules from
5
- `effect/unstable/observability` in new projects, or use
5
+ `effect/observability` in new projects, or use
6
6
  `@effect/opentelemetry` NodeSdk when integrating with an existing OpenTelemetry
7
7
  setup.
@@ -7,8 +7,8 @@
7
7
  import { NodeRuntime } from "@effect/platform-node"
8
8
  import { SqliteClient, SqliteMigrator } from "@effect/sql-sqlite-node"
9
9
  import { Context, Effect, Layer, Schema } from "effect"
10
- import { Model } from "effect/unstable/schema"
11
- import { SqlClient, SqlModel, SqlSchema } from "effect/unstable/sql"
10
+ import { Model } from "effect/schema"
11
+ import { SqlClient, SqlModel, SqlSchema } from "effect/sql"
12
12
 
13
13
  // Use a branded string for the group id, so it cannot be mixed up with other
14
14
  // string ids in the application.
@@ -1,6 +1,6 @@
1
1
  ## Working with SQL databases
2
2
 
3
- Use the `effect/unstable/sql` modules together with a driver package such as
3
+ Use the `effect/sql` modules together with a driver package such as
4
4
  `@effect/sql-sqlite-node` to access SQL databases. Define domain models with
5
5
  `Model.Class` to derive schemas for the database and JSON boundaries, run
6
6
  migrations, and write type-safe queries.
@@ -4,7 +4,7 @@
4
4
  * Define a service that uses the HttpClient module to fetch data from an external API
5
5
  */
6
6
  import { Context, Effect, flow, Layer, Schedule, Schema } from "effect"
7
- import { FetchHttpClient, HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http"
7
+ import { FetchHttpClient, HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http"
8
8
 
9
9
  class Todo extends Schema.Class<Todo>("Todo")({
10
10
  userId: Schema.Int,
@@ -6,8 +6,8 @@
6
6
  */
7
7
  import { NodeHttpServer, NodeRuntime } from "@effect/platform-node"
8
8
  import { Context, Effect, flow, Layer, Schedule } from "effect"
9
- import { FetchHttpClient, HttpClient, HttpClientRequest, HttpRouter, HttpServer } from "effect/unstable/http"
10
- import { HttpApiBuilder, HttpApiClient, HttpApiMiddleware, HttpApiScalar } from "effect/unstable/httpapi"
9
+ import { FetchHttpClient, HttpClient, HttpClientRequest, HttpRouter, HttpServer } from "effect/http"
10
+ import { HttpApiBuilder, HttpApiClient, HttpApiMiddleware, HttpApiScalar } from "effect/http-api"
11
11
  import { createServer } from "node:http"
12
12
  // Api definitions should **always** be seperate from the server implementation,
13
13
  // so that they can be shared between the server and client without leaking
@@ -6,8 +6,8 @@
6
6
  */
7
7
  import { assert, layer } from "@effect/vitest"
8
8
  import { Effect, Layer } from "effect"
9
- import { HttpClientRequest, HttpServer } from "effect/unstable/http"
10
- import { HttpApiMiddleware, HttpApiTest } from "effect/unstable/httpapi"
9
+ import { HttpClientRequest, HttpServer } from "effect/http"
10
+ import { HttpApiMiddleware, HttpApiTest } from "effect/http-api"
11
11
  import { Api } from "./fixtures/api/Api.ts"
12
12
  import { Authorization } from "./fixtures/api/Authorization.ts"
13
13
  import { UserId } from "./fixtures/domain/User.ts"
@@ -1,4 +1,4 @@
1
- import { HttpApi, OpenApi } from "effect/unstable/httpapi"
1
+ import { HttpApi, OpenApi } from "effect/http-api"
2
2
  import { SystemApi } from "./System.ts"
3
3
  import { UsersApiGroup } from "./Users.ts"
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { Context, Schema } from "effect"
2
- import { HttpApiMiddleware, HttpApiSecurity } from "effect/unstable/httpapi"
2
+ import { HttpApiMiddleware, HttpApiSecurity } from "effect/http-api"
3
3
  import type { User } from "../domain/User.ts"
4
4
 
5
5
  export class CurrentUser extends Context.Service<CurrentUser, User>()("acme/HttpApi/Authorization/CurrentUser") {}
@@ -1,4 +1,4 @@
1
- import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/unstable/httpapi"
1
+ import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api"
2
2
 
3
3
  // Top level groups are added to the root of the derived HttpApiClient.
4
4
  //
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect"
2
- import { HttpApiEndpoint, HttpApiError, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/unstable/httpapi"
2
+ import { HttpApiEndpoint, HttpApiError, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api"
3
3
  import { User, UserId } from "../domain/User.ts"
4
4
  import { SearchQueryTooShort, UserNotFound } from "../domain/UserErrors.ts"
5
5
  import { Authorization } from "./Authorization.ts"
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect"
2
- import { Model } from "effect/unstable/schema"
2
+ import { Model } from "effect/schema"
3
3
 
4
4
  export const UserId = Schema.String.pipe(Schema.brand("UserId"))
5
5
  export type UserId = typeof UserId.Type
@@ -1,5 +1,5 @@
1
1
  import { Effect, Layer } from "effect"
2
- import { HttpApiBuilder, HttpApiError } from "effect/unstable/httpapi"
2
+ import { HttpApiBuilder, HttpApiError } from "effect/http-api"
3
3
  import { Api } from "../../api/Api.ts"
4
4
  import { CurrentUser } from "../../api/Authorization.ts"
5
5
  import { AuthorizationLayer } from "../Authorization.ts"
@@ -1,6 +1,6 @@
1
1
  import { SqliteClient, SqliteMigrator } from "@effect/sql-sqlite-node"
2
2
  import { Context, Effect, Layer, Schema } from "effect"
3
- import { SqlClient, SqlModel, SqlSchema } from "effect/unstable/sql"
3
+ import { SqlClient, SqlModel, SqlSchema } from "effect/sql"
4
4
  import { User } from "../domain/User.ts"
5
5
  import type { UserId } from "../domain/User.ts"
6
6
  import { SearchQueryTooShort, UserNotFound, UsersError } from "../domain/UserErrors.ts"
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { NodeServices } from "@effect/platform-node"
7
7
  import { Console, Context, Effect, Layer, Schema, Stream, String } from "effect"
8
- import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"
8
+ import { ChildProcess, ChildProcessSpawner } from "effect/process"
9
9
 
10
10
  export class DevToolsError extends Schema.TaggedError<DevToolsError>()("DevToolsError", {
11
11
  cause: Schema.Defect()
@@ -1,3 +1,3 @@
1
1
  ## Working with child processes
2
2
 
3
- Use the `effect/unstable/process` modules to define child processes and run them with `ChildProcessSpawner`.
3
+ Use the `effect/process` modules to define child processes and run them with `ChildProcessSpawner`.
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import { NodeRuntime, NodeServices } from "@effect/platform-node"
8
8
  import { Console, Effect, Option, Schema } from "effect"
9
- import { Argument, Command, Flag } from "effect/unstable/cli"
9
+ import { Argument, Command, Flag } from "effect/cli"
10
10
 
11
11
  // You can define flags outside of commands and reuse them across multiple
12
12
  // commands.
@@ -1,5 +1,5 @@
1
1
  ## Building CLI applications
2
2
 
3
- Use the "effect/unstable/cli" modules to build CLI applications. These modules
3
+ Use the "effect/cli" modules to build CLI applications. These modules
4
4
  provide utilities for parsing command-line arguments, handling user input, and
5
5
  managing the flow of a CLI application.
@@ -7,8 +7,8 @@
7
7
  import { AnthropicClient, AnthropicLanguageModel } from "@effect/ai-anthropic"
8
8
  import { OpenAiClient, OpenAiLanguageModel } from "@effect/ai-openai"
9
9
  import { Config, Context, Effect, ExecutionPlan, Layer, Schema, Stream } from "effect"
10
- import { AiError, LanguageModel, Model, type Response } from "effect/unstable/ai"
11
- import { FetchHttpClient } from "effect/unstable/http"
10
+ import { AiError, LanguageModel, Model, type Response } from "effect/ai"
11
+ import { FetchHttpClient } from "effect/http"
12
12
  import { LaunchPlan } from "./fixtures/domain/LaunchPlan.ts"
13
13
 
14
14
  // You can use Config to create ai clients
@@ -6,8 +6,8 @@
6
6
  */
7
7
  import { OpenAiClient, OpenAiLanguageModel, OpenAiTool } from "@effect/ai-openai"
8
8
  import { Config, Context, Effect, Layer, Schema } from "effect"
9
- import { AiError, LanguageModel, Tool, Toolkit } from "effect/unstable/ai"
10
- import { FetchHttpClient } from "effect/unstable/http"
9
+ import { AiError, LanguageModel, Tool, Toolkit } from "effect/ai"
10
+ import { FetchHttpClient } from "effect/http"
11
11
 
12
12
  // ---------------------------------------------------------------------------
13
13
  // 1. Defining tools
@@ -6,8 +6,8 @@
6
6
  */
7
7
  import { OpenAiClient, OpenAiLanguageModel } from "@effect/ai-openai"
8
8
  import { Config, Context, DateTime, Effect, Layer, Ref, Schema } from "effect"
9
- import { AiError, Chat, Prompt, Tool, Toolkit } from "effect/unstable/ai"
10
- import { FetchHttpClient } from "effect/unstable/http"
9
+ import { AiError, Chat, Prompt, Tool, Toolkit } from "effect/ai"
10
+ import { FetchHttpClient } from "effect/http"
11
11
 
12
12
  // ---------------------------------------------------------------------------
13
13
  // Provider setup
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import { NodeClusterSocket, NodeRuntime } from "@effect/platform-node"
7
7
  import { Effect, Layer, Ref, Schema } from "effect"
8
- import { ClusterSchema, Entity, TestRunner } from "effect/unstable/cluster"
9
- import { Rpc } from "effect/unstable/rpc"
10
- import type { SqlClient } from "effect/unstable/sql"
8
+ import { ClusterSchema, Entity, TestRunner } from "effect/cluster"
9
+ import { Rpc } from "effect/rpc"
10
+ import type { SqlClient } from "effect/sql"
11
11
 
12
12
  export const Increment = Rpc.make("Increment", {
13
13
  payload: { amount: Schema.Int },
package/dist/index.d.ts CHANGED
@@ -1,39 +1,45 @@
1
1
  import * as Exit from "effect/Exit";
2
- import type * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
3
- import type * as Atom from "effect/unstable/reactivity/Atom";
4
- import type * as AtomRef from "effect/unstable/reactivity/AtomRef";
5
- import * as AtomRegistry from "effect/unstable/reactivity/AtomRegistry";
2
+ import type * as AsyncResult from "effect/reactivity/AsyncResult";
3
+ import type * as Atom from "effect/reactivity/Atom";
4
+ import type * as AtomRef from "effect/reactivity/AtomRef";
5
+ import * as AtomRegistry from "effect/reactivity/AtomRegistry";
6
6
  import { type InjectionKey, type Ref } from "vue";
7
7
  /**
8
+ * @stability unstable
8
9
  * @since 4.0.0
9
10
  * @category re-exports
10
11
  */
11
- export * as AtomRegistry from "effect/unstable/reactivity/AtomRegistry";
12
+ export * as AtomRegistry from "effect/reactivity/AtomRegistry";
12
13
  /**
14
+ * @stability unstable
13
15
  * @since 4.0.0
14
16
  * @category re-exports
15
17
  */
16
- export * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
18
+ export * as AsyncResult from "effect/reactivity/AsyncResult";
17
19
  /**
20
+ * @stability unstable
18
21
  * @since 4.0.0
19
22
  * @category re-exports
20
23
  */
21
- export * as Atom from "effect/unstable/reactivity/Atom";
24
+ export * as Atom from "effect/reactivity/Atom";
22
25
  /**
26
+ * @stability unstable
23
27
  * @since 4.0.0
24
28
  * @category re-exports
25
29
  */
26
- export * as AtomRef from "effect/unstable/reactivity/AtomRef";
30
+ export * as AtomRef from "effect/reactivity/AtomRef";
27
31
  /**
32
+ * @stability unstable
28
33
  * @since 4.0.0
29
34
  * @category re-exports
30
35
  */
31
- export * as AtomHttpApi from "effect/unstable/reactivity/AtomHttpApi";
36
+ export * as AtomHttpApi from "effect/reactivity/AtomHttpApi";
32
37
  /**
38
+ * @stability unstable
33
39
  * @since 4.0.0
34
40
  * @category re-exports
35
41
  */
36
- export * as AtomRpc from "effect/unstable/reactivity/AtomRpc";
42
+ export * as AtomRpc from "effect/reactivity/AtomRpc";
37
43
  /**
38
44
  * @since 4.0.0
39
45
  * @category symbols
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,IAAI,MAAM,aAAa,CAAA;AACnC,OAAO,KAAK,KAAK,WAAW,MAAM,wCAAwC,CAAA;AAC1E,OAAO,KAAK,KAAK,IAAI,MAAM,iCAA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U,GAAI,CAAC,WAAW,MAAM,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,KAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAWpF,CAAA"}
package/dist/index.js CHANGED
@@ -4,38 +4,44 @@
4
4
  import * as Cause from "effect/Cause";
5
5
  import * as Effect from "effect/Effect";
6
6
  import * as Exit from "effect/Exit";
7
- import * as AtomRegistry from "effect/unstable/reactivity/AtomRegistry";
7
+ import * as AtomRegistry from "effect/reactivity/AtomRegistry";
8
8
  import { computed, inject, shallowRef, watchEffect } from "vue";
9
9
  /**
10
+ * @stability unstable
10
11
  * @since 4.0.0
11
12
  * @category re-exports
12
13
  */
13
- export * as AtomRegistry from "effect/unstable/reactivity/AtomRegistry";
14
+ export * as AtomRegistry from "effect/reactivity/AtomRegistry";
14
15
  /**
16
+ * @stability unstable
15
17
  * @since 4.0.0
16
18
  * @category re-exports
17
19
  */
18
- export * as AsyncResult from "effect/unstable/reactivity/AsyncResult";
20
+ export * as AsyncResult from "effect/reactivity/AsyncResult";
19
21
  /**
22
+ * @stability unstable
20
23
  * @since 4.0.0
21
24
  * @category re-exports
22
25
  */
23
- export * as Atom from "effect/unstable/reactivity/Atom";
26
+ export * as Atom from "effect/reactivity/Atom";
24
27
  /**
28
+ * @stability unstable
25
29
  * @since 4.0.0
26
30
  * @category re-exports
27
31
  */
28
- export * as AtomRef from "effect/unstable/reactivity/AtomRef";
32
+ export * as AtomRef from "effect/reactivity/AtomRef";
29
33
  /**
34
+ * @stability unstable
30
35
  * @since 4.0.0
31
36
  * @category re-exports
32
37
  */
33
- export * as AtomHttpApi from "effect/unstable/reactivity/AtomHttpApi";
38
+ export * as AtomHttpApi from "effect/reactivity/AtomHttpApi";
34
39
  /**
40
+ * @stability unstable
35
41
  * @since 4.0.0
36
42
  * @category re-exports
37
43
  */
38
- export * as AtomRpc from "effect/unstable/reactivity/AtomRpc";
44
+ export * as AtomRpc from "effect/reactivity/AtomRpc";
39
45
  /**
40
46
  * @since 4.0.0
41
47
  * @category symbols
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,OAAO,KAAK,KAAK,MAAM,cAAc;AACrC,OAAO,KAAK,MAAM,MAAM,eAAe;AACvC,OAAO,KAAK,IAAI,MAAM,aAAa;AAInC,OAAO,KAAK,YAAY,MAAM,yCAAyC;AACvE,SAAS,QAAQ,EAAoB,MAAM,EAA+B,UAAU,EAAE,WAAW,QAAQ,KAAK;AAE9G;;;;AAIA,OAAO,KAAK,YAAY,MAAM,yCAAyC;AAEvE;;;;AAIA,OAAO,KAAK,WAAW,MAAM,wCAAwC;AAErE;;;;AAIA,OAAO,KAAK,IAAI,MAAM,iCAAiC;AAEvD;;;;AAIA,OAAO,KAAK,OAAO,MAAM,oCAAoC;AAE7D;;;;AAIA,OAAO,KAAK,WAAW,MAAM,wCAAwC;AAErE;;;;AAIA,OAAO,KAAK,OAAO,MAAM,oCAAoC;AAE7D;;;;AAIA,OAAO,MAAM,WAAW,gBAAG,MAAM,CAAC,GAAG,CAAC,8BAA8B,CAA4C;AAEhH;;;;AAIA,OAAO,MAAM,eAAe,gBAA8B,YAAY,CAAC,IAAI,EAAE;AAE7E;;;;AAIA,OAAO,MAAM,cAAc,GAAG,MAAgC;EAC5D,OAAO,MAAM,CAAC,WAAW,EAAE,eAAe,CAAC;AAC7C,CAAC;AAED,MAAM,eAAe,GAA8B,IAAa,IAAI;EAClE,MAAM,QAAQ,GAAG,cAAc,EAAE;EACjC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC;EAC9B,MAAM,KAAK,GAAG,UAAU,CAAC,SAAqB,CAAC;EAC/C,WAAW,CAAE,SAAS,IAAI;IACxB,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,EAAG,SAAuB,IAAI;MACtE,KAAK,CAAC,KAAK,GAAG,SAAS;IACzB,CAA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AiB0C;EAE3C,MAAM,QAAQ,GAAG,cAAc,EAAE;EACjC,MAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC;EAC9B,WAAW,CAAE,SAAS,IAAI;IACxB,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;EAC1C,CAAC,CAAC;EACF,OAAO,OAAO,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC;AAC5C,CAAC;AAED;;;;AAIA,OAAO,MAAM,UAAU,GAAO,OAAqC,IAAsB;EACvF,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC;EACpC,MAAM,KAAK,GAAG,UAAU,CAAI,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;EACnD,WAAW,CAAE,SAAS,IAAI;IACxB,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK;IAC5B,SAAS,CAAC,GAAG,CAAC,SAAS,CAAE,IAAO,IAAI;MAClC,KAAK,CAAC,KAAK,GAAG,IAAI;IACpB,CAAC,CAAC,CAAC;IACH,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK;EACzB,CAAC,CAAC;EACF,OAAO,KAAyB;AAClC,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/atom-vue",
3
- "version": "4.0.0-rc.117",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Vue bindings for the Effect Atom modules",
@@ -48,11 +48,11 @@
48
48
  },
49
49
  "devDependencies": {
50
50
  "vue": "^3.5.43",
51
- "effect": "^4.0.0-rc.117"
51
+ "effect": "^4.0.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "vue": ">=3.5.39 <4.0.0",
55
- "effect": "^4.0.0-rc.117"
55
+ "effect": "^4.0.0"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsc -b tsconfig.json && pnpm babel",
package/src/index.ts CHANGED
@@ -4,47 +4,53 @@
4
4
  import * as Cause from "effect/Cause"
5
5
  import * as Effect from "effect/Effect"
6
6
  import * as Exit from "effect/Exit"
7
- import type * as AsyncResult from "effect/unstable/reactivity/AsyncResult"
8
- import type * as Atom from "effect/unstable/reactivity/Atom"
9
- import type * as AtomRef from "effect/unstable/reactivity/AtomRef"
10
- import * as AtomRegistry from "effect/unstable/reactivity/AtomRegistry"
7
+ import type * as AsyncResult from "effect/reactivity/AsyncResult"
8
+ import type * as Atom from "effect/reactivity/Atom"
9
+ import type * as AtomRef from "effect/reactivity/AtomRef"
10
+ import * as AtomRegistry from "effect/reactivity/AtomRegistry"
11
11
  import { computed, type ComputedRef, inject, type InjectionKey, type Ref, shallowRef, watchEffect } from "vue"
12
12
 
13
13
  /**
14
+ * @stability unstable
14
15
  * @since 4.0.0
15
16
  * @category re-exports
16
17
  */
17
- export * as AtomRegistry from "effect/unstable/reactivity/AtomRegistry"
18
+ export * as AtomRegistry from "effect/reactivity/AtomRegistry"
18
19
 
19
20
  /**
21
+ * @stability unstable
20
22
  * @since 4.0.0
21
23
  * @category re-exports
22
24
  */
23
- export * as AsyncResult from "effect/unstable/reactivity/AsyncResult"
25
+ export * as AsyncResult from "effect/reactivity/AsyncResult"
24
26
 
25
27
  /**
28
+ * @stability unstable
26
29
  * @since 4.0.0
27
30
  * @category re-exports
28
31
  */
29
- export * as Atom from "effect/unstable/reactivity/Atom"
32
+ export * as Atom from "effect/reactivity/Atom"
30
33
 
31
34
  /**
35
+ * @stability unstable
32
36
  * @since 4.0.0
33
37
  * @category re-exports
34
38
  */
35
- export * as AtomRef from "effect/unstable/reactivity/AtomRef"
39
+ export * as AtomRef from "effect/reactivity/AtomRef"
36
40
 
37
41
  /**
42
+ * @stability unstable
38
43
  * @since 4.0.0
39
44
  * @category re-exports
40
45
  */
41
- export * as AtomHttpApi from "effect/unstable/reactivity/AtomHttpApi"
46
+ export * as AtomHttpApi from "effect/reactivity/AtomHttpApi"
42
47
 
43
48
  /**
49
+ * @stability unstable
44
50
  * @since 4.0.0
45
51
  * @category re-exports
46
52
  */
47
- export * as AtomRpc from "effect/unstable/reactivity/AtomRpc"
53
+ export * as AtomRpc from "effect/reactivity/AtomRpc"
48
54
 
49
55
  /**
50
56
  * @since 4.0.0