Skip to content

Commit

Permalink
fix: define range of near-api-js versions as peerDependency instead…
Browse files Browse the repository at this point in the history
… of an exact one
  • Loading branch information
denbite committed Dec 30, 2024
1 parent f7ca952 commit cf89e92
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/account-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
},
"homepage": "https://github.com/near/wallet-selector/tree/magin/packages/account-export",
"peerDependencies": {
"near-api-js": "4.0.3"
"near-api-js": "^4.0.0 || ^5.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/core",
"peerDependencies": {
"near-api-js": "4.0.3"
"near-api-js": "^4.0.0 || ^5.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/wallet-connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/wallet-connect",
"peerDependencies": {
"near-api-js": "4.0.3"
"near-api-js": "^4.0.0 || ^5.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/wallet-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
},
"homepage": "https://github.com/near/wallet-selector/tree/main/packages/wallet-utils",
"peerDependencies": {
"near-api-js": "4.0.3"
"near-api-js": "^4.0.0 || ^5.0.0"
}
}

0 comments on commit cf89e92

Please sign in to comment.