Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 177 deletions.
2 changes: 1 addition & 1 deletion packages/examples/packages/ethers-js/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "3ec/uMXW2lAaVxSJJRjsAmQ1oSqVJpHUkF4i4YTa9Gk=",
"shasum": "nq+20IfAzY+Ml8k+aa6NMCOdcqmFRn9yku3zCbbhxto=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
1 change: 0 additions & 1 deletion packages/examples/packages/ethers-js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
UserRejectedRequestError,
MethodNotFoundError,
} from '@metamask/snaps-sdk';
// @ts-expect-error Typescript thinks this is ESM Module, not a CommonJS module, while ethers supports both. Webpack will correctly identify proper import type.
import { Wallet } from 'ethers';

import type { SignMessageParams } from './types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@
},
"eslint-plugin-import>object.values>es-abstract>has-property-descriptors": {
"packages": {
"eslint-plugin-import>array-includes>get-intrinsic": true
"lavamoat>json-stable-stringify>call-bind>es-define-property": true
}
},
"eslint-plugin-import>tsconfig-paths": {
Expand Down Expand Up @@ -2168,10 +2168,16 @@
"packages": {
"browserify>has>function-bind": true,
"eslint-plugin-import>array-includes>get-intrinsic": true,
"lavamoat>json-stable-stringify>call-bind>es-define-property": true,
"lavamoat>json-stable-stringify>call-bind>es-errors": true,
"lavamoat>json-stable-stringify>call-bind>set-function-length": true
}
},
"lavamoat>json-stable-stringify>call-bind>es-define-property": {
"packages": {
"eslint-plugin-import>array-includes>get-intrinsic": true
}
},
"lavamoat>json-stable-stringify>call-bind>set-function-length": {
"packages": {
"browserify>util>is-typed-array>gopd": true,
Expand All @@ -2184,8 +2190,7 @@
"lavamoat>json-stable-stringify>call-bind>set-function-length>define-data-property": {
"packages": {
"browserify>util>is-typed-array>gopd": true,
"eslint-plugin-import>array-includes>get-intrinsic": true,
"eslint-plugin-import>object.values>es-abstract>has-property-descriptors": true,
"lavamoat>json-stable-stringify>call-bind>es-define-property": true,
"lavamoat>json-stable-stringify>call-bind>es-errors": true
}
},
Expand Down
Loading

0 comments on commit 2c5a1e5

Please sign in to comment.