Skip to content

Avoid forcing evaluation of crypto #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-reports/2_12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion api-reports/2_13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/org/scalajs/dom/crypto/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down