Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
Rename package, rebuild snap
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Jan 18, 2022
1 parent ef561b9 commit caaa07b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.7.0]
### Changed
- Package renamed to `@metamask/template-snap`
- @metamask/snaps-cli@0.7.0 ([#4](https://github.com/MetaMask/snap-template/pull/4))
- Add more content to the custom confirmation
- Add cleanup script, more instructions in readme
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @metamask/example-snap
# @metamask/template-snap

The "Hello, world!" of MetaMask Snaps, and also a GitHub template repository.
For instructions, see [the MetaMask documentation](https://docs.metamask.io/guide/snaps-tutorial.html).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@metamask/example-snap",
"name": "@metamask/template-snap",
"version": "0.7.0",
"description": "The 'Hello, world!' of MetaMask Snaps.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-website.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function main() {
htmlContents.replace(
// eslint-disable-next-line no-template-curly-in-string
'const snapId = `local:${window.location.href}`;',
'const snapId = `npm:@metamask/example-snap`;',
'const snapId = `npm:@metamask/template-snap`;',
),
);
}
8 changes: 4 additions & 4 deletions snap.manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "0.6.1",
"proposedName": "MetaMask Example Snap",
"description": "An example MetaMask Snap.",
"version": "0.7.0",
"proposedName": "MetaMask Template Snap",
"description": "A MetaMask Snap template.",
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snap-template.git"
Expand All @@ -12,7 +12,7 @@
"npm": {
"filePath": "dist/bundle.js",
"iconPath": "images/icon.svg",
"packageName": "@metamask/example-snap",
"packageName": "@metamask/template-snap",
"registry": "https://registry.npmjs.org/"
}
}
Expand Down

0 comments on commit caaa07b

Please sign in to comment.