Skip to content

Commit

Permalink
set openlogin-utils as both dependency and optional peer dependency i…
Browse files Browse the repository at this point in the history
…n openlogin pkg

users using @toruslabs/openlogin should use compatible version of openlogin utils should they require it
This is to ensure compatible interfaces (e.g. WhitelabelData)
  • Loading branch information
BboyStatix committed Jan 25, 2024
1 parent 8b07d19 commit 30b52d0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
14 changes: 10 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions packages/openlogin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,21 @@
"@toruslabs/eccrypto": "^4.0.0",
"@toruslabs/metadata-helpers": "^5.0.0",
"@toruslabs/openlogin-session-manager": "^3.0.0",
"@toruslabs/openlogin-utils": "^6.2.2",
"@toruslabs/openlogin-utils": "file:../openlogin-utils",
"@toruslabs/secure-pub-sub": "^0.0.1",
"bowser": "^2.11.0",
"events": "^3.3.0",
"loglevel": "^1.8.1",
"ts-custom-error": "^3.3.1"
},
"peerDependencies": {
"@babel/runtime": "7.x"
"@babel/runtime": "7.x",
"@toruslabs/openlogin-utils": "file:../openlogin-utils"
},
"peerDependenciesMeta": {
"@toruslabs/openlogin-utils": {
"optional": true
}
},
"files": [
"dist",
Expand Down

0 comments on commit 30b52d0

Please sign in to comment.