verify_js.go raw

   1  //go:build js || wasm
   2  
   3  package event
   4  
   5  import "errors"
   6  
   7  // Verify is a stub for WASM builds — signature verification is handled
   8  // by the browser extension via the crypto proxy chain.
   9  func (ev *E) Verify() (valid bool, err error) {
  10  	return false, errors.New("verify not available in WASM build")
  11  }
  12