- crosscode.event/1 and crosscode.event-feed/1 (feed, event.changed webhook), with session and registration rules; parseEventFeed skips and reports bad events instead of failing the whole feed. - crosscode.church/1: branding, campuses, service times, contact, links. - crosscode.identity/1: sign-in claims and the user.updated / user.deleted / user.export back-channel calls and replies. - Sign-in return helpers (isSafeReturnPath, encodeState/decodeState, isRegisteredRedirectUri) so every product returns people to the page they came from in the same safe way. - Hub protocol v2: product on register/heartbeat, stats per product, install public key, linked products, customerId/product in licences. - @crosscode/contracts/signing (Node only): the Hub's HMAC scheme. - Samples for every contract in samples/, checked by the tests (120). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
Changelog
Each package and app has its own section and its own tags (contracts@1.0.0, accounts@1.0.0, …).
Unreleased
Monorepo
- Set up: npm workspaces (
packages/*,apps/*), shared TypeScript, ESLint and Jest setup, andnpm run check(lint, typecheck, tests and build). packages/contracts: package set up with a dual CommonJS / ESM build (tsup) and the schema-name helpers every contract uses (crosscode.<name>/<major>).packages/ui,apps/accounts,apps/website,apps/app: placeholders.
Contracts (towards 1.0.0)
crosscode.event/1andcrosscode.event-feed/1: the event, the feed response and theevent.changedwebhook. Checks thatstartsAt/endsAtmatch the sessions and that only Cross Events takes registrations.parseEventFeedskips and reports a bad event instead of failing the whole feed;eventKeyis the cross-product id.crosscode.church/1: the church profile (branding, campuses, service times, contact, links).crosscode.identity/1: sign-in claims (no roles; 2FA method including the authenticator app, news consent, privacy notice version) and theuser.updated,user.deleted(with a "deferred" reply) anduser.exportback-channel calls.- Sign-in return:
isSafeReturnPath,safeReturnPath,encodeState/decodeStateandisRegisteredRedirectUri, so every product sends people back to the page they came from in the same safe way. - Hub protocol v2:
producton register and heartbeat, stats per product (Events as in v1; Website storage and App active-member bands for billing), the install's public key, linked products in the replies,customerId/productin the licence token. @crosscode/contracts/signing(Node only): the Hub's HMAC scheme for the Hub and product links.- Sample payloads for every contract in
samples/, checked by the tests.