Closed
Description
I'd really love to have dom.crypto
be of type js.UndefOr[Crypto]
. It seems the impediment is the old deprecated package with the same name.
These are my ideas:
-
change
dom.crypto
to be of typejs.UndefOr[Crypto with DeprecatedCryptoPackage]
so that at least in userland we can use itCrypto
-- actually this won't work - deprecated crypto imports wouldn't be stable, not to mention that there's ajs.UndefOr
there -
Building on @sjrd's suggestion we could keep The great migration to
dom
#588 as it but also add awebCrypto: js.UndefOr[Crypto]
which we could deprecate in 3.x to be replaced bycrypto
-
just nuke the deprecated package, 2.0 is a new world
Any more ideas? I'm kinda happy with 3, but 2 would definitely be acceptable.
Metadata
Metadata
Assignees
Labels
No labels