Skip to content

Commit 0639628

Browse files
armanbilgesjrd
andauthored
Update src/main/scala/org/scalajs/dom/crypto/package.scala
Co-authored-by: Sébastien Doeraene <sjrdoeraene@gmail.com>
1 parent b216a7d commit 0639628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalajs/dom/crypto/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ package object crypto {
1515
val subtle: dom.SubtleCrypto = js.native
1616

1717
/** Fills the passed TypedArray with cryptographically sound random values. */
18-
@JSGlobal("crypto.subtle")
18+
@JSGlobal("crypto.getRandomValues")
1919
@js.native
2020
def getRandomValues(array: ArrayBufferView): ArrayBufferView = js.native
2121

0 commit comments

Comments
 (0)