You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2025. It is now read-only.
As part of the 1.0 release, the @mysten/sui.js package has been migrated to @mysten/sui.
Also, the TransactionBlock class has been renamed to Transaction and suiClient.signAndExecuteTransactionBlock renamed to suiClient.signAndExecuteTransaction
Here is the source of the migrated version: https://sdk.mystenlabs.com/typescript/migrations/sui-1.0
However, many dwallet examples still use the old imports:
Description:
As part of the 1.0 release, the
@mysten/sui.jspackage has been migrated to@mysten/sui.Also, the
TransactionBlockclass has been renamed toTransactionandsuiClient.signAndExecuteTransactionBlockrenamed tosuiClient.signAndExecuteTransactionHere is the source of the migrated version: https://sdk.mystenlabs.com/typescript/migrations/sui-1.0
However, many dwallet examples still use the old imports:
dwallet-js-examples/src/sui.ts
Line 20 in 7c92147
dwallet-js-examples/src/sui.ts
Line 21 in 7c92147
These should now be updated to:
Some of the classes need to be updated also:
dwallet-js-examples/src/sui.ts
Line 131 in 7c92147
dwallet-js-examples/src/sui.ts
Line 191 in 7c92147
To this latest class:
suiClient.signAndExecuteTransactionBlock----->>>>>suiClient.signAndExecuteTransactionUpdate official documentation and code samples to reflect the new package name and renamed classes.