Pysui

Latest version: v0.60.0

Safety actively analyzes 629004 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 18

0.60.0

Added

- `query_node_to_string` to pysui GraphQL clients
- Package object_type discriminator in ObjectReadGQL
- `do_stake` and `do_unstake` in GraphQL samples
- Support for `0x1::string::String` move call parms:
- `&String` (e.g. `args=["foo"]`)
- `Option<String>` (e.g. `args=["foo"]` or `args=[None]`)
- `vector<String>` (e.g. `args=[["foo","bar"]]`)

Fixed

Changed

- Cursor on MovePackageGQL for modules enabled in query node GetPackage
- Cursor through all modules for `do_package` in sample
- Cursor on MoveFunctionsGQL enabled in query node GetFunctions
- Cursor on MoveStructuresGQL enabled in query node GetStructures
- Enabled cursor in query node GetValidatorsApy

Removed

0.59.0

Added

Fixed

- [bug](https://github.com/FrankC01/pysui/issues/201) - Parameter passing fix for JSON RPC
- [bug](https://github.com/FrankC01/pysui/issues/200) - Typo in cursor reference in sample code

Changed

- GetTx querynode includes richer effects for object changes content.

Removed

- `split_coin_and_return` from GraphQL SuiTransaction. Less costly to just split and transfer

0.58.0

Added

- build_and_sign() to GraphQL SuiTransaction
- `merge_some` and `split_1_half` examples transactions in pgql_s_example.py

Fixed

- [PR](https://github.com/FrankC01/pysui/pull/197) - Documentation
- [PR](https://github.com/FrankC01/pysui/pull/198) - Documentation


Changed

- Bump support to Sui 1.24.0
- SuiCoinObjectGQL now supports various owner types (AddressOwner, Immutable, Shared, Parent)

Removed

0.57.0

Added

- Support for using bech32 encoded private keys in `SuiConfig.user_config`
- Support using Sui GraphQL in devnet
- Add `gql_url` argument to support setting GraphQL RPC host URL to `SuiConfig.user_config(...)`

Fixed

- Overlap on Validator and ValidatorSet data class
- [PR](https://github.com/FrankC01/pysui/pull/195) - Fix typo
- [PR](https://github.com/FrankC01/pysui/pull/196) - Remove useless sleep in subscription management

Changed

- Bumped pysui-fastcrypto to 0.5.0 supporting bech32 private key encoding/decoding
- Persisted schema filename changed to `ENVIRONMENT_schema-YYYY.MAJOR.MINOR-PATCH.graphql` from `ENVIRONMENT_schema-YYYY_MAJOR_MINOR-PATCH.graphql`

Removed

0.56.0

Added

- `walletg` in samples providing CLI using Sui GraphQL RPC
- Includes dry run for either TransactionData or TransactionKind
- Includes executing signed transactions

Fixed

Changed

- SPDX-License-Identifiers
- GraphQL support custom URL
- GraphQL clients now have explicit execute for string, DocumentNode or QueryNode
- Deprecating synch and asynch GraphQL client `execute_query`

Removed

0.55.0

Added

- DryRun (GraphQL) result now contains return values (if any) of transaction block
- ObjectReadDeletedGQL for objects that have been wrapped into other object or deleted

Fixed

- Removed ValueError exception if the dry run transaction block status not equal to 'SUCCESS'. This dry run is
the one invokved to obtain a budget value when none provided.
- Fixed GraphQL Protocol Configuration fetch by explictly requesting the latest known version in production.

Changed

Removed

Page 1 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.