File tree Expand file tree Collapse file tree 6 files changed +9
-21
lines changed Expand file tree Collapse file tree 6 files changed +9
-21
lines changed Original file line number Diff line number Diff line change 8080  },
8181  "dependencies" : {
8282    "babel-runtime" : " ^6.26.0" 
83+     "callforth" : " ^0.3.0" 
8384    "jsqr" : " ^1.2.0" 
8485    "webrtc-adapter" : " ^6.2.1" 
8586  },
Original file line number Diff line number Diff line change 11import  adapterFactory  from  "webrtc-adapter/src/js/adapter_factory.js" ; 
22import  {  StreamApiNotSupportedError  }  from  "./errors.js" ; 
33import  {  imageDataFromVideo  }  from  "./image-data.js" ; 
4- import  {  eventOn  }  from  "./promisify.js " ; 
4+ import  {  eventOn  }  from  "callforth " ; 
55
66class  Camera  { 
77  constructor ( videoEl ,  stream )  { 
Original file line number Diff line number Diff line change 11import  {  DropImageFetchError ,  DropImageDecodeError  }  from  "./errors.js" ; 
2- import  {  eventOn  }  from  "./promisify.js " ; 
2+ import  {  eventOn  }  from  "callforth " ; 
33
44const  canvas  =  document . createElement ( "canvas" ) ; 
55const  canvasCtx  =  canvas . getContext ( "2d" ) ; 
Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 1- import  {  eventOn  }  from  "./promisify.js " ; 
1+ import  {  eventOn  }  from  "callforth " ; 
22import  Worker  from  "./worker.js" ; 
33
44export  async  function  scan ( imageData )  { 
Original file line number Diff line number Diff line change @@ -1392,6 +1392,11 @@ caller-path@^2.0.0:
13921392  dependencies :
13931393    caller-callsite "^2.0.0" 
13941394
1395+ callforth@^0.3.0 :
1396+   version "0.3.0" 
1397+   resolved "https://registry.yarnpkg.com/callforth/-/callforth-0.3.0.tgz#3ff358c8bc67f72afae1a11dd90835e8139d9fe6" 
1398+   integrity sha512-f2WARW6XXXZBEUshqoBhcWq9UxCYSCFJ0C3/hpdoXQTnhos3HQV1z7ATJVDmTp4LgjZ0leW2mBhp6T797PhwDQ== 
1399+ 
13951400callsites@^0.2.0 :
13961401  version "0.2.0" 
13971402  resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments