mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: version static
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ import { ExtendedUser } from './Structures/users/Extended.js'
|
|||||||
import User from './Structures/users/User.js'
|
import User from './Structures/users/User.js'
|
||||||
import Bucket from './utils/Bucket.js'
|
import Bucket from './utils/Bucket.js'
|
||||||
import DiscordRESTError from './utils/DiscordRESTError.js'
|
import DiscordRESTError from './utils/DiscordRESTError.js'
|
||||||
// eslint-disable-next-line require-extensions/require-extensions
|
// TODO: MAKE THIS DYNAMIC FROM PACKAGE.JSON
|
||||||
import { version as VERSION } from '../package.json'
|
export const VERSION = "19.0.0";
|
||||||
|
|
||||||
export function DiscordenoClient(token: string, options: ClientOptions): Client {
|
export function DiscordenoClient(token: string, options: ClientOptions): Client {
|
||||||
return new Client(token, options)
|
return new Client(token, options)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"display": "Default",
|
"display": "Default",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
"module": "ESNext",
|
"module": "es2022",
|
||||||
"composite": false,
|
"composite": false,
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": true,
|
"declarationMap": true,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
"loose": true
|
"loose": true
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "nodenext",
|
"type": "es6",
|
||||||
"strict": false,
|
"strict": false,
|
||||||
"strictMode": true,
|
"strictMode": true,
|
||||||
"lazy": false,
|
"lazy": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user