Skip to content

Commit

Permalink
Merge branch 'main' into hm/implement-interface-persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Nov 1, 2024
2 parents a90208a + 90b8e43 commit 291af42
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "root",
"version": "75.0.0",
"version": "76.0.0",
"private": true,
"repository": {
"type": "git",
Expand Down
9 changes: 8 additions & 1 deletion packages/snaps-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.5.1]

### Fixed

- Use regular import to reference package.json ([#2871](https://github.com/MetaMask/snaps/pull/2871))

## [8.5.0]

### Added
Expand Down Expand Up @@ -473,7 +479,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The version of the package no longer needs to match the version of all other
MetaMask Snaps packages.

[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]
[8.5.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[8.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[8.4.1]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
[8.4.0]: https://github.com/MetaMask/snaps/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-utils/coverage.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"branches": 99.74,
"functions": 98.93,
"lines": 99.46,
"statements": 96.36
"statements": 96.37
}
2 changes: 1 addition & 1 deletion packages/snaps-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/snaps-utils",
"version": "8.5.0",
"version": "8.5.1",
"description": "A collection of utilities for MetaMask Snaps",
"keywords": [
"MetaMask",
Expand Down
5 changes: 3 additions & 2 deletions packages/snaps-utils/src/platform-version.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import packageJson from '@metamask/snaps-sdk/package.json';

/**
* Get the current supported platform version.
*
Expand All @@ -8,6 +10,5 @@
* @returns The platform version.
*/
export function getPlatformVersion() {
// eslint-disable-next-line import/no-dynamic-require, @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires
return require('@metamask/snaps-sdk/package.json').version;
return packageJson.version;
}

0 comments on commit 291af42

Please sign in to comment.