steem.memo Not present in the steem.min.js (Client-Side)

in #utopian-io6 years ago (edited)

Contribution to SteemIt.com - reporting a bug regarding steem-js

Github Respository: http://github.com/steemit/steem-js/

I was trying to use the steem.memo as exposed in the source code:

https://github.com/steemit/steem-js/blob/master/src/index.js

But it is not present in steem.min.js

Expected Behavior

The steem.memo should be present in you use it in the browsers via steem.min.js.

Actual Behavior

The steem.memo is only present in NodeJs (server side) but not Client-Side via steem.min.js.

How to produce

Create a HTML file:

<script src='https://cdn.steemjs.com/lib/latest/steem.min.js'></script>
<script>
console.log(steem.memo);
</script>

Or simply visit: https://steemyy.com/steem-memo-test.html

If you press F12 in Chrome, it will print undefined:

At the console, if you type in steem. you can clearly see memo is missing..

Conclusion

It will be great if this can be fixed. As steem.memo.decode() is a useful function in decoding the wallet message using the memo key.

Sort:  

Your contribution has been evaluated according to Utopian rules and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post,Click here


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

I just found this

https://helloacm.com/tools/steemit/

thank you witness, very much that you have given for the development of steemit, greetings from in Indonesia, :)

Thank you for your support.

Thank you master, have responded well, how can i contact you, what have discord..?

yes, i am on discord and also steem.chat

thank you master, as soon as possible, i will contact you. :)

@justyy thx for the small contribution. I see you mention you are a curator....would appreciate a moment to take a look at my most recent article. thx a ton

Hey @justyy
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Did anyone find a fix for this - It's stopping me from decoding memos!

Oh great, ok - so I'd need to grab the master and host it locally? Have you done that already?

Coin Marketplace

STEEM 0.15
TRX 0.17
JST 0.028
BTC 68641.27
ETH 2457.35
USDT 1.00
SBD 2.33