-191
src/lib/handlers/handshake.ts
-191
src/lib/handlers/handshake.ts
···-import { systemsGmstnDevelopmentChannelRecordSchema } from "@/lib/types/lexicon/systems.gmstn.development.channel";-"JWT authentication failed. Did you submit the right inter-service JWT to the right endpoint with the right signatures?",-`something went wrong fetching the record from the given backlink ${JSON.stringify(backlink)}`,-"Something went wrong when fetching backlink channel records. Check the Shard logs if possible.",-"One of the backlinks returned by Constellation did not resolve to a proper lexicon Channel record.",-// did of the backlink. if there are any channels described by unauthorised parties, simply drop them.-// we should resolve the full record or add something that can tell us where to find this shard.-// likely, we should simply resolve the described shard record, which we can technically do faaaaar earlier on in the request-// also incorrectly assumes that the storeAt rkey is a domain when it can in fact be anything.-"Channels provided during the handshake had a mismatch between the channel values. Ensure that you are only submitting exactly the channels you have access to.",
···
+232
src/lib/handlers/latticeHandshake.ts
+232
src/lib/handlers/latticeHandshake.ts
···
···+import { systemsGmstnDevelopmentChannelRecordSchema } from "@/lib/types/lexicon/systems.gmstn.development.channel";+import { systemsGmstnDevelopmentChannelInviteRecordSchema } from "@/lib/types/lexicon/systems.gmstn.development.channel.invite";+"JWT authentication failed. Did you submit the right inter-service JWT to the right endpoint with the right signatures?",+`something went wrong fetching the record from the given membership ${JSON.stringify(membership)}`,+"Something went wrong when fetching membership channel records. Check the Shard logs if possible.",+"Memberships resolved to invites, but the provided JWT's issuer does not match with the recipient DIDs of the invites. Please check the provided membership records.",+`something went wrong fetching the record from the given membership ${JSON.stringify(invite)}`,+"Something went wrong when fetching membership channel records. Check the Shard logs if possible.",+// did of the backlink. if there are any channels described by unauthorised parties, simply drop them.+// we should resolve the full record or add something that can tell us where to find this shard.+// likely, we should simply resolve the described shard record, which we can technically do faaaaar earlier on in the request+// also incorrectly assumes that the storeAt rkey is a domain when it can in fact be anything.+"Channels provided during the handshake had a mismatch between the channel values. Ensure that you are only submitting exactly the channels you have access to.",
+12
src/lib/types/lexicon/systems.gmstn.development.channel.invite.ts
+12
src/lib/types/lexicon/systems.gmstn.development.channel.invite.ts
···
···