Skip to content

Commit

Permalink
update package version
Browse files Browse the repository at this point in the history
  • Loading branch information
MARCROCK22 committed Nov 14, 2024
1 parent 6ecc830 commit a73b50e
Show file tree
Hide file tree
Showing 11 changed files with 345 additions and 315 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.1",
"turbo": "^2.1.2",
"vitest": "^2.1.2"
"turbo": "^2.3.0",
"vitest": "^2.1.5"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions packages/chartjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
},
"dependencies": {
"@napi-rs/canvas": "^0.1.55",
"chart.js": "^4.4.4"
"@napi-rs/canvas": "^0.1.61",
"chart.js": "^4.4.6"
}
}
6 changes: 3 additions & 3 deletions packages/cooldown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"test": "vitest run --config ./test/vitest.config.mts ./test/"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
},
"dependencies": {
"seyfert": "^2.1.0"
"seyfert": "2.1.1-dev-11847255319.0"
}
}
6 changes: 3 additions & 3 deletions packages/generic-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"dependencies": {
"seyfert": "^2.1.0",
"seyfert": "2.1.1-dev-11847255319.0",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
}
}
6 changes: 3 additions & 3 deletions packages/generic-adapter/src/adapter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { HttpClient, Logger } from 'seyfert';
import type { Logger, UsingClient } from 'seyfert';
import type { InternalRuntimeConfigHTTP } from 'seyfert/lib/client/base';
import type { HttpServerAdapter } from 'seyfert/lib/client/types';
import { type APIInteraction, InteractionResponseType, InteractionType } from 'seyfert/lib/types';
Expand All @@ -12,7 +12,7 @@ export class GenericAdapter implements HttpServerAdapter {
debugger?: Logger;
logger: Logger;

constructor(public client: HttpClient) {
constructor(public client: UsingClient) {
this.logger = client.logger;
}

Expand Down Expand Up @@ -76,7 +76,7 @@ export class GenericAdapter implements HttpServerAdapter {
.catch(() => new Response());
}
return new Promise(async r => {
const { headers, response } = await this.client.onPacket(rawBody);
const { headers, response } = await this.client.onInteractionRequest(rawBody);
r(
response instanceof FormData
? new Response(response, { headers })
Expand Down
6 changes: 3 additions & 3 deletions packages/redis-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
},
"dependencies": {
"@redis/client": "^1.6.0",
"seyfert": "^2.1.0"
"seyfert": "2.1.1-dev-11847255319.0"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
}
}
6 changes: 3 additions & 3 deletions packages/uws-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"dependencies": {
"seyfert": "^2.1.0",
"seyfert": "2.1.1-dev-11847255319.0",
"tweetnacl": "^1.0.3",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.47.0"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
}
}
6 changes: 3 additions & 3 deletions packages/uws-adapter/src/adapter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { HttpClient, Logger } from 'seyfert';
import type { Logger, UsingClient } from 'seyfert';
import type { InternalRuntimeConfigHTTP } from 'seyfert/lib/client/base';
import type { HttpServerAdapter } from 'seyfert/lib/client/types';
import { type APIInteraction, InteractionResponseType, InteractionType } from 'seyfert/lib/types';
Expand All @@ -13,7 +13,7 @@ export class UwsAdapter implements HttpServerAdapter {
debugger?: Logger;
logger: Logger;

constructor(public client: HttpClient) {
constructor(public client: UsingClient) {
this.logger = client.logger;
}

Expand Down Expand Up @@ -77,7 +77,7 @@ export class UwsAdapter implements HttpServerAdapter {
}
default:
res.cork(async () => {
const { headers, response } = await this.client.onPacket(rawBody);
const { headers, response } = await this.client.onInteractionRequest(rawBody);
for (const i in headers) {
res.writeHeader(i, headers[i as keyof typeof headers]!);
}
Expand Down
8 changes: 4 additions & 4 deletions packages/watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"dependencies": {
"chokidar": "^4.0.0",
"seyfert": "^2.1.0",
"chokidar": "^4.0.1",
"seyfert": "2.1.1-dev-11847255319.0",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
}
}
4 changes: 2 additions & 2 deletions packages/webhooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"devDependencies": {
"@types/node": "^22.5.5",
"typescript": "^5.6.2"
"@types/node": "^22.9.0",
"typescript": "^5.6.3"
},
"dependencies": {
"tweetnacl": "^1.0.3"
Expand Down
Loading

0 comments on commit a73b50e

Please sign in to comment.