-
Notifications
You must be signed in to change notification settings - Fork 463
eosjs-ecc version bump to include ripemdhash updates #589
Conversation
@Trevor-Ultra Please update the eosjs package.json version so I can use this PR (and I'll merge it immediately), or I'll use the other PR I just created. I'd rather merge your contribution if you've got the time to make this change; I just need the eosjs package.json updated to 20.0.1 |
@GreenBusDriver Ready to go. 👍 |
Hi, i used eosjs with the follow version with electron , ("eosjs": "^16.0.9", "eosjs-ecc": "^4.0.7",), and when i try to get the signData when i send the 'newaccount' action , a error "Digest method not supported" was throwed. What should i do, if the fix already been fixed as you mentioned in #576 "#589 Fixed the SignatureProvider issue that some people are finding. We've forked the eosio and eosjs-ecc library for the temporary fix. EOSJS just needs a version bump for eosjs-ecc and the problem should be resolved."
|
Hi, GreenBusDriver, could you also merge this fix for Digest method issue (update eosjs.ecc from 4.0.4 to 4.0.7) to v16.0.9, and also publish a npm package? Because V20.0 has lot's of difference from V16.0.9. |
I've found this is because of Fcbuffer.tobuffer will use the [email protected] which depend [email protected]. So if there's a version include the ecc update after v16.0.9, that will help a lot. |
16.x is obsolete; we do not update it ever. |
hi, tbfleming, is there's any example how to get rawTransaction with [email protected] offline like use Fcbuffer way with [email protected]? |
The transact method has several options to controll what it does. |
yes, i just want to get the raw transaction with any node_url. const signatureProvider = new JsSignatureProvider(privateKeys); let transaction = But what i got is the url is needed. { TypeError: fetching abi for eosio.token: Only absolute URLs are supported |
eosjs 20 needs to fetch abis from a node to know how to serialize actions. |
yes, so could you help to tell me how to provided a fetch which contain the abi ? I just saw the code below at eosjs-api.test.ts, but what if i only have the abi json, and how to write it in js?
|
These questions aren't about the original issue. |
Change Description
Fixes #576
eosjs-ecc just got a branch merged that fixes ripemd hashing when using the signature provider with applications such as electron. This patch resolves issues while using the signature provider; and bumps the version to 4.0.7 of eosjs-ecc.
This new version of eosjs-ecc includes changes from the last 4 months. The old version excludes these changes and uses a version of eosjs-ecc from a year ago.
API Changes
Documentation Additions