Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
MARCROCK22 committed Dec 21, 2024
1 parent d79674f commit a7360e9
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion packages/cooldown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"typescript": "^5.6.3"
},
"dependencies": {
"seyfert": "2.1.1-dev-11916234323.0"
"seyfert": "2.1.1-dev-12418439067.0"
}
}
4 changes: 2 additions & 2 deletions packages/cooldown/src/manager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { AnyContext, SubCommand } from 'seyfert';
import type { ReturnCache } from 'seyfert/lib/cache';
import type { BaseClient } from 'seyfert/lib/client/base';
import { type MakePartial, fakePromise } from 'seyfert/lib/common';
import { type PickPartial, fakePromise } from 'seyfert/lib/common';
import { type CooldownData, CooldownResource, type CooldownType } from './resource';

export class CooldownManager {
Expand Down Expand Up @@ -185,7 +185,7 @@ export interface CooldownHasOptions extends CooldownUseOptions {
tokens?: number;
}

export interface CooldownSetOptions extends MakePartial<CooldownData, 'lastDrip'> {
export interface CooldownSetOptions extends PickPartial<CooldownData, 'lastDrip'> {
name: string;
target: string;
type: `${CooldownType}`;
Expand Down
4 changes: 2 additions & 2 deletions packages/cooldown/src/resource.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BaseResource } from 'seyfert/lib/cache';
import type { MakePartial } from 'seyfert/lib/common';
import type { PickPartial } from 'seyfert/lib/common';

export interface CooldownData {
remaining: number;
Expand All @@ -20,7 +20,7 @@ export class CooldownResource extends BaseResource<CooldownData> {
return true;
}

override set(id: string, data: MakePartial<CooldownData, 'lastDrip'>) {
override set(id: string, data: PickPartial<CooldownData, 'lastDrip'>) {
return super.set(id, { ...data, lastDrip: data.lastDrip ?? Date.now() });
}
}
2 changes: 1 addition & 1 deletion packages/generic-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"dependencies": {
"seyfert": "2.1.1-dev-11916234323.0",
"seyfert": "2.1.1-dev-12418439067.0",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"dependencies": {
"seyfert": "2.1.1-dev-11916234323.0",
"seyfert": "2.1.1-dev-12418439067.0",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.49.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/redis-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@redis/client": "^1.6.0",
"seyfert": "2.1.1-dev-11916234323.0"
"seyfert": "2.1.1-dev-12418439067.0"
},
"devDependencies": {
"@types/node": "^22.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/uws-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"checkb": "biome check --write --no-errors-on-unmatched ./src"
},
"dependencies": {
"seyfert": "2.1.1-dev-11916234323.0",
"seyfert": "2.1.1-dev-12418439067.0",
"tweetnacl": "^1.0.3",
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.49.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/watcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"chokidar": "^4.0.1",
"seyfert": "2.1.1-dev-11916234323.0",
"seyfert": "2.1.1-dev-12418439067.0",
"tweetnacl": "^1.0.3"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/watcher/src/watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Worker } from 'node:worker_threads';
import { watch } from 'chokidar';
import { ApiHandler, Logger, Router, ShardManager } from 'seyfert';
import { BaseClient, type InternalRuntimeConfig } from 'seyfert/lib/client/base';
import type { MakePartial, MakeRequired } from 'seyfert/lib/common';
import type { PickPartial, MakeRequired } from 'seyfert/lib/common';
import {
GatewayDispatchEvents,
type GatewayDispatchPayload,
Expand Down Expand Up @@ -142,7 +142,7 @@ export class Watcher extends ShardManager {
}

export interface WatcherOptions
extends MakePartial<
extends PickPartial<
Omit<ShardManager['options'], 'handlePayload' | 'info' | 'token' | 'intents'>,
| 'compress'
| 'presence'
Expand Down
30 changes: 15 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a7360e9

Please sign in to comment.