This file is generated by retrieving the https://github.com/webview-crypto/webview-crypto project, modifying src/WebViewWorker.ts to export parse and stringify methods from serializeBinary.js, bulding the project and then copy/pasting the results into our project.
An easier solution should be found.
A first solution would be to fork the project, make the modifications and create a new Cozy NPM package.
In https://github.com/cozy/cozy-react-native/pull/250 I introduced the
jsSerializeCrypto.js
fileThis file is generated by retrieving the https://github.com/webview-crypto/webview-crypto project, modifying
src/WebViewWorker.ts
to exportparse
andstringify
methods fromserializeBinary.js
, bulding the project and then copy/pasting the results into our project.An easier solution should be found.
A first solution would be to fork the project, make the modifications and create a new Cozy NPM package.
Do you think of any better solution?