@confect/foldkit 10.0.0-next.19 → 10.0.0-next.20

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # @confect/foldkit
2
2
 
3
+ ## 10.0.0-next.20
4
+
3
5
  ## 10.0.0-next.19
4
6
 
5
7
  ### Minor Changes
package/README.md CHANGED
@@ -5,7 +5,9 @@ Confect is a framework that deeply integrates Effect with Convex. It's more than
5
5
  - Define your Convex database schema using Effect schemas.
6
6
  - Write Convex function args and returns validators using Effect's schema library.
7
7
  - Use Confect functions to automatically decode and encode your data according to your Effect schema definitions for end-to-end rich types, from client to function to database (and back).
8
- - Use Effect's HTTP API modules to define your HTTP API(s). Includes interactive OpenAPI documentation powered by [Scalar](https://github.com/scalar/scalar).
8
+ - Add reusable, type-safe middleware to function groups or individual functions to provide Effect services and run logic around handlers.
9
+ - Declare typed errors on functions and middleware using Effect schemas, then handle the decoded errors at every call site.
10
+ - Use Effect's native HTTP API modules to define your HTTP API.
9
11
  - Access Convex platform capabilities via Effect services.
10
12
 
11
13
  Want to learn more? Read the [docs](https://confect.dev)!
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@confect/foldkit",
3
3
  "description": "Client-side bindings for Foldkit apps",
4
- "version": "10.0.0-next.19",
4
+ "version": "10.0.0-next.20",
5
5
  "author": "RJ Dellecese",
6
6
  "bugs": {
7
7
  "url": "https://github.com/rjdellecese/confect/issues"
@@ -9,7 +9,7 @@
9
9
  "devDependencies": {
10
10
  "@effect/vitest": "4.0.0-rc.112",
11
11
  "@types/node": "22.20.1",
12
- "convex": "1.44.0",
12
+ "convex": "1.45.0",
13
13
  "effect": "4.0.0-rc.112",
14
14
  "foldkit": "0.148.1",
15
15
  "tsdown": "0.22.14",
@@ -52,8 +52,8 @@
52
52
  "peerDependencies": {
53
53
  "effect": "^4.0.0-rc.112",
54
54
  "foldkit": "^0.148.0",
55
- "@confect/core": "^10.0.0-next.19",
56
- "@confect/js": "^10.0.0-next.19"
55
+ "@confect/core": "^10.0.0-next.20",
56
+ "@confect/js": "^10.0.0-next.20"
57
57
  },
58
58
  "repository": {
59
59
  "type": "git",
@@ -1,16 +0,0 @@
1
- import { layer, WebSocketClient, WebSocketClientError } from "@confect/js/WebSocketClient";
2
- /**
3
- * The Confect WebSocket client, re-exported from `@confect/js` for use as a
4
- * Foldkit resource. Pass `layer(address)` to `Runtime.makeApplication`'s
5
- * `resources` so the client lives for the lifetime of the app and the socket
6
- * closes at teardown:
7
- *
8
- * ```ts
9
- * Runtime.makeApplication({
10
- * // ...
11
- * resources: WebSocketClient.layer(import.meta.env.VITE_CONVEX_URL),
12
- * })
13
- * ```
14
- */
15
- export { layer, WebSocketClient, WebSocketClientError };
16
- //# sourceMappingURL=WebSocketClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WebSocketClient.d.ts","sourceRoot":"","sources":["../src/WebSocketClient.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,eAAe,EACf,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AAErC;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,CAAC"}