nichoth

Results 35 comments of nichoth

Thanks you for the help. Today I worked on writing a test, however I never did get typescript to stop underlining things 😞 Someday I need to learn what I'm...

Thanks! I merged and made a very small update so that the TS compiler is happy -- https://github.com/nichoth/ts-ucan/blob/nichoth/hasCapability-test/tests/attenuation.test.ts#L213

Another update -- i wrote a few tests that are useful for me -- https://github.com/nichoth/ts-ucan/blob/nichoth/hasCapability-test/tests/attenuation.test.ts#L229 Remaining questions -- The `semantics` API -- how is `tryParsing` used? ```js const testSemantics =...

thanks @austinfrey . So it is used to create the keys for ssb and also `secret-handshake`

Although it looks like you do need to pass in something as config. I made an example repo showing how to use this -- https://github.com/nichoth/ss-example/blob/main/index.js#L29 -- and if you call...

Thank you for the pointer, but the `muxrpc` readme -- https://github.com/ssb-js/muxrpc#permissions -- has made things more complicated for me… it shows a helper function that takes an object like ```js...

Starting to answer my own questions β€” `'anonymous'` is a special key -- see here in the code: https://github.com/ssb-js/secret-stack/blob/76d1432ac2db60ac14fa986eed84910dacd45ea6/src/core.ts#L239

_unraveling the secret-stack_ The `connect` function calls `setupRPC`, which calls `Muxrpc` with `isClient` set to true. So whichever `secret-stack` calls `connect` on an address is the client, and if we...

Hey, I was wondering what the status is about this issue. If no one else is working on this, I might make a PR because this is something I would...

More ideas * [ ] `Tonic.getTagName(component)` β€” https://github.com/socketsupply/tonic/pull/94 and https://github.com/socketsupply/tonic/issues/91#issuecomment-1251848304