This release includes:
- Support for reading and writing OTP field information such as the TOTP code and seed, through the Item API.
- The `Update` operation is renamed to `Put` to create more realistic expectation with regard to the effect of the operation.
- The item creation operation now takes as input `ItemCreateParams`.
- Support for a few more field types: Phone, Url, CreditCardType.
**NOTE** This release contains breaking changes:
Wherever you were using
item = await client.items.update(item)
you must now use
item = await client.items.put(item)
and wherever you were using:
to_create = Item(
id="",
title="MyName",
category="Login",
vault_id="q73bqltug6xoegr3wkk2zkenoq",
fields=[],
sections=[])
item = await client.items.create(to_create)
you must now use
params = ItemCreateParams(
title="MyName",
category="Login",
vault_id="q73bqltug6xoegr3wkk2zkenoq",
fields=[],
sections=[])
item = await client.items.create(params)