From c48cf8d433c5a41e57eba33f9db571275fd3ac5f Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Sun, 1 Dec 2024 21:38:25 +0100 Subject: [PATCH] feat: support Bot API 8.1 --- package.json | 2 +- src/types.deno.ts | 4 ++-- src/types.web.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 968bc3c1..8d7c6106 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "backport": "deno2node tsconfig.json" }, "dependencies": { - "@grammyjs/types": "3.16.0", + "@grammyjs/types": "3.17.0", "abort-controller": "^3.0.0", "debug": "^4.3.4", "node-fetch": "^2.7.0" diff --git a/src/types.deno.ts b/src/types.deno.ts index cfdb6776..b4bb22dc 100644 --- a/src/types.deno.ts +++ b/src/types.deno.ts @@ -14,13 +14,13 @@ import { type InputPaidMediaVideo as InputPaidMediaVideoF, type InputSticker as InputStickerF, type Opts as OptsF, -} from "https://deno.land/x/grammy_types@v3.16.0/mod.ts"; +} from "https://deno.land/x/grammy_types@v3.17.0/mod.ts"; import { debug as d, isDeno } from "./platform.deno.ts"; const debug = d("grammy:warn"); // === Export all API types -export * from "https://deno.land/x/grammy_types@v3.16.0/mod.ts"; +export * from "https://deno.land/x/grammy_types@v3.17.0/mod.ts"; /** A value, or a potentially async function supplying that value */ type MaybeSupplier = T | (() => T | Promise); diff --git a/src/types.web.ts b/src/types.web.ts index 79be74be..64a088c1 100644 --- a/src/types.web.ts +++ b/src/types.web.ts @@ -13,10 +13,10 @@ import { type InputPaidMediaVideo as InputPaidMediaVideoF, type InputSticker as InputStickerF, type Opts as OptsF, -} from "https://deno.land/x/grammy_types@v3.16.0/mod.ts"; +} from "https://deno.land/x/grammy_types@v3.17.0/mod.ts"; // === Export all API types -export * from "https://deno.land/x/grammy_types@v3.16.0/mod.ts"; +export * from "https://deno.land/x/grammy_types@v3.17.0/mod.ts"; /** Something that looks like a URL. */ interface URLLike {