Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or [setup this action to publish automatically](https://github.com/changesets/action#with-publishing). If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - a8049d1: Fixes the issue with deep nested generics by introducing array type names - all of the methods (except for aliasing) now allow passing in arrays instead of strings to allow for easier composition of generics and avoid using template strings ```js // new syntax bcs.registerStructType(["VecMap", "K", "V"], { keys: ["vector", "K"], values: ["vector", "V"], }); // is identical to an old string definition bcs.registerStructType("VecMap<K, V>", { keys: "vector<K>", values: "vector<V>", }); ``` Similar approach applies to `bcs.ser()` and `bcs.de()` as well as to other register\* methods - a0955c4: Switch from 20 to 32-byte address. Match Secp256k1.deriveKeypair with Ed25519. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - 77bdf90: When parsing u64, u128, and u256 values with bcs, they are now string encoded. ## @mysten/[email protected] ### Minor Changes - a6690ac: Changed the default behavior of `publish` to publish an upgreadeable-by-sender package instead of immutable. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - 3709957: Published initial version of library ## @mysten/[email protected] ### Minor Changes - 956ec28: Change `signMessage` to return message bytes. Add support for sui:signMessage in the wallet standard - 4adfbff: Use Blake2b instead of sha3_256 for address generation - 4c4573e: Removed DevInspectResultsType and now DevInspectResults has a property results of ExecutionResultType and a property error - acc2edb: Update schema for `SuiSystemState` and `DelegatedStake` - 941b03a: Change functions in transactions.ts of ts-sdk such that: `getTotalGasUsed` and `getTotalGasUsedUpperBound` of ts-sdk return a `bigint`,fields of `gasCostSummary` are defined as `string`, `epochId` is defined as `string`. In `sui-json-rpc` the corresponding types are defined as `BigInt`. Introduce `SuiEpochId` type to `sui-json-rpc` types that is a `BigInt`. - a6690ac: Changed the default behavior of `publish` to publish an upgreadeable-by-sender package instead of immutable. - a211dc0: Change object digest from Base64 encoded to Base58 encoded for rpc version >= 0.28.0 - 4c1e331: Gas budget is now optional, and will automatically be computed by executing a dry-run when not provided. - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 7659e2e: Introduce new `Transaction` builder class, and deprecate all existing methods of sending transactions. The new builder class is designed to take full advantage of Programmable Transactions. Any transaction using the previous `SignableTransaction` interface will be converted to a `Transaction` class when possible, but this interface will be fully removed soon. - 0d3cb44: Change all snake_case field in ts-sdk normalized.ts to camelCase. - 36c264e: Remove `generateTransactionDigest`. Use one of the following instead: `signer.getTransactionDigest`, `Transaction.getDigest()` or `TransactionDataBuilder.getDigestFromBytes()` instead. - 891abf5: Remove support for RPC Batch Request in favor of multiGetTransactions and multiGetObjects - 2e0ef59: Added VALIDATORS_EVENTS_QUERY - 33cb357: Change functions in json-rpc-provider.ts of ts-sdk such that: `getTotalTransactionBlocks`, `getReferenceGasPrice` return a `bigint`, `getLatestCheckpointSequenceNumber` returns a `string`, `gasPrice` of `devInspectTransactionBlock` is defined as a `string`, checkpoint sequence number of `getCheckpoint` is defined as a `string`, `cursor` of `getCheckpoints` is defined as a `string`. Introduce `SuiCheckpointSequenceNumber` type in sui-json-rpc-types that is a `BigInt` to use instead of `CheckpointSequenceNumber` of sui-types. - 6bd8857: Rework all coin APIs to take objects as arguments instead of positional arguments. - f1e42f7: Consolidate get_object and get_raw_object into a single get_object endpoint which now takes an additional config parameter with type `SuiObjectDataOptions` and has a new return type `SuiObjectResponse`. By default, only object_id, version, and digest are fetched. - 272389c: Support for new versioned TransactionData format - 3de8de3: Remove `getSuiSystemState` method. Use `getLatestSuiSystemState` method instead. - be3c4f5: Add `display` field in `SuiObjectResponse` for frontend rendering. See more details in <https://forums.sui.io/t/nft-object-display-proposal/4872> - dbe73d5: Update `executeTransaction` and `signAndExecuteTransaction` to take in an additional parameter `SuiTransactionBlockResponseOptions` which is used to specify which fields to include in `SuiTransactionBlockResponse` (e.g., transaction, effects, events, etc). By default, only the transaction digest will be included. - c82e4b4: Introduce BigInt struct to sui-json-rpc-types to serialize and deserialize amounts to/from string. Change ts-sdk to serialize amounts of PaySui and Pay as string. - 7a2eaf4: Changing the SuiObjectResponse struct to use data/error fields instead of details/status - 2ef2bb5: Deprecate getTransactionDigestsInRange. This method will be removed before April 2023, please use `getTransactions` instead - 9b29bef: Pass blake2b hash to signer API - 8700809: Add a new `getCheckpoints` endpoint that returns a paginated list of checkpoints. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 01272ab: Remove deprecated `getCheckpointContents`, `getCheckpointContentsByDigest`, `getCheckpointSummary` and `getCheckpointSummaryByDigest` methods. - 9822357: Add getStakesByIds to get DelegatedStake queried by id - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - da72e73: Change the address of Move package for staking and validator related Move modules. - a0955c4: Switch from 20 to 32-byte address. Match Secp256k1.deriveKeypair with Ed25519. - 0c90476: Remove all gas selection APIs from the json rpc provider. - d5ef1b6: Added dependencies to publish command, dependencies now also returned from the sui move CLI with the `--dump-bytecode-as-base64` flag - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - 3de8de3: Remove `getValidators` API. Use `getLatestSuiSystemState` instead. - dd348cf: Refactor `getTransactions` to `queryTransactions` - 57c17e0: Removed `JsonRpcProviderWithCache`, use `JsonRpcProvider` instead. - 65f1372: Rename `provider.getTransactionWithEffects` to `provider.getTransaction`. The new method takes in an additional parameter `SuiTransactionBlockResponseOptions` to configure which fields to fetch(transaction, effects, events, etc). By default, only the transaction digest will be returned. - a092393: [testing only] an intent scope can be passed in to verifyMessage - fe335e6: Removed usage of `cross-fetch` in the TypeScript SDK. If you are running in an environment that does not have `fetch` defined, you will need to polyfill it. - 5dc25fa: Remove getTransactionDigestsInRange from the SDK - 64234ba: added combined `getCheckpoint` endpoint for retrieving information about a checkpoint - d3170ba: All JSON-RPC APIs now accept objects instead of positional arugments. - a6ffb80: Removed events from transaction effects, TransactionEvents will now be provided in the TransactionResponse, along side TransactionEffects. - 3304eb8: Refactor Rust SuiTransactionBlockKind to be internally tagged for Json serialization with tag="type" and SuiEvent to be adjacently tagged with tag="type" and content="content" - 4189171: Adds support for validator candidate. - 77bdf90: When parsing u64, u128, and u256 values with bcs, they are now string encoded. - a74df16: Minor change to the system transaction format - 0f7aa65: Switching the response type of the getOwnedObjects api to a paginatedObjects response, and also moving filtering to FN - 9b60bf7: Change all snake_case fields in checkpoint.ts and faucet.ts to camelCase - 64fb649: Remove old `SuiExecuteTransactionResponse` interface, and `CertifiedTransaction` interface in favor of the new unified `SuiTransactionBlockResponse` interfaces. - a6b0c4e: Changed the getOwnerObjectsForAddress api to getOwnedObjects, and added options/ pagination to the parameters ### Patch Changes - 00bb9bb: Correct "consensus_address" in ValidatorMetadata to "primary_address" - 14ba891: Change StakingPool structure by removing pool token supply and adding exchange rates. - 3eb3a1d: Make Ed25519 ExportedKeyPair only use 32 bytes seed. - 4593333: Add optional parameter for filtering object by type in getOwnedObjectsByAddress - 79c2165: Remove locked coin staking - 2108401: Add cross-env to prepare:e2e script for Windows machines functionality - Updated dependencies [19b567f] - Updated dependencies [5c3b00c] - Updated dependencies [3d9a046] - Updated dependencies [a8049d1] - Updated dependencies [a0955c4] - Updated dependencies [0a7b42a] - Updated dependencies [77bdf90] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. ### Patch Changes - Updated dependencies [19b567f] - Updated dependencies [5c3b00c] - Updated dependencies [bf545c7] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [0a7b42a] - Updated dependencies [c718dee] - Updated dependencies [68e60b0] - Updated dependencies [a6ffb80] - Updated dependencies [dbe73d5] - Updated dependencies [64fb649] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - c718dee: wallet-standard: changes sui:signAndExecuteTransaction and sui:signTransaction features to support account and chain options wallet-adapter-wallet-standard: change signAndExecuteTransaction and signTransaction signatures to support account and chain options wallet-adapter-wallet-standard: ensure version compatibility for of the wallet signAndExecuteTransaction and signTransaction features before using them (same major version) wallet-kit-core/wallet-kit: expose accounts as ReadonlyWalletAccount instead of only the address wallet-kit-core: signTransaction and signAndExecuteTransaction methods mirror the ones in standard adapter ### Patch Changes - Updated dependencies [956ec28] - Updated dependencies [4adfbff] - Updated dependencies [4c4573e] - Updated dependencies [acc2edb] - Updated dependencies [941b03a] - Updated dependencies [a6690ac] - Updated dependencies [a211dc0] - Updated dependencies [4c1e331] - Updated dependencies [19b567f] - Updated dependencies [7659e2e] - Updated dependencies [0d3cb44] - Updated dependencies [00bb9bb] - Updated dependencies [36c264e] - Updated dependencies [891abf5] - Updated dependencies [2e0ef59] - Updated dependencies [33cb357] - Updated dependencies [6bd8857] - Updated dependencies [f1e42f7] - Updated dependencies [272389c] - Updated dependencies [3de8de3] - Updated dependencies [be3c4f5] - Updated dependencies [dbe73d5] - Updated dependencies [14ba891] - Updated dependencies [c82e4b4] - Updated dependencies [7a2eaf4] - Updated dependencies [2ef2bb5] - Updated dependencies [9b29bef] - Updated dependencies [8700809] - Updated dependencies [5c3b00c] - Updated dependencies [01272ab] - Updated dependencies [9822357] - Updated dependencies [bf545c7] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [0672b59] - Updated dependencies [a0955c4] - Updated dependencies [3eb3a1d] - Updated dependencies [0c90476] - Updated dependencies [4593333] - Updated dependencies [d5ef1b6] - Updated dependencies [0a7b42a] - Updated dependencies [3de8de3] - Updated dependencies [dd348cf] - Updated dependencies [c718dee] - Updated dependencies [57c17e0] - Updated dependencies [65f1372] - Updated dependencies [a092393] - Updated dependencies [fe335e6] - Updated dependencies [5dc25fa] - Updated dependencies [64234ba] - Updated dependencies [79c2165] - Updated dependencies [d3170ba] - Updated dependencies [68e60b0] - Updated dependencies [a6ffb80] - Updated dependencies [3304eb8] - Updated dependencies [4189171] - Updated dependencies [2108401] - Updated dependencies [77bdf90] - Updated dependencies [a74df16] - Updated dependencies [0f7aa65] - Updated dependencies [9b60bf7] - Updated dependencies [dbe73d5] - Updated dependencies [64fb649] - Updated dependencies [a6b0c4e] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - da72e73: Change the address of Move package for staking and validator related Move modules. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - c718dee: wallet-standard: changes sui:signAndExecuteTransaction and sui:signTransaction features to support account and chain options wallet-adapter-wallet-standard: change signAndExecuteTransaction and signTransaction signatures to support account and chain options wallet-adapter-wallet-standard: ensure version compatibility for of the wallet signAndExecuteTransaction and signTransaction features before using them (same major version) wallet-kit-core/wallet-kit: expose accounts as ReadonlyWalletAccount instead of only the address wallet-kit-core: signTransaction and signAndExecuteTransaction methods mirror the ones in standard adapter - 68e60b0: Changed where the options and requestType for signAndExecuteTransaction are. - a6ffb80: Removed events from transaction effects, TransactionEvents will now be provided in the TransactionResponse, along side TransactionEffects. - dbe73d5: Add an optional `contentOptions` field to `SuiSignAndExecuteTransactionOptions` to specify which fields to include in `SuiTransactionBlockResponse` (e.g., transaction, effects, events, etc). By default, only the transaction digest will be included. - 64fb649: Remove old `SuiExecuteTransactionResponse` interface, and `CertifiedTransaction` interface in favor of the new unified `SuiTransactionBlockResponse` interfaces. ### Patch Changes - Updated dependencies [956ec28] - Updated dependencies [4adfbff] - Updated dependencies [4c4573e] - Updated dependencies [acc2edb] - Updated dependencies [941b03a] - Updated dependencies [a6690ac] - Updated dependencies [a211dc0] - Updated dependencies [4c1e331] - Updated dependencies [19b567f] - Updated dependencies [7659e2e] - Updated dependencies [0d3cb44] - Updated dependencies [00bb9bb] - Updated dependencies [36c264e] - Updated dependencies [891abf5] - Updated dependencies [2e0ef59] - Updated dependencies [33cb357] - Updated dependencies [6bd8857] - Updated dependencies [f1e42f7] - Updated dependencies [272389c] - Updated dependencies [3de8de3] - Updated dependencies [be3c4f5] - Updated dependencies [dbe73d5] - Updated dependencies [14ba891] - Updated dependencies [c82e4b4] - Updated dependencies [7a2eaf4] - Updated dependencies [2ef2bb5] - Updated dependencies [9b29bef] - Updated dependencies [8700809] - Updated dependencies [5c3b00c] - Updated dependencies [01272ab] - Updated dependencies [9822357] - Updated dependencies [bf545c7] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [0672b59] - Updated dependencies [a0955c4] - Updated dependencies [3eb3a1d] - Updated dependencies [0c90476] - Updated dependencies [4593333] - Updated dependencies [d5ef1b6] - Updated dependencies [0a7b42a] - Updated dependencies [3de8de3] - Updated dependencies [dd348cf] - Updated dependencies [c718dee] - Updated dependencies [57c17e0] - Updated dependencies [65f1372] - Updated dependencies [a092393] - Updated dependencies [fe335e6] - Updated dependencies [5dc25fa] - Updated dependencies [64234ba] - Updated dependencies [79c2165] - Updated dependencies [d3170ba] - Updated dependencies [68e60b0] - Updated dependencies [a6ffb80] - Updated dependencies [3304eb8] - Updated dependencies [4189171] - Updated dependencies [2108401] - Updated dependencies [77bdf90] - Updated dependencies [a74df16] - Updated dependencies [0f7aa65] - Updated dependencies [9b60bf7] - Updated dependencies [dbe73d5] - Updated dependencies [64fb649] - Updated dependencies [a6b0c4e] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - c718dee: wallet-standard: changes sui:signAndExecuteTransaction and sui:signTransaction features to support account and chain options wallet-adapter-wallet-standard: change signAndExecuteTransaction and signTransaction signatures to support account and chain options wallet-adapter-wallet-standard: ensure version compatibility for of the wallet signAndExecuteTransaction and signTransaction features before using them (same major version) wallet-kit-core/wallet-kit: expose accounts as ReadonlyWalletAccount instead of only the address wallet-kit-core: signTransaction and signAndExecuteTransaction methods mirror the ones in standard adapter ### Patch Changes - bf545c7: Add `features` prop to wallet kit that allows dapps to define which features they require to function properly. - Updated dependencies [956ec28] - Updated dependencies [4adfbff] - Updated dependencies [4c4573e] - Updated dependencies [acc2edb] - Updated dependencies [941b03a] - Updated dependencies [a6690ac] - Updated dependencies [a211dc0] - Updated dependencies [4c1e331] - Updated dependencies [19b567f] - Updated dependencies [7659e2e] - Updated dependencies [0d3cb44] - Updated dependencies [00bb9bb] - Updated dependencies [36c264e] - Updated dependencies [891abf5] - Updated dependencies [2e0ef59] - Updated dependencies [33cb357] - Updated dependencies [6bd8857] - Updated dependencies [f1e42f7] - Updated dependencies [272389c] - Updated dependencies [3de8de3] - Updated dependencies [be3c4f5] - Updated dependencies [dbe73d5] - Updated dependencies [14ba891] - Updated dependencies [c82e4b4] - Updated dependencies [7a2eaf4] - Updated dependencies [2ef2bb5] - Updated dependencies [9b29bef] - Updated dependencies [8700809] - Updated dependencies [5c3b00c] - Updated dependencies [01272ab] - Updated dependencies [9822357] - Updated dependencies [bf545c7] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [0672b59] - Updated dependencies [a0955c4] - Updated dependencies [3eb3a1d] - Updated dependencies [0c90476] - Updated dependencies [4593333] - Updated dependencies [d5ef1b6] - Updated dependencies [0a7b42a] - Updated dependencies [3de8de3] - Updated dependencies [dd348cf] - Updated dependencies [c718dee] - Updated dependencies [57c17e0] - Updated dependencies [65f1372] - Updated dependencies [a092393] - Updated dependencies [fe335e6] - Updated dependencies [5dc25fa] - Updated dependencies [64234ba] - Updated dependencies [79c2165] - Updated dependencies [d3170ba] - Updated dependencies [68e60b0] - Updated dependencies [a6ffb80] - Updated dependencies [3304eb8] - Updated dependencies [4189171] - Updated dependencies [2108401] - Updated dependencies [77bdf90] - Updated dependencies [a74df16] - Updated dependencies [0f7aa65] - Updated dependencies [9b60bf7] - Updated dependencies [dbe73d5] - Updated dependencies [64fb649] - Updated dependencies [a6b0c4e] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - c718dee: wallet-standard: changes sui:signAndExecuteTransaction and sui:signTransaction features to support account and chain options wallet-adapter-wallet-standard: change signAndExecuteTransaction and signTransaction signatures to support account and chain options wallet-adapter-wallet-standard: ensure version compatibility for of the wallet signAndExecuteTransaction and signTransaction features before using them (same major version) wallet-kit-core/wallet-kit: expose accounts as ReadonlyWalletAccount instead of only the address wallet-kit-core: signTransaction and signAndExecuteTransaction methods mirror the ones in standard adapter ### Patch Changes - bf545c7: Add `features` prop to wallet kit that allows dapps to define which features they require to function properly. - Updated dependencies [956ec28] - Updated dependencies [4adfbff] - Updated dependencies [4c4573e] - Updated dependencies [acc2edb] - Updated dependencies [941b03a] - Updated dependencies [a6690ac] - Updated dependencies [a211dc0] - Updated dependencies [4c1e331] - Updated dependencies [19b567f] - Updated dependencies [7659e2e] - Updated dependencies [0d3cb44] - Updated dependencies [00bb9bb] - Updated dependencies [36c264e] - Updated dependencies [891abf5] - Updated dependencies [2e0ef59] - Updated dependencies [33cb357] - Updated dependencies [6bd8857] - Updated dependencies [f1e42f7] - Updated dependencies [272389c] - Updated dependencies [3de8de3] - Updated dependencies [be3c4f5] - Updated dependencies [dbe73d5] - Updated dependencies [14ba891] - Updated dependencies [c82e4b4] - Updated dependencies [7a2eaf4] - Updated dependencies [2ef2bb5] - Updated dependencies [9b29bef] - Updated dependencies [8700809] - Updated dependencies [5c3b00c] - Updated dependencies [01272ab] - Updated dependencies [9822357] - Updated dependencies [bf545c7] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [0672b59] - Updated dependencies [a0955c4] - Updated dependencies [3eb3a1d] - Updated dependencies [0c90476] - Updated dependencies [4593333] - Updated dependencies [d5ef1b6] - Updated dependencies [0a7b42a] - Updated dependencies [3de8de3] - Updated dependencies [dd348cf] - Updated dependencies [c718dee] - Updated dependencies [57c17e0] - Updated dependencies [65f1372] - Updated dependencies [a092393] - Updated dependencies [fe335e6] - Updated dependencies [5dc25fa] - Updated dependencies [64234ba] - Updated dependencies [79c2165] - Updated dependencies [d3170ba] - Updated dependencies [68e60b0] - Updated dependencies [a6ffb80] - Updated dependencies [3304eb8] - Updated dependencies [4189171] - Updated dependencies [2108401] - Updated dependencies [77bdf90] - Updated dependencies [a74df16] - Updated dependencies [0f7aa65] - Updated dependencies [9b60bf7] - Updated dependencies [dbe73d5] - Updated dependencies [64fb649] - Updated dependencies [a6b0c4e] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - c718dee: wallet-standard: changes sui:signAndExecuteTransaction and sui:signTransaction features to support account and chain options wallet-adapter-wallet-standard: change signAndExecuteTransaction and signTransaction signatures to support account and chain options wallet-adapter-wallet-standard: ensure version compatibility for of the wallet signAndExecuteTransaction and signTransaction features before using them (same major version) wallet-kit-core/wallet-kit: expose accounts as ReadonlyWalletAccount instead of only the address wallet-kit-core: signTransaction and signAndExecuteTransaction methods mirror the ones in standard adapter ### Patch Changes - Updated dependencies [956ec28] - Updated dependencies [4adfbff] - Updated dependencies [4c4573e] - Updated dependencies [acc2edb] - Updated dependencies [941b03a] - Updated dependencies [a6690ac] - Updated dependencies [a211dc0] - Updated dependencies [4c1e331] - Updated dependencies [19b567f] - Updated dependencies [7659e2e] - Updated dependencies [0d3cb44] - Updated dependencies [00bb9bb] - Updated dependencies [36c264e] - Updated dependencies [891abf5] - Updated dependencies [2e0ef59] - Updated dependencies [33cb357] - Updated dependencies [6bd8857] - Updated dependencies [f1e42f7] - Updated dependencies [272389c] - Updated dependencies [3de8de3] - Updated dependencies [be3c4f5] - Updated dependencies [dbe73d5] - Updated dependencies [14ba891] - Updated dependencies [c82e4b4] - Updated dependencies [7a2eaf4] - Updated dependencies [2ef2bb5] - Updated dependencies [9b29bef] - Updated dependencies [8700809] - Updated dependencies [5c3b00c] - Updated dependencies [01272ab] - Updated dependencies [9822357] - Updated dependencies [bf545c7] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [0672b59] - Updated dependencies [a0955c4] - Updated dependencies [3eb3a1d] - Updated dependencies [0c90476] - Updated dependencies [4593333] - Updated dependencies [d5ef1b6] - Updated dependencies [0a7b42a] - Updated dependencies [3de8de3] - Updated dependencies [dd348cf] - Updated dependencies [c718dee] - Updated dependencies [57c17e0] - Updated dependencies [65f1372] - Updated dependencies [a092393] - Updated dependencies [fe335e6] - Updated dependencies [5dc25fa] - Updated dependencies [64234ba] - Updated dependencies [79c2165] - Updated dependencies [d3170ba] - Updated dependencies [68e60b0] - Updated dependencies [a6ffb80] - Updated dependencies [3304eb8] - Updated dependencies [4189171] - Updated dependencies [2108401] - Updated dependencies [77bdf90] - Updated dependencies [a74df16] - Updated dependencies [0f7aa65] - Updated dependencies [9b60bf7] - Updated dependencies [dbe73d5] - Updated dependencies [64fb649] - Updated dependencies [a6b0c4e] - @mysten/[email protected] - @mysten/[email protected] - @mysten/[email protected] ## @mysten/[email protected] ### Minor Changes - 956ec28: Change `signMessage` to return message bytes. Add support for sui:signMessage in the wallet standard - 19b567f: Unified self- and delegated staking flows. Removed fields from `Validator` (`stake_amount`, `pending_stake`, and `pending_withdraw`) and renamed `delegation_staking_pool` to `staking_pool`. Additionally removed the `validator_stake` and `delegated_stake` fields in the `ValidatorSet` type and replaced them with a `total_stake` field. - 5c3b00c: Add object id to staking pool and pool id to staked sui. - 3d9a046: Adds `deactivation_epoch` to staking pool object, and adds `inactive_pools` to the validator set object. - da72e73: Change the address of Move package for staking and validator related Move modules. - 0672b59: The Wallet Standard now only supports the `Transaction` type, instead of the previous `SignableTransaction` type. - 0a7b42a: This changes almost all occurences of "delegate", "delegation" (and various capitalizations/forms) to their equivalent "stake"-based name. Function names, function argument names, RPC endpoints, Move functions, and object fields have been updated with this new naming convention. - c718dee: wallet-standard: changes sui:signAndExecuteTransaction and sui:signTransaction features to support account and chain options wallet-adapter-wallet-standard: change signAndExecuteTransaction and signTransaction signatures to support account and chain options wallet-adapter-wallet-standard: ensure version compatibility for of the wallet signAndExecuteTransaction and signTransaction features before using them (same major version) wallet-kit-core/wallet-kit: expose accounts as ReadonlyWalletAccount instead of only the address wallet-kit-core: signTransaction and signAndExecuteTransaction methods mirror the ones in standard adapter - 68e60b0: Changed where the options and requestType for signAndExecuteTransaction are. - dbe73d5: Add an optional `contentOptions` field to `SuiSignAndExecuteTransactionOptions` to specify which fields to include in `SuiTransactionBlockResponse` (e.g., transaction, effects, events, etc). By default, only the transaction digest will be included. ### Patch Changes - bf545c7: Add `features` prop to wallet kit that allows dapps to define which features they require to function properly. - Updated dependencies [956ec28] - Updated dependencies [4adfbff] - Updated dependencies [4c4573e] - Updated dependencies [acc2edb] - Updated dependencies [941b03a] - Updated dependencies [a6690ac] - Updated dependencies [a211dc0] - Updated dependencies [4c1e331] - Updated dependencies [19b567f] - Updated dependencies [7659e2e] - Updated dependencies [0d3cb44] - Updated dependencies [00bb9bb] - Updated dependencies [36c264e] - Updated dependencies [891abf5] - Updated dependencies [2e0ef59] - Updated dependencies [33cb357] - Updated dependencies [6bd8857] - Updated dependencies [f1e42f7] - Updated dependencies [272389c] - Updated dependencies [3de8de3] - Updated dependencies [be3c4f5] - Updated dependencies [dbe73d5] - Updated dependencies [14ba891] - Updated dependencies [c82e4b4] - Updated dependencies [7a2eaf4] - Updated dependencies [2ef2bb5] - Updated dependencies [9b29bef] - Updated dependencies [8700809] - Updated dependencies [5c3b00c] - Updated dependencies [01272ab] - Updated dependencies [9822357] - Updated dependencies [3d9a046] - Updated dependencies [da72e73] - Updated dependencies [a0955c4] - Updated dependencies [3eb3a1d] - Updated dependencies [0c90476] - Updated dependencies [4593333] - Updated dependencies [d5ef1b6] - Updated dependencies [0a7b42a] - Updated dependencies [3de8de3] - Updated dependencies [dd348cf] - Updated dependencies [57c17e0] - Updated dependencies [65f1372] - Updated dependencies [a092393] - Updated dependencies [fe335e6] - Updated dependencies [5dc25fa] - Updated dependencies [64234ba] - Updated dependencies [79c2165] - Updated dependencies [d3170ba] - Updated dependencies [a6ffb80] - Updated dependencies [3304eb8] - Updated dependencies [4189171] - Updated dependencies [2108401] - Updated dependencies [77bdf90] - Updated dependencies [a74df16] - Updated dependencies [0f7aa65] - Updated dependencies [9b60bf7] - Updated dependencies [64fb649] - Updated dependencies [a6b0c4e] - @mysten/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information