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

update getSessionKey #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update getSessionKey #12

wants to merge 1 commit into from

Conversation

halilcakar
Copy link

Hi this PR is about updating getSessionKey

From npm log's i saw that creating a new Buffer is deprecating, instead we should use, Buffer.alloc(), Buffer.from() functions. I updated those and also,

when we use unserialize() function it was always giving us a part of sessionID, i updated that to

line -> 25
decoded.toString() + decoder.final().toString()
now give's you all ID,

Please give it a try :)

@halilcakar
Copy link
Author

I think this will also resolve #11 problem too But i didn't get why Merging is blocked ❓

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

Successfully merging this pull request may close these issues.

1 participant