341794
mskr

@mskr #341794

Software engineer @ Frames.js
67 Follower 78 Following
JFS header doesn't contain `signer` but `key` property instead, also signature is just base64url encoded without the JSON.stringify step. Does it mean that https://github.com/farcasterxyz/protocol/discussions/208 is outdated?

I was validating https://github.com/farcasterxyz/frames-v2-demo/blob/2bd375b525bcfca8514ede78560dc2abe22d3dc8/src/app/.well-known/farcaster.json/route.ts#L5
Now just learn how to solder properly 😅
After long time I finally took care of double bass pedal chain and connecting rod joints…
Javascript tip: In order to get direct child of some element using querySelector()/querySelectorAll() API you can use element.querySelector(':scope > .selector').

:scope pseudo-class ensures that the selector is applied to current element.
Javascript tip: you can remove event listeners using AbortController

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal