AschPlatform / asch-js

Asch frontend library
18 stars 15 forks source link

chore(2ndSignature): add deprecated func signature.createSignature() for backwards compatibilty #38

Closed a1300 closed 6 years ago

a1300 commented 6 years ago

Dear @sqfasd, dear @liangpeili,

this commit (867d3410ab67166a25ee9a7c8d4a3b5a65fcea86) brings the public asch-js API to its previous state. I did this to prevent a major version bump (which would be necessary according to Semantic Versioning.

In pull request #18 the API changed from aschJS.signature.secondSecret() to aschJS.basic.setSecondSecret(). Now I restored the removed function aschJS.signature.secondSecret() and added a @deprecated tag to it.

In the next major asch-js version the aschJS.signature.secondSecret() API can be removed.

Thanks for the review! All the best! a1300