Releases: Owen3H/twittxr
Releases · Owen3H/twittxr
v0.7.2
v0.7.1
- Reference error now thrown if Puppeteer wasn't found when trying to use it.
- CI script now runs before publishing to NPM.
- Included
src
in the build. - Made some edits upon reading TypeScript performance wiki.
- Implemented
RawTimelineResponse
type. TimelineUser
class properties nowreadonly
.vite.config.ts
renamed tovitest.config.ts
(more appropriate since we aren't using Vite)
v0.7.0
Changes
- Puppeteer will now be used as a fallback on failed requests (if installed).
puppeteer-extra
no longer a dependency, regularpuppeteer
is now an optional dependency.- Massive overhaul to README, including Authentication, Puppeteer and Disclaimer sections.
- Fixed
id
property of TimelineTweet returning undefined. - Outside of Node, requests now return the response instead of
res.body
since Undici can't be used.
Additions
- Package.json now specifies
types
property to include type definitions! - Implement new
TwitterCookies
andPuppeteerConfig
types. - Implement
buildCookieString
method (named export) used to create a string from an object of cookies. - Documented some methods to help use this library effectively.
- It is now possible to pass the following options along with normal puppeteer options to
usePuppeteer()
{ browser?: Browser page?: Page autoClose?: boolean }
v0.6.2
v0.6.1
v0.6.0
v0.5.4
v0.5.0
0.5.0 - Cookie Support
- Timeline.get now supports passing the
cookie
parameter. (To include sensitive tweets in the result) - Implement new
sensitive
property on TimelineTweet. - Specify that the API should return new
RawTimelineEntry
type. - Improvements to tests that further ensure correct results.
- Edit ESLint to force no colons and enable
no-unexpected-multiline
.