Definitelytyped: [request] jsrsasign?

Created on 4 Oct 2016  路  6Comments  路  Source: DefinitelyTyped/DefinitelyTyped

Can't seem to find a definition file for jsrsasign.

https://github.com/kjur/jsrsasign

I found an uncommented one here:

http://codegists.com/snippet/typescript/jsrsasigndts_jmurphzyo_typescript

Does this exist already or should I take a crack at it?

Request

Most helpful comment

@DefinitelyTyped any news on this? :slightly_smiling_face:

All 6 comments

@DefinitelyTyped any news on this? :slightly_smiling_face:

he stated he is not going to do this apparently

https://github.com/kjur/jsrsasign/issues/306

In addition, he doesn鈥檛 strictly follows semantic versioning. For example, he introduced CMSUtil.verifySignedData() in release 8.0.4, which is supposed to be a bug-fix release. Will this be an issue? AFAIK the major and minor version of type package is the same as the original package so that user won鈥檛 accidentally use new features.

@MovGP0 provided an implementation here: https://github.com/kjur/jsrsasign/issues/306#issue-269638414

I took a stab at it. jsrsasign has a highly nested namespace structure that I struggled and failed to represent as a type declaration.

I advanced the ball a wee bit. Maybe someone else can get it to work:
https://gist.github.com/aneilbaboo/2e0e90cdbfb44505405fd07c29382225

Please let me know if you do.

I am also working on it, contributions always welcome:

https://github.com/ffflorian/jsrsasign-types

Was this page helpful?
0 / 5 - 0 ratings