-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] cross language compatible meta subject #372
Conversation
Yes, this is a bug in the javascript client, the proposed fix doesn't work because Buffer is only available in the node.js ecosystem. |
oh, indeed! https://deno.land/std/encoding/base64url.ts should work, I'll replace the Buffer and try it out as well. |
the solution has to work on a browser where std/encoding is not available. |
|
I'll put the above somewhere conventient |
BREAKING CHANGE
a765891
to
b4cd346
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@tothandras thanks for the contribution! |
I'm opening this PR mainly to open a discussion around language cross compatibility (with Go). This would be a breaking change.
https://github.com/nats-io/nats.go/blob/f4102422df7df83b2032318fd14a248c45f113e1/object.go#L442
also related: nats-io/nats.py#331 (review)