seyfert 2.1.1-dev-12031800933.0 → 2.1.1-dev-12133320614.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.
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.Collectors = void 0;
27
37
  const node_crypto_1 = require("node:crypto");
@@ -119,4 +119,4 @@ export declare function encodeEmoji(rawEmoji: APIPartialEmoji): string;
119
119
  export declare function hasProps<T extends Record<any, any>>(target: T, props: TypeArray<keyof T>): boolean;
120
120
  export declare function hasIntent(intents: number, target: keyof typeof GatewayIntentBits | GatewayIntentBits): boolean;
121
121
  export declare function toArrayBuffer(buffer: Buffer): ArrayBuffer;
122
- export declare function toBuffer(arrayBuffer: ArrayBuffer): Buffer;
122
+ export declare function toBuffer(arrayBuffer: ArrayBuffer): Buffer<ArrayBuffer>;
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.EventHandler = void 0;
27
37
  const common_1 = require("../common");
@@ -1,6 +1,6 @@
1
1
  import type { UsingClient } from '../commands';
2
2
  import type { ObjectToLower, StructPropState, StructStates, ToClass } from '../common/types/util';
3
- import type { APIGuild, GatewayGuildCreateDispatchData, RESTPatchAPIGuildJSONBody } from '../types';
3
+ import type { APIGuild, APIPartialGuild, GatewayGuildCreateDispatchData, RESTPatchAPIGuildJSONBody } from '../types';
4
4
  import { AutoModerationRule } from './AutoModerationRule';
5
5
  import { GuildBan } from './GuildBan';
6
6
  import { GuildEmoji } from './GuildEmoji';
@@ -13,7 +13,7 @@ import { BaseGuild } from './extra/BaseGuild';
13
13
  import type { DiscordBase } from './extra/DiscordBase';
14
14
  export interface Guild extends ObjectToLower<Omit<APIGuild, 'stickers' | 'emojis' | 'roles'>>, DiscordBase {
15
15
  }
16
- declare const Guild_base: ToClass<Omit<BaseGuild, "id" | "name" | "description" | "icon" | "splash" | "banner" | "features" | "welcomeScreen" | "verificationLevel" | "vanityUrlCode">, Guild<"api">>;
16
+ declare const Guild_base: ToClass<Omit<BaseGuild, keyof ObjectToLower<APIPartialGuild>>, Guild>;
17
17
  export declare class Guild<State extends StructStates = 'api'> extends Guild_base {
18
18
  joinedAt: StructPropState<number, State, 'create'>;
19
19
  memberCount: StructPropState<number, State, 'create'>;
@@ -125,7 +125,7 @@ export declare class SelectMenuInteraction extends ComponentInteraction {
125
125
  constructor(client: UsingClient, interaction: APIMessageComponentSelectMenuInteraction, __reply?: __InternalReplyFunction | undefined);
126
126
  get values(): string[];
127
127
  }
128
- declare const StringSelectMenuInteraction_base: ToClass<Omit<SelectMenuInteraction, "data" | "isStringSelectMenu">, StringSelectMenuInteraction<string[]>>;
128
+ declare const StringSelectMenuInteraction_base: ToClass<Omit<SelectMenuInteraction, "data" | "isStringSelectMenu">, StringSelectMenuInteraction>;
129
129
  export declare class StringSelectMenuInteraction<T extends any[] = string[]> extends StringSelectMenuInteraction_base {
130
130
  data: OmitInsert<ObjectToLower<APIMessageStringSelectInteractionData>, 'values', {
131
131
  values: T;
@@ -268,7 +268,7 @@ export declare class ThreadChannel extends BaseChannel<ChannelType.PublicThread
268
268
  }
269
269
  export interface CategoryChannel extends ObjectToLower<Omit<APIGuildCategoryChannel, 'permission_overwrites'>> {
270
270
  }
271
- declare const CategoryChannel_base: ToClass<Omit<BaseGuildChannel, "type" | "setParent">, CategoryChannel>;
271
+ declare const CategoryChannel_base: ToClass<Omit<BaseGuildChannel, "setParent" | "type">, CategoryChannel>;
272
272
  export declare class CategoryChannel extends CategoryChannel_base {
273
273
  type: ChannelType.GuildCategory;
274
274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seyfert",
3
- "version": "2.1.1-dev-12031800933.0",
3
+ "version": "2.1.1-dev-12133320614.0",
4
4
  "description": "The most advanced framework for discord bots",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -22,13 +22,13 @@
22
22
  "license": "MIT",
23
23
  "devDependencies": {
24
24
  "@biomejs/biome": "1.9.4",
25
- "@commitlint/cli": "^19.5.0",
26
- "@commitlint/config-conventional": "^19.5.0",
27
- "@types/node": "^22.9.0",
25
+ "@commitlint/cli": "^19.6.0",
26
+ "@commitlint/config-conventional": "^19.6.0",
27
+ "@types/node": "^22.10.1",
28
28
  "husky": "^9.1.7",
29
29
  "lint-staged": "^15.2.10",
30
- "typescript": "^5.6.3",
31
- "vitest": "^2.1.5"
30
+ "typescript": "^5.7.2",
31
+ "vitest": "^2.1.8"
32
32
  },
33
33
  "homepage": "https://seyfert.dev",
34
34
  "repository": {