@sinch/cli 0.3.4 → 0.4.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.
Files changed (3) hide show
  1. package/README.md +5 -9
  2. package/dist/index.js +427 -406
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **Official command-line interface for Sinch - Manage Functions, Voice, SMS, and more from your terminal**
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@sinch/sinch-cli.svg)](https://www.npmjs.com/package/@sinch/sinch-cli)
5
+ [![npm version](https://img.shields.io/npm/v/@sinch/cli.svg)](https://www.npmjs.com/package/@sinch/cli)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
8
  ## Overview
@@ -12,12 +12,9 @@ The Sinch CLI is your unified developer tool for managing all Sinch products. Cu
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- # Latest stable release (production)
15
+ # Install
16
16
  npm install -g @sinch/cli
17
17
 
18
- # Beta releases (pre-release testing)
19
- npm install -g @sinch/cli@beta
20
-
21
18
  # Dev channel (bleeding edge - latest from main branch)
22
19
  npm install -g @sinch/cli@dev
23
20
  ```
@@ -25,7 +22,6 @@ npm install -g @sinch/cli@dev
25
22
  **Installation Channels:**
26
23
 
27
24
  - **`@latest`** (default) - Production-ready stable releases
28
- - **`@beta`** - Pre-release versions for testing new features
29
25
  - **`@dev`** - Cutting-edge builds from main branch (auto-published on every commit)
30
26
 
31
27
  ## Prerequisites
@@ -141,10 +137,10 @@ const stripeKey = process.env.STRIPE_KEY;
141
137
 
142
138
  ### 🔄 Hot Reload Development
143
139
 
144
- Changes to your function are automatically reloaded:
140
+ Changes to your function are automatically reloaded during `sinch functions dev` via nodemon (Node.js) or dotnet watch (C#). No flags needed:
145
141
 
146
142
  ```bash
147
- sinch functions dev --watch
143
+ sinch functions dev
148
144
  ```
149
145
 
150
146
  ### 🐛 VS Code Debugging
@@ -219,7 +215,7 @@ DEBUG=3 sinch functions dev # Full debug with headers
219
215
 
220
216
  ### Common Issues
221
217
 
222
- - **Command not found**: Reinstall globally with `npm install -g @sinch/sinch-cli@beta`
218
+ - **Command not found**: Reinstall globally with `npm install -g @sinch/cli`
223
219
  - **Authentication failed**: Check your Sinch API credentials with `sinch auth status`
224
220
  - **Deployment failed**: Verify your function configuration and project access
225
221