Skip to content

Commit f4cb049

Browse files
dependabot[bot]metamaskbotMrtenz
authored
chore(deps): bump @metamask/utils from 11.0.1 to 11.1.0 (#3050)
Bumps [@metamask/utils](https://github.com/MetaMask/utils) from 11.0.1 to 11.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/utils/releases"><code>@​metamask/utils</code>'s releases</a>.</em></p> <blockquote> <h2>11.1.0</h2> <h3>Added</h3> <ul> <li>Add additional CAIP-19 types (<code>CaipAsset{Namespace,Reference,TokenId}</code> support (<a href="https://redirect.github.com/MetaMask/utils/pull/227">#227</a>)</li> <li>Add CAIP-19 <code>CaipAssetTypeOrId</code> (<a href="https://redirect.github.com/MetaMask/utils/pull/229">#229</a>) <ul> <li>This one combines both <code>CaipAssetType</code> and <code>CaipAssetId</code> to avoid relying on <code>superstruct.union</code>, resulting in better error messages.</li> </ul> </li> <li>Add <code>definePattern</code> superstruct helper (<a href="https://redirect.github.com/MetaMask/utils/pull/228">#228</a>) <ul> <li>Allow to define a <code>superstruct.pattern</code> while naming the struct and enforcing its type.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Use named structs for all CAIP types (<a href="https://redirect.github.com/MetaMask/utils/pull/228">#228</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/utils/blob/main/CHANGELOG.md"><code>@​metamask/utils</code>'s changelog</a>.</em></p> <blockquote> <h2>[11.1.0]</h2> <h3>Added</h3> <ul> <li>Add additional CAIP-19 types (<code>CaipAsset{Namespace,Reference,TokenId}</code> support (<a href="https://redirect.github.com/MetaMask/utils/pull/227">#227</a>)</li> <li>Add CAIP-19 <code>CaipAssetTypeOrId</code> (<a href="https://redirect.github.com/MetaMask/utils/pull/229">#229</a>) <ul> <li>This one combines both <code>CaipAssetType</code> and <code>CaipAssetId</code> to avoid relying on <code>superstruct.union</code>, resulting in better error messages.</li> </ul> </li> <li>Add <code>definePattern</code> superstruct helper (<a href="https://redirect.github.com/MetaMask/utils/pull/228">#228</a>) <ul> <li>Allow to define a <code>superstruct.pattern</code> while naming the struct and enforcing its type.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Use named structs for all CAIP types (<a href="https://redirect.github.com/MetaMask/utils/pull/228">#228</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MetaMask/utils/commit/90837bad1d85277aa5b8f16fe40beb81e0a1e09d"><code>90837ba</code></a> 11.1.0 (<a href="https://redirect.github.com/MetaMask/utils/issues/230">#230</a>)</li> <li><a href="https://github.com/MetaMask/utils/commit/9dd5b12a7e1901b539782485afdb34c6425cc0cc"><code>9dd5b12</code></a> feat: add <code>CaipAssetTypeOrId</code> struct (<a href="https://redirect.github.com/MetaMask/utils/issues/229">#229</a>)</li> <li><a href="https://github.com/MetaMask/utils/commit/9ac7ec29af434f3fa6bf408106e75c6b61b0909d"><code>9ac7ec2</code></a> feat: named CAIP structs (<a href="https://redirect.github.com/MetaMask/utils/issues/228">#228</a>)</li> <li><a href="https://github.com/MetaMask/utils/commit/48267f8e18de9a5480d473c0aa99624bc0468410"><code>48267f8</code></a> feat: add additional CAIP-19 types and parsing functions to align with propos...</li> <li><a href="https://github.com/MetaMask/utils/commit/a5886d34faacb04f538cd38f12cbbf37cdc63ede"><code>a5886d3</code></a> Bump nanoid from 3.3.6 to 3.3.8 (<a href="https://redirect.github.com/MetaMask/utils/issues/226">#226</a>)</li> <li>See full diff in <a href="https://github.com/MetaMask/utils/compare/v11.0.1...v11.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@metamask/utils&package-manager=npm_and_yarn&previous-version=11.0.1&new-version=11.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: MetaMask Bot <[email protected]> Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent e8a87dc commit f4cb049

File tree

31 files changed

+60
-60
lines changed

31 files changed

+60
-60
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"@metamask/eslint-config-jest": "^12.1.0",
8484
"@metamask/eslint-config-nodejs": "^12.1.0",
8585
"@metamask/eslint-config-typescript": "^12.1.0",
86-
"@metamask/utils": "^11.0.1",
86+
"@metamask/utils": "^11.1.0",
8787
"@swc/core": "1.3.78",
8888
"@ts-bridge/cli": "^0.6.1",
8989
"@types/jest": "^27.5.1",

packages/examples/packages/bip32/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"@metamask/key-tree": "^10.0.2",
4747
"@metamask/snaps-sdk": "workspace:^",
48-
"@metamask/utils": "^11.0.1",
48+
"@metamask/utils": "^11.1.0",
4949
"@noble/ed25519": "^1.6.0",
5050
"@noble/secp256k1": "^1.7.1"
5151
},

packages/examples/packages/bip44/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"@metamask/key-tree": "^10.0.2",
4747
"@metamask/snaps-sdk": "workspace:^",
48-
"@metamask/utils": "^11.0.1",
48+
"@metamask/utils": "^11.1.0",
4949
"@noble/bls12-381": "^1.2.0"
5050
},
5151
"devDependencies": {

packages/examples/packages/browserify-plugin/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "T/cb9ly020MyohyHH6g8Q/ZapmVvOtXHHbIQxISD+cQ=",
10+
"shasum": "t/mItLdi/miIU7FWJjijmmaFT/5svN1dK4Ik+1LMbqw=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/packages/browserify/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps.git"
88
},
99
"source": {
10-
"shasum": "aYoiDzIC2/+pYOUP24J5RwSbmyOKIeo/0+F5gHecdSw=",
10+
"shasum": "3kC/z0z6RjjarArtxcs+iltJRQgvZNIPBueMP0cLQJw=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/packages/ethereum-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"dependencies": {
4646
"@metamask/snaps-sdk": "workspace:^",
47-
"@metamask/utils": "^11.0.1"
47+
"@metamask/utils": "^11.1.0"
4848
},
4949
"devDependencies": {
5050
"@jest/globals": "^29.5.0",

packages/examples/packages/file-upload/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"dependencies": {
4646
"@metamask/snaps-sdk": "workspace:^",
47-
"@metamask/utils": "^11.0.1"
47+
"@metamask/utils": "^11.1.0"
4848
},
4949
"devDependencies": {
5050
"@jest/globals": "^29.5.0",

packages/examples/packages/get-entropy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"dependencies": {
4646
"@metamask/snaps-sdk": "workspace:^",
47-
"@metamask/utils": "^11.0.1",
47+
"@metamask/utils": "^11.1.0",
4848
"@noble/bls12-381": "^1.2.0"
4949
},
5050
"devDependencies": {

packages/examples/packages/interactive-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"dependencies": {
4646
"@metamask/snaps-sdk": "workspace:^",
47-
"@metamask/utils": "^11.0.1"
47+
"@metamask/utils": "^11.1.0"
4848
},
4949
"devDependencies": {
5050
"@jest/globals": "^29.5.0",

packages/examples/packages/invoke-snap/packages/consumer-signer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"dependencies": {
4646
"@metamask/key-tree": "^10.0.2",
4747
"@metamask/snaps-sdk": "workspace:^",
48-
"@metamask/utils": "^11.0.1",
48+
"@metamask/utils": "^11.1.0",
4949
"@noble/hashes": "^1.3.1"
5050
},
5151
"devDependencies": {

0 commit comments

Comments
 (0)