rejectProviderRequestByOrigin (origin) {
    this.closePopup && this.closePopup()
    const requests = this.store.getState().providerRequests
    const providerRequests = requests.filter(request => request.origin !== origin)
    this.store.updateState({ providerRequests })
    delete this.approvedOrigins[origin]
    this.emit(`resolvedRequest:${origin}`, { approved: false })
  }
/**
   * Called when a tab rejects access to a full Ethereum provider API
   *
   * @param {string} origin - origin of the domain that had provider access approved
   */
Called when a tab rejects access to a full Ethereum provider API
@param {string} origin - origin of the domain that had provider access approved
Called when a tab rejects access to a full Ethereum provider API @param { string } origin - origin of the domain that had provider access approved
rejectProviderRequestByOrigin (origin) {
    this.closePopup && this.closePopup()
    const requests = this.store.getState().providerRequests
    const providerRequests = requests.filter(request => request.origin !== origin)
    this.store.updateState({ providerRequests })
    delete this.approvedOrigins[origin]
    this.emit(`resolvedRequest:${origin}`, { approved: false })
  }
rejectProviderRequestByOrigin ( origin ) { this . closePopup && this . closePopup ( ) const requests = this . store . getState ( ) . providerRequests const providerRequests = requests . filter ( request => request . origin !== origin ) this . store . updateState ( { providerRequests } ) delete this . approvedOrigins [ origin ] this . emit ( ` ${ origin } ` , { approved : false } ) }
Called when a tab rejects access to a full Ethereum provider API
 @param {string} origin - origin of the domain that had provider access approved
Called when a tab rejects access to a full Ethereum provider API @param { string } origin - origin of the domain that had provider access approved