@ovencord/discord.js 14.16.15-dev.1 → 14.16.17

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@ovencord/discord.js",
4
- "version": "14.16.15-dev.1",
4
+ "version": "14.16.17",
5
5
  "description": "A powerful library for interacting with the Discord API",
6
6
  "scripts": {
7
7
  "test": "bun test",
@@ -41,17 +41,17 @@
41
41
  "@sapphire/snowflake": "3.5.5",
42
42
  "discord-api-types": "^0.38.36",
43
43
  "fast-deep-equal": "3.1.3",
44
- "@ovencord/builders": "1.11.5",
45
- "@ovencord/collection": "2.1.1",
46
- "@ovencord/formatters": "0.6.1",
47
- "@ovencord/rest": "2.5.1",
48
- "@ovencord/util": "1.1.1",
49
- "@ovencord/ws": "2.0.2"
44
+ "@ovencord/builders": "workspace:*",
45
+ "@ovencord/collection": "workspace:*",
46
+ "@ovencord/formatters": "workspace:*",
47
+ "@ovencord/rest": "workspace:*",
48
+ "@ovencord/util": "workspace:*",
49
+ "@ovencord/ws": "workspace:*"
50
50
  },
51
51
  "devDependencies": {
52
- "@ovencord/api-extractor": "7.52.7",
53
- "@ovencord/docgen": "0.12.1",
54
- "@ovencord/scripts": "0.1.0",
52
+ "@ovencord/api-extractor": "workspace:*",
53
+ "@ovencord/docgen": "workspace:*",
54
+ "@ovencord/scripts": "workspace:*",
55
55
  "@favware/cliff-jumper": "^6.0.0",
56
56
  "@types/bun": "latest",
57
57
  "cross-env": "^10.1.0",
@@ -14,7 +14,6 @@ import { CachedManager } from './CachedManager.js';
14
14
  * @extends {CachedManager}
15
15
  */
16
16
  export class ApplicationCommandManager extends CachedManager {
17
- public client: any;
18
17
  public permissions: any;
19
18
  constructor(client, iterable) {
20
19
  super(client, ApplicationCommand, iterable);
@@ -18,7 +18,6 @@ let cacheWarningEmitted = false;
18
18
  * @extends {CachedManager}
19
19
  */
20
20
  export class ChannelManager extends CachedManager {
21
- public client: any;
22
21
  constructor(client, iterable) {
23
22
  super(client, BaseChannel, iterable);
24
23
  const defaultCaching =
@@ -12,7 +12,6 @@ import { CachedManager } from './CachedManager.js';
12
12
  * @extends {CachedManager}
13
13
  */
14
14
  export class EntitlementManager extends CachedManager {
15
- public client: any;
16
15
  constructor(client, iterable) {
17
16
  super(client, Entitlement, iterable);
18
17
  }
@@ -24,7 +24,6 @@ let cacheWarningEmitted = false;
24
24
  * @extends {CachedManager}
25
25
  */
26
26
  export class GuildManager extends CachedManager {
27
- public client: any;
28
27
  constructor(client, iterable) {
29
28
  super(client, Guild, iterable);
30
29
  if (!cacheWarningEmitted && this._cache.constructor.name !== 'Collection') {
@@ -12,7 +12,6 @@ import { CachedManager } from './CachedManager.js';
12
12
  * @extends {CachedManager}
13
13
  */
14
14
  export class SubscriptionManager extends CachedManager {
15
- public client: any;
16
15
  constructor(client, iterable) {
17
16
  super(client, Subscription, iterable);
18
17
  }
@@ -50,33 +50,34 @@ export class ClientApplication extends Application {
50
50
  constructor(client, data) {
51
51
  super(client, data);
52
52
 
53
+ // Ensure this.client is set before initializing managers
53
54
  /**
54
55
  * The application command manager for this application
55
56
  *
56
57
  * @type {ApplicationCommandManager}
57
58
  */
58
- this.commands = new ApplicationCommandManager(this.client);
59
+ this.commands = new ApplicationCommandManager(client, undefined);
59
60
 
60
61
  /**
61
62
  * The application emoji manager for this application
62
63
  *
63
64
  * @type {ApplicationEmojiManager}
64
65
  */
65
- this.emojis = new ApplicationEmojiManager(this);
66
+ this.emojis = new ApplicationEmojiManager(this, undefined);
66
67
 
67
68
  /**
68
69
  * The entitlement manager for this application
69
70
  *
70
71
  * @type {EntitlementManager}
71
72
  */
72
- this.entitlements = new EntitlementManager(this.client);
73
+ this.entitlements = new EntitlementManager(client, undefined);
73
74
 
74
75
  /**
75
76
  * The subscription manager for this application
76
77
  *
77
78
  * @type {SubscriptionManager}
78
79
  */
79
- this.subscriptions = new SubscriptionManager(this.client);
80
+ this.subscriptions = new SubscriptionManager(client, undefined);
80
81
  }
81
82
 
82
83
  _patch(data) {