@dimension-studios/ttk-proxy 1.197.2 → 1.198.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 (2) hide show
  1. package/README.md +13 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -117,7 +117,7 @@ The CLI provides beautiful, color-coded output using `@rharkor/logger`:
117
117
  Example output:
118
118
 
119
119
  ```
120
- 🚀 Calling TikTok Proxy API...
120
+ 🚀 Calling TikTok Proxy API at https://your-api-url.com...
121
121
  ✅ Status: 200 OK
122
122
 
123
123
  📦 Response:
@@ -149,10 +149,15 @@ List all TikTok proxy tokens.
149
149
 
150
150
  Search shops authorized for your API token (`GET /ttk-proxy/shops/search` on your Node API). Use at least 2 characters in `query`.
151
151
 
152
- #### `ttk-proxy get-cookies`
152
+ #### `ttk-proxy get-cookies <shopId>`
153
153
 
154
154
  Fetch cookies JSON for the given shop ID (calls `POST /ttk-proxy/get-cookies`).
155
155
 
156
+ - **Options:**
157
+ - `-i, --allow-invalid`: Return the stored cookie even if no slot is marked valid
158
+
159
+ #### `ttk-proxy config`
160
+
156
161
  Manage configuration.
157
162
 
158
163
  - **Options:**
@@ -172,27 +177,24 @@ Set a configuration value.
172
177
  ### Setup
173
178
 
174
179
  ```bash
175
- # Install dependencies
180
+ # Install dependencies (repo root)
176
181
  pnpm install
177
182
 
178
183
  # Build the package
179
- pnpm run build
184
+ pnpm --filter @dimension-studios/ttk-proxy run build
180
185
 
181
186
  # Run type checking
182
- pnpm run type-check
187
+ pnpm --filter @dimension-studios/ttk-proxy run type-check
183
188
 
184
189
  # Development mode (watch)
185
- pnpm run dev
190
+ pnpm --filter @dimension-studios/ttk-proxy run dev
186
191
  ```
187
192
 
188
193
  ### Testing Locally
189
194
 
190
195
  ```bash
191
- # Link the package globally
192
- npm link
193
-
194
- # Now you can use ttk-proxy command
195
- ttk-proxy --help
196
+ # After building, run the CLI from the repo root
197
+ node packages/ttk-proxy-cli/bin/cli.js --help
196
198
  ```
197
199
 
198
200
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimension-studios/ttk-proxy",
3
- "version": "1.197.2",
3
+ "version": "1.198.0",
4
4
  "description": "CLI tool for TikTok proxy API",
5
5
  "keywords": [
6
6
  "tiktok",