diff --git a/package.json b/package.json index 2f595f5e1..b599081ae 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,6 @@ "test:watch": "jest --watch" }, "dependencies": { - "@metamask/providers": "^16.0.0", "@metamask/snaps-sdk": "^3.1.1", "@metamask/utils": "^8.3.0", "@types/uuid": "^9.0.1", @@ -53,6 +52,7 @@ "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", + "@metamask/providers": "^16.0.0", "@types/jest": "^28.1.6", "@types/node": "^16", "@typescript-eslint/eslint-plugin": "^5.43.0", @@ -77,6 +77,9 @@ "typedoc": "^0.23.15", "typescript": "~4.8.4" }, + "peerDependencies": { + "@metamask/providers": ">=15 <17" + }, "packageManager": "yarn@3.2.1", "engines": { "node": "^18.18 || >=20" diff --git a/yarn.lock b/yarn.lock index f4b976f4c..824e3da58 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1088,6 +1088,8 @@ __metadata: typedoc: ^0.23.15 typescript: ~4.8.4 uuid: ^9.0.0 + peerDependencies: + "@metamask/providers": ">=15 <17" languageName: unknown linkType: soft