mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
ETIMEDOUT handled
This commit is contained in:
parent
313483eb80
commit
ad1f1398a8
@ -1,6 +1,6 @@
|
||||
# @biscuitland/api-types
|
||||
|
||||
## 2.0.1
|
||||
## 2.0.2
|
||||
|
||||
### Major Changes
|
||||
|
||||
|
@ -25,7 +25,7 @@ import type { DiscordUser } from '@biscuitland/api-types';
|
||||
## Example for [Deno](https://deno.land/)
|
||||
|
||||
```ts
|
||||
import type { DiscordUser } from "https://unpkg.com/@biscuitland/api-types@2.0.1/dist/index.d.ts";
|
||||
import type { DiscordUser } from "https://unpkg.com/@biscuitland/api-types@2.0.2/dist/index.d.ts";
|
||||
```
|
||||
|
||||
We deliver this package through [unpkg](https://unpkg.com/) and it does contain constants and routes too
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biscuitland/api-types",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
@ -5,7 +5,7 @@ export const BASE_URL = 'https://discord.com/api';
|
||||
export const API_VERSION = 10;
|
||||
|
||||
/** https://github.com/oasisjs/biscuit/releases */
|
||||
export const BISCUIT_VERSION = '2.0.1';
|
||||
export const BISCUIT_VERSION = '2.0.2';
|
||||
|
||||
/** https://discord.com/developers/docs/reference#user-agent */
|
||||
export const USER_AGENT = `DiscordBot (https://github.com/oasisjs/biscuit, v${BISCUIT_VERSION})`;
|
||||
|
4
packages/cache/CHANGELOG.md
vendored
4
packages/cache/CHANGELOG.md
vendored
@ -1,6 +1,6 @@
|
||||
# @biscuitland/cache
|
||||
|
||||
## 2.0.1
|
||||
## 2.0.2
|
||||
|
||||
### Major Changes
|
||||
|
||||
@ -9,4 +9,4 @@
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @biscuitland/api-types@2.0.1
|
||||
- @biscuitland/api-types@2.0.2
|
||||
|
4
packages/cache/package.json
vendored
4
packages/cache/package.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biscuitland/cache",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -23,7 +23,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@biscuitland/api-types": "^2.0.1",
|
||||
"@biscuitland/api-types": "^2.0.2",
|
||||
"ioredis": "^5.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
# @biscuitland/core
|
||||
|
||||
## 2.0.1
|
||||
## 2.0.2
|
||||
|
||||
### Major Changes
|
||||
|
||||
@ -9,6 +9,6 @@
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @biscuitland/api-types@2.0.1
|
||||
- @biscuitland/rest@2.0.1
|
||||
- @biscuitland/ws@2.0.1
|
||||
- @biscuitland/api-types@2.0.2
|
||||
- @biscuitland/rest@2.0.2
|
||||
- @biscuitland/ws@2.0.2
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biscuitland/core",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -23,9 +23,9 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@biscuitland/api-types": "^2.0.1",
|
||||
"@biscuitland/rest": "^2.0.1",
|
||||
"@biscuitland/ws": "^2.0.1"
|
||||
"@biscuitland/api-types": "^2.0.2",
|
||||
"@biscuitland/rest": "^2.0.2",
|
||||
"@biscuitland/ws": "^2.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsup": "^6.1.3"
|
||||
|
@ -1,9 +1,9 @@
|
||||
# @biscuitland/helpers
|
||||
|
||||
## 2.0.1
|
||||
## 2.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @biscuitland/api-types@2.0.1
|
||||
- @biscuitland/core@2.0.1
|
||||
- @biscuitland/api-types@2.0.2
|
||||
- @biscuitland/core@2.0.2
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biscuitland/helpers",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -23,8 +23,8 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@biscuitland/api-types": "^2.0.1",
|
||||
"@biscuitland/core": "^2.0.1"
|
||||
"@biscuitland/api-types": "^2.0.2",
|
||||
"@biscuitland/core": "^2.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsup": "^6.1.3"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# @biscuitland/rest
|
||||
|
||||
## 2.0.1
|
||||
## 2.0.2
|
||||
|
||||
### Major Changes
|
||||
|
||||
@ -9,4 +9,4 @@
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @biscuitland/api-types@2.0.1
|
||||
- @biscuitland/api-types@2.0.2
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biscuitland/rest",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -23,7 +23,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@biscuitland/api-types": "^2.0.1"
|
||||
"@biscuitland/api-types": "^2.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsup": "^6.1.3"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# @biscuitland/ws
|
||||
|
||||
## 2.0.1
|
||||
## 2.0.2
|
||||
|
||||
### Major Changes
|
||||
|
||||
@ -9,4 +9,4 @@
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @biscuitland/api-types@2.0.1
|
||||
- @biscuitland/api-types@2.0.2
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@biscuitland/ws",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
@ -23,7 +23,7 @@
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@biscuitland/api-types": "^2.0.1",
|
||||
"@biscuitland/api-types": "^2.0.2",
|
||||
"ws": "^8.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -578,6 +578,8 @@ export class Shard {
|
||||
|
||||
this.socket = socket;
|
||||
|
||||
socket.onerror = (event: any) => console.log(event);
|
||||
|
||||
socket.onclose = (event: any) => this.handleClose(event);
|
||||
|
||||
socket.onmessage = (message: any) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user