diff --git a/api-reports/2_12.txt b/api-reports/2_12.txt index 3f4f8df0b..694632428 100644 --- a/api-reports/2_12.txt +++ b/api-reports/2_12.txt @@ -204,7 +204,7 @@ crypto/package[SO] type HashAlgorithmIdentifier = HashAlgorithm | String crypto/package[SO] type KeyAlgorithmIdentifier = KeyAlgorithm | String crypto/package[SO] implicit def arrayBuffer2BufferSource(b: ArrayBuffer): BufferSource crypto/package[SO] implicit def arrayBufferView2BufferSource(b: ArrayBufferView): BufferSource -crypto/package[SO] val crypto = GlobalCrypto.crypto +crypto/package[SO] def crypto = GlobalCrypto.crypto crypto/package.BufferSource[JT] css[SO] type FontFaceRule = raw.CSSFontFaceRule css[SO] type ImportRule = raw.CSSImportRule diff --git a/api-reports/2_13.txt b/api-reports/2_13.txt index f726af3aa..80e2cbcb9 100644 --- a/api-reports/2_13.txt +++ b/api-reports/2_13.txt @@ -204,7 +204,7 @@ crypto/package[SO] type HashAlgorithmIdentifier = HashAlgorithm | String crypto/package[SO] type KeyAlgorithmIdentifier = KeyAlgorithm | String crypto/package[SO] implicit def arrayBuffer2BufferSource(b: ArrayBuffer): BufferSource crypto/package[SO] implicit def arrayBufferView2BufferSource(b: ArrayBufferView): BufferSource -crypto/package[SO] val crypto = GlobalCrypto.crypto +crypto/package[SO] def crypto = GlobalCrypto.crypto crypto/package.BufferSource[JT] css[SO] type FontFaceRule = raw.CSSFontFaceRule css[SO] type ImportRule = raw.CSSImportRule diff --git a/src/main/scala/org/scalajs/dom/crypto/package.scala b/src/main/scala/org/scalajs/dom/crypto/package.scala index 796fa3c9a..a77f845ee 100644 --- a/src/main/scala/org/scalajs/dom/crypto/package.scala +++ b/src/main/scala/org/scalajs/dom/crypto/package.scala @@ -7,7 +7,7 @@ import scala.scalajs.js.| import scala.language.implicitConversions package object crypto { - val crypto = GlobalCrypto.crypto + @inline def crypto = GlobalCrypto.crypto type BigInteger = Uint8Array