-43
src/index.old.ts
-43
src/index.old.ts
···
···
+3
-3
src/lib/state.ts
+3
-3
src/lib/state.ts
······
······
+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.",
+10
src/lib/types/handshake.ts
+10
src/lib/types/handshake.ts
···
+7
src/lib/utils/crypto.ts
+7
src/lib/utils/crypto.ts
+14
src/lib/utils/verifyJwt.ts
+14
src/lib/utils/verifyJwt.ts
···
···
-30
src/routes/testing/route.ts
-30
src/routes/testing/route.ts
···
···
+19
src/lib/types/lexicon/systems.gmstn.development.channel.membership.ts
+19
src/lib/types/lexicon/systems.gmstn.development.channel.membership.ts
···
···
+8
-2
src/lib/utils/atproto.ts
+8
-2
src/lib/utils/atproto.ts
···
···
+2
-2
src/lib/utils/constellation.ts
+2
-2
src/lib/utils/constellation.ts
······
······
+12
src/lib/types/lexicon/systems.gmstn.development.channel.invite.ts
+12
src/lib/types/lexicon/systems.gmstn.development.channel.invite.ts
···
···
+5
src/server/index.ts
+5
src/server/index.ts
······
+12
-1
src/lib/types/routes.ts
+12
-1
src/lib/types/routes.ts
·········
·········
+7
src/routes/connect/route.ts
+7
src/routes/connect/route.ts
+1
-1
src/lib/utils/registration.ts
+1
-1
src/lib/utils/registration.ts
···
···
-11
src/lib/utils/ws/index.ts
-11
src/lib/utils/ws/index.ts
···
···
+45
src/lib/utils/ws/validate.ts
+45
src/lib/utils/ws/validate.ts
···
···
+4
-4
src/lib/sessions.ts
+4
-4
src/lib/sessions.ts
······
······
+44
-2
src/lib/handlers/connect.ts
+44
-2
src/lib/handlers/connect.ts
······
······
+54
src/lib/listeners/shard-history.ts
+54
src/lib/listeners/shard-history.ts
···
···
+40
-1
src/lib/utils/gmstn.ts
+40
-1
src/lib/utils/gmstn.ts
·········
·········+"Could find session info object in map, but socket could not be retrieved from map. Race condition?",
+9
src/lib/handlers/getOwnerDid.ts
+9
src/lib/handlers/getOwnerDid.ts
···
···
+5
src/routes/index.ts
+5
src/routes/index.ts
···
···+import { systemsGmstnDevelopmentShardGetOwnerRoute } from "@/routes/xrpc/systems.gmstn.development.lattice.getOwner/route";
+10
src/routes/xrpc/_health/route.ts
+10
src/routes/xrpc/_health/route.ts
+7
src/routes/xrpc/systems.gmstn.development.lattice.getOwner/route.ts
+7
src/routes/xrpc/systems.gmstn.development.lattice.getOwner/route.ts
+1
.gitignore
+1
.gitignore
+1
-1
src/index.ts
+1
-1
src/index.ts
+4
-1
src/lib/utils/handshake.ts
+4
-1
src/lib/utils/handshake.ts
···
···
+1
-1
src/lib/env.ts
+1
-1
src/lib/env.ts
···+export const SERVICE_DID = serviceDidParsed ?? `did:web:localhost%3A${SERVER_PORT.toString()}`;