@sapphire/plugin-api 6.1.2-next.367781d.0 → 6.1.2-next.4ab5259.0

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.
Files changed (42) hide show
  1. package/dist/cjs/index.cjs +1 -1
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/{chunk-ZLJD76J6.mjs → chunk-JTFKMR4I.mjs} +1 -1
  4. package/dist/esm/index.mjs +2 -2
  5. package/dist/esm/index.mjs.map +1 -1
  6. package/dist/esm/lib/structures/MediaParser.mjs +1 -1
  7. package/dist/esm/lib/structures/MediaParserStore.mjs +1 -1
  8. package/dist/esm/lib/structures/Middleware.mjs +1 -1
  9. package/dist/esm/lib/structures/MiddlewareStore.mjs +1 -1
  10. package/dist/esm/lib/structures/Route.mjs +1 -1
  11. package/dist/esm/lib/structures/RouteStore.mjs +1 -1
  12. package/dist/esm/lib/structures/api/ApiRequest.mjs +1 -1
  13. package/dist/esm/lib/structures/api/ApiResponse.mjs +1 -1
  14. package/dist/esm/lib/structures/api/CookieStore.mjs +1 -1
  15. package/dist/esm/lib/structures/http/Auth.mjs +1 -1
  16. package/dist/esm/lib/structures/http/HttpCodes.mjs +1 -1
  17. package/dist/esm/lib/structures/http/HttpMethods.mjs +1 -1
  18. package/dist/esm/lib/structures/http/Server.mjs +1 -1
  19. package/dist/esm/lib/utils/MimeTypes.mjs +1 -1
  20. package/dist/esm/lib/utils/RouteData.mjs +1 -1
  21. package/dist/esm/listeners/PluginRouteError.mjs +1 -1
  22. package/dist/esm/listeners/PluginServerMatch.mjs +1 -1
  23. package/dist/esm/listeners/PluginServerMiddlewareError.mjs +1 -1
  24. package/dist/esm/listeners/PluginServerMiddlewareSuccess.mjs +1 -1
  25. package/dist/esm/listeners/PluginServerNoMatch.mjs +1 -1
  26. package/dist/esm/listeners/PluginServerRequest.mjs +1 -1
  27. package/dist/esm/listeners/_load.mjs +1 -1
  28. package/dist/esm/mediaParsers/_load.mjs +1 -1
  29. package/dist/esm/mediaParsers/applicationFormUrlEncoded.mjs +1 -1
  30. package/dist/esm/mediaParsers/applicationJson.mjs +1 -1
  31. package/dist/esm/mediaParsers/textPlain.mjs +1 -1
  32. package/dist/esm/middlewares/_load.mjs +1 -1
  33. package/dist/esm/middlewares/auth.mjs +1 -1
  34. package/dist/esm/middlewares/body.mjs +1 -1
  35. package/dist/esm/middlewares/cookies.mjs +1 -1
  36. package/dist/esm/middlewares/headers.mjs +1 -1
  37. package/dist/esm/register.mjs +1 -1
  38. package/dist/esm/routes/_load.mjs +1 -1
  39. package/dist/esm/routes/oauth/callback.mjs +1 -1
  40. package/dist/esm/routes/oauth/logout.mjs +1 -1
  41. package/package.json +4 -4
  42. /package/dist/esm/{chunk-ZLJD76J6.mjs.map → chunk-JTFKMR4I.mjs.map} +0 -0
@@ -21,7 +21,7 @@ var _load_cjs$2 = require('./middlewares/_load.cjs');
21
21
  var _load_cjs$3 = require('./routes/_load.cjs');
22
22
 
23
23
  // src/index.ts
24
- var version = "6.1.2-next.367781d.0";
24
+ var version = "6.1.2-next.4ab5259.0";
25
25
 
26
26
  Object.defineProperty(exports, "loadListeners", {
27
27
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAKA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AA+BpB,IAAM,UAAkB","sourcesContent":["import type { Server, ServerOptions } from './lib/structures/http/Server';\nimport type { MediaParserStore } from './lib/structures/MediaParserStore';\nimport type { MiddlewareStore } from './lib/structures/MiddlewareStore';\nimport type { RouteStore } from './lib/structures/RouteStore';\n\nexport * from './lib/structures/api/ApiRequest';\nexport * from './lib/structures/api/ApiResponse';\nexport * from './lib/structures/api/CookieStore';\nexport * from './lib/structures/http/Auth';\nexport * from './lib/structures/http/HttpCodes';\nexport * from './lib/structures/http/HttpMethods';\nexport * from './lib/structures/http/Server';\nexport * from './lib/structures/MediaParser';\nexport * from './lib/structures/MediaParserStore';\nexport * from './lib/structures/Middleware';\nexport * from './lib/structures/MiddlewareStore';\nexport * from './lib/structures/Route';\nexport * from './lib/structures/RouteStore';\nexport * from './lib/utils/MimeTypes';\nexport * from './lib/utils/RouteData';\n\nexport { loadListeners } from './listeners/_load';\nexport { loadMediaParsers } from './mediaParsers/_load';\nexport { loadMiddlewares } from './middlewares/_load';\nexport { loadRoutes } from './routes/_load';\n\ndeclare module 'discord.js' {\n\tinterface Client {\n\t\tserver: Server;\n\t}\n\n\tinterface ClientOptions {\n\t\tapi?: ServerOptions;\n\t}\n}\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\troutes: RouteStore;\n\t\tmediaParsers: MediaParserStore;\n\t\tmiddlewares: MiddlewareStore;\n\t}\n\n\tinterface Container {\n\t\tserver: Server;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-api](https://github.com/sapphiredev/plugins/blob/main/packages/api) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '6.1.2-next.367781d.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";AAKA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AA+BpB,IAAM,UAAkB","sourcesContent":["import type { Server, ServerOptions } from './lib/structures/http/Server';\nimport type { MediaParserStore } from './lib/structures/MediaParserStore';\nimport type { MiddlewareStore } from './lib/structures/MiddlewareStore';\nimport type { RouteStore } from './lib/structures/RouteStore';\n\nexport * from './lib/structures/api/ApiRequest';\nexport * from './lib/structures/api/ApiResponse';\nexport * from './lib/structures/api/CookieStore';\nexport * from './lib/structures/http/Auth';\nexport * from './lib/structures/http/HttpCodes';\nexport * from './lib/structures/http/HttpMethods';\nexport * from './lib/structures/http/Server';\nexport * from './lib/structures/MediaParser';\nexport * from './lib/structures/MediaParserStore';\nexport * from './lib/structures/Middleware';\nexport * from './lib/structures/MiddlewareStore';\nexport * from './lib/structures/Route';\nexport * from './lib/structures/RouteStore';\nexport * from './lib/utils/MimeTypes';\nexport * from './lib/utils/RouteData';\n\nexport { loadListeners } from './listeners/_load';\nexport { loadMediaParsers } from './mediaParsers/_load';\nexport { loadMiddlewares } from './middlewares/_load';\nexport { loadRoutes } from './routes/_load';\n\ndeclare module 'discord.js' {\n\tinterface Client {\n\t\tserver: Server;\n\t}\n\n\tinterface ClientOptions {\n\t\tapi?: ServerOptions;\n\t}\n}\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\troutes: RouteStore;\n\t\tmediaParsers: MediaParserStore;\n\t\tmiddlewares: MiddlewareStore;\n\t}\n\n\tinterface Container {\n\t\tserver: Server;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-api](https://github.com/sapphiredev/plugins/blob/main/packages/api) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '6.1.2-next.4ab5259.0';\n"]}
@@ -12,4 +12,4 @@ var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "
12
12
 
13
13
  export { __name, __privateAdd, __privateGet, __privateSet, __publicField };
14
14
  //# sourceMappingURL=out.js.map
15
- //# sourceMappingURL=chunk-ZLJD76J6.mjs.map
15
+ //# sourceMappingURL=chunk-JTFKMR4I.mjs.map
@@ -1,4 +1,4 @@
1
- import './chunk-ZLJD76J6.mjs';
1
+ import './chunk-JTFKMR4I.mjs';
2
2
  export * from './lib/structures/api/ApiRequest.mjs';
3
3
  export * from './lib/structures/api/ApiResponse.mjs';
4
4
  export * from './lib/structures/api/CookieStore.mjs';
@@ -19,7 +19,7 @@ export { loadMediaParsers } from './mediaParsers/_load.mjs';
19
19
  export { loadMiddlewares } from './middlewares/_load.mjs';
20
20
  export { loadRoutes } from './routes/_load.mjs';
21
21
 
22
- var version = "6.1.2-next.367781d.0";
22
+ var version = "6.1.2-next.4ab5259.0";
23
23
 
24
24
  export { version };
25
25
  //# sourceMappingURL=out.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAKA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AA+BpB,IAAM,UAAkB","sourcesContent":["import type { Server, ServerOptions } from './lib/structures/http/Server';\nimport type { MediaParserStore } from './lib/structures/MediaParserStore';\nimport type { MiddlewareStore } from './lib/structures/MiddlewareStore';\nimport type { RouteStore } from './lib/structures/RouteStore';\n\nexport * from './lib/structures/api/ApiRequest';\nexport * from './lib/structures/api/ApiResponse';\nexport * from './lib/structures/api/CookieStore';\nexport * from './lib/structures/http/Auth';\nexport * from './lib/structures/http/HttpCodes';\nexport * from './lib/structures/http/HttpMethods';\nexport * from './lib/structures/http/Server';\nexport * from './lib/structures/MediaParser';\nexport * from './lib/structures/MediaParserStore';\nexport * from './lib/structures/Middleware';\nexport * from './lib/structures/MiddlewareStore';\nexport * from './lib/structures/Route';\nexport * from './lib/structures/RouteStore';\nexport * from './lib/utils/MimeTypes';\nexport * from './lib/utils/RouteData';\n\nexport { loadListeners } from './listeners/_load';\nexport { loadMediaParsers } from './mediaParsers/_load';\nexport { loadMiddlewares } from './middlewares/_load';\nexport { loadRoutes } from './routes/_load';\n\ndeclare module 'discord.js' {\n\tinterface Client {\n\t\tserver: Server;\n\t}\n\n\tinterface ClientOptions {\n\t\tapi?: ServerOptions;\n\t}\n}\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\troutes: RouteStore;\n\t\tmediaParsers: MediaParserStore;\n\t\tmiddlewares: MiddlewareStore;\n\t}\n\n\tinterface Container {\n\t\tserver: Server;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-api](https://github.com/sapphiredev/plugins/blob/main/packages/api) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '6.1.2-next.367781d.0';\n"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;AAKA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAChC,SAAS,kBAAkB;AA+BpB,IAAM,UAAkB","sourcesContent":["import type { Server, ServerOptions } from './lib/structures/http/Server';\nimport type { MediaParserStore } from './lib/structures/MediaParserStore';\nimport type { MiddlewareStore } from './lib/structures/MiddlewareStore';\nimport type { RouteStore } from './lib/structures/RouteStore';\n\nexport * from './lib/structures/api/ApiRequest';\nexport * from './lib/structures/api/ApiResponse';\nexport * from './lib/structures/api/CookieStore';\nexport * from './lib/structures/http/Auth';\nexport * from './lib/structures/http/HttpCodes';\nexport * from './lib/structures/http/HttpMethods';\nexport * from './lib/structures/http/Server';\nexport * from './lib/structures/MediaParser';\nexport * from './lib/structures/MediaParserStore';\nexport * from './lib/structures/Middleware';\nexport * from './lib/structures/MiddlewareStore';\nexport * from './lib/structures/Route';\nexport * from './lib/structures/RouteStore';\nexport * from './lib/utils/MimeTypes';\nexport * from './lib/utils/RouteData';\n\nexport { loadListeners } from './listeners/_load';\nexport { loadMediaParsers } from './mediaParsers/_load';\nexport { loadMiddlewares } from './middlewares/_load';\nexport { loadRoutes } from './routes/_load';\n\ndeclare module 'discord.js' {\n\tinterface Client {\n\t\tserver: Server;\n\t}\n\n\tinterface ClientOptions {\n\t\tapi?: ServerOptions;\n\t}\n}\n\ndeclare module '@sapphire/pieces' {\n\tinterface StoreRegistryEntries {\n\t\troutes: RouteStore;\n\t\tmediaParsers: MediaParserStore;\n\t\tmiddlewares: MiddlewareStore;\n\t}\n\n\tinterface Container {\n\t\tserver: Server;\n\t}\n}\n\n/**\n * The [@sapphire/plugin-api](https://github.com/sapphiredev/plugins/blob/main/packages/api) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '6.1.2-next.4ab5259.0';\n"]}
@@ -1,4 +1,4 @@
1
- import { __name } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { Piece } from '@sapphire/pieces';
3
3
  import { createBrotliDecompress, createGunzip, createInflate } from 'zlib';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { Store } from '@sapphire/pieces';
3
3
  import { MediaParser } from './MediaParser.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { Piece } from '@sapphire/pieces';
3
3
 
4
4
  var _Middleware = class _Middleware extends Piece {
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { Store } from '@sapphire/pieces';
3
3
  import { Middleware } from './Middleware.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { Piece } from '@sapphire/pieces';
3
3
  import { Collection } from 'discord.js';
4
4
  import { RouteData } from '../utils/RouteData.mjs';
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { Store } from '@sapphire/pieces';
3
3
  import { Collection } from 'discord.js';
4
4
  import { URLSearchParams } from 'url';
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../../chunk-JTFKMR4I.mjs';
2
2
  import { IncomingMessage } from 'node:http';
3
3
 
4
4
  var _ApiRequest = class _ApiRequest extends IncomingMessage {
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../../chunk-JTFKMR4I.mjs';
2
2
  import { ServerResponse, STATUS_CODES } from 'node:http';
3
3
  import { Readable } from 'node:stream';
4
4
  import 'node:stream/web';
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../../chunk-JTFKMR4I.mjs';
2
2
  import { getDomain } from 'tldts';
3
3
 
4
4
  var _CookieStore = class _CookieStore extends Map {
@@ -1,4 +1,4 @@
1
- import { __name, __publicField, __privateAdd, __privateSet, __privateGet } from '../../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField, __privateAdd, __privateSet, __privateGet } from '../../../chunk-JTFKMR4I.mjs';
2
2
  import { isThenable } from '@sapphire/utilities';
3
3
  import { randomBytes, createCipheriv, createDecipheriv } from 'crypto';
4
4
  import { OAuth2Scopes, RouteBases, Routes } from 'discord.js';
@@ -1,4 +1,4 @@
1
- import '../../../chunk-ZLJD76J6.mjs';
1
+ import '../../../chunk-JTFKMR4I.mjs';
2
2
 
3
3
  // src/lib/structures/http/HttpCodes.ts
4
4
  var HttpCodes = /* @__PURE__ */ ((HttpCodes2) => {
@@ -1,4 +1,4 @@
1
- import '../../../chunk-ZLJD76J6.mjs';
1
+ import '../../../chunk-JTFKMR4I.mjs';
2
2
  import { METHODS } from 'node:http';
3
3
 
4
4
  var methods = Object.fromEntries(METHODS.map((method) => [method, Symbol(`HTTP-${method}`)]));
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../../chunk-JTFKMR4I.mjs';
2
2
  import { container } from '@sapphire/pieces';
3
3
  import { EventEmitter } from 'node:events';
4
4
  import { createServer } from 'node:http';
@@ -1,4 +1,4 @@
1
- import '../../chunk-ZLJD76J6.mjs';
1
+ import '../../chunk-JTFKMR4I.mjs';
2
2
 
3
3
  // src/lib/utils/MimeTypes.ts
4
4
  var MimeTypes = /* @__PURE__ */ ((MimeTypes2) => {
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../../chunk-JTFKMR4I.mjs';
2
2
 
3
3
  // src/lib/utils/RouteData.ts
4
4
  var [slash, colon] = [47, 58];
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Listener } from '@sapphire/framework';
3
3
  import { HttpCodes } from '../lib/structures/http/HttpCodes.mjs';
4
4
  import { ServerEvents } from '../lib/structures/http/Server.mjs';
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Listener } from '@sapphire/framework';
3
3
  import { ServerEvents } from '../lib/structures/http/Server.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Listener } from '@sapphire/framework';
3
3
  import { HttpCodes } from '../lib/structures/http/HttpCodes.mjs';
4
4
  import { ServerEvents } from '../lib/structures/http/Server.mjs';
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Listener } from '@sapphire/framework';
3
3
  import { ServerEvents } from '../lib/structures/http/Server.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Listener } from '@sapphire/framework';
3
3
  import { ServerEvents } from '../lib/structures/http/Server.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Listener } from '@sapphire/framework';
3
3
  import { ServerEvents } from '../lib/structures/http/Server.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { container } from '@sapphire/pieces';
3
3
  import { PluginListener } from './PluginRouteError.mjs';
4
4
  import { PluginListener as PluginListener$1 } from './PluginServerMatch.mjs';
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { container } from '@sapphire/pieces';
3
3
  import { PluginMediaParser } from './applicationFormUrlEncoded.mjs';
4
4
  import { PluginMediaParser as PluginMediaParser$1 } from './applicationJson.mjs';
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { URLSearchParams } from 'url';
3
3
  import { MediaParser } from '../lib/structures/MediaParser.mjs';
4
4
  import { MimeTypes } from '../lib/utils/MimeTypes.mjs';
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { MediaParser } from '../lib/structures/MediaParser.mjs';
3
3
  import { MimeTypes } from '../lib/utils/MimeTypes.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { MediaParser } from '../lib/structures/MediaParser.mjs';
3
3
  import { MimeTypes } from '../lib/utils/MimeTypes.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { container } from '@sapphire/pieces';
3
3
  import { PluginMiddleware } from './auth.mjs';
4
4
  import { PluginMiddleware as PluginMiddleware$1 } from './body.mjs';
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Middleware } from '../lib/structures/Middleware.mjs';
3
3
 
4
4
  var _PluginMiddleware = class _PluginMiddleware extends Middleware {
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../chunk-JTFKMR4I.mjs';
2
2
  import { HttpCodes } from '../lib/structures/http/HttpCodes.mjs';
3
3
  import { Middleware } from '../lib/structures/Middleware.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../chunk-JTFKMR4I.mjs';
2
2
  import { Middleware } from '../lib/structures/Middleware.mjs';
3
3
  import { CookieStore } from '../lib/structures/api/CookieStore.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name, __publicField } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name, __publicField } from '../chunk-JTFKMR4I.mjs';
2
2
  import { METHODS } from 'node:http';
3
3
  import { Middleware } from '../lib/structures/Middleware.mjs';
4
4
  import { HttpCodes } from '../lib/structures/http/HttpCodes.mjs';
@@ -1,4 +1,4 @@
1
- import { __name } from './chunk-ZLJD76J6.mjs';
1
+ import { __name } from './chunk-JTFKMR4I.mjs';
2
2
  import { Server, loadListeners, loadMediaParsers, loadMiddlewares, loadRoutes } from './index.mjs';
3
3
  import { SapphireClient, postInitialization, preLogin, Plugin } from '@sapphire/framework';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __name } from '../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../chunk-JTFKMR4I.mjs';
2
2
  import { container } from '@sapphire/pieces';
3
3
  import { PluginRoute } from './oauth/callback.mjs';
4
4
  import { PluginRoute as PluginRoute$1 } from './oauth/logout.mjs';
@@ -1,4 +1,4 @@
1
- import { __publicField, __name } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __publicField, __name } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { OAuth2Routes } from 'discord.js';
3
3
  import { stringify } from 'querystring';
4
4
  import { fetch } from 'undici';
@@ -1,4 +1,4 @@
1
- import { __name } from '../../chunk-ZLJD76J6.mjs';
1
+ import { __name } from '../../chunk-JTFKMR4I.mjs';
2
2
  import { OAuth2Routes } from 'discord.js';
3
3
  import { stringify } from 'querystring';
4
4
  import { fetch } from 'undici';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/plugin-api",
3
- "version": "6.1.2-next.367781d.0",
3
+ "version": "6.1.2-next.4ab5259.0",
4
4
  "description": "Plugin for @sapphire/framework to expose a REST API",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@types/ws": "^8.5.10",
54
- "tldts": "^6.1.25",
55
- "undici": "^6.18.2"
54
+ "tldts": "^6.1.26",
55
+ "undici": "^6.19.0"
56
56
  },
57
57
  "repository": {
58
58
  "type": "git",
@@ -87,7 +87,7 @@
87
87
  "@favware/rollup-type-bundler": "^3.3.0",
88
88
  "concurrently": "^8.2.2",
89
89
  "tsup": "^8.1.0",
90
- "tsx": "^4.15.1",
90
+ "tsx": "^4.15.5",
91
91
  "typedoc": "^0.25.13",
92
92
  "typedoc-json-parser": "^10.0.0",
93
93
  "typescript": "^5.4.5"