Skip to content
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

Problem when variableMapSize is true and keyMap is used #81

Open
victormsc opened this issue Aug 16, 2023 · 1 comment
Open

Problem when variableMapSize is true and keyMap is used #81

victormsc opened this issue Aug 16, 2023 · 1 comment

Comments

@victormsc
Copy link

When variableMapSize is true and keyMap is used, the function writeObject of the Encoder class throws an exception

Uncaught ReferenceError: encodeKey is not defined

I think that the line

encode(encodeKey(keys[i]))

should be

encode(encoder.encodeKey(keys[i]))

Is this correct?

Thank you

@kriszyp
Copy link
Owner

kriszyp commented Aug 16, 2023

Should be fixed in v1.5.4. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants