@discordjs/rest 3.0.0-dev.1771286636-ccce987fa → 3.0.0-dev.1772307299-9ff67a03f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/web.d.mts +5 -5
- package/dist/web.d.ts +5 -5
- package/dist/web.js +2 -2
- package/dist/web.js.map +1 -1
- package/dist/web.mjs +2 -2
- package/dist/web.mjs.map +1 -1
- package/package.json +13 -13
package/dist/web.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
export { ImageSize } from 'discord-api-types/v10';
|
|
1
|
+
import * as undici from 'undici';
|
|
2
|
+
import { RequestInit, BodyInit, Agent, Response, Dispatcher } from 'undici';
|
|
4
3
|
import { Readable } from 'node:stream';
|
|
5
4
|
import { ReadableStream } from 'node:stream/web';
|
|
6
5
|
import { Collection } from '@discordjs/collection';
|
|
7
6
|
import { RawFile, Awaitable } from '@discordjs/util';
|
|
8
7
|
export { RawFile } from '@discordjs/util';
|
|
9
|
-
import
|
|
10
|
-
|
|
8
|
+
import { ImageSize, Snowflake } from 'discord-api-types/v10';
|
|
9
|
+
export { ImageSize } from 'discord-api-types/v10';
|
|
11
10
|
import { AsyncEventEmitter } from '@vladfrangu/async_event_emitter';
|
|
11
|
+
import * as url from 'url';
|
|
12
12
|
|
|
13
13
|
interface IHandler {
|
|
14
14
|
/**
|
package/dist/web.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
export { ImageSize } from 'discord-api-types/v10';
|
|
1
|
+
import * as undici from 'undici';
|
|
2
|
+
import { RequestInit, BodyInit, Agent, Response, Dispatcher } from 'undici';
|
|
4
3
|
import { Readable } from 'node:stream';
|
|
5
4
|
import { ReadableStream } from 'node:stream/web';
|
|
6
5
|
import { Collection } from '@discordjs/collection';
|
|
7
6
|
import { RawFile, Awaitable } from '@discordjs/util';
|
|
8
7
|
export { RawFile } from '@discordjs/util';
|
|
9
|
-
import
|
|
10
|
-
|
|
8
|
+
import { ImageSize, Snowflake } from 'discord-api-types/v10';
|
|
9
|
+
export { ImageSize } from 'discord-api-types/v10';
|
|
11
10
|
import { AsyncEventEmitter } from '@vladfrangu/async_event_emitter';
|
|
11
|
+
import * as url from 'url';
|
|
12
12
|
|
|
13
13
|
interface IHandler {
|
|
14
14
|
/**
|
package/dist/web.js
CHANGED
|
@@ -61,7 +61,7 @@ var import_v102 = require("discord-api-types/v10");
|
|
|
61
61
|
// src/lib/utils/constants.ts
|
|
62
62
|
var import_util = require("@discordjs/util");
|
|
63
63
|
var import_v10 = require("discord-api-types/v10");
|
|
64
|
-
var DefaultUserAgent = `DiscordBot (https://discord.js.org, 3.0.0-dev.
|
|
64
|
+
var DefaultUserAgent = `DiscordBot (https://discord.js.org, 3.0.0-dev.1772307299-9ff67a03f)`;
|
|
65
65
|
var DefaultUserAgentAppendix = (0, import_util.getUserAgentAppendix)();
|
|
66
66
|
var DefaultRestOptions = {
|
|
67
67
|
agent: null,
|
|
@@ -1462,7 +1462,7 @@ var REST = class _REST extends import_async_event_emitter.AsyncEventEmitter {
|
|
|
1462
1462
|
};
|
|
1463
1463
|
|
|
1464
1464
|
// src/shared.ts
|
|
1465
|
-
var version = "3.0.0-dev.
|
|
1465
|
+
var version = "3.0.0-dev.1772307299-9ff67a03f";
|
|
1466
1466
|
|
|
1467
1467
|
// src/web.ts
|
|
1468
1468
|
setDefaultStrategy(fetch);
|