Skip to content

Commit 6db2fdd

Browse files
(break): rename timstamp to timestamp
1 parent a75c7e7 commit 6db2fdd

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "elevenlabs"
3-
version = "v1.6.1"
3+
version = "1.7.0"
44
description = ""
55
readme = "README.md"
66
authors = []

reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ client.text_to_speech.convert(
948948
</dl>
949949
</details>
950950

951-
<details><summary><code>client.text_to_speech.<a href="src/elevenlabs/text_to_speech/client.py">convert_with_timstamps</a>(...)</code></summary>
951+
<details><summary><code>client.text_to_speech.<a href="src/elevenlabs/text_to_speech/client.py">convert_with_timestamps</a>(...)</code></summary>
952952
<dl>
953953
<dd>
954954

@@ -980,7 +980,7 @@ from elevenlabs.client import ElevenLabs
980980
client = ElevenLabs(
981981
api_key="YOUR_API_KEY",
982982
)
983-
client.text_to_speech.convert_with_timstamps(
983+
client.text_to_speech.convert_with_timestamps(
984984
voice_id="21m00Tcm4TlvDq8ikWAM",
985985
text="text",
986986
)

src/elevenlabs/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1717
headers: typing.Dict[str, str] = {
1818
"X-Fern-Language": "Python",
1919
"X-Fern-SDK-Name": "elevenlabs",
20-
"X-Fern-SDK-Version": "v1.6.0",
20+
"X-Fern-SDK-Version": "1.7.0",
2121
}
2222
if self._api_key is not None:
2323
headers["xi-api-key"] = self._api_key

src/elevenlabs/text_to_speech/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def convert(
157157
raise ApiError(status_code=_response.status_code, body=_response.text)
158158
raise ApiError(status_code=_response.status_code, body=_response_json)
159159

160-
def convert_with_timstamps(
160+
def convert_with_timestamps(
161161
self,
162162
voice_id: str,
163163
*,
@@ -240,7 +240,7 @@ def convert_with_timstamps(
240240
client = ElevenLabs(
241241
api_key="YOUR_API_KEY",
242242
)
243-
client.text_to_speech.convert_with_timstamps(
243+
client.text_to_speech.convert_with_timestamps(
244244
voice_id="21m00Tcm4TlvDq8ikWAM",
245245
text="text",
246246
)
@@ -683,7 +683,7 @@ async def main() -> None:
683683
raise ApiError(status_code=_response.status_code, body=_response.text)
684684
raise ApiError(status_code=_response.status_code, body=_response_json)
685685

686-
async def convert_with_timstamps(
686+
async def convert_with_timestamps(
687687
self,
688688
voice_id: str,
689689
*,
@@ -771,7 +771,7 @@ async def convert_with_timstamps(
771771
772772
773773
async def main() -> None:
774-
await client.text_to_speech.convert_with_timstamps(
774+
await client.text_to_speech.convert_with_timestamps(
775775
voice_id="21m00Tcm4TlvDq8ikWAM",
776776
text="text",
777777
)

0 commit comments

Comments
 (0)