Skip to content

Commit 23d2342

Browse files
committed
Update Chrome and Firefox profile types, and change TLS client version to 1.9.1
1 parent 787b81d commit 23d2342

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import ModuleClient from './utils/client.js';
22
import crypto from 'node:crypto';
33

44
/**
5-
* @typedef {"chrome_103"|"chrome_104"|"chrome_105"|"chrome_106"|"chrome_107"|"chrome_108"|"chrome_109"|"chrome_110"|"chrome_111"|"chrome_112"|"chrome_116_PSK"|"chrome_116_PSK_PQ"|"chrome_117"|"chrome_120"|"chrome_124"|"chrome_131"|"chrome_131_PSK"} ChromeProfile
5+
* @typedef {"chrome_103"|"chrome_104"|"chrome_105"|"chrome_106"|"chrome_107"|"chrome_108"|"chrome_109"|"chrome_110"|"chrome_111"|"chrome_112"|"chrome_116_PSK"|"chrome_116_PSK_PQ"|"chrome_117"|"chrome_120"|"chrome_124"|"chrome_131"|"chrome_131_PSK"|"chrome_133"|"chrome_133_PSK"} ChromeProfile
66
*/
77

88
/**
@@ -18,7 +18,7 @@ import crypto from 'node:crypto';
1818
*/
1919

2020
/**
21-
* @typedef {"firefox_102"|"firefox_104"|"firefox_105"|"firefox_106"|"firefox_108"|"firefox_110"|"firefox_117"|"firefox_120"|"firefox_123"|"firefox_132"|"firefox_133"} FirefoxProfile
21+
* @typedef {"firefox_102"|"firefox_104"|"firefox_105"|"firefox_106"|"firefox_108"|"firefox_110"|"firefox_117"|"firefox_120"|"firefox_123"|"firefox_132"|"firefox_133"|"firefox_135"} FirefoxProfile
2222
*/
2323

2424
/**
@@ -208,7 +208,7 @@ class SessionClient {
208208
* @type {TlsClientDefaultOptions}
209209
*/
210210
this.defaultOptions = {
211-
tlsClientIdentifier: 'chrome_131',
211+
tlsClientIdentifier: 'chrome_133',
212212
catchPanics: false,
213213
certificatePinningHosts: null,
214214
customTlsClient: null,
@@ -255,7 +255,7 @@ class SessionClient {
255255
],
256256
defaultHeaders: {
257257
'User-Agent':
258-
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
258+
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36',
259259
},
260260
connectHeaders: null,
261261
insecureSkipVerify: false,

src/utils/path.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TlsDependency {
77
constructor() {
88
this.arch = os.arch();
99
this.platform = os.platform();
10-
this.version = '1.7.10';
10+
this.version = '1.9.1';
1111
this.filename = 'tls-client-xgo';
1212
this.extension = '';
1313
this.distribution = '';

0 commit comments

Comments
 (0)