diff --git a/packages/cooldown/package.json b/packages/cooldown/package.json index 80fd596..fc15c84 100644 --- a/packages/cooldown/package.json +++ b/packages/cooldown/package.json @@ -25,6 +25,6 @@ "typescript": "^5.6.3" }, "dependencies": { - "seyfert": "2.1.1-dev-11916234323.0" + "seyfert": "2.1.1-dev-12418439067.0" } } diff --git a/packages/cooldown/src/manager.ts b/packages/cooldown/src/manager.ts index b0830c4..0ea89e6 100644 --- a/packages/cooldown/src/manager.ts +++ b/packages/cooldown/src/manager.ts @@ -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 { @@ -185,7 +185,7 @@ export interface CooldownHasOptions extends CooldownUseOptions { tokens?: number; } -export interface CooldownSetOptions extends MakePartial { +export interface CooldownSetOptions extends PickPartial { name: string; target: string; type: `${CooldownType}`; diff --git a/packages/cooldown/src/resource.ts b/packages/cooldown/src/resource.ts index d25b903..9085084 100644 --- a/packages/cooldown/src/resource.ts +++ b/packages/cooldown/src/resource.ts @@ -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; @@ -20,7 +20,7 @@ export class CooldownResource extends BaseResource { return true; } - override set(id: string, data: MakePartial) { + override set(id: string, data: PickPartial) { return super.set(id, { ...data, lastDrip: data.lastDrip ?? Date.now() }); } } diff --git a/packages/generic-adapter/package.json b/packages/generic-adapter/package.json index dbaba5a..2998621 100644 --- a/packages/generic-adapter/package.json +++ b/packages/generic-adapter/package.json @@ -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": { diff --git a/packages/proxy/package.json b/packages/proxy/package.json index 6b2a16e..00dc653 100644 --- a/packages/proxy/package.json +++ b/packages/proxy/package.json @@ -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": { diff --git a/packages/redis-adapter/package.json b/packages/redis-adapter/package.json index 3b2c731..35bb576 100644 --- a/packages/redis-adapter/package.json +++ b/packages/redis-adapter/package.json @@ -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", diff --git a/packages/uws-adapter/package.json b/packages/uws-adapter/package.json index 99ace83..e824bc8 100644 --- a/packages/uws-adapter/package.json +++ b/packages/uws-adapter/package.json @@ -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" }, diff --git a/packages/watcher/package.json b/packages/watcher/package.json index d9dad9a..09366b5 100644 --- a/packages/watcher/package.json +++ b/packages/watcher/package.json @@ -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": { diff --git a/packages/watcher/src/watcher.ts b/packages/watcher/src/watcher.ts index 1424e7e..4c87375 100644 --- a/packages/watcher/src/watcher.ts +++ b/packages/watcher/src/watcher.ts @@ -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, @@ -142,7 +142,7 @@ export class Watcher extends ShardManager { } export interface WatcherOptions - extends MakePartial< + extends PickPartial< Omit, | 'compress' | 'presence' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1e7b324..b40035c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,8 +37,8 @@ importers: packages/cooldown: dependencies: seyfert: - specifier: 2.1.1-dev-11916234323.0 - version: 2.1.1-dev-11916234323.0 + specifier: 2.1.1-dev-12418439067.0 + version: 2.1.1-dev-12418439067.0 devDependencies: '@types/node': specifier: ^22.9.0 @@ -50,8 +50,8 @@ importers: packages/generic-adapter: dependencies: seyfert: - specifier: 2.1.1-dev-11916234323.0 - version: 2.1.1-dev-11916234323.0 + specifier: 2.1.1-dev-12418439067.0 + version: 2.1.1-dev-12418439067.0 tweetnacl: specifier: ^1.0.3 version: 1.0.3 @@ -66,8 +66,8 @@ importers: packages/proxy: dependencies: seyfert: - specifier: 2.1.1-dev-11916234323.0 - version: 2.1.1-dev-11916234323.0 + specifier: 2.1.1-dev-12418439067.0 + version: 2.1.1-dev-12418439067.0 uWebSockets.js: specifier: github:uNetworking/uWebSockets.js#v20.49.0 version: https://codeload.github.com/uNetworking/uWebSockets.js/tar.gz/442087c0a01bf146acb7386910739ec81df06700 @@ -85,8 +85,8 @@ importers: specifier: ^1.6.0 version: 1.6.0 seyfert: - specifier: 2.1.1-dev-11916234323.0 - version: 2.1.1-dev-11916234323.0 + specifier: 2.1.1-dev-12418439067.0 + version: 2.1.1-dev-12418439067.0 devDependencies: '@types/node': specifier: ^22.9.0 @@ -98,8 +98,8 @@ importers: packages/uws-adapter: dependencies: seyfert: - specifier: 2.1.1-dev-11916234323.0 - version: 2.1.1-dev-11916234323.0 + specifier: 2.1.1-dev-12418439067.0 + version: 2.1.1-dev-12418439067.0 tweetnacl: specifier: ^1.0.3 version: 1.0.3 @@ -120,8 +120,8 @@ importers: specifier: ^4.0.1 version: 4.0.1 seyfert: - specifier: 2.1.1-dev-11916234323.0 - version: 2.1.1-dev-11916234323.0 + specifier: 2.1.1-dev-12418439067.0 + version: 2.1.1-dev-12418439067.0 tweetnacl: specifier: ^1.0.3 version: 1.0.3 @@ -634,8 +634,8 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - seyfert@2.1.1-dev-11916234323.0: - resolution: {integrity: sha512-d6V4m319EbYxbVusDGt62aiILOASB2Z7DMD1BCg9jx0j5SwpBg52iLAvtc7UVDwdVjSczW2rHpDBQthVT+MkaQ==} + seyfert@2.1.1-dev-12418439067.0: + resolution: {integrity: sha512-0n0K8q+u8S7GxOy6Ph9WmzpJihR7skkT6oTWo/Sa4PtiH03Gx4M7u9+d1uRK0hRuXLiPR0yeP/8bPlKhs3jOUA==} siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} @@ -1158,7 +1158,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.27.3 fsevents: 2.3.3 - seyfert@2.1.1-dev-11916234323.0: {} + seyfert@2.1.1-dev-12418439067.0: {} siginfo@2.0.0: {}