Pytonapi

Latest version: v0.3.1

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

Scan your dependencies

Page 1 of 2

0.3.1

What's Changed

- Added `total` count field to `JettonHolders` schema.
- Fixed: `AttributeError: 'str' object has no attribute 'get'`.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.9...v0.3.1

0.2.9

What's Changed

Fixes

* **Updated `StateInit` schema:** The `StateInit` schema has been revised to include only the `boc` field. [10](https://github.com/tonkeeper/pytonapi/issues/10)

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.8...v0.2.9

0.2.8

What's Changed

New Features
- Added 'liteserver' module to the list of imported schemas in the `__all__` variable.
- Added `liteserver.get_account_state` tests.
- Added `py.typed` to support type checkers by vladimir-chernykh in https://github.com/tonkeeper/pytonapi/pull/12

Fixes
- Fixed `TypeError: 'type' object is not subscriptable`, updated type annotations to support Python versions below 3.10. https://github.com/tonkeeper/pytonapi/pull/13
- Updated `BlockRaw.shard` data type from `int` to `str` to resolve data inconsistency error. https://github.com/tonkeeper/pytonapi/issues/11

Enhancements
- Refactored `test_get_all_jettons` method.

New Contributors
* vladimir-chernykh made their first contribution in https://github.com/tonkeeper/pytonapi/pull/12

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.6...v0.2.8

0.2.6

What's Changed

New Features
- Added [example](https://github.com/tonkeeper/pytonapi/blob/main/examples/send_ton.py) for sending TON.

Fixes
- Fixed API endpoint typo in `EmulateMethod.decode_message` method.

Enhancements
- Updated `SSEMethod.subscribe_to_transactions` signature: added optional `operations` parameter.
- Handled HTTP status errors in `_subscribe` method.
- Refactored `__read_content` method for efficient reading.

Miscellaneous
- Added `TONAPISSEError`.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.4...v0.2.6

0.2.4

What's Changed

Updates

* Add `owner` to JettonHolder schema.
* Add `jettons.get_all_holders` method.

Fixes

* Fixed `JSONDecodeError` handling to return error content as a dictionary instead of a set.

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.2.0...v0.2.4

0.2.0

What's Added

- **New API Methods**

**Inscriptions**
- [x] /v2/experimental/accounts/{account_id}/inscriptions
- [x] /v2/experimental/accounts/{account_id}/inscriptions/history
- [x] /v2/experimental/accounts/{account_id}/inscriptions/{ticker}/history
- [x] /v2/experimental/inscriptions/op-template

**Full Changelog**: https://github.com/tonkeeper/pytonapi/compare/v0.1.9...v0.2.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.