mastodon-api
mastodon-api copied to clipboard
Mastodon API Client Library
Setting `.on('error')` listener within `.on('respone')` block lead to unhandled exceptions from underlying Request events for e.g. `CERT_HAS_EXPIRED`. Breaking this out so listener attaches appropriately and errors are caught/surfaced as intended....
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1. Commits 6d19489 Mark release 7.1.1 793c0e5 More rigorously check surrogate pairs in regexp validator b5c1787 Fix incorrect comment in regexp parser 12ae8fe Parameterize dummy...
Some Mastodon API requires PATCH request to use API. But I can't find any method to make PATCH request. Example of API requires PATCH request: - https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#updating-the-current-user
As mentioned in Mastodon’s documentation some API endpoints do not require an authentication. (e.g. `statuses/:id`) https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#timelines If I try to create a Mastodon object without a an access_token I get...
the largest number Javascript can represent is 2^53 while activitypub_id in mastodon could reach 2^64 waiting for a better BigInt support in javascript (see https://github.com/tc39/proposal-bigint) I'm using json-bigint to parse...
Per discussion in #34, we shouldn't `JSON.parse` `delete` events' payload because it's a stringy ID and needs to remain a string to avoid exceeding float precision issues. This appears to...
I was debugging why I was being notified of deleted statuses whose IDs I didn't recognize. For example, I received the following payload from the mastodon-api `message` listener: ```js {...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [json5](https://github.com/json5/json5) from 2.1.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...