Skip to content

Commit

Permalink
(break): rename timstamp to timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] authored Aug 13, 2024
1 parent a75c7e7 commit 6db2fdd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "elevenlabs"
version = "v1.6.1"
version = "1.7.0"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ client.text_to_speech.convert(
</dl>
</details>

<details><summary><code>client.text_to_speech.<a href="src/elevenlabs/text_to_speech/client.py">convert_with_timstamps</a>(...)</code></summary>
<details><summary><code>client.text_to_speech.<a href="src/elevenlabs/text_to_speech/client.py">convert_with_timestamps</a>(...)</code></summary>
<dl>
<dd>

Expand Down Expand Up @@ -980,7 +980,7 @@ from elevenlabs.client import ElevenLabs
client = ElevenLabs(
api_key="YOUR_API_KEY",
)
client.text_to_speech.convert_with_timstamps(
client.text_to_speech.convert_with_timestamps(
voice_id="21m00Tcm4TlvDq8ikWAM",
text="text",
)
Expand Down
2 changes: 1 addition & 1 deletion src/elevenlabs/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "elevenlabs",
"X-Fern-SDK-Version": "v1.6.0",
"X-Fern-SDK-Version": "1.7.0",
}
if self._api_key is not None:
headers["xi-api-key"] = self._api_key
Expand Down
8 changes: 4 additions & 4 deletions src/elevenlabs/text_to_speech/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def convert(
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

def convert_with_timstamps(
def convert_with_timestamps(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -240,7 +240,7 @@ def convert_with_timstamps(
client = ElevenLabs(
api_key="YOUR_API_KEY",
)
client.text_to_speech.convert_with_timstamps(
client.text_to_speech.convert_with_timestamps(
voice_id="21m00Tcm4TlvDq8ikWAM",
text="text",
)
Expand Down Expand Up @@ -683,7 +683,7 @@ async def main() -> None:
raise ApiError(status_code=_response.status_code, body=_response.text)
raise ApiError(status_code=_response.status_code, body=_response_json)

async def convert_with_timstamps(
async def convert_with_timestamps(
self,
voice_id: str,
*,
Expand Down Expand Up @@ -771,7 +771,7 @@ async def convert_with_timstamps(
async def main() -> None:
await client.text_to_speech.convert_with_timstamps(
await client.text_to_speech.convert_with_timestamps(
voice_id="21m00Tcm4TlvDq8ikWAM",
text="text",
)
Expand Down

0 comments on commit 6db2fdd

Please sign in to comment.