Commit graph

10 commits

Author SHA1 Message Date
iCrawl
8f432400d8
build: multi-config build and dep update 2023-11-14 01:26:22 +01:00
Vlad Frangu
386f206caf
feat: no-de-no-de, now with extra buns (#9683)
BREAKING CHANGE: The REST and RequestManager classes now extend AsyncEventEmitter
from `@vladfrangu/async_event_emitter`, which aids in cross-compatibility
between Node, Deno, Bun, CF Workers, Vercel Functions, etc.

BREAKING CHANGE: DefaultUserAgentAppendix has been adapted to support multiple
different platforms (previously mentioned Deno, Bun, CF Workers, etc)

BREAKING CHANGE: the entry point for `@discordjs/rest` will now differ
in non-node-like environments (CF Workers, etc.)

Co-authored-by: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: suneettipirneni <suneettipirneni@icloud.com>
2023-07-17 08:27:57 +02:00
ckohen
cdaa0a36f5
refactor(rest): switch api to fetch-like and provide strategies (#9416)
BREAKING CHANGE: NodeJS v18+ is required when using node due to the use of global `fetch`
BREAKING CHANGE: The raw method of REST now returns a web compatible `Respone` object.
BREAKING CHANGE: The `parseResponse` utility method has been updated to operate on a web compatible `Response` object.
BREAKING CHANGE: Many underlying internals have changed, some of which were exported.
BREAKING CHANGE: `DefaultRestOptions` used to contain a default `agent`, which is now set to `null` instead.
2023-05-06 21:09:19 +02:00
Superchupu
1831acaffb
chore: switch tsup config to typescript (#9057)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-01-13 09:44:56 +00:00
Parbez
c258bdf083
chore: cleanup tsup configs (#8381) 2022-07-28 18:57:57 +02:00
Parbez
769ea0bfe7
refactor: move all the config files to root (#8033) 2022-06-07 12:35:19 +02:00
iCrawl
6b8ef20cb3
style: cleanup tests and tsup configs 2022-06-04 15:21:57 +02:00
Jeroen Claassens
ac4bc3a6c8
chore(build): disable tsup minification & add "use strict"; banner to CJS bundles (#7725)
* chore(build): disable tsup minification

* chore(build): add `"use strict";` to CJS bundles
2022-03-28 21:34:58 +02:00
D Trombett
34120bba97
chore: add keepNames tsup option (#7385) 2022-02-02 15:20:16 +01:00
Noel
16390efe6e
chore: monorepo setup (#7175) 2022-01-07 17:18:25 +01:00