File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed 
src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -25954,6 +25954,7 @@ package[SO] @js.native @JSGlobal("console") val console: Console
2595425954package[SO] lazy val css: DeprecatedCSSAliases.type  (@deprecated in 2.0.0)
2595525955package[SO] @js.native @JSGlobal("document") val document: html.Document
2595625956package[SO] @js.native @JSGlobal("fetch") def fetch(info: RequestInfo, init: RequestInit = null): js.Promise[Response]
25957+ package[SO] @js.native @JSGlobal("crypto") val webcrypto: Crypto
2595725958package[SO] @js.native @JSGlobal("window") val window: Window
2595825959raw[SO] type AbstractWorker = dom.AbstractWorker  (@deprecated in 2.0.0)
2595925960raw[SO] type AnalyserNode = dom.AnalyserNode  (@deprecated in 2.0.0)
Original file line number Diff line number Diff line change @@ -25954,6 +25954,7 @@ package[SO] @js.native @JSGlobal("console") val console: Console
2595425954package[SO] lazy val css: DeprecatedCSSAliases.type  (@deprecated in 2.0.0)
2595525955package[SO] @js.native @JSGlobal("document") val document: html.Document
2595625956package[SO] @js.native @JSGlobal("fetch") def fetch(info: RequestInfo, init: RequestInit = null): js.Promise[Response]
25957+ package[SO] @js.native @JSGlobal("crypto") val webcrypto: Crypto
2595725958package[SO] @js.native @JSGlobal("window") val window: Window
2595825959raw[SO] type AbstractWorker = dom.AbstractWorker  (@deprecated in 2.0.0)
2595925960raw[SO] type AnalyserNode = dom.AnalyserNode  (@deprecated in 2.0.0)
Original file line number Diff line number Diff line change @@ -104,4 +104,12 @@ package object dom {
104104    */  
105105  type  HashAlgorithmIdentifier  =  HashAlgorithm  |  String 
106106
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 
110+     * object. 
111+     */  
112+   @ js.native
113+   @ JSGlobal (" crypto" 
114+   val  webcrypto :  Crypto  =  js.native
107115}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments