detect-provider

A tiny utility for detecting the MetaMask Ethereum Provider, or any Provider compliant with EIP-1193.

ISC License

Downloads
236K
Stars
235
Committers
11

Bot releases are visible (Hide)

detect-provider - 2.0.0 Latest Release

Published by github-actions[bot] about 2 years ago

Changed

  • BREAKING: Bump minimum required Node version to 14 (#137)
  • Shore up MetaMaskEthereumProvider type with EventEmitter methods (#41)
  • Remove global type augmentation for window.ethereum so that it can be assigned its own type outside of detectEthereumProvider (#30)

Fixed

  • Include source code in source maps to prevent build errors (#46)
detect-provider - Add TypeScript types

Published by rekmarks almost 4 years ago

Added

  • TypeScript types
    • Internally, the project was converted to TypeScript.
detect-provider - Initial stable release

Published by rekmarks almost 4 years ago

detect-provider - Add silent mode

Published by rekmarks almost 4 years ago

Added

  • Silent mode to suppress console.error calls