phonic 0.6.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -12
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ npm i phonic
|
|
|
17
17
|
|
|
18
18
|
## Setup
|
|
19
19
|
|
|
20
|
-
Grab an API key from [Phonic
|
|
20
|
+
Grab an API key from the [Phonic API Keys](https://phonic.co/api-keys) section and pass it to the Phonic constructor.
|
|
21
21
|
|
|
22
22
|
```ts
|
|
23
23
|
import { Phonic } from "phonic";
|
|
@@ -38,7 +38,7 @@ if (error === null) {
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
### Get voice by
|
|
41
|
+
### Get voice by ID
|
|
42
42
|
|
|
43
43
|
```ts
|
|
44
44
|
const { data, error } = await phonic.voices.get("meredith");
|
|
@@ -132,16 +132,6 @@ phonicWebSocket.onError((event) => {
|
|
|
132
132
|
});
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
## Publish a new version on npm
|
|
136
|
-
|
|
137
|
-
1. `bunx changeset`
|
|
138
|
-
2. `git add .`
|
|
139
|
-
3. `git commit -m "Add changeset"`
|
|
140
|
-
4. `git push`
|
|
141
|
-
|
|
142
|
-
This should trigger the `publish` github workflow that will create a Pull Request named "Version Packages".
|
|
143
|
-
Once this Pull Request is merged, the new version will be published on npm.
|
|
144
|
-
|
|
145
135
|
## License
|
|
146
136
|
|
|
147
137
|
MIT
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED