Closed moll closed 10 years ago
Sure will look into it.
I'm sorry, I created this issue in the wrong repository. It should've gone into https://github.com/cognitect/transit-js/. I got too trigger happy. Would you like me to recreate it there?
@moll yes please.
Hey,
One might end up with multiple instances of
Transit
under Node.js when multiple libraries require it. However, those instances may be given handlers serializing the same classes. The GUID there isn't really a GUID, but a counter, which will collide given this situation.Either make the it a true GUID to prevent this or rename the
com$cognitect$transit$ctor$guid
to contain something random and local to a particular Transit insttance.