lolka.js 0.1.3 → 0.1.4
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 +4 -4
- package/src/index.js +1 -0
- package/typings/index.d.mts +4 -3
- package/typings/index.d.ts +4 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "lolka.js",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"description": "A powerful library for interacting with the lolka bot API (discord.js-compatible fork)",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"types": "./typings/index.d.ts",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"tslib": "^2.8.1",
|
|
61
61
|
"undici": "7.24.6",
|
|
62
62
|
"@discordjs/collection": "^2.1.1",
|
|
63
|
+
"@discordjs/builders": "^1.11.1",
|
|
63
64
|
"@discordjs/formatters": "^0.6.1",
|
|
64
65
|
"@discordjs/rest": "^2.5.0",
|
|
65
66
|
"@discordjs/util": "^1.1.1",
|
|
@@ -78,9 +79,8 @@
|
|
|
78
79
|
"turbo": "^2.8.21",
|
|
79
80
|
"typescript": "~5.9.3",
|
|
80
81
|
"@discordjs/api-extractor": "^7.52.7",
|
|
81
|
-
"@discordjs/
|
|
82
|
-
"@discordjs/docgen": "^0.12.1"
|
|
83
|
-
"@discordjs/scripts": "^0.1.0"
|
|
82
|
+
"@discordjs/scripts": "^0.1.0",
|
|
83
|
+
"@discordjs/docgen": "^0.12.1"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=22.12.0"
|
package/src/index.js
CHANGED
|
@@ -256,6 +256,7 @@ exports.WidgetMember = require('./structures/WidgetMember.js').WidgetMember;
|
|
|
256
256
|
|
|
257
257
|
// External
|
|
258
258
|
__exportStar(require('discord-api-types/v10'), exports);
|
|
259
|
+
__exportStar(require('@discordjs/builders'), exports);
|
|
259
260
|
__exportStar(require('@discordjs/rest'), exports);
|
|
260
261
|
__exportStar(require('@discordjs/util'), exports);
|
|
261
262
|
__exportStar(require('@discordjs/ws'), exports);
|
package/typings/index.d.mts
CHANGED
|
@@ -3337,7 +3337,7 @@ export interface FetchRecommendedShardCountOptions {
|
|
|
3337
3337
|
}
|
|
3338
3338
|
|
|
3339
3339
|
export interface SnowflakeGenerateOptions {
|
|
3340
|
-
timestamp?:
|
|
3340
|
+
timestamp?: bigint | number;
|
|
3341
3341
|
}
|
|
3342
3342
|
|
|
3343
3343
|
export interface DeconstructedSnowflake {
|
|
@@ -3347,9 +3347,9 @@ export interface DeconstructedSnowflake {
|
|
|
3347
3347
|
|
|
3348
3348
|
export const SnowflakeUtil: {
|
|
3349
3349
|
EPOCH: bigint;
|
|
3350
|
-
|
|
3350
|
+
deconstruct(id: bigint | string): DeconstructedSnowflake;
|
|
3351
3351
|
generate(options?: SnowflakeGenerateOptions): bigint;
|
|
3352
|
-
|
|
3352
|
+
timestampFrom(id: bigint | number | string): number;
|
|
3353
3353
|
};
|
|
3354
3354
|
|
|
3355
3355
|
export class SKU extends Base {
|
|
@@ -7506,6 +7506,7 @@ export type InternalDiscordGatewayAdapterCreator = (
|
|
|
7506
7506
|
// #endregion
|
|
7507
7507
|
|
|
7508
7508
|
// External
|
|
7509
|
+
export * from '@discordjs/builders';
|
|
7509
7510
|
export * from '@discordjs/rest';
|
|
7510
7511
|
export * from '@discordjs/util';
|
|
7511
7512
|
export * from '@discordjs/ws';
|
package/typings/index.d.ts
CHANGED
|
@@ -3337,7 +3337,7 @@ export interface FetchRecommendedShardCountOptions {
|
|
|
3337
3337
|
}
|
|
3338
3338
|
|
|
3339
3339
|
export interface SnowflakeGenerateOptions {
|
|
3340
|
-
timestamp?:
|
|
3340
|
+
timestamp?: bigint | number;
|
|
3341
3341
|
}
|
|
3342
3342
|
|
|
3343
3343
|
export interface DeconstructedSnowflake {
|
|
@@ -3347,9 +3347,9 @@ export interface DeconstructedSnowflake {
|
|
|
3347
3347
|
|
|
3348
3348
|
export const SnowflakeUtil: {
|
|
3349
3349
|
EPOCH: bigint;
|
|
3350
|
-
|
|
3350
|
+
deconstruct(id: bigint | string): DeconstructedSnowflake;
|
|
3351
3351
|
generate(options?: SnowflakeGenerateOptions): bigint;
|
|
3352
|
-
|
|
3352
|
+
timestampFrom(id: bigint | number | string): number;
|
|
3353
3353
|
};
|
|
3354
3354
|
|
|
3355
3355
|
export class SKU extends Base {
|
|
@@ -7506,6 +7506,7 @@ export type InternalDiscordGatewayAdapterCreator = (
|
|
|
7506
7506
|
// #endregion
|
|
7507
7507
|
|
|
7508
7508
|
// External
|
|
7509
|
+
export * from '@discordjs/builders';
|
|
7509
7510
|
export * from '@discordjs/rest';
|
|
7510
7511
|
export * from '@discordjs/util';
|
|
7511
7512
|
export * from '@discordjs/ws';
|