From 1a2944bf297105467d3aef34e499a664a8cd6d29 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 3 Oct 2022 16:16:32 +0000 Subject: [PATCH 1/2] 2.0.0 --- CHANGELOG.md | 23 ++++++++++++++++++++++- package.json | 2 +- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 541684c..84db882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [2.0.0] +### Uncategorized +- Bump Node to v14 ([#59](https://github.com/MetaMask/detect-provider/pull/59)) +- Bump @metamask/auto-changelog from 2.6.0 to 2.6.1 ([#54](https://github.com/MetaMask/detect-provider/pull/54)) +- Bump shell-quote from 1.7.2 to 1.7.3 ([#55](https://github.com/MetaMask/detect-provider/pull/55)) +- Copy Action workflow files from module template ([#47](https://github.com/MetaMask/detect-provider/pull/47)) +- Bump minimist from 1.2.5 to 1.2.6 ([#44](https://github.com/MetaMask/detect-provider/pull/44)) +- Fix failed to parse source map error ([#46](https://github.com/MetaMask/detect-provider/pull/46)) +- Update MetaMaskEthereumProvider type ([#41](https://github.com/MetaMask/detect-provider/pull/41)) +- Bump ajv from 6.12.2 to 6.12.6 ([#43](https://github.com/MetaMask/detect-provider/pull/43)) +- Removes global Window types ([#30](https://github.com/MetaMask/detect-provider/pull/30)) +- Bump cached-path-relative from 1.0.2 to 1.1.0 ([#39](https://github.com/MetaMask/detect-provider/pull/39)) +- Bump path-parse from 1.0.6 to 1.0.7 ([#29](https://github.com/MetaMask/detect-provider/pull/29)) +- Bump glob-parent from 5.1.1 to 5.1.2 ([#27](https://github.com/MetaMask/detect-provider/pull/27)) +- Repo standardization ([#25](https://github.com/MetaMask/detect-provider/pull/25)) +- Bump hosted-git-info from 2.8.8 to 2.8.9 ([#24](https://github.com/MetaMask/detect-provider/pull/24)) +- Bump lodash from 4.17.19 to 4.17.21 ([#23](https://github.com/MetaMask/detect-provider/pull/23)) +- Bump elliptic from 6.5.3 to 6.5.4 ([#21](https://github.com/MetaMask/detect-provider/pull/21)) + ### Changed - **BREAKING:** Removed support for Node v12 in favor of v14 ([#137](https://github.com/MetaMask/eth-json-rpc-middleware/pull/137)) @@ -21,7 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial stable release. -[Unreleased]: https://github.com/MetaMask/detect-provider/compare/v1.2.0...HEAD +[Unreleased]: https://github.com/MetaMask/detect-provider/compare/v2.0.0...HEAD +[2.0.0]: https://github.com/MetaMask/detect-provider/compare/v1.2.0...v2.0.0 [1.2.0]: https://github.com/MetaMask/detect-provider/compare/v1.1.0...v1.2.0 [1.1.0]: https://github.com/MetaMask/detect-provider/compare/v1.0.1...v1.1.0 [1.0.1]: https://github.com/MetaMask/detect-provider/releases/tag/v1.0.1 diff --git a/package.json b/package.json index 05ff693..8444138 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/detect-provider", - "version": "1.2.0", + "version": "2.0.0", "description": "A tiny utility for detecting the MetaMask Ethereum provider, or any EIP 1193-compliant provider.", "main": "dist/index.js", "typings": "dist/index.d.ts", From d071163d08c50b2bfa868a6578be1c351aec78e1 Mon Sep 17 00:00:00 2001 From: Elliot Winkler Date: Mon, 3 Oct 2022 10:18:12 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84db882..8c37c10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,26 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [2.0.0] -### Uncategorized -- Bump Node to v14 ([#59](https://github.com/MetaMask/detect-provider/pull/59)) -- Bump @metamask/auto-changelog from 2.6.0 to 2.6.1 ([#54](https://github.com/MetaMask/detect-provider/pull/54)) -- Bump shell-quote from 1.7.2 to 1.7.3 ([#55](https://github.com/MetaMask/detect-provider/pull/55)) -- Copy Action workflow files from module template ([#47](https://github.com/MetaMask/detect-provider/pull/47)) -- Bump minimist from 1.2.5 to 1.2.6 ([#44](https://github.com/MetaMask/detect-provider/pull/44)) -- Fix failed to parse source map error ([#46](https://github.com/MetaMask/detect-provider/pull/46)) -- Update MetaMaskEthereumProvider type ([#41](https://github.com/MetaMask/detect-provider/pull/41)) -- Bump ajv from 6.12.2 to 6.12.6 ([#43](https://github.com/MetaMask/detect-provider/pull/43)) -- Removes global Window types ([#30](https://github.com/MetaMask/detect-provider/pull/30)) -- Bump cached-path-relative from 1.0.2 to 1.1.0 ([#39](https://github.com/MetaMask/detect-provider/pull/39)) -- Bump path-parse from 1.0.6 to 1.0.7 ([#29](https://github.com/MetaMask/detect-provider/pull/29)) -- Bump glob-parent from 5.1.1 to 5.1.2 ([#27](https://github.com/MetaMask/detect-provider/pull/27)) -- Repo standardization ([#25](https://github.com/MetaMask/detect-provider/pull/25)) -- Bump hosted-git-info from 2.8.8 to 2.8.9 ([#24](https://github.com/MetaMask/detect-provider/pull/24)) -- Bump lodash from 4.17.19 to 4.17.21 ([#23](https://github.com/MetaMask/detect-provider/pull/23)) -- Bump elliptic from 6.5.3 to 6.5.4 ([#21](https://github.com/MetaMask/detect-provider/pull/21)) - ### Changed -- **BREAKING:** Removed support for Node v12 in favor of v14 ([#137](https://github.com/MetaMask/eth-json-rpc-middleware/pull/137)) +- **BREAKING:** Bump minimum required Node version to 14 ([#137](https://github.com/MetaMask/eth-json-rpc-middleware/pull/137)) +- Shore up MetaMaskEthereumProvider type with EventEmitter methods ([#41](https://github.com/MetaMask/detect-provider/pull/41)) +- Remove global type augmentation for `window.ethereum` so that it can be assigned its own type outside of `detectEthereumProvider` ([#30](https://github.com/MetaMask/detect-provider/pull/30)) + +### Fixed +- Include source code in source maps to prevent build errors ([#46](https://github.com/MetaMask/detect-provider/pull/46)) ## [1.2.0] - 2020-10-26 ### Added