Socket
Socket
Sign inDemoInstall

0te

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

0te - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

10

lib/core/network/client.js

@@ -7,3 +7,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const path = require("path");
// const node_fetch_1 = require("node-fetch");
const check_1 = require("../helpers/check");

@@ -13,3 +13,3 @@ const compact_1 = require("../helpers/compact");

const url_1 = require("url");
const debug = require('debug')('telegraf:client');
const WEBHOOK_REPLY_METHOD_ALLOWLIST = new Set([

@@ -222,3 +222,3 @@ 'answerCallbackQuery',

WEBHOOK_REPLY_METHOD_ALLOWLIST.has(method)) {
debug('Call via webhook', method, payload);
// @ts-expect-error

@@ -233,3 +233,3 @@ return await answerToWebhook(response, { method, ...payload }, options);

}
debug('HTTP call', method, payload);
const config = includesMedia(payload)

@@ -246,3 +246,3 @@ ? await buildFormDataConfig(

if (!data.ok) {
debug('API call failed', data);
throw new error_1.default(data, { method, payload });

@@ -249,0 +249,0 @@ }

Object.defineProperty(exports, "__esModule", { value: true });
const composer_1 = require("../composer");
const debug_1 = require("debug");
const debug = debug_1.default('telegraf:scenes:context');
const noop = () => Promise.resolve();

@@ -58,3 +57,3 @@ const now = () => Math.floor(Date.now() / 1000);

}
debug('Entering scene', sceneId, initialState, silent);
this.session.current = sceneId;

@@ -83,3 +82,3 @@ this.state = initialState;

return;
debug('Leaving scene');
try {

@@ -86,0 +85,0 @@ this.leaving = true;

{
"name": "0te",
"version": "0.0.6",
"version": "0.0.7",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "dependencies": {

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