create account

Hivesigner SDK rewritten in typescript by good-karma

View this thread on: hive.blogpeakd.comecency.com
· @good-karma · (edited)
$79.20
Hivesigner SDK rewritten in typescript
Few days ago we have published new version of Hivesigner javascript SDK which is completely rewritten in Typescript with proper types, additional improvements on promises and written tests.

![hivesigner-development-secure-way-to-sign-in-blockchain](https://images.ecency.com/p/Y2iXpRRkNSnseh3NuL6KUBitJTXrc5K2vbTzBseGEENcE)  

Typescript implementation is clean and helps you to identify type of each parameters. If you are JS developer, you probably love this update because it helps you to write less buggy code. We have also written some tests to make sure each new update into library passes those tests. 

As a part of this update to `hivesigner`, we made minor changes into `hive-uri` package as well, which removes dependencies to old dsteem library.

New version of `hivesigner` package is x4 times smaller in size which means less addition to your website bundle, faster download for entire app in general. Shortly after release, we have made some improvements and better browser support, size x2 times smaller from legacy, still great. **Please note, however due to typescript change, you might have to check how you import library into your apps.**

![hivesigner-package-size](https://images.ecency.com/DQmVHtnik5iTniaH5k2ivQKcFkKZNMQAWVLHrKY5QtNcrhw/image.png)

Try new version `hivesigner@3.2.5` and let us know how it works on your apps. https://www.npmjs.com/package/hivesigner

If you are using `hive-uri` in your apps, consider updating that library as well. https://www.npmjs.com/package/hive-uri

Next in line is to optimise and finalise Hivesigner UI (website) changes and release update to website which will improve user experience.

## Support Hivesigner  
 
- [Read details of Hivesigner proposal](https://ecency.com/hive/@good-karma/hivesigner-ongoing-development-and-improvement)  
 
<center>  
[`Hivesigner proposal`](https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B88%5D&approve=true) | [`Hivesearcher proposal`](https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B114%5D&approve=true)  
[![Vote for @good-karma as a witness](https://images.ecency.com/p/o1AJ9qDyyJNSpZWhUgGYc3MngFqoAN2qn9AiTn8UpLP6Qb5TL?format=match&mode=fit)](https://hivesigner.com/sign/account-witness-vote?witness=good-karma&approve=1)  
</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 478 others
properties (23)
authorgood-karma
permlinkhivesigner-sdk-rewritten-in-typescript
categoryhive-139531
json_metadata{"links":["https://images.ecency.com/p/Y2iXpRRkNSnseh3NuL6KUBitJTXrc5K2vbTzBseGEENcE","https://www.npmjs.com/package/hivesigner","https://www.npmjs.com/package/hive-uri","https://ecency.com/hive/@good-karma/hivesigner-ongoing-development-and-improvement","https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B88%5D&approve=true","https://hivesigner.com/sign/update-proposal-votes?proposal_ids=%5B114%5D&approve=true","https://images.ecency.com/p/o1AJ9qDyyJNSpZWhUgGYc3MngFqoAN2qn9AiTn8UpLP6Qb5TL?format=match&mode=fit","https://hivesigner.com/sign/account-witness-vote?witness=good-karma&approve=1"],"image":["https://images.ecency.com/DQmVHtnik5iTniaH5k2ivQKcFkKZNMQAWVLHrKY5QtNcrhw/image.png"],"users":["good-karma"],"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-vision","format":"markdown+html"}
created2021-02-28 05:38:21
last_update2021-03-11 04:58:27
depth0
children17
last_payout2021-03-07 05:38:21
cashout_time1969-12-31 23:59:59
total_payout_value42.686 HBD
curator_payout_value36.517 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,279
author_reputation656,175,265,183,351
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,104,263
net_rshares168,250,417,408,933
author_curate_reward""
vote details (542)
@amirhayat ·
Sir, your post is very helpful and I have not been here in this community for a long time, so I am very happy to see you today that I am seeing your first post after three years and I want to comment on you. Am doing

👎  
properties (23)
authoramirhayat
permlinkre-good-karma-2021228t13521963z
categoryhive-139531
json_metadata{"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-mobile","format":"markdown+html"}
created2021-02-28 08:05:27
last_update2021-02-28 08:05:27
depth1
children1
last_payout2021-03-07 08:05:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length218
author_reputation1,106,994,026,479
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,105,568
net_rshares-5,130,457,109
author_curate_reward""
vote details (1)
@sweecee ·
what hte fuck bitch, there are no "community" go fuck yourself and die with your UNO narrative. there are USERS and DEVS + the peons thieves running the official approved node.
properties (22)
authorsweecee
permlinkqp8fp9
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2021-02-28 09:29:36
last_update2021-02-28 09:29:36
depth2
children0
last_payout2021-03-07 09:29:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length176
author_reputation-547,443,381,596
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,106,450
net_rshares0
@andrew-charles · (edited)
Hi @good-karma how are you, i am at present using the desktop ecency/3.0.14-vision , i don't seem to have spell check on this version do i have to activated spell check myself in some way can you please inform.

Thank you @good-karma for your assistance.
properties (22)
authorandrew-charles
permlinkre-good-karma-202135t1574181z
categoryhive-139531
json_metadata{"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-surfer","format":"markdown+html"}
created2021-03-05 08:07:03
last_update2021-03-05 08:08:06
depth1
children5
last_payout2021-03-12 08:07:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length254
author_reputation5,555,464,370,840
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,192,056
net_rshares0
@good-karma ·
We will check this out. I remember we had this in older version but we changed to new version, we will see if we still have/can add that back.
properties (22)
authorgood-karma
permlinkre-andrew-charles-202135t153650489z
categoryhive-139531
json_metadata{"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-vision","format":"markdown+html"}
created2021-03-05 13:36:51
last_update2021-03-05 13:36:51
depth2
children4
last_payout2021-03-12 13:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length142
author_reputation656,175,265,183,351
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,195,474
net_rshares0
@andrew-charles ·
Hi @good-karma how are you have you been able to look into this spell-check problem with this version. I see it hasn't been corrected as yet what solution can you offer. Thanks @good-karma
properties (22)
authorandrew-charles
permlinkre-good-karma-2021310t11262635z
categoryhive-139531
json_metadata{"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-surfer","format":"markdown+html"}
created2021-03-10 04:26:03
last_update2021-03-10 04:26:03
depth3
children2
last_payout2021-03-17 04:26:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length188
author_reputation5,555,464,370,840
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,281,220
net_rshares0
@andrew-charles ·
Thank you @good-karma it would be a big help 👍
properties (22)
authorandrew-charles
permlinkre-good-karma-202136t1038057z
categoryhive-139531
json_metadata{"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-surfer","format":"markdown+html"}
created2021-03-06 03:38:00
last_update2021-03-06 03:38:00
depth3
children0
last_payout2021-03-13 03:38:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length46
author_reputation5,555,464,370,840
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,205,845
net_rshares0
@cristiansabarre ·
Thanks for the upgrade man
properties (22)
authorcristiansabarre
permlinkre-good-karma-2021228t225859143z
categoryhive-139531
json_metadata{"tags":["hive-139531","hivesigner","sdk","ecency","development","library"],"app":"ecency/3.0.14-mobile","format":"markdown+html"}
created2021-02-28 14:59:00
last_update2021-02-28 14:59:00
depth1
children0
last_payout2021-03-07 14:59:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation101,079,428,680
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,110,070
net_rshares0
@engrave ·
$0.15
Good job, I'm one more time impressed by the work you're putting into making your code fast and clean. Nowadays, developers tend to write code as fast as they can, not paying attention to the size and the fact that it impacts the user experience (especially packages used on a frontend).
👍  , , ,
properties (23)
authorengrave
permlinkre-good-karma-qp8i6n
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.01.3"}
created2021-02-28 10:23:15
last_update2021-02-28 10:23:15
depth1
children3
last_payout2021-03-07 10:23:15
cashout_time1969-12-31 23:59:59
total_payout_value0.074 HBD
curator_payout_value0.074 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length287
author_reputation298,277,959,066,723
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,106,992
net_rshares542,339,381,367
author_curate_reward""
vote details (4)
@good-karma ·
$0.05
Thank you! Clean code that has strong types and helps you to write less buggy code is always great to have. We are doing our best so software written by us is high quality, fast and maintainable in long term, impacts of these are as you mention better UX.
👍  
properties (23)
authorgood-karma
permlinkre-engrave-2021228t15850587z
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"ecency/3.0.14-vision","format":"markdown+html"}
created2021-02-28 13:08:51
last_update2021-02-28 13:08:51
depth2
children1
last_payout2021-03-07 13:08:51
cashout_time1969-12-31 23:59:59
total_payout_value0.027 HBD
curator_payout_value0.027 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length255
author_reputation656,175,265,183,351
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,108,637
net_rshares209,883,358,137
author_curate_reward""
vote details (1)
@mubashirjalal ·
Hi ,when i post somthing and boost my post and adm and spaminator vote down my post without any copyright claim.
may i know why its happening ?
👎  
properties (23)
authormubashirjalal
permlinkre-good-karma-202131t12526224z
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"ecency/3.0.14-mobile","format":"markdown+html"}
created2021-02-28 22:25:27
last_update2021-02-28 22:25:27
depth3
children0
last_payout2021-03-07 22:25:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length143
author_reputation289,286,772,965
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,116,584
net_rshares-4,661,439,310
author_curate_reward""
vote details (1)
@voltagrou ·
$0.05
I strongly approve, but in many cases it's not dev...
I strongly approve, but in many cases it's not developers problems but ROI business pressures.

#cb2077

 
👍  ,
properties (23)
authorvoltagrou
permlinki-strongly-approve-but-in-man-rwuq3uda3rw6pc312uwc57n6yar1nny5
categoryhive-139531
json_metadata{"app":"dapplr","format":"markdown","tags":["dapplr"],"media":[],"users_tagged":[]}
created2021-02-28 10:46:54
last_update2021-02-28 10:46:54
depth2
children0
last_payout2021-03-07 10:46:54
cashout_time1969-12-31 23:59:59
total_payout_value0.026 HBD
curator_payout_value0.028 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length107
author_reputation2,760,725,474,085
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries
0.
accountdapplr
weight500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,107,182
net_rshares217,318,436,207
author_curate_reward""
vote details (2)
@joanstewart ·
Thanks for update and upgrades information.
properties (22)
authorjoanstewart
permlinkre-good-karma-qp88uv
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.01.3"}
created2021-02-28 07:01:42
last_update2021-02-28 07:01:42
depth1
children0
last_payout2021-03-07 07:01:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length43
author_reputation320,668,077,848,872
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,104,980
net_rshares0
@leprechaun ·
There is a great advantage to using Typescript.  In particular, [steemfiles.com](https://www.steemfiles.com) uses typescript with react.
properties (22)
authorleprechaun
permlinkre-good-karma-hivesigner-sdk-rewritten-in-typescript-20210306t160155583z
categoryhive-139531
json_metadata{"format":"markdown","App":"Steemfiles"}
created2021-03-06 16:01:57
last_update2021-03-06 16:01:57
depth1
children0
last_payout2021-03-13 16:01:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length136
author_reputation36,778,764,966,701
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,213,937
net_rshares0
@spacetoon ·
Good job @good-karma
Thank you for this informations.
properties (22)
authorspacetoon
permlinkqp8u0i
categoryhive-139531
json_metadata{"users":["good-karma"],"app":"hiveblog/0.1"}
created2021-02-28 14:39:30
last_update2021-02-28 14:39:30
depth1
children0
last_payout2021-03-07 14:39:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length53
author_reputation632,661,817,427
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,109,812
net_rshares0
@stefano.massari ·
thank you for the information and for all the work you do
properties (22)
authorstefano.massari
permlinkqpj7ie
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2021-03-06 05:06:15
last_update2021-03-06 05:06:15
depth1
children0
last_payout2021-03-13 05:06:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation175,391,998,078,524
root_title"Hivesigner SDK rewritten in typescript"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id102,206,619
net_rshares0