Closed Vicente015 closed 1 month ago
@sgwilym okay I think I found the cause of the error, this is also happening on Nodejs
The latest earthstar published version is using willow-utils@1.0.0 but using meadowcap@0.6.3 that uses willow-utils@2.0.0 so in this.grantedIdentity = grantedArea.includedSubspaceId === ANY_SUBSPACE
it is comparing different symbols because the grantedArea.includedSubspaceId
is from a different willow-utils version
So this should be fixed if you release a new version with the updated dependencies :)
Thank you for catching and diagnosing this! I have release 11.0.0-beta.5 with updated deps, please let me know if that resolves your issue.
The issue is fixed! thank you :smiley:
What's the problem you want solved?
Hey, I'm having some problems when I try to mint a new cap for a recently created share (not communal), these errors seems to be related with the
ANY_SUBSPACE
symbol.I'm using the latest earthstar version with: RuntimeDriverUniversal and StorageDriverIndexedDB.
I'm having the following error:
I tried doing some debugging on the browser and I found the following: The error happens because
encodeIdentityTag
onidentity.ts:86
is being called even whengrantedArea.includedSubspaceId === ANY_SUBSPACE
for some reason symbol comparison is not working?, thenencodeCinn25519PublicKeyDisplay
oncinn25519.ts:176
is called and becausepublicKey.underlying
is undefined it produces an errorI tried to recreate the issue on Deno and it looks like this just happens on browser
Is there a solution you'd like to recommend?