diff --git a/package.json b/package.json index e057c666..ebc75f75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/snap-simple-keyring", - "version": "0.1.2", + "version": "0.1.3", "private": true, "description": "A simple keyring snap that integrates with MetaMask accounts.", "keywords": [ diff --git a/packages/site/CHANGELOG.md b/packages/site/CHANGELOG.md index 5fd5951d..e9be9788 100644 --- a/packages/site/CHANGELOG.md +++ b/packages/site/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.3] +### Changed +- No changes in this release. + ## [0.1.2] ### Changed - Update snaps and API dependencies. ([#41](https://github.com/MetaMask/snap-simple-keyring/pull/41)) @@ -19,7 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. -[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...HEAD +[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.3...HEAD +[0.1.3]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/MetaMask/snap-simple-keyring/releases/tag/v0.1.0 diff --git a/packages/site/package.json b/packages/site/package.json index f5cfe337..327cb3f8 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/snap-simple-keyring-site", - "version": "0.1.2", + "version": "0.1.3", "private": true, "license": "(MIT-0 OR Apache-2.0)", "scripts": { diff --git a/packages/snap/CHANGELOG.md b/packages/snap/CHANGELOG.md index 4bcb2daa..1364ecea 100644 --- a/packages/snap/CHANGELOG.md +++ b/packages/snap/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.3] +### Fixed +- Fix address checksum and account update order. ([#44](https://github.com/MetaMask/snap-simple-keyring/pull/44)) +- Fix unique name during account creation. ([#43](https://github.com/MetaMask/snap-simple-keyring/pull/43)) + ## [0.1.2] ### Changed - Update snaps and API dependencies. ([#41](https://github.com/MetaMask/snap-simple-keyring/pull/41)) @@ -22,7 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial release. -[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...HEAD +[Unreleased]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.3...HEAD +[0.1.3]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.2...v0.1.3 [0.1.2]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/MetaMask/snap-simple-keyring/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/MetaMask/snap-simple-keyring/releases/tag/v0.1.0 diff --git a/packages/snap/package.json b/packages/snap/package.json index e6fcc30c..8ad2aca6 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/snap-simple-keyring-snap", - "version": "0.1.2", + "version": "0.1.3", "description": "A simple keyring snap that integrates with MetaMask accounts.", "keywords": [ "metamask", diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 5656cc10..96578eee 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "0.1.2", + "version": "0.1.3", "description": "An example of a key management snap for a simple keyring.", "proposedName": "MetaMask Snap Simple Keyring", "repository": { @@ -7,7 +7,7 @@ "url": "git+https://github.com/MetaMask/snap-simple-keyring.git" }, "source": { - "shasum": "rU0BmSJDHj3EMFto/7OcR1Zt+T+U9Le/3UZV/mWYMqc=", + "shasum": "s5XnCGE4PLuRg5wcW7QyK3a+FE8P3zfJLemiz6t86O4=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/scripts/get.sh b/scripts/get.sh new file mode 100755 index 00000000..9c988bb8 --- /dev/null +++ b/scripts/get.sh @@ -0,0 +1,24 @@ +#!/usr/bin/env bash + +set -e +set -u +set -o pipefail + +if [[ ${RUNNER_DEBUG:-0} == 1 ]]; then + set -x +fi + +KEY="${1}" +OUTPUT="${2}" + +if [[ -z $KEY ]]; then + echo "Error: KEY not specified." + exit 1 +fi + +if [[ -z $OUTPUT ]]; then + echo "Error: OUTPUT not specified." + exit 1 +fi + +echo "$OUTPUT=$(jq --raw-output "$KEY" package.json)" >> "$GITHUB_OUTPUT" diff --git a/scripts/prepack.sh b/scripts/prepack.sh new file mode 100755 index 00000000..d14605d4 --- /dev/null +++ b/scripts/prepack.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -e +set -o pipefail + +if [[ -n $SKIP_PREPACK ]]; then + echo "Notice: skipping prepack." + exit 0 +fi + +yarn build:clean