holepunchto / pear

combined Peer-to-Peer (P2P) Runtime, Development & Deployment tool
https://docs.pears.com/
Apache License 2.0
96 stars 9 forks source link

How to define new Aliases? #220

Open Delapro opened 1 month ago

Delapro commented 1 month ago

Browsing through the source code I came to this line:

https://github.com/holepunchto/pear/blob/b176263126e7b4ac64cef78621eb68171a369899/constants.js#L39-L42

Is this really the place where Aliases are defined? Or is there any other way? Maybe some central registry :-), well I meant a hypercore?

Is there documentation which describes how to get hold of a new alias?

davidmarkclements commented 1 month ago

@Delapro aliases aren't a public feature yet, but they are coming