@zernio/node 0.2.958 → 0.2.959

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/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.958",
39
+ version: "0.2.959",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.958",
8
+ version: "0.2.959",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.958",
3
+ "version": "0.2.959",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5281,7 +5281,10 @@ export const getVoiceCall = <ThrowOnError extends boolean = false>(options: Opti
5281
5281
  * Hang up a live call
5282
5282
  * Hangs up a live call on demand, including an outbound call that is
5283
5283
  * still ringing and has not been answered yet (the callee stops ringing
5284
- * immediately). Idempotent: ending a call that already
5284
+ * immediately). Works for PSTN calls and for WhatsApp calls (the `callId`
5285
+ * returned by `POST /v1/whatsapp/calls`, or an inbound WhatsApp call id).
5286
+ * A WhatsApp call forwarded to a `wss://` destination also ends
5287
+ * automatically when that WebSocket closes. Idempotent: ending a call that already
5285
5288
  * ended (or never connected) returns success with the call's current
5286
5289
  * status. Final duration/cost are written asynchronously when the hangup
5287
5290
  * event lands, so the call doc may briefly still show its prior status.