@getdial/cli 0.25.0 → 0.25.1

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.
@@ -4,7 +4,7 @@ import { DialError } from "./errors.js";
4
4
  export async function sendMessage(opts) {
5
5
  const auth = requireAuth();
6
6
  const fromNumberId = requireFromNumberId(auth, opts.fromNumberId);
7
- const res = await apiPost("/api/v1/messages", { to: opts.to, body: opts.body, channel: "sms", fromNumberId }, auth.apiKey);
7
+ const res = await apiPost("/api/v1/messages", { to: opts.to, body: opts.body, fromNumberId }, auth.apiKey);
8
8
  if (!res.ok)
9
9
  throw new DialError("send_failed", res.error, res.status);
10
10
  return res.data.message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getdial/cli",
3
- "version": "0.25.0",
3
+ "version": "0.25.1",
4
4
  "description": "Dial CLI — install, sign up, and run the local listen service.",
5
5
  "license": "MIT",
6
6
  "repository": {
package/skills.tar.gz CHANGED
Binary file