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

@grammyjs/conversations

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammyjs/conversations - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

12

out/conversation.d.ts

@@ -1,6 +0,6 @@

import { type ApiResponse, type CallbackQueryContext, type CommandContext, Context, type Filter, type FilterQuery, type GameQueryContext, type HearsContext, type LazySessionFlavor, type Middleware, type MiddlewareFn, type RawApi, type SessionFlavor, type Update, type User } from "./deps.node.js";
import { type ApiResponse, type CallbackQueryContext, type CommandContext, Context, type Filter, type FilterQuery, type GameQueryContext, type HearsContext, type LazySessionFlavor, type Middleware, type MiddlewareFn, type RawApi, type ReactionContext, type ReactionType, type ReactionTypeEmoji, type SessionFlavor, type Update, type User } from "./deps.node.js";
import { ConversationForm } from "./form.js";
import { type Resolver } from "./utils.js";
type MaybeArray<T> = T | T[];
type StringWithSuggestions<S extends string> = (string & {}) | S;
type StringWithSuggestions<S extends string> = (string & Record<never, never>) | S;
/**

@@ -430,2 +430,10 @@ * A user-defined conversation builder function that can be turned into

/**
* Waits for the specified reaction. This uses the same logic as
* `bot.reaction`.
*
* @param reaction The reaction to wait for
* @param opts Optional config for discarded updates
*/
waitForReaction(reaction: MaybeArray<ReactionTypeEmoji["emoji"] | ReactionType>, opts?: OtherwiseConfig<C>): Promise<ReactionContext<C>>;
/**
* Waits for an update which contains the given callback query, or for the

@@ -432,0 +440,0 @@ * callback query data to match the given regular expression. This uses the

@@ -669,2 +669,12 @@ "use strict";

/**
* Waits for the specified reaction. This uses the same logic as
* `bot.reaction`.
*
* @param reaction The reaction to wait for
* @param opts Optional config for discarded updates
*/
async waitForReaction(reaction, opts) {
return await this.waitUntil(deps_node_js_1.Context.has.reaction(reaction), opts);
}
/**
* Waits for an update which contains the given callback query, or for the

@@ -671,0 +681,0 @@ * callback query data to match the given regular expression. This uses the

5

package.json
{
"name": "@grammyjs/conversations",
"description": "Conversational interfaces for grammY",
"version": "1.1.2",
"version": "1.2.0",
"author": "KnorpelSenf",

@@ -20,3 +20,2 @@ "license": "MIT",

"dependencies": {
"@grammyjs/types": "^3.1.1",
"debug": "^4.3.4",

@@ -26,3 +25,3 @@ "o-son": "^1.0.1"

"peerDependencies": {
"grammy": "^1.10.0"
"grammy": "^1.20.1"
},

@@ -29,0 +28,0 @@ "devDependencies": {

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