Skip to content

Conversation

@himanshuchawla009
Copy link
Member

  • adds socket transports option in sdk constructor

Comment on lines +21 to +22
// import { tssLib } from "@toruslabs/tss-dkls-lib";
import{ tssLib } from "@toruslabs/tss-frost-lib";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably don't want to change that permanently, as some of the functions of the demo don't work with frost.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok will update.


// Setup sockets.
const sockets = await setupSockets(tssWSEndpoints, randomSessionNonce);
const sockets = await setupSockets(tssWSEndpoints, randomSessionNonce, "/tss/socket.io", this.socketTransports);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional that you set the path here? Otherwise you can also insert undefined and it will fallback to the default as before.

{
"name": "@web3auth/mpc-core-kit",
"version": "3.4.3",
"version": "3.5.0-0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why -0?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i did a pre-release from this branch, will do the final release once after merging to master

data,
serverCoefficientsHex
serverCoefficientsHex,
this.socketTransports
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't there another parameter here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's on another version of tss client which is not in production yet.

@himanshuchawla009 himanshuchawla009 merged commit 4b34c59 into master Sep 17, 2025
2 of 4 checks passed
@himanshuchawla009 himanshuchawla009 deleted the fix/polling branch September 17, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants