Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gramio/types

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gramio/types - npm Package Compare versions

Comparing version 7.0.12 to 7.0.13

2

out/methods.d.ts
/**
* Based on Bot Api v7.0.0 (29.12.2023)
* Generated at 2/6/2024, 10:47:36 AM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators
* Generated at 2/6/2024, 10:05:53 PM using {@link https://github.com/gramiojs/types | [types]} and {@link https://ark0f.github.io/tg-bot-api | [schema]} generators
*/

@@ -5,0 +5,0 @@ import * as Params from "./params"

{
"name": "@gramio/types",
"version": "7.0.12",
"version": "7.0.13",
"homepage": "https://github.com/gramiojs/types",

@@ -5,0 +5,0 @@ "readme": "https://github.com/gramiojs/types",

@@ -38,4 +38,4 @@ # Code-generated and Auto-published Telegram Bot API types

get:
(_target, method: string) =>
async (params: Record<string, unknown>) => {
<T extends keyof ApiMethods>(_target: ApiMethods, method: T) =>
(params: Parameters<ApiMethods[T]>[0]) => {
const response = await fetch(`${TBA_BASE_URL}${TOKEN}/${method}`, {

@@ -42,0 +42,0 @@ method: "POST",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc