We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b613096 commit 9d316ecCopy full SHA for 9d316ec
src/main/scala/org/scalajs/dom/package.scala
@@ -104,4 +104,12 @@ package object dom {
104
*/
105
type HashAlgorithmIdentifier = HashAlgorithm | String
106
107
+ /** This is the same as `crypto` in JS.
108
+ *
109
+ * To maintain backwards-source-compatibility with scala-js-dom v1, `crypto` in scala-js-dom is retained as a package object.
110
111
+ */
112
+ @js.native
113
+ @JSGlobal("crypto")
114
+ val webcrypto: Crypto = js.native
115
}
0 commit comments