Skip to content

Commit

Permalink
feat: support Bot API 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed Dec 1, 2024
1 parent 9ca5335 commit c48cf8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/types.deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 | (() => T | Promise<T>);
Expand Down
4 changes: 2 additions & 2 deletions src/types.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c48cf8d

Please sign in to comment.