@krak-stack/auth 0.2.17 → 0.2.18

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 (42) hide show
  1. package/README.md +34 -0
  2. package/dist/admin/api.group.d.ts +1 -1
  3. package/dist/admin/api.group.js +1 -1
  4. package/dist/api.d.ts +143 -143
  5. package/dist/api.js +1 -1
  6. package/dist/auth/api.group.d.ts +1 -1
  7. package/dist/auth/api.group.js +1 -1
  8. package/dist/auth/schema.js +1 -1
  9. package/dist/components/admin-organization-form.js +1 -1
  10. package/dist/components/admin-organizations.js +1 -1
  11. package/dist/components/admin-users.js +1 -1
  12. package/dist/components/associated-projects-notice.js +1 -1
  13. package/dist/components/auth-atoms.d.ts +1 -1
  14. package/dist/components/auth-atoms.js +1 -1
  15. package/dist/components/auth-client-api.d.ts +99 -99
  16. package/dist/components/auth-client-api.js +3 -3
  17. package/dist/components/auth-forms.js +2 -2
  18. package/dist/components/auth-provider.d.ts +1 -1
  19. package/dist/components/auth-provider.js +2 -2
  20. package/dist/components/member-required.js +1 -1
  21. package/dist/components/organization-switcher.js +1 -1
  22. package/dist/components/user-button.js +1 -1
  23. package/dist/config.js +2 -2
  24. package/dist/extra/api.group.d.ts +3 -3
  25. package/dist/extra/api.group.js +2 -2
  26. package/dist/extra/schema.d.ts +2 -2
  27. package/dist/extra/schema.js +2 -2
  28. package/dist/query.js +2 -2
  29. package/dist/server/actor.d.ts +1 -1
  30. package/dist/server/actor.js +1 -1
  31. package/dist/server/api.group.d.ts +1 -1
  32. package/dist/server/api.group.js +2 -2
  33. package/dist/server/middleware.d.ts +2 -2
  34. package/dist/server/middleware.js +2 -2
  35. package/dist/server/proxy.d.ts +2 -2
  36. package/dist/server/proxy.js +1 -1
  37. package/dist/service.d.ts +141 -141
  38. package/dist/service.js +3 -3
  39. package/package.json +6 -5
  40. package/patches/@lucas-barake%2Feffect-form-react@0.26.0-beta.5.patch +66 -0
  41. package/patches/@lucas-barake%2Feffect-form@0.25.0-beta.6.patch +86 -0
  42. package/patches/README.md +31 -0
package/README.md CHANGED
@@ -8,6 +8,40 @@ Typed Effect contracts, server authentication middleware, project authorization
8
8
  bun add @krak-stack/auth effect
9
9
  ```
10
10
 
11
+ ### Temporary Effect form patches
12
+
13
+ React consumers of this interim release must patch both published form betas for
14
+ stable Effect 4. The patches are bundled with Auth but are **not applied
15
+ automatically** to a consuming application.
16
+
17
+ ```sh
18
+ mkdir -p patches
19
+ cp node_modules/@krak-stack/auth/patches/*.patch patches/
20
+ ```
21
+
22
+ Merge these fields into the application's workspace-root `package.json`,
23
+ preserving existing overrides and patches, then run `bun install`:
24
+
25
+ ```json
26
+ {
27
+ "overrides": {
28
+ "@lucas-barake/effect-form": "0.25.0-beta.6",
29
+ "@lucas-barake/effect-form-react": "0.26.0-beta.5"
30
+ },
31
+ "patchedDependencies": {
32
+ "@lucas-barake/effect-form@0.25.0-beta.6": "patches/@lucas-barake%2Feffect-form@0.25.0-beta.6.patch",
33
+ "@lucas-barake/effect-form-react@0.26.0-beta.5": "patches/@lucas-barake%2Feffect-form-react@0.26.0-beta.5.patch"
34
+ }
35
+ }
36
+ ```
37
+
38
+ Commit the patches, manifest, and lockfile together. Other package managers need
39
+ equivalent patch configuration. Server-only imports do not load the form
40
+ libraries. See the bundled `patches/README.md` for provenance and cleanup after
41
+ [upstream release PR #111](https://github.com/lucas-barake/effect-form/pull/111).
42
+
43
+ ### Entry points
44
+
11
45
  Choose a narrow package subpath for the runtime boundary:
12
46
 
13
47
  | Entry point | Purpose |
@@ -1,4 +1,4 @@
1
- import { HttpApiEndpoint, HttpApiError, HttpApiGroup } from "effect/unstable/httpapi";
1
+ import { HttpApiEndpoint, HttpApiError, HttpApiGroup } from "effect/http-api";
2
2
  import { Schema } from "effect";
3
3
  export * from "./schema.js";
4
4
  export declare const AdminApiGroup: HttpApiGroup.HttpApiGroup<"admin", HttpApiEndpoint.HttpApiEndpoint<"createDomain", "POST", "/admin/domains", never, never, Schema.toCodecJson<Schema.Struct<{
@@ -1,4 +1,4 @@
1
- import { HttpApiEndpoint, HttpApiError, HttpApiGroup, OpenApi, } from "effect/unstable/httpapi";
1
+ import { HttpApiEndpoint, HttpApiError, HttpApiGroup, OpenApi, } from "effect/http-api";
2
2
  import { Schema } from "effect";
3
3
  import { AdminCreateOrganizationPayload, AdminApiKey, AdminApiKeyIdParams, AdminListQuery, AdminOrganization, AdminOrganizationIdParams, AdminUpdateApiKeyPayload, AdminUpdateOrganizationPayload, DashboardStatsQuery, DashboardStatsResponse, PaginatedAdminOrganizations, PaginatedAdminUsers, ServerCreateDomainPayload, ServerDomain, ServerDomainIdParams, ServerDomainRecordsResponse, ServerUpdateDomainPayload, } from "./schema.js";
4
4
  export * from "./schema.js";