1.3.2 version ws refactoring required (tested with bot 150.000)

This commit is contained in:
Dragurimu 2022-08-20 04:41:30 -05:00
parent f4f1348ae4
commit c851047684
8 changed files with 16 additions and 16 deletions

View File

@ -25,7 +25,7 @@ import type { DiscordUser } from '@biscuitland/api-types';
## Example for [Deno](https://deno.land/) ## Example for [Deno](https://deno.land/)
```ts ```ts
import type { DiscordUser } from "https://unpkg.com/@biscuitland/api-types@1.3.1/dist/index.d.ts"; import type { DiscordUser } from "https://unpkg.com/@biscuitland/api-types@1.3.2/dist/index.d.ts";
``` ```
We deliver this package through [unpkg](https://unpkg.com/) and it does contain constants and routes too We deliver this package through [unpkg](https://unpkg.com/) and it does contain constants and routes too

View File

@ -1,6 +1,6 @@
{ {
"name": "@biscuitland/api-types", "name": "@biscuitland/api-types",
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",

View File

@ -5,7 +5,7 @@ export const BASE_URL = 'https://discord.com/api';
export const API_VERSION = 10; export const API_VERSION = 10;
/** https://github.com/oasisjs/biscuit/releases */ /** https://github.com/oasisjs/biscuit/releases */
export const BISCUIT_VERSION = '1.3.1'; export const BISCUIT_VERSION = '1.3.2';
/** https://discord.com/developers/docs/reference#user-agent */ /** https://discord.com/developers/docs/reference#user-agent */
export const USER_AGENT = `DiscordBot (https://github.com/oasisjs/biscuit, v${BISCUIT_VERSION})`; export const USER_AGENT = `DiscordBot (https://github.com/oasisjs/biscuit, v${BISCUIT_VERSION})`;

View File

@ -1,6 +1,6 @@
{ {
"name": "@biscuitland/cache", "name": "@biscuitland/cache",
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -23,7 +23,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@biscuitland/api-types": "^1.3.1", "@biscuitland/api-types": "^1.3.2",
"ioredis": "^5.2.2" "ioredis": "^5.2.2"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@biscuitland/core", "name": "@biscuitland/core",
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -23,9 +23,9 @@
} }
}, },
"dependencies": { "dependencies": {
"@biscuitland/api-types": "^1.3.1", "@biscuitland/api-types": "^1.3.2",
"@biscuitland/rest": "^1.3.1", "@biscuitland/rest": "^1.3.2",
"@biscuitland/ws": "^1.3.1" "@biscuitland/ws": "^1.3.2"
}, },
"devDependencies": { "devDependencies": {
"tsup": "^6.1.3" "tsup": "^6.1.3"

View File

@ -1,6 +1,6 @@
{ {
"name": "@biscuitland/helpers", "name": "@biscuitland/helpers",
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -23,8 +23,8 @@
} }
}, },
"dependencies": { "dependencies": {
"@biscuitland/api-types": "^1.3.1", "@biscuitland/api-types": "^1.3.2",
"@biscuitland/core": "^1.3.1" "@biscuitland/core": "^1.3.2"
}, },
"devDependencies": { "devDependencies": {
"tsup": "^6.1.3" "tsup": "^6.1.3"

View File

@ -1,6 +1,6 @@
{ {
"name": "@biscuitland/rest", "name": "@biscuitland/rest",
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -23,7 +23,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@biscuitland/api-types": "^1.3.1" "@biscuitland/api-types": "^1.3.2"
}, },
"devDependencies": { "devDependencies": {
"tsup": "^6.1.3" "tsup": "^6.1.3"

View File

@ -1,6 +1,6 @@
{ {
"name": "@biscuitland/ws", "name": "@biscuitland/ws",
"version": "1.3.1", "version": "1.3.2",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
@ -23,7 +23,7 @@
} }
}, },
"dependencies": { "dependencies": {
"@biscuitland/api-types": "^1.3.1", "@biscuitland/api-types": "^1.3.2",
"ws": "^8.8.1" "ws": "^8.8.1"
}, },
"devDependencies": { "devDependencies": {