Closed lwin-kyaw closed 4 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
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
torus.js@v12.20
in CustomAuth
. Deps update PR@tkey/service-provider-torus
with CustomAuth
updatesCurrently, 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"
}
},
custom session time
for SessionToken Data based on the clients' subscribe planssession time