discord.js 15.0.0-dev.1734567167-f1bce54a2 → 15.0.0-dev.1734826392-c484e3de2

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": "discord.js",
4
- "version": "15.0.0-dev.1734567167-f1bce54a2",
4
+ "version": "15.0.0-dev.1734826392-c484e3de2",
5
5
  "description": "A powerful library for interacting with the Discord API",
6
6
  "main": "./src/index.js",
7
7
  "types": "./typings/index.d.ts",
@@ -60,10 +60,10 @@
60
60
  "lodash.snakecase": "4.1.1",
61
61
  "tslib": "^2.8.1",
62
62
  "undici": "6.21.0",
63
- "@discordjs/rest": "^2.4.0",
64
- "@discordjs/formatters": "^0.5.0",
65
63
  "@discordjs/util": "^1.1.1",
66
- "@discordjs/ws": "^2.0.0"
64
+ "@discordjs/rest": "^2.4.0",
65
+ "@discordjs/ws": "^2.0.0",
66
+ "@discordjs/formatters": "^0.5.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@favware/cliff-jumper": "^4.1.0",
@@ -80,8 +80,8 @@
80
80
  "tslint": "6.1.3",
81
81
  "turbo": "^2.3.0",
82
82
  "typescript": "~5.5.4",
83
- "@discordjs/docgen": "^0.12.1",
84
83
  "@discordjs/api-extractor": "^7.38.1",
84
+ "@discordjs/docgen": "^0.12.1",
85
85
  "@discordjs/scripts": "^0.1.0"
86
86
  },
87
87
  "engines": {
@@ -56,6 +56,14 @@ class Subscription extends Base {
56
56
  */
57
57
  this.status = data.status;
58
58
 
59
+ if ('renewal_sku_ids' in data) {
60
+ /**
61
+ * The SKU ids that this user will be subscribed to at renewal
62
+ * @type {?Snowflake[]}
63
+ */
64
+ this.renewalSkuIds = data.renewal_sku_ids;
65
+ }
66
+
59
67
  if ('canceled_at' in data) {
60
68
  /**
61
69
  * The timestamp of when the subscription was canceled
@@ -3132,6 +3132,7 @@ export class Subscription extends Base {
3132
3132
  public userId: Snowflake;
3133
3133
  public skuIds: Snowflake[];
3134
3134
  public entitlementIds: Snowflake[];
3135
+ public renewalSkuIds: Snowflake[] | null;
3135
3136
  public currentPeriodStartTimestamp: number;
3136
3137
  public currentPeriodEndTimestamp: number;
3137
3138
  public status: SubscriptionStatus;
@@ -3132,6 +3132,7 @@ export class Subscription extends Base {
3132
3132
  public userId: Snowflake;
3133
3133
  public skuIds: Snowflake[];
3134
3134
  public entitlementIds: Snowflake[];
3135
+ public renewalSkuIds: Snowflake[] | null;
3135
3136
  public currentPeriodStartTimestamp: number;
3136
3137
  public currentPeriodEndTimestamp: number;
3137
3138
  public status: SubscriptionStatus;