twitter-api-typescript-sdk
twitter-api-typescript-sdk copied to clipboard
auth: Use webcrypto & Uint8Array instead of NodeJS crypto & Buffer
Problem
The current auth
implementation makes use of NodeJS crypto
package and Buffer
, and because of this the library cannot be used in contexts where these are unavailable, such as on Cloudflare workers.
Solution
The solution was to replace NodeJS primitives with their standard counterparts.
Result
As a result of the changes in this PR, it will be possible to use the library on environments where NodeJS crypto
and Buffer
are not available, such as Cloudflare workers.
Hi... I want to recover my account. I think I unintentionally broke the Twitter Rules, but after reading it and reading it again well; I undertake not to violate and comply with all laws and policies of use of the Twitter program. I undertake to abide by the laws and thank you for your cooperation
Note I have worked with you a lot on recalculation. Please I want to understand what are your conditions for reinstatement of these accounts mentioned below
👇👇👇👇
@chinanws22
@WORLD___2022
@chinewar111
I can confirm this works as expected, are there any plans to merge this?
@refarer