EOSIO / eosjs-ecc

Elliptic curve cryptography functions: Private Key, Public Key, Signature, AES, Encryption, Decryption
287 stars 119 forks source link

'@types/eosjs-ecc@latest' is not in the npm registry. #62

Open bkawk opened 5 years ago

bkawk commented 5 years ago

Please publish the types

lowesyang commented 4 years ago

No one response?

bkawk commented 4 years ago

not yet I'm still waiting

Trevor-Ultra commented 4 years ago

Attempting to get this merged... https://github.com/EOSIO/eosjs-ecc/pull/63/commits/037919f60d944617f51ce59aab6ad23bd204b66f

Trevor-Ultra commented 4 years ago

This has been resolved and can be closed.

bkawk commented 4 years ago

After installing 4.0.7 I still get the error

Could not find a declaration file for module 'eosjs-ecc'. '/Users/bkawk/Documents/Worbli/Tokenoro/tokenoroFrontEnd/node_modules/eosjs-ecc/lib/index.js' implicitly has an 'any' type.
  Try `npm install @types/eosjs-ecc` if it exists or add a new declaration (.d.ts) file containing `declare module 'eosjs-ecc';`

and

error An unexpected error occurred: "https://registry.yarnpkg.com/@types%2feosjs-ecc: Not found".
shalakhin commented 4 years ago

any update here?

kcambridge commented 3 years ago

please publish the types

Lizard-King101 commented 2 years ago

wen ts?

nimmortal commented 2 years ago

@Lizard-King101 you can use ts implementaion from eosjs: https://github.com/EOSIO/eosjs/blob/master/src/eosjs-ecc-migration.ts import { ecc } from "eosjs/dist/eosjs-ecc-migration";