Contracts 1.4.0: crosscode.link/1 and a public key in the v2 heartbeat
- crosscode.link/1 (link.connect / link.connected / link.disconnect), with signLink / verifyLink, PEM conversion, link secrets and nonces. - The v2 heartbeat can carry the install's publicKey; the reply says saved / matches / mismatch (Hub 2.2.0). Never a failed heartbeat. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,9 @@ import {
|
||||
eventFeedSchema,
|
||||
eventSchema,
|
||||
hub,
|
||||
linkConnectSchema,
|
||||
linkConnectedSchema,
|
||||
linkDisconnectSchema,
|
||||
identityClaimsSchema,
|
||||
userDeletedReplySchema,
|
||||
userExportReplySchema,
|
||||
@@ -36,6 +39,9 @@ const SCHEMAS: Record<string, z.ZodType> = {
|
||||
"hub-heartbeat-response.json": hub.heartbeatResponseSchema,
|
||||
"hub-licence-payload.json": hub.licencePayloadSchema,
|
||||
"church-export.json": churchExportSchema,
|
||||
"link-connect.json": linkConnectSchema,
|
||||
"link-connected.json": linkConnectedSchema,
|
||||
"link-disconnect.json": linkDisconnectSchema,
|
||||
};
|
||||
|
||||
describe("samples", () => {
|
||||
|
||||
Reference in New Issue
Block a user