Web3Auth / mpc-core-kit

16 stars 4 forks source link

enable variable session time for mpcCoreKit #89

Closed lwin-kyaw closed 4 months ago

lwin-kyaw commented 7 months ago
lwin-kyaw commented 7 months ago

This PR is depended on the torus.js PR, https://github.com/torusresearch/torus.js/pull/129

To make this variable session time works, we may need the following

Will update the PR again once this, https://github.com/torusresearch/torus.js/pull/129, is merged and published

lwin-kyaw commented 5 months ago

Updated torus.js as torus.js@v12.2.0 has been released.

However, to make this variable session time works properly, we still need the following things

Currently, I've used npm overrides to update the peer dependencies in the package.json to make session time works.

"dependencies": {
...
},
"overrides": {
    "@toruslabs/customauth": {
    "@toruslabs/http-helpers": "^6.0.0",
    "@toruslabs/torus.js": "12.2.0"
  },
    "@tkey-mpc/service-provider-torus": {
    "@toruslabs/torus.js": "12.2.0"
  }
},