phonic 0.2.0 → 0.3.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 CHANGED
@@ -141,6 +141,16 @@ phonicWebSocket.onError((event) => {
141
141
  });
142
142
  ```
143
143
 
144
+ ## Release a new version to npm
145
+
146
+ 1. `bunx changeset`
147
+ 2. `git add .`
148
+ 3. `git commit -m "Add changeset"`
149
+ 4. `git push`
150
+
151
+ Git action will run and create a PR.
152
+ Once this PR is merged, the new version will be released to npm.
153
+
144
154
  ## License
145
155
 
146
156
  MIT
package/dist/index.d.mts CHANGED
@@ -33,7 +33,9 @@ type PhonicWebSocketResponseMessage = {
33
33
  audio: string;
34
34
  text: string;
35
35
  } | {
36
- type: "flushed";
36
+ type: "flush_confirm";
37
+ } | {
38
+ type: "stop_confirm";
37
39
  } | {
38
40
  type: "error";
39
41
  error: {
package/dist/index.d.ts CHANGED
@@ -33,7 +33,9 @@ type PhonicWebSocketResponseMessage = {
33
33
  audio: string;
34
34
  text: string;
35
35
  } | {
36
- type: "flushed";
36
+ type: "flush_confirm";
37
+ } | {
38
+ type: "stop_confirm";
37
39
  } | {
38
40
  type: "error";
39
41
  error: {
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ __export(src_exports, {
35
35
  module.exports = __toCommonJS(src_exports);
36
36
 
37
37
  // package.json
38
- var version = "0.2.0";
38
+ var version = "0.3.0";
39
39
 
40
40
  // src/tts/index.ts
41
41
  var import_ws = __toESM(require("ws"));
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.2.0";
2
+ var version = "0.3.0";
3
3
 
4
4
  // src/tts/index.ts
5
5
  import WebSocket from "ws";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Phonic Node.js SDK",
5
5
  "scripts": {
6
6
  "build": "tsup",