Pysui

Latest version: v0.63.0

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

Scan your dependencies

Page 1 of 18

0.64.0

Added

Fixed

Changed

Removed

0.63.0

Added

- Serialization of **pysui GraphQL SuiTransaction** to **Sui Wallet JSON standard** (_schema version 2_)
- `pgql_wallet_ser.serialize_to_wallet_standard`
- Deserialization of **Sui Wallet JSON standard** (_schema version 2_) to dataclasses
- `pgql_wallet_deser.deserialize_from_wallet_standard`
- Deserialization of **Sui Wallet JSON standard** (_schema version 2_) to **pysui GraphQL SuiTransaction**
- `pgql_wallet2txn_deser.deserialize_to_transaction`


Fixed

- [PR](https://github.com/FrankC01/pysui/pull/213) Fix typos

Changed

Removed

- GetLoadedChildObjects as Sui 1.28.0 removed RPC "sui_getLoadedChildObjects"

0.62.1

Added

- `availableVersions` list and `mutationTimeoutMs` to ServiceConfigGQL

Fixed

- [bug](https://github.com/FrankC01/pysui/issues/212) GraphQL GetPackage and GetFunction fail converting to dataclass
- [bug](https://github.com/FrankC01/pysui/issues/210) Passing str doesn't convert to vector<u8> (GraphQL SuiTransaction)
- Fixed handling case of unresolvable UpgradeCap fetch in GraphQL SuiTransaction `publish_upgrade``
- Regression in arg processor for GraphQL Transaction building


Changed

- [PR](https://github.com/FrankC01/pysui/pull/211) Return address instead of failing when address already exists

Removed

0.61.0

Added

- `GetTxKind` query node for fetching transaction type details
- Only ProgrammableTransactionBlock, ConsensusCommitPrologueTransaction, and GenesisTransaction kinds supported
- Added `do_tx_kind` function to synch and asynch graphql samples
- `GetFilteredTx`` query node that fetches all transactions with TransactionBlockFilter set
- Added `do_filter_txs` function to synch and asynch graphql samples
- Passing optional global HTTP client headers in SuiGQLClient constructor.
- Accepts a dict (e.g. `{"headers":{"...":...}}` )
- If not provided, defaults to `{"headers":None}` (see next)
- `client_headers` property to GraphQL clients (read only, produces copy)
- `with_headers` argument to client `execute...` methods.
- During execution, merges provided with global headers:
python
hdr = self.client_headers
hdr = hdr if not with_headers else hdr.update(with_headers)

- Single permanent reconnecting async session for `AsyncSuiGQLClient`


Fixed

Changed

- Document updates (added graphql transaction builder samples)
- Bumped dataclasses-json to 0.6.6
- Sui binary support range 1.20.x -> 1.27.x

Removed

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

Page 1 of 18

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.