discord.js 15.0.0-dev.1734567167-f1bce54a2 → 15.0.0-dev.1735063597-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.
|
|
4
|
+
"version": "15.0.0-dev.1735063597-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
63
|
"@discordjs/formatters": "^0.5.0",
|
|
65
|
-
"@discordjs/
|
|
66
|
-
"@discordjs/ws": "^2.0.0"
|
|
64
|
+
"@discordjs/rest": "^2.4.0",
|
|
65
|
+
"@discordjs/ws": "^2.0.0",
|
|
66
|
+
"@discordjs/util": "^1.1.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@favware/cliff-jumper": "^4.1.0",
|
|
@@ -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
|
package/typings/index.d.mts
CHANGED
|
@@ -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;
|
package/typings/index.d.ts
CHANGED
|
@@ -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;
|