channel-worker 1.6.8 → 1.6.10

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/lib/nst-manager.js +4 -15
  2. package/package.json +1 -1
@@ -158,22 +158,11 @@ class NstManager {
158
158
  },
159
159
  };
160
160
 
161
- // Pass proxy in connect config
161
+ // Pass proxy as URL string in connect config (Nstbrowser API format)
162
162
  if (options.proxy) {
163
- try {
164
- const proxyUrl = new URL(options.proxy);
165
- connectConfig.proxy = {
166
- proxyMethod: 'custom',
167
- proxyType: proxyUrl.protocol.replace(':', '') || 'http',
168
- host: proxyUrl.hostname,
169
- port: proxyUrl.port,
170
- username: decodeURIComponent(proxyUrl.username || ''),
171
- password: decodeURIComponent(proxyUrl.password || ''),
172
- };
173
- console.log(`[nst] Proxy: ${proxyUrl.hostname}:${proxyUrl.port}`);
174
- } catch (e) {
175
- console.warn(`[nst] Invalid proxy URL: ${options.proxy}`);
176
- }
163
+ connectConfig.proxy = options.proxy;
164
+ connectConfig.args['--proxy-bypass-list'] = 'api.channel.tunasm.art,localhost,127.0.0.1';
165
+ console.log(`[nst] Proxy: ${options.proxy} (bypass: api.channel.tunasm.art)`);
177
166
  }
178
167
 
179
168
  if (options.extensionPath) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "1.6.8",
3
+ "version": "1.6.10",
4
4
  "description": "Channel Manager worker daemon — runs on remote machines to execute video pipeline jobs",
5
5
  "main": "lib/daemon.js",
6
6
  "bin": {