decentralised message store

refactor: remove expect error

we are using the right schema now

serenity fef7220f d1ebd0f6

Changed files
-2
src
lib
handlers
-2
src/lib/handlers/handshake.ts
···
const { storeAt: storeAtRecord, routeThrough: routeThroughRecord } =
channel;
-
// @ts-expect-error atcute's schema shape gives an unknown when it should give string. will probably swap to a different library eventually.
const storeAtRecordParseResult = stringToAtUri(storeAtRecord.uri);
if (!storeAtRecordParseResult.ok) {
mismatchOrIncorrect = true;
···
}
const routeThroughRecordParseResult = stringToAtUri(
-
// @ts-expect-error atcute's schema shape gives an unknown when it should give string. will probably swap to a different library eventually.
routeThroughRecord.uri,
);
if (!routeThroughRecordParseResult.ok) {