Open landonsilla opened 1 month ago
Latest commit: ffc3fa8c5a20b568fab2112ae2d146dee626f825
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
proxy-agents | ✅ Ready (Inspect) | Visit Preview | Aug 7, 2024 7:39pm |
hey nate! first off big thanks for this package. it has been incredibly valuable for project.
I'm wanting to include the tls ciphers list (and other, similar params) on the agent constructor:
(Btw, i am making
GET
s tohttps://check.ja3.zone/
to check if the fingerprint is changing, e.g. theciphers
declaration is effective)I found that the
ciphers
,honorCipherOrder
,secureProtocol
params don't make it to the basehttp.Agent
object, which is needed to have the effect I'm looking for. And, including the constructoropts
in thethis.options
seems to do the trick.I'll be honest, I don't deeply understand this code. I just know that this code diff has the affect i desire. Perhaps there are keys that should/should not be here???? Perhaps you want a blacklist or whitelist strategy? I see you have the
omit
function to remove things. I don't have a strong preference on this stuff, I just wantciphers
,honorCipherOrder
,secureProtocol
(andsecureOptions
) to be included inthis.options
.Thanks again! I hope this is helpful.